Skip to content

Commit

Permalink
nit: change changeset bump and export other types
Browse files Browse the repository at this point in the history
  • Loading branch information
dalechyn committed Aug 8, 2024
1 parent 86c3423 commit f157247
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .changeset/lemon-doors-fail.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
"frog": patch
"frog": minor
---

**Breaking Change:** Renamed exported `Context` type to `FrameBaseContext`
Fixed an issue where frame message was parsed incorrectly and was expecting `cast_id` in Composer Action Handler.
Exported previously forgotten types.
32 changes: 31 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,40 @@ export {
getFrameMetadata,
} from './utils/getFrameMetadata.js'

export {
messageToCastActionData,
type VerifyCastActionParameters,
type VerifyCastActionReturnType,
verifyCastAction,
} from './utils/verifyCastAction.js'

export {
messageToComposerActionData,
type VerifyComposerActionParameters,
type VerifyComposerActionReturnType,
verifyComposerAction,
} from './utils/verifyComposerAction.js'

export {
messageToFrameData,
type VerifyFrameParameters,
type VerifyFrameReturnType,
verifyFrame,
} from './utils/verifyFrame.js'

export {
type VerifyMessageParameters,
type VerifyMessageReturnType,
verifyMessage,
} from './utils/verifyMessage.js'

export type { CastActionResponse } from './types/castAction.js'
export type {
CastActionBaseContext,
CastActionContext,
FrameBaseContext as Context,
ComposerActionBaseContext,
ComposerActionContext,
FrameBaseContext,
FrameContext,
ImageContext,
TransactionContext,
Expand All @@ -47,6 +70,7 @@ export type { ImageResponse } from './types/image.js'
export type { HandlerResponse, TypedResponse } from './types/response.js'
export type {
CastActionHandler,
ComposerActionHandler,
FrameHandler,
HandlerInterface,
ImageHandler,
Expand All @@ -60,3 +84,9 @@ export type {
SendTransactionParameters,
TransactionParameters,
} from './types/transaction.js'

export type {
SignatureResponse,
SignatureParameters,
SignTypedDataParameters,
} from './types/signature.js'

0 comments on commit f157247

Please sign in to comment.