Skip to content

Merge master to feature #2516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 83 commits into from
Jun 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
7081ebf
PKG -- [transport-http] Create SubscriptionManager and subscribe func…
jribbink Nov 26, 2024
ebe0670
PKG -- [sdk] Create SDK subscribe function (#2024)
jribbink Dec 6, 2024
57d282e
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink Mar 12, 2025
5a6cde2
Update to latest streaming API changes (#2202)
jribbink Mar 14, 2025
c932ba9
PKG -- [transport-http] Add Blocks DataProvider (#2033)
jribbink Mar 14, 2025
0951561
PKG -- [transport-http] Add BlockDigests DataProvider (#2034)
jribbink Mar 17, 2025
694cd76
PKG -- [transport-http] Add BlockHeaders DataProvider (#2035)
jribbink Mar 17, 2025
544b0b5
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink Mar 21, 2025
53f606c
PKG -- [transport-http] Add TransactionStatuses DataProvider (#2041)
jribbink Mar 21, 2025
4cd015a
PKG -- [transport-http] Add Events DataProvider (#2037)
jribbink Mar 21, 2025
61c0457
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink Mar 24, 2025
8d29381
PKG -- [fcl] Expose new streaming endpoints (#2038)
jribbink Mar 25, 2025
0af28af
PKG -- [transport-http] Add AccountStatuses DataProvider (#2036)
jribbink Mar 25, 2025
edfd7d6
Switch to synchronous subscriptions with callback-based error reporti…
jribbink Mar 26, 2025
3606bde
Switch `fcl.events` to use new event streaming method (#2241)
jribbink Mar 26, 2025
d7153e0
Fix resume args for `events` & `account_statuses` (#2249)
jribbink Mar 26, 2025
fb38439
Cleanup subscriptions types & align with decoded representation (#2256)
jribbink Mar 27, 2025
981c120
Fix endpoint for WS subscriptions (#2277)
jribbink Apr 1, 2025
9f31a85
Replace `fcl.tx` with realtime streaming (#2258)
jribbink Apr 2, 2025
93a6b13
Reorganize subscriptions types (#2301)
jribbink Apr 3, 2025
fa403b2
Add legacy `fcl.events` fallback for emulator (#2287)
jribbink Apr 3, 2025
55e3c89
Add emulator fallback for fcl.tx (#2294)
jribbink Apr 3, 2025
5775384
Fix resume args type check not checking if value is falsy (#2309)
jribbink Apr 7, 2025
e31ad2b
Add missing decoders (#2320)
jribbink Apr 15, 2025
a9e42f8
Improve WebSocket Lifecycle Management (#2312)
jribbink Apr 23, 2025
37fdd52
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink Apr 23, 2025
2fc6d91
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink Apr 23, 2025
b9c4ed3
Add changesets
jribbink Apr 24, 2025
9ff3504
Fix Account Status Decoding
jribbink Apr 24, 2025
2446dbe
Add `useIsCadenceWalletConnected` hook (#2326)
jribbink Apr 30, 2025
f86b713
Expose origin in `onMessageFromFCL` callback (#2384)
jribbink May 7, 2025
0feeae0
Update and clean up WalletConnect dependencies (#2382)
jribbink May 7, 2025
094ed6d
Deprecate manual `appIdentifier` in favour of window origin (#2378)
jribbink May 8, 2025
e10f1db
Updated types to interfaces and comments cleanup (#2393)
mfbz May 8, 2025
12d0d4f
Version Packages (#2371)
github-actions[bot] May 8, 2025
9595af7
Add `useFlowChainId` hook (#2367)
jribbink May 8, 2025
aa93da3
Rename `useFlowTransaction` to `useFlowTransactionStatus` (#2413)
chasefleming May 9, 2025
605f66c
Add changeset (#2414)
chasefleming May 9, 2025
8bc6b37
Add comment about renaming (#2416)
chasefleming May 9, 2025
8608416
Fix `useFlowRevertibleRandom` range (#2417)
jribbink May 9, 2025
f498aa9
Update readme with `useFlowRevertibleRandom` hook (#2419)
chasefleming May 12, 2025
eca4617
Add `useCrossVmBatchTransaction` function (#2368)
jribbink May 12, 2025
a81b98e
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink May 13, 2025
4d3bb08
Refactored SDK package to TypeScript (#2352)
mfbz May 13, 2025
c76ca81
Merge remote-tracking branch 'origin/master' into feature/streaming
jribbink May 13, 2025
5cc9c55
Fix payload type
jribbink May 13, 2025
bfac984
Fix payload decoding
jribbink May 13, 2025
78ffaac
Merge pull request #2201 from onflow/feature/streaming
jribbink May 13, 2025
05979ba
Fix Typos in Documentation Files (#2420)
leopardracer May 14, 2025
681c359
Enter alpha mode (#2421)
jribbink May 15, 2025
099a1a9
Version Packages (alpha) (#2396)
github-actions[bot] May 15, 2025
90ad3db
Fix current user returning false before checking authenticated (#2428)
chasefleming May 20, 2025
a36d78e
Allow undefined value for `useFlowTransactionStatus` (#2439)
jribbink May 21, 2025
3ac616d
Fixed fcl.mutate hanging (#2434)
mfbz May 21, 2025
b70f746
Version Packages (alpha) (#2440)
github-actions[bot] May 21, 2025
2637889
Unsubscribe from transaction statuses once sealed (#2461)
jribbink May 22, 2025
77bd641
Version Packages (alpha) (#2465)
github-actions[bot] May 22, 2025
e308f01
Exit alpha (#2466)
jribbink May 22, 2025
0b83658
Rename `rawSubscribe` to `subscribeRaw` (#2463)
jribbink May 22, 2025
6e52a25
Version Packages (#2467)
github-actions[bot] May 22, 2025
9f9e18b
Fix `useFlowQuery` query key for script args (#2433)
jribbink May 22, 2025
c4f1a89
Version Packages (#2469)
github-actions[bot] May 22, 2025
9951005
Add `useCrossVmTokenBalance` hook (#2398)
jribbink May 23, 2025
3f5d503
Switch cross VM balance to vault identifier (#2486)
jribbink Jun 4, 2025
e942772
Version Packages (#2471)
github-actions[bot] Jun 4, 2025
ff07e0e
Export `useCrossVmTokenBalance` hook (#2491)
jribbink Jun 6, 2025
ad50c62
Version Packages (#2494)
github-actions[bot] Jun 6, 2025
d7b673e
Add `useCrossVmSpendNft` hook (#2460)
jribbink Jun 6, 2025
f1a7eea
Add `useCrossVmSpendFt` hook (#2499)
jribbink Jun 9, 2025
29a2c99
Change `useCrossVmBatchTransaction` to only return Cadence TX hash (#…
jribbink Jun 10, 2025
9b7ce01
Merge pull request #2503 from onflow/feature/cross-vm-hooks
jribbink Jun 10, 2025
8f17152
Version Packages (#2504)
github-actions[bot] Jun 10, 2025
3263a09
Make `useFlowChainId` args consistent with other hooks (#2506)
jribbink Jun 10, 2025
db32d19
Merge branch 'master' into feature/components
chasefleming Jun 13, 2025
5725d68
Run prettier
chasefleming Jun 13, 2025
110766f
Run install
chasefleming Jun 13, 2025
f6fbbf8
Update packages/fcl-core/CHANGELOG.md
chasefleming Jun 13, 2025
7735281
Fix import
chasefleming Jun 13, 2025
7527700
Add tailwind merge
chasefleming Jun 13, 2025
6354a8b
Merge branch 'cf/merge-master-6-13' of https://github.com/onflow/fcl-…
chasefleming Jun 13, 2025
99f3592
Update packages/fcl-react-native/CHANGELOG.md
chasefleming Jun 13, 2025
924726f
Update packages/fcl/CHANGELOG.md
chasefleming Jun 13, 2025
34f6a43
Update packages/sdk/CHANGELOG.md
chasefleming Jun 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/blue-suns-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/kit": patch
---

Make `useFlowChainId` args consistent with other hooks
439 changes: 96 additions & 343 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 36 additions & 1 deletion packages/fcl-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# @onflow/fcl

## 1.19.0

### Minor Changes

- [#2201](https://github.com/onflow/fcl-js/pull/2201) [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab) Thanks [@jribbink](https://github.com/jribbink)! - Add real-time streaming methods `subscribe` and `subscribeRaw`.

These are only available when using a REST API endpoint and not supported by the deprecated GRPC transport.

The following topics are now available:

- `blocks`
- `block_headers`
- `block_digests`
- `transaction_statues`
- `events`
- `account_statuses`

Developers using `fcl.tx` and `fcl.events` will not need to make any changes to their existing app to realize the latency improvements of this change and will automatically benefit by upgrading to this version.

Please see the [Flow Developer Documentation](https://developers.flow.com/clients/fcl-js/) for more details on how to use these new methods.

### Patch Changes

- [#2461](https://github.com/onflow/fcl-js/pull/2461) [`2637889fdb47a2294ad2db9d06a16fac1d805a12`](https://github.com/onflow/fcl-js/commit/2637889fdb47a2294ad2db9d06a16fac1d805a12) Thanks [@jribbink](https://github.com/jribbink)! - Unsubscribe from transaction statuses when sealed

- Updated dependencies [[`3ac616d64c9abcda32f0c450119f22fa479d5e89`](https://github.com/onflow/fcl-js/commit/3ac616d64c9abcda32f0c450119f22fa479d5e89), [`0b83658f62a428a70074d33875f264fbd48aff1e`](https://github.com/onflow/fcl-js/commit/0b83658f62a428a70074d33875f264fbd48aff1e), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab), [`694cd76807b7ca4441d1f8425ac4f8426cbc18fa`](https://github.com/onflow/fcl-js/commit/694cd76807b7ca4441d1f8425ac4f8426cbc18fa), [`4d3bb084c1442552d6a1de1f53435d1aa3f600b0`](https://github.com/onflow/fcl-js/commit/4d3bb084c1442552d6a1de1f53435d1aa3f600b0)]:
- @onflow/sdk@1.9.0
- @onflow/transport-http@1.13.0

## 1.19.0-alpha.2

### Patch Changes

- [#2461](https://github.com/onflow/fcl-js/pull/2461) [`2637889fdb47a2294ad2db9d06a16fac1d805a12`](https://github.com/onflow/fcl-js/commit/2637889fdb47a2294ad2db9d06a16fac1d805a12) Thanks [@jribbink](https://github.com/jribbink)! - Unsubscribe from transaction statuses when sealed

## 1.19.0-alpha.1

### Patch Changes
Expand All @@ -11,7 +46,7 @@

### Minor Changes

- [#2201](https://github.com/onflow/fcl-js/pull/2201) [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab) Thanks [@jribbink](https://github.com/jribbink)! - Add real-time streaming methods `subscribe` and `rawSubscribe`.
- [#2201](https://github.com/onflow/fcl-js/pull/2201) [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab) Thanks [@jribbink](https://github.com/jribbink)! - Add real-time streaming methods `subscribe` and `subscribeRaw`.

These are only available when using a REST API endpoint and not supported by the deprecated GRPC trasnport.

Expand Down
8 changes: 4 additions & 4 deletions packages/fcl-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onflow/fcl-core",
"version": "1.19.0-alpha.1",
"version": "1.19.0",
"description": "Flow Client Library",
"license": "Apache-2.0",
"author": "Flow Foundation",
Expand All @@ -20,7 +20,7 @@
},
"devDependencies": {
"@onflow/fcl-bundle": "1.7.0",
"@onflow/typedefs": "1.6.0-alpha.0",
"@onflow/typedefs": "1.6.0",
"@types/estree": "^1.0.6",
"@types/jest": "^29.5.13",
"@types/node": "^18.19.57",
Expand Down Expand Up @@ -52,8 +52,8 @@
"@onflow/config": "1.5.2",
"@onflow/interaction": "0.0.11",
"@onflow/rlp": "1.2.3",
"@onflow/sdk": "1.9.0-alpha.1",
"@onflow/transport-http": "1.13.0-alpha.0",
"@onflow/sdk": "1.9.0",
"@onflow/transport-http": "1.13.0",
"@onflow/types": "1.4.1",
"@onflow/util-actor": "1.3.4",
"@onflow/util-address": "1.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/fcl-core/src/fcl-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export {invariant} from "@onflow/sdk"

// Subscriptions
export {subscribe} from "@onflow/sdk"
export {rawSubscribe} from "@onflow/sdk"
export {subscribeRaw} from "@onflow/sdk"

import {watchForChainIdChanges} from "./utils"

Expand Down
40 changes: 40 additions & 0 deletions packages/fcl-core/src/transaction/transaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,46 @@ describe("transaction", () => {
expect(() => transaction(txId)).toThrow("Invalid transactionId")
})

test("should unsubscribe once the transaction has sealed", async () => {
jest.resetModules()
const txId =
"4234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
const callback = jest.fn()
transaction(txId).subscribe(callback)

// Flush the event loop
await new Promise(resolve => setTimeout(resolve, 0))

// Mock the observable to emit a SEALED status
const subscribeParams = jest.mocked(subscribe).mock
.calls[0][0] as Parameters<
typeof subscribe<SubscriptionTopic.TRANSACTION_STATUSES>
>[0]

subscribeParams.onData({
status: TransactionExecutionStatus.PENDING,
blockId: "",
statusCode: 0,
errorMessage: "",
events: [],
statusString: "PENDING",
})

subscribeParams.onData({
status: TransactionExecutionStatus.SEALED,
blockId: "",
statusCode: 0,
errorMessage: "",
events: [],
statusString: "SEALED",
})

await new Promise(resolve => setTimeout(resolve, 100))

const unsubMock = jest.mocked(subscribe).mock.results[0].value
expect(unsubMock.unsubscribe).toHaveBeenCalledTimes(1)
})

test("subscribe should fallback to polling if real-time streaming is not supported", async () => {
const txId =
"2234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
Expand Down
53 changes: 34 additions & 19 deletions packages/fcl-core/src/transaction/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,29 +84,26 @@ export function transaction(
return function innerOnce(opts = {suppress: false}) {
const suppress = opts.suppress || false
return new Promise((resolve, reject) => {
const unsub = subscribe(((
txStatus?: TransactionStatus,
error?: Error
) => {
if ((error || txStatus?.statusCode) && !suppress) {
if (error != null) {
reject(error)
unsub()
} else if (txStatus?.statusCode === 1) {
const unsub = subscribe(
(txStatus: TransactionStatus) => {
if (txStatus.statusCode === 1) {
const transactionError = TransactionError.fromErrorMessage(
txStatus.errorMessage
)
reject(transactionError)
unsub()
} else if (predicate(txStatus)) {
resolve(txStatus)
unsub()
}
},
err => {
if (!suppress) {
reject(err)
unsub()
}
return
}

if (predicate(txStatus!)) {
resolve(txStatus!)
unsub()
}
}) as any)
)
}) as Promise<TransactionStatus>
}
}
Expand Down Expand Up @@ -168,14 +165,24 @@ function createObservable(
// Subscribe to transaction status updates
function subscribeTransactionStatuses() {
// Subscribe to transaction status updates
sdkSubscribe({
const subscription = sdkSubscribe({
topic: SubscriptionTopic.TRANSACTION_STATUSES,
args: {transactionId: txId},
onData: txStatus => {
if (isDiff(value, txStatus)) {
value = txStatus
next(txStatus)
}

// Clean up the subscription if the transaction is sealed
// Wait for next tick to ensure unsubscribe is defined
if (isSealed(txStatus)) {
new Promise(resolve => setTimeout(resolve, 0)).then(() => {
if (isSealed(txStatus)) {
subscription.unsubscribe()
}
})
}
},
onError: (err: Error) => {
if (err instanceof SubscriptionsNotSupportedError) {
Expand All @@ -192,13 +199,21 @@ function createObservable(

function fallbackLegacyPolling() {
// Poll for transaction status updates
legacyTransaction(txId, opts).subscribe(
const unsubscribe = legacyTransaction(txId, opts).subscribe(
(txStatus?: TransactionStatus, err?: Error) => {
if (err) {
error(err)
} else if (txStatus) {
} else if (txStatus && isDiff(value, txStatus)) {
value = txStatus
next(txStatus)

// Clean up the subscription if the transaction is sealed
// Wait for next tick to ensure unsubscribe is defined
if (isSealed(txStatus)) {
new Promise(resolve => setTimeout(resolve, 0)).then(() => {
unsubscribe()
})
}
}
}
)
Expand Down
16 changes: 16 additions & 0 deletions packages/fcl-ethereum-provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @onflow/fcl-ethereum-provider

## 0.0.5

### Patch Changes

- Updated dependencies [[`0b83658f62a428a70074d33875f264fbd48aff1e`](https://github.com/onflow/fcl-js/commit/0b83658f62a428a70074d33875f264fbd48aff1e), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab)]:
- @onflow/fcl@1.18.0
- @onflow/fcl-wc@6.0.3

## 0.0.5-alpha.2

### Patch Changes

- Updated dependencies []:
- @onflow/fcl@1.18.0-alpha.2
- @onflow/fcl-wc@6.0.3-alpha.2

## 0.0.5-alpha.1

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/fcl-ethereum-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onflow/fcl-ethereum-provider",
"version": "0.0.5-alpha.1",
"version": "0.0.5",
"description": "Ethereum provider for FCL-compatible wallets",
"license": "Apache-2.0",
"author": "Dapper Labs <dev@dapperlabs.com>",
Expand All @@ -15,7 +15,7 @@
"devDependencies": {
"@babel/preset-typescript": "^7.25.7",
"@onflow/fcl-bundle": "1.7.0",
"@onflow/typedefs": "^1.6.0-alpha.0",
"@onflow/typedefs": "^1.6.0",
"@types/jest": "^29.5.13",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
Expand All @@ -40,7 +40,7 @@
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/hash": "^5.7.0",
"@noble/hashes": "^1.7.1",
"@onflow/fcl-wc": "6.0.3-alpha.1",
"@onflow/fcl-wc": "6.0.3",
"@onflow/rlp": "^1.2.3",
"@walletconnect/ethereum-provider": "^2.20.2",
"@walletconnect/jsonrpc-http-connection": "^1.0.8",
Expand All @@ -50,6 +50,6 @@
"@walletconnect/utils": "^2.20.2"
},
"peerDependencies": {
"@onflow/fcl": "1.18.0-alpha.1"
"@onflow/fcl": "1.18.0"
}
}
18 changes: 18 additions & 0 deletions packages/fcl-rainbowkit-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @onflow/fcl-rainbowkit-adapter

## 0.2.1

### Patch Changes

- Updated dependencies [[`0b83658f62a428a70074d33875f264fbd48aff1e`](https://github.com/onflow/fcl-js/commit/0b83658f62a428a70074d33875f264fbd48aff1e), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab)]:
- @onflow/fcl@1.18.0
- @onflow/fcl-ethereum-provider@0.0.5
- @onflow/fcl-wagmi-adapter@0.0.5

## 0.2.1-alpha.2

### Patch Changes

- Updated dependencies []:
- @onflow/fcl@1.18.0-alpha.2
- @onflow/fcl-ethereum-provider@0.0.5-alpha.2
- @onflow/fcl-wagmi-adapter@0.0.5-alpha.2

## 0.2.1-alpha.1

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/fcl-rainbowkit-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onflow/fcl-rainbowkit-adapter",
"version": "0.2.1-alpha.1",
"version": "0.2.1",
"description": "Rainbowkit adapter for FCL-compatible wallets",
"license": "Apache-2.0",
"author": "Dapper Labs <dev@dapperlabs.com>",
Expand All @@ -15,7 +15,7 @@
"devDependencies": {
"@babel/preset-typescript": "^7.25.7",
"@onflow/fcl-bundle": "1.7.0",
"@onflow/typedefs": "^1.6.0-alpha.0",
"@onflow/typedefs": "^1.6.0",
"@types/jest": "^29.5.13",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
Expand All @@ -40,8 +40,8 @@
"@babel/runtime": "^7.25.7",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/hash": "^5.7.0",
"@onflow/fcl-ethereum-provider": "0.0.5-alpha.1",
"@onflow/fcl-wagmi-adapter": "0.0.5-alpha.1",
"@onflow/fcl-ethereum-provider": "0.0.5",
"@onflow/fcl-wagmi-adapter": "0.0.5",
"@onflow/rlp": "^1.2.3",
"@wagmi/core": "^2.16.3",
"mipd": "^0.0.7",
Expand All @@ -50,7 +50,7 @@
"wagmi": "^2.14.11"
},
"peerDependencies": {
"@onflow/fcl": "1.18.0-alpha.1",
"@onflow/fcl": "1.18.0",
"@rainbow-me/rainbowkit": "^2.2.3",
"react": "17.x || 18.x || 19.x"
}
Expand Down
36 changes: 35 additions & 1 deletion packages/fcl-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @onflow/fcl-react-native

## 1.12.0

### Minor Changes

- [#2201](https://github.com/onflow/fcl-js/pull/2201) [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab) Thanks [@jribbink](https://github.com/jribbink)! - Add real-time streaming methods `subscribe` and `subscribeRaw`.

These are only available when using a REST API endpoint and not supported by the deprecated GRPC transport.

The following topics are now available:

- `blocks`
- `block_headers`
- `block_digests`
- `transaction_statues`
- `events`
- `account_statuses`

Developers using `fcl.tx` and `fcl.events` will not need to make any changes to their existing app to realize the latency improvements of this change and will automatically benefit by upgrading to this version.

Please see the [Flow Developer Documentation](https://developers.flow.com/clients/fcl-js/) for more details on how to use these new methods.

### Patch Changes

- Updated dependencies [[`3ac616d64c9abcda32f0c450119f22fa479d5e89`](https://github.com/onflow/fcl-js/commit/3ac616d64c9abcda32f0c450119f22fa479d5e89), [`0b83658f62a428a70074d33875f264fbd48aff1e`](https://github.com/onflow/fcl-js/commit/0b83658f62a428a70074d33875f264fbd48aff1e), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab), [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab), [`2637889fdb47a2294ad2db9d06a16fac1d805a12`](https://github.com/onflow/fcl-js/commit/2637889fdb47a2294ad2db9d06a16fac1d805a12), [`4d3bb084c1442552d6a1de1f53435d1aa3f600b0`](https://github.com/onflow/fcl-js/commit/4d3bb084c1442552d6a1de1f53435d1aa3f600b0)]:
- @onflow/sdk@1.9.0
- @onflow/fcl-core@1.19.0

## 1.12.0-alpha.2

### Patch Changes

- Updated dependencies [[`2637889fdb47a2294ad2db9d06a16fac1d805a12`](https://github.com/onflow/fcl-js/commit/2637889fdb47a2294ad2db9d06a16fac1d805a12)]:
- @onflow/fcl-core@1.19.0-alpha.2

## 1.12.0-alpha.1

### Patch Changes
Expand All @@ -12,7 +46,7 @@

### Minor Changes

- [#2201](https://github.com/onflow/fcl-js/pull/2201) [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab) Thanks [@jribbink](https://github.com/jribbink)! - Add real-time streaming methods `subscribe` and `rawSubscribe`.
- [#2201](https://github.com/onflow/fcl-js/pull/2201) [`b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab`](https://github.com/onflow/fcl-js/commit/b9c4ed3b95c2dc73698e45f353a6ef9a48f23cab) Thanks [@jribbink](https://github.com/jribbink)! - Add real-time streaming methods `subscribe` and `subscribeRaw`.

These are only available when using a REST API endpoint and not supported by the deprecated GRPC trasnport.

Expand Down
Loading