Skip to content

Commit

Permalink
Add export to FCL
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 4, 2023
1 parent 47a8076 commit 14ce7f5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .changeset/thirty-donuts-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
"@onflow/util-encode-key": patch
"@onflow/transport-grpc": patch
"@onflow/transport-http": patch
"@onflow/util-invariant": patch
"@onflow/util-template": patch
"@onflow/util-address": patch
"@onflow/util-logger": patch
"@onflow/util-semver": patch
"@onflow/fcl-bundle": patch
"@onflow/util-actor": patch
"@onflow/typedefs": patch
"@onflow/util-uid": patch
"@onflow/config": patch
"@onflow/fcl-wc": patch
"@onflow/types": patch
"@onflow/fcl": patch
"@onflow/rlp": patch
"@onflow/sdk": patch
---

Add subscribeEvents export to FCL & fix build
2 changes: 1 addition & 1 deletion packages/fcl/src/events/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe("events", () => {
sdk.subscribeEvents({eventTypes: ["A"]}),
])
})

test("should work with empty args", () => {
events().subscribe(() => {})
expect(sendSpy).toHaveBeenCalledWith([sdk.subscribeEvents({})])
Expand Down
1 change: 1 addition & 0 deletions packages/fcl/src/shared-exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export {getTransactionStatus} from "@onflow/sdk"
export {getTransaction} from "@onflow/sdk"
export {getNetworkParameters} from "@onflow/sdk"
export {authorizations, authorization} from "@onflow/sdk"
export {subscribeEvents} from "@onflow/sdk"
export {args, arg} from "@onflow/sdk"
export {proposer} from "@onflow/sdk"
export {payer} from "@onflow/sdk"
Expand Down

0 comments on commit 14ce7f5

Please sign in to comment.