diff --git a/.changeset/slow-lies-fix.md b/.changeset/slow-lies-fix.md deleted file mode 100644 index ba31a02e3..000000000 --- a/.changeset/slow-lies-fix.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -"@onflow/fcl-react-native": patch -"@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/fcl-core": patch -"@onflow/protobuf": patch -"@onflow/typedefs": patch -"@onflow/util-rpc": patch -"@onflow/util-uid": patch -"@onflow/config": patch -"@onflow/fcl-wc": patch -"@onflow/types": patch -"@onflow/fcl": patch -"@onflow/rlp": patch -"@onflow/sdk": patch ---- - -Update dependencies diff --git a/.changeset/tasty-ducks-mix.md b/.changeset/tasty-ducks-mix.md deleted file mode 100644 index abec5904b..000000000 --- a/.changeset/tasty-ducks-mix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@onflow/typedefs": minor ---- - -Add missing fields to Provider type diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 488524b79..ba4956b8b 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,16 @@ # @onflow/config +## 1.5.1 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/util-logger@1.3.3 + - @onflow/util-actor@1.3.4 + ## 1.5.0 ### Minor Changes diff --git a/packages/config/package.json b/packages/config/package.json index b2ea7384c..dcec46e2f 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/config", - "version": "1.5.0", + "version": "1.5.1", "description": "Config for FCL-JS", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/estree": "^1.0.6", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", @@ -39,9 +39,9 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/util-actor": "1.3.3", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", + "@onflow/util-actor": "1.3.4", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", "eslint": "^8.57.1", "eslint-plugin-jsdoc": "^46.10.1" } diff --git a/packages/fcl-bundle/CHANGELOG.md b/packages/fcl-bundle/CHANGELOG.md index 58f1209c8..b9698233e 100644 --- a/packages/fcl-bundle/CHANGELOG.md +++ b/packages/fcl-bundle/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/fcl-bundle +## 1.5.1 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.5.0 ### Minor Changes diff --git a/packages/fcl-bundle/package.json b/packages/fcl-bundle/package.json index ada25b24f..821e6b1d6 100644 --- a/packages/fcl-bundle/package.json +++ b/packages/fcl-bundle/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl-bundle", - "version": "1.5.0", + "version": "1.5.1", "description": "FCL Bundler Tool", "license": "Apache-2.0", "author": "Dapper Labs ", diff --git a/packages/fcl-core/CHANGELOG.md b/packages/fcl-core/CHANGELOG.md index ad8b67355..e1f8e9635 100644 --- a/packages/fcl-core/CHANGELOG.md +++ b/packages/fcl-core/CHANGELOG.md @@ -1,5 +1,25 @@ # @onflow/fcl +## 1.12.1 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/transport-http@1.10.3 + - @onflow/util-invariant@1.2.4 + - @onflow/util-template@1.2.3 + - @onflow/util-address@1.2.3 + - @onflow/util-logger@1.3.3 + - @onflow/util-semver@1.0.3 + - @onflow/util-actor@1.3.4 + - @onflow/util-uid@1.2.3 + - @onflow/config@1.5.1 + - @onflow/types@1.4.1 + - @onflow/rlp@1.2.3 + - @onflow/sdk@1.5.4 + ## 1.12.0 ### Minor Changes @@ -1058,9 +1078,9 @@ MESSAGE = HEX( RLP( APP_DOMAIN_TAG, // [Optional] Buffer, right padded to 32 bytes long ADDRESS, // Buffer, left padded to 8 bytes long - TIMESTAMP, // Number - ), -); + TIMESTAMP // Number + ) +) ``` - 2022-02-14 -- [chasefleming](https://github.com/chasefleming): Remove experimental redir warning from previous alpha build. @@ -1148,7 +1168,7 @@ WalletUtils.approve({ - 2021-11-30 -- Allow apps to add opt-in wallets in Discovery with config. ```javascript -import { config } from "@onflow/fcl"; +import {config} from "@onflow/fcl" // Include supports discovery.wallet or discovery.authn.endpoint config({ @@ -1156,7 +1176,7 @@ config({ "discovery.authn.endpoint": "https://fcl-discovery.onflow.org/api/testnet/authn", "discovery.authn.include": ["0x123"], // Service account address -}); +}) ``` - 2021-11-22 -- Updates to use account key `HashAlgorithm` in `verifyUSerSignatures` instead of default `SHA3_256` @@ -1175,12 +1195,12 @@ An app developer will now be able to list services for authentication ("authn") To use this, first set in the config the API endpoint for fetching Flow services. ```javascript -import { config } from "@onflow/fcl"; +import {config} from "@onflow/fcl" config({ "discovery.authn.endpoint": "https://fcl-discovery.onflow.org/api/testnet/authn", -}); +}) // On mainnet, you can use https://fcl-discovery.onflow.org/api/authn ``` @@ -1188,47 +1208,47 @@ config({ Then in an application you can get services with the following: ```javascript -import * as fcl from "@onflow/fcl"; +import * as fcl from "@onflow/fcl" -fcl.discovery.authn.subscribe(callback); +fcl.discovery.authn.subscribe(callback) // OR -fcl.discovery.authn.snapshot(); +fcl.discovery.authn.snapshot() ``` This will return a list a services which you can then authenticate with the following: ```javascript -fcl.authenticate({ service }); +fcl.authenticate({service}) ``` An example React component could then wind up looking like this: ```javascript -import "./config"; -import { useState, useEffect } from "react"; -import * as fcl from "@onflow/fcl"; +import "./config" +import {useState, useEffect} from "react" +import * as fcl from "@onflow/fcl" function Component() { - const [services, setServices] = useState([]); + const [services, setServices] = useState([]) useEffect( - () => fcl.discovery.authn.subscribe((res) => setServices(res.results)), - [], - ); + () => fcl.discovery.authn.subscribe(res => setServices(res.results)), + [] + ) return (
- {services.map((service) => ( + {services.map(service => ( ))}
- ); + ) } ``` @@ -1269,18 +1289,18 @@ let AuthnService = { icon: null, description: "Awesome Wallet Extension for Chrome", }, -}; +} if (!Array.isArray(window.fcl_extensions)) { - window.fcl_extensions = []; + window.fcl_extensions = [] } -window.fcl_extensions.push(AuthnService); +window.fcl_extensions.push(AuthnService) ``` ```javascript -import { WalletUtils } from "@onflow/fcl"; +import {WalletUtils} from "@onflow/fcl" -WalletUtils.injectExtService(AuthnService); +WalletUtils.injectExtService(AuthnService) ``` - 2021-10-01 -- Simplify passing `currentUser` data into args with the ability to pass `currentUser` as param instead of a creating a user snapshot before. @@ -1288,7 +1308,7 @@ WalletUtils.injectExtService(AuthnService); Examples of `currentUser` as a param. ```javascript -import { query, currentUser } from "@onflow/fcl"; +import {query, currentUser} from "@onflow/fcl" await query({ cadence: ` @@ -1297,7 +1317,7 @@ await query({ } `, args: (arg, t) => [currentUser], -}); +}) ``` ## 0.0.78-alpha.3 - 2021-10-01 @@ -1323,10 +1343,10 @@ await query({ Examples of `currentUser` functionality. ```javascript -import { currentUser } from "@onflow/fcl"; +import {currentUser} from "@onflow/fcl" -currentUser.snapshot(); -currentUser.subscribe(callback); +currentUser.snapshot() +currentUser.subscribe(callback) ``` - 2021-09-14 -- Adds `WalletUtils.CompositeSignature` constructor. @@ -1335,9 +1355,9 @@ currentUser.subscribe(callback); ```javascript export const SESSION_STORAGE = { can: true, - get: async (key) => JSON.parse(sessionStorage.getItem(key)), + get: async key => JSON.parse(sessionStorage.getItem(key)), put: async (key, value) => sessionStorage.setItem(key, JSON.stringify(value)), -}; +} ``` ## 0.0.77-alpha.4 - 2021-08-27 @@ -1403,37 +1423,37 @@ export const SESSION_STORAGE = { Examples of `config` functionality. ```javascript -import { config } from "@onflow/fcl"; +import {config} from "@onflow/fcl" -expect(await config.all()).toEqual({}); +expect(await config.all()).toEqual({}) config({ "foo.bar": "baz", -}); -config.put("bob", "pat"); +}) +config.put("bob", "pat") expect(await config.all()).toEqual({ "foo.bar": "baz", bob: "pat", -}); +}) -var ret = await config.overload({ bob: "bill" }, async () => { +var ret = await config.overload({bob: "bill"}, async () => { expect(await config.all()).toEqual({ "foo.bar": "baz", bob: "bill", - }); - return "woot"; -}); + }) + return "woot" +}) -expect(ret).toBe("woot"); +expect(ret).toBe("woot") expect(await config.all()).toEqual({ "foo.bar": "baz", bob: "pat", -}); +}) -expect(await config.first(["bax", "foo.bar"], "FALLBACK")).toBe("baz"); -expect(await config.first(["nope", "oh-no"], "FALLBACK")).toBe("FALLBACK"); +expect(await config.first(["bax", "foo.bar"], "FALLBACK")).toBe("baz") +expect(await config.first(["nope", "oh-no"], "FALLBACK")).toBe("FALLBACK") ``` ## 0.0.73 - 2021-06-21 @@ -1457,10 +1477,10 @@ New **EXPERIMENTAL** `fcl.mutate` functionality (mirors `fcl.query` but for tran ```javascript // profile contract on testnet -import * as fcl from "@onflow/fcl"; +import * as fcl from "@onflow/fcl" // address overloading works for fcl.mutate too -fcl.config().put("0xProfile", "0xba1132bc08f82fe2"); +fcl.config().put("0xProfile", "0xba1132bc08f82fe2") // defaults to current user for all signatory roles await fcl.mutate({ @@ -1479,10 +1499,10 @@ await fcl.mutate({ args: (arg, t) => [arg("qvvg", t.String)], limit: 65, -}); +}) // you can use a custom authorization function for all three signatory roles -import { myAuthzFn } from "./my-authz-fn"; +import {myAuthzFn} from "./my-authz-fn" const INIT_PROFILE_CONTRACT = ` import Profile from 0xProfile @@ -1495,12 +1515,12 @@ const INIT_PROFILE_CONTRACT = ` } } } -`; +` await fcl.mutate({ cadence: INIT_PROFILE_CONTRACT, authz: myAuthzFn, -}); +}) // individual roles can be overloaded // mutate will prefer specific roles over authz over current user @@ -1511,14 +1531,14 @@ await fcl.mutate({ proposer: myAuthzFn, payer: myAuthzFn, authorizations: [myAuthzFn], -}); +}) // the following would use myAuthzFn to pay for the transaction but the current user for everything else await fcl.mutate({ cadence: INIT_PROFILE_CONTRACT, payer: myAuthzFn, -}); +}) // the following would use myAuthzFn for the payer and the second authorization but current user for everything else @@ -1532,7 +1552,7 @@ await fcl.mutate({ `, payer: myAuthzFn, authorizations: [fcl.authz, myAuthzFn], -}); +}) // the following would use myAuthzFn for everything, but the current user will be the authorizer @@ -1540,7 +1560,7 @@ await fcl.mutate({ cadence: INIT_PROFILE_CONTRACT, authz: myAuthzFn, authorizations: [fcl.authz], -}); +}) ``` ## 0.0.72 - 2021-06-16 @@ -1596,7 +1616,7 @@ await fcl.mutate({ New **EXPERIMENTAL** `fcl.query` functionality can be used like this. ```javascript -import * as fcl from "@onflow/fcl"; +import * as fcl from "@onflow/fcl" await fcl.query({ cadence: ` @@ -1610,7 +1630,7 @@ await fcl.query({ arg(6, t.Int), // b: Int arg("0xba1132bc08f82fe2", t.Address), // addr: Address ], -}); +}) ``` ## 0.0.68-alpha.18 - 2021-04-09 @@ -1627,13 +1647,13 @@ await fcl.query({ New configuration works like older configuration: ```javascript -import * as fcl from "@onflow/fcl"; +import * as fcl from "@onflow/fcl" fcl .config() .put("app.detail.title", "My Great Application") .put("app.detail.icon", "https://avatars.onflow.org/avatar/dapp") - .put("service.OpenID.scopes", "email email_verified name"); + .put("service.OpenID.scopes", "email email_verified name") ``` All OpenID data returned should be considered optional. For the time being it will be visable as a service in the current user, but in the future we will provide additional ways to subscribe and access this data. @@ -1830,11 +1850,11 @@ await fcl.send([ ```javascript // fcl.account - A convenience function for fetching an account -/* old */ await fcl.send([fcl.getAccount("0x1d007d755706c469")]); -/* new */ await fcl.account("0x1d007d755706c469"); +/* old */ await fcl.send([fcl.getAccount("0x1d007d755706c469")]) +/* new */ await fcl.account("0x1d007d755706c469") // fcl.reauthenticate - Logs the current user out before attempting to authenticate again -await fcl.reauthenticate(); +await fcl.reauthenticate() // fcl.authz - alias for fcl.currentUser().authorization await fcl.send([ @@ -1842,11 +1862,11 @@ await fcl.send([ fcl.proposer(fcl.authz), fcl.payer(fcl.authz), fcl.authorizations([fcl.authz]), -]); +]) // fcl.signUp and fcl.logIn - Currently these alias fcl.authenticate, eventually they will pass additional context to the wallets -await fcl.signUp(); -await fcl.logIn(); +await fcl.signUp() +await fcl.logIn() ``` ## 0.0.67-alpha.0 - 2020-11-17 diff --git a/packages/fcl-core/package.json b/packages/fcl-core/package.json index 5abb3f7dc..e5c2844e9 100644 --- a/packages/fcl-core/package.json +++ b/packages/fcl-core/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl-core", - "version": "1.12.0", + "version": "1.12.1", "description": "Flow Client Library", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -19,8 +19,8 @@ } }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", - "@onflow/typedefs": "1.3.1", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/typedefs": "1.4.0", "@types/estree": "^1.0.6", "@types/jest": "^29.5.13", "@types/node": "^18.19.57", @@ -49,19 +49,19 @@ "dependencies": { "@babel/runtime": "^7.25.7", "@improbable-eng/grpc-web": "^0.15.0", - "@onflow/config": "1.5.0", + "@onflow/config": "1.5.1", "@onflow/interaction": "0.0.11", - "@onflow/rlp": "1.2.2", - "@onflow/sdk": "1.5.3", - "@onflow/transport-http": "1.10.2", - "@onflow/types": "1.4.0", - "@onflow/util-actor": "1.3.3", - "@onflow/util-address": "1.2.2", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", - "@onflow/util-semver": "1.0.2", - "@onflow/util-template": "1.2.2", - "@onflow/util-uid": "1.2.2", + "@onflow/rlp": "1.2.3", + "@onflow/sdk": "1.5.4", + "@onflow/transport-http": "1.10.3", + "@onflow/types": "1.4.1", + "@onflow/util-actor": "1.3.4", + "@onflow/util-address": "1.2.3", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", + "@onflow/util-semver": "1.0.3", + "@onflow/util-template": "1.2.3", + "@onflow/util-uid": "1.2.3", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.8" } diff --git a/packages/fcl-react-native/CHANGELOG.md b/packages/fcl-react-native/CHANGELOG.md index 248a08d68..03d723be4 100644 --- a/packages/fcl-react-native/CHANGELOG.md +++ b/packages/fcl-react-native/CHANGELOG.md @@ -1,5 +1,25 @@ # @onflow/fcl-react-native +## 1.9.7 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/util-template@1.2.3 + - @onflow/util-address@1.2.3 + - @onflow/util-logger@1.3.3 + - @onflow/util-semver@1.0.3 + - @onflow/util-actor@1.3.4 + - @onflow/fcl-core@1.12.1 + - @onflow/util-uid@1.2.3 + - @onflow/config@1.5.1 + - @onflow/types@1.4.1 + - @onflow/rlp@1.2.3 + - @onflow/sdk@1.5.4 + ## 1.9.6 ### Patch Changes diff --git a/packages/fcl-react-native/package.json b/packages/fcl-react-native/package.json index e6722b3d9..d728e8665 100644 --- a/packages/fcl-react-native/package.json +++ b/packages/fcl-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl-react-native", - "version": "1.9.6", + "version": "1.9.7", "description": "Flow Client Library", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -19,8 +19,8 @@ } }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", - "@onflow/typedefs": "1.3.1", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/typedefs": "1.4.0", "@types/estree": "^1.0.6", "@types/node": "^18.19.57", "eslint": "^8.57.1", @@ -47,19 +47,19 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/config": "1.5.0", - "@onflow/fcl-core": "1.12.0", + "@onflow/config": "1.5.1", + "@onflow/fcl-core": "1.12.1", "@onflow/interaction": "0.0.11", - "@onflow/rlp": "1.2.2", - "@onflow/sdk": "1.5.3", - "@onflow/types": "1.4.0", - "@onflow/util-actor": "1.3.3", - "@onflow/util-address": "1.2.2", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", - "@onflow/util-semver": "1.0.2", - "@onflow/util-template": "1.2.2", - "@onflow/util-uid": "1.2.2", + "@onflow/rlp": "1.2.3", + "@onflow/sdk": "1.5.4", + "@onflow/types": "1.4.1", + "@onflow/util-actor": "1.3.4", + "@onflow/util-address": "1.2.3", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", + "@onflow/util-semver": "1.0.3", + "@onflow/util-template": "1.2.3", + "@onflow/util-uid": "1.2.3", "cross-fetch": "^3.1.8" }, "peerDependencies": { diff --git a/packages/fcl-wc/CHANGELOG.md b/packages/fcl-wc/CHANGELOG.md index 014590e57..679f461b0 100644 --- a/packages/fcl-wc/CHANGELOG.md +++ b/packages/fcl-wc/CHANGELOG.md @@ -1,5 +1,17 @@ # @onflow/fcl-wc +## 5.4.1 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/util-logger@1.3.3 + - @onflow/fcl-core@1.12.1 + - @onflow/config@1.5.1 + ## 5.4.0 ### Minor Changes @@ -410,10 +422,10 @@ ``` ```javascript - import * as fcl from "@onflow/fcl"; - import { initFclWc } from "@onflow/fcl-wc"; + import * as fcl from "@onflow/fcl" + import {initFclWc} from "@onflow/fcl-wc" - const { FclConnectServicePlugin, client } = await initFclWc({ + const {FclConnectServicePlugin, client} = await initFclWc({ projectId: PROJECT_ID, metadata: { name: "FCL Connect", @@ -421,25 +433,25 @@ url: "https://flow.com/", icons: ["https://avatars.githubusercontent.com/u/62387156?s=280&v=4"], }, - }); + }) - fcl.pluginRegistry.add(FclConnectServicePlugin); + fcl.pluginRegistry.add(FclConnectServicePlugin) ``` ### Using the client ```javascript - import { getSdkError } from "@onflow/fcl-wc"; + import {getSdkError} from "@onflow/fcl-wc" - client.on("session_update", ({ topic, params }) => { - const session = client.session.get(topic); - console.log("EVENT", "session_update", { topic, params, session }); - }); + client.on("session_update", ({topic, params}) => { + const session = client.session.get(topic) + console.log("EVENT", "session_update", {topic, params, session}) + }) await client.disconnect({ topic: session.topic, reason: getSdkError("USER_DISCONNECTED"), - }); + }) ``` - @@ -491,11 +503,11 @@ ```ts interface WcRequestData { - type: string; // 'session_request' | 'pairing_request' - session: SessionTypes.Struct | undefined; // https://www.npmjs.com/package/@walletconnect/types - pairing: PairingTypes.Struct | undefined; // https://www.npmjs.com/package/@walletconnect/types - method: string; // "flow_authn" | "flow_authz" | "flow_user_sign" - uri: string | undefined; + type: string // 'session_request' | 'pairing_request' + session: SessionTypes.Struct | undefined // https://www.npmjs.com/package/@walletconnect/types + pairing: PairingTypes.Struct | undefined // https://www.npmjs.com/package/@walletconnect/types + method: string // "flow_authn" | "flow_authz" | "flow_user_sign" + uri: string | undefined } ``` @@ -536,11 +548,11 @@ ```ts interface WcRequestData { - type: string; // 'session_request' | 'pairing_request' - session: SessionTypes.Struct | undefined; // https://www.npmjs.com/package/@walletconnect/types - pairing: PairingTypes.Struct | undefined; // https://www.npmjs.com/package/@walletconnect/types - method: string; // "flow_authn" | "flow_authz" | "flow_user_sign" - uri: string | undefined; + type: string // 'session_request' | 'pairing_request' + session: SessionTypes.Struct | undefined // https://www.npmjs.com/package/@walletconnect/types + pairing: PairingTypes.Struct | undefined // https://www.npmjs.com/package/@walletconnect/types + method: string // "flow_authn" | "flow_authz" | "flow_user_sign" + uri: string | undefined } ``` @@ -604,10 +616,10 @@ ``` ```javascript - import * as fcl from "@onflow/fcl"; - import { initFclWc } from "@onflow/fcl-wc"; + import * as fcl from "@onflow/fcl" + import {initFclWc} from "@onflow/fcl-wc" - const { FclConnectServicePlugin, client } = await initFclWc({ + const {FclConnectServicePlugin, client} = await initFclWc({ projectId: PROJECT_ID, metadata: { name: "FCL Connect", @@ -615,25 +627,25 @@ url: "https://flow.com/", icons: ["https://avatars.githubusercontent.com/u/62387156?s=280&v=4"], }, - }); + }) - fcl.pluginRegistry.add(FclConnectServicePlugin); + fcl.pluginRegistry.add(FclConnectServicePlugin) ``` ### Using the client ```javascript - import { getSdkError } from "@onflow/fcl-wc"; + import {getSdkError} from "@onflow/fcl-wc" - client.on("session_update", ({ topic, params }) => { - const session = client.session.get(topic); - console.log("EVENT", "session_update", { topic, params, session }); - }); + client.on("session_update", ({topic, params}) => { + const session = client.session.get(topic) + console.log("EVENT", "session_update", {topic, params, session}) + }) await client.disconnect({ topic: session.topic, reason: getSdkError("USER_DISCONNECTED"), - }); + }) ``` - diff --git a/packages/fcl-wc/package.json b/packages/fcl-wc/package.json index 88cb398d9..c416c5331 100644 --- a/packages/fcl-wc/package.json +++ b/packages/fcl-wc/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl-wc", - "version": "5.4.0", + "version": "5.4.1", "description": "WalletConnect adapter for FCL", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -28,16 +28,16 @@ "lint": "eslint ." }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "eslint": "^8.57.1", "eslint-plugin-jsdoc": "^46.10.1", "jest": "^29.7.0" }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/config": "1.5.0", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", + "@onflow/config": "1.5.1", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", "@walletconnect/modal": "^2.7.0", "@walletconnect/modal-core": "^2.6.2", "@walletconnect/sign-client": "^2.17.1", @@ -45,6 +45,6 @@ "@walletconnect/utils": "^2.8.1" }, "peerDependencies": { - "@onflow/fcl-core": "1.12.0" + "@onflow/fcl-core": "1.12.1" } } diff --git a/packages/fcl/CHANGELOG.md b/packages/fcl/CHANGELOG.md index e6f79b553..bdab46c66 100644 --- a/packages/fcl/CHANGELOG.md +++ b/packages/fcl/CHANGELOG.md @@ -1,5 +1,27 @@ # @onflow/fcl +## 1.12.4 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/util-template@1.2.3 + - @onflow/util-address@1.2.3 + - @onflow/util-logger@1.3.3 + - @onflow/util-semver@1.0.3 + - @onflow/util-actor@1.3.4 + - @onflow/fcl-core@1.12.1 + - @onflow/util-rpc@0.0.2 + - @onflow/util-uid@1.2.3 + - @onflow/config@1.5.1 + - @onflow/fcl-wc@5.4.1 + - @onflow/types@1.4.1 + - @onflow/rlp@1.2.3 + - @onflow/sdk@1.5.4 + ## 1.12.3 ### Patch Changes diff --git a/packages/fcl/package.json b/packages/fcl/package.json index 099bac1eb..0fb36eec9 100644 --- a/packages/fcl/package.json +++ b/packages/fcl/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl", - "version": "1.12.3", + "version": "1.12.4", "description": "Flow Client Library", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -19,8 +19,8 @@ } }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", - "@onflow/typedefs": "1.3.1", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/typedefs": "1.4.0", "@types/estree": "^1.0.6", "@types/jest": "^29.5.13", "@types/node": "^18.19.57", @@ -48,21 +48,21 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/config": "1.5.0", - "@onflow/fcl-core": "1.12.0", - "@onflow/fcl-wc": "5.4.0", + "@onflow/config": "1.5.1", + "@onflow/fcl-core": "1.12.1", + "@onflow/fcl-wc": "5.4.1", "@onflow/interaction": "0.0.11", - "@onflow/rlp": "1.2.2", - "@onflow/sdk": "1.5.3", - "@onflow/types": "1.4.0", - "@onflow/util-actor": "1.3.3", - "@onflow/util-address": "1.2.2", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", - "@onflow/util-rpc": "0.0.1", - "@onflow/util-semver": "1.0.2", - "@onflow/util-template": "1.2.2", - "@onflow/util-uid": "1.2.2", + "@onflow/rlp": "1.2.3", + "@onflow/sdk": "1.5.4", + "@onflow/types": "1.4.1", + "@onflow/util-actor": "1.3.4", + "@onflow/util-address": "1.2.3", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", + "@onflow/util-rpc": "0.0.2", + "@onflow/util-semver": "1.0.3", + "@onflow/util-template": "1.2.3", + "@onflow/util-uid": "1.2.3", "@walletconnect/types": "^2.13.2", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.8", diff --git a/packages/protobuf/CHANGELOG.md b/packages/protobuf/CHANGELOG.md index e87e4681d..5ecfc4980 100644 --- a/packages/protobuf/CHANGELOG.md +++ b/packages/protobuf/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/protobuf +## 1.3.1 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.3.0 ### Minor Changes diff --git a/packages/protobuf/package.json b/packages/protobuf/package.json index a26aec5a4..e30c35742 100644 --- a/packages/protobuf/package.json +++ b/packages/protobuf/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/protobuf", - "version": "1.3.0", + "version": "1.3.1", "description": "Access Node Protobuf", "license": "Apache-2.0", "author": "Dapper Labs ", diff --git a/packages/rlp/CHANGELOG.md b/packages/rlp/CHANGELOG.md index e4c2285c7..4e604a952 100644 --- a/packages/rlp/CHANGELOG.md +++ b/packages/rlp/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/rlp +## 1.2.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.2.2 ### Patch Changes diff --git a/packages/rlp/package.json b/packages/rlp/package.json index ce8ec0324..4fe7f83c3 100644 --- a/packages/rlp/package.json +++ b/packages/rlp/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/rlp", - "version": "1.2.2", + "version": "1.2.3", "description": "Port of ethereumjs/rlp", "license": "MPL-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 72c035970..f900947c0 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,22 @@ # @onflow/sdk +## 1.5.4 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7), [`dda32df052801ee5e70b703a19c246f36bbd31c2`](https://github.com/onflow/fcl-js/commit/dda32df052801ee5e70b703a19c246f36bbd31c2)]: + - @onflow/transport-http@1.10.3 + - @onflow/util-invariant@1.2.4 + - @onflow/util-template@1.2.3 + - @onflow/util-address@1.2.3 + - @onflow/util-logger@1.3.3 + - @onflow/util-actor@1.3.4 + - @onflow/typedefs@1.4.0 + - @onflow/config@1.5.1 + - @onflow/rlp@1.2.3 + ## 1.5.3 ### Patch Changes @@ -713,7 +730,7 @@ - 2022-03-16 -- [@chasefleming](https://github.com/chasefleming): Warn about field renamings/deprecations. To turn on warnings, set config `log.level` to `2`. ```js -sdk.config("logger.level", 2); +sdk.config("logger.level", 2) ``` - 2022-03-07 -- **BREAKING** [@JeffreyDoyle](https://github.com/JeffreyDoyle): Decode number types implicitly. Number types, `[U]Int*` and `Word*`, will now be decoded into String. This is done to protect against decoding such types into JavaScript Number when the value they represent exceeds the largest supported value for Number. Developers should adjust their use of the JS-SDK accordingly to this new return type when decoding number `[U]Int*` and `Word*` types. @@ -722,8 +739,8 @@ sdk.config("logger.level", 2); - 2022-02-04 -- [@chasefleming](https://github.com/chasefleming): Add options for for getting account by block height. ```javascript -await sdk.account("0x123"); // Existing: get account at the latest block -await sdk.account("0x123", { height: 123 }); // New: get account at the block with the provided height +await sdk.account("0x123") // Existing: get account at the latest block +await sdk.account("0x123", {height: 123}) // New: get account at the block with the provided height ``` ## 0.0.57-alpha.3 -- 2022-02-02 @@ -736,20 +753,20 @@ await sdk.account("0x123", { height: 123 }); // New: get account at the block wi - 2022-01-21 -- [@JeffreyDoyle](https://github.com/JeffreyDoyle): Abstracts away the SDK transport modules into their own packages. The JS-SDK now makes use of transport modules for sending an interaction to an access api and receiving a response. A transport module can be defined in config: ```javascript -import { send as grpcSend } from "@onflow/transport-grpc"; -import { send as httpSend } from "@onflow/transport-http"; +import {send as grpcSend} from "@onflow/transport-grpc" +import {send as httpSend} from "@onflow/transport-http" // Configure SDK to use GRPC sdk .config() .put("accessNode.api", "https://access-testnet.onflow.org") - .put("sdk.transport", grpcSend); + .put("sdk.transport", grpcSend) // Configure SDK to use HTTP sdk .config() .put("accessNode.api", "https://rest-testnet.onflow.org") - .put("sdk.transport", httpSend); + .put("sdk.transport", httpSend) ``` ## 0.0.56-alpha.3 -- 2022-01-19 @@ -757,10 +774,10 @@ sdk - 2022-01-07 -- [@chasefleming](https://github.com/chasefleming): Create methods for more easily getting a block by height or by id. ```javascript -await sdk.block(); // get latest finalized block -await sdk.block({ sealed: true }); // get latest sealed block -await sdk.block({ id: "abc" }); // get block by id -await sdk.block({ height: 123 }); // get block by height +await sdk.block() // get latest finalized block +await sdk.block({sealed: true}) // get latest sealed block +await sdk.block({id: "abc"}) // get block by id +await sdk.block({height: 123}) // get block by height ``` ## 0.0.56-alpha.2 -- 2022-01-05 @@ -771,7 +788,7 @@ await sdk.block({ height: 123 }); // get block by height - 2021-11-17 -- [@chasefleming](https://github.com/chasefleming): Support passing of current user as authorization. Simply pass `currentUser` instead of `currentUser.authorization` or `currentUser().authorization`. ```javascript -import { currentUser } from "@onflow/fcl"; +import {currentUser} from "@onflow/fcl" fcl .send([ @@ -780,7 +797,7 @@ fcl fcl.payer(currentUser), fcl.authorizations([currentUser]), ]) - .then(fcl.decode); + .then(fcl.decode) ``` ## 0.0.56-alpha.1 -- 2021-10-21 @@ -792,13 +809,13 @@ fcl Example of `statusString`: ```javascript -import * as sdk from "@onflow/sdk"; +import * as sdk from "@onflow/sdk" const response = await sdk.send( await sdk.build([sdk.getTransactionStatus(txId)]), - { node: "http://localhost:8080" }, -); + {node: "http://localhost:8080"} +) -console.log(response.statusString); +console.log(response.statusString) ``` ## 0.0.55 -- 2021-10-01 @@ -813,11 +830,11 @@ const argument = { return { value: "0x12341324", xform: t.Address, - }; + } }, -}; +} -sdk.args([argument]); +sdk.args([argument]) ``` - 2021-09-20 -- [@chasefleming](https://github.com/chasefleming): Support asynchronous resolve methods in `resolveArguments` @@ -859,44 +876,44 @@ sdk.args([argument]); Example Updates to config. ```javascript -import { config } from "@onflow/config"; +import {config} from "@onflow/config" -expect(await config.all()).toEqual({}); +expect(await config.all()).toEqual({}) config({ "foo.bar": "baz", -}); -config.put("bob", "pat"); +}) +config.put("bob", "pat") expect(await config.all()).toEqual({ "foo.bar": "baz", bob: "pat", -}); +}) -var ret = await config.overload({ bob: "bill" }, async () => { +var ret = await config.overload({bob: "bill"}, async () => { expect(await config.all()).toEqual({ "foo.bar": "baz", bob: "bill", - }); - return "woot"; -}); + }) + return "woot" +}) -expect(ret).toBe("woot"); +expect(ret).toBe("woot") expect(await config.all()).toEqual({ "foo.bar": "baz", bob: "pat", -}); +}) -expect(await config.first(["bax", "foo.bar"], "FALLBACK")).toBe("baz"); -expect(await config.first(["nope", "oh-no"], "FALLBACK")).toBe("FALLBACK"); +expect(await config.first(["bax", "foo.bar"], "FALLBACK")).toBe("baz") +expect(await config.first(["nope", "oh-no"], "FALLBACK")).toBe("FALLBACK") ``` Example of TestUtils. ```javascript -import { config, TestUtils } from "@onflow/sdk"; -import * as sdk from "@onflow/sdk"; +import {config, TestUtils} from "@onflow/sdk" +import * as sdk from "@onflow/sdk" test("single account/key pair for all three signatory roles", async () => { await config.overload( @@ -906,11 +923,11 @@ test("single account/key pair for all three signatory roles", async () => { "sdk.transport": TestUtils.mockSend(), }, async () => { - const SIGNATORY = { addr: "0x1111222233334444", keyId: 1 }; - const idof = (acct) => `${acct.addr}-${acct.keyId}`; + const SIGNATORY = {addr: "0x1111222233334444", keyId: 1} + const idof = acct => `${acct.addr}-${acct.keyId}` // authzFn -- stubs out an authorization function from a signatory - const authz = TestUtils.authzFn(SIGNATORY); + const authz = TestUtils.authzFn(SIGNATORY) // run -- builds and resolves the transaction // sets a reference block var ix = await run([ @@ -918,17 +935,17 @@ test("single account/key pair for all three signatory roles", async () => { sdk.proposer(authz), sdk.payer(authz), sdk.authorizations([authz]), - ]); + ]) - expect(Object.keys(ix.accounts).length).toBe(1); - expect(ix.accounts[TestUtils.idof(SIGNATORY)]).toBeDefined(); + expect(Object.keys(ix.accounts).length).toBe(1) + expect(ix.accounts[TestUtils.idof(SIGNATORY)]).toBeDefined() - expect(ix.proposer).toBe(TestUtils.idof(SIGNATORY)); - expect(ix.payer).toBe(TestUtils.idof(SIGNATORY)); - expect(ix.authorizations).toEqual([TestUtils.idof(SIGNATORY)]); - }, - ); -}); + expect(ix.proposer).toBe(TestUtils.idof(SIGNATORY)) + expect(ix.payer).toBe(TestUtils.idof(SIGNATORY)) + expect(ix.authorizations).toEqual([TestUtils.idof(SIGNATORY)]) + } + ) +}) ``` ## 0.0.50 - 2021-06-17 @@ -941,20 +958,20 @@ test("single account/key pair for all three signatory roles", async () => { - 2021-06-16 -- [@orodio](https://github.com/orodio): Added the ability to set configuration values in `sdk.config` from initializer. ```javascript -import { config } from "@onflow/config"; +import {config} from "@onflow/config" config({ "accessNode.api": "https://access-testnet.onflow.org", "discovery.wallet": "https://fcl-discovery.onflow.org/testnet/authn", "0xFUSD": "0xe223d8a629e49c68", -}); +}) // -- is equivalent to -- config() .put("accessNode.api", "https://access-testnet.onflow.org") .put("discovery.wallet", "https://fcl-discovery.onflow.org/testnet/authn") - .put("0xFUSD", "0xe223d8a629e49c68"); + .put("0xFUSD", "0xe223d8a629e49c68") ``` ## 0.0.48 - 2021-06-16 @@ -962,9 +979,9 @@ config() - 2021-06-16 -- [@JeffreyDoyle](https://github.com/JeffreyDoyle): Adds ability to specify optional grpc metadata to requests sent to an Access API. To specity grpc metadata, use config like such: ```javascript -import { config } from "@onflow/config"; +import {config} from "@onflow/config" -fcl.config().put("grpc.metadata", { headerkey1: "headervalue1" }); +fcl.config().put("grpc.metadata", {headerkey1: "headervalue1"}) ``` - 2021-06-16 -- [@JeffreyDoyle](https://github.com/JeffreyDoyle): Adds encode signable wallet utility function. diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 26dd84973..56f8cf516 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/sdk", - "version": "1.5.3", + "version": "1.5.4", "description": "Flow SDK", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -18,7 +18,7 @@ } }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/uuid": "^9.0.8", "eslint": "^8.57.1", "eslint-plugin-jsdoc": "^46.10.1", @@ -41,15 +41,15 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/config": "1.5.0", - "@onflow/rlp": "1.2.2", - "@onflow/transport-http": "1.10.2", - "@onflow/typedefs": "1.3.1", - "@onflow/util-actor": "1.3.3", - "@onflow/util-address": "1.2.2", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", - "@onflow/util-template": "1.2.2", + "@onflow/config": "1.5.1", + "@onflow/rlp": "1.2.3", + "@onflow/transport-http": "1.10.3", + "@onflow/typedefs": "1.4.0", + "@onflow/util-actor": "1.3.4", + "@onflow/util-address": "1.2.3", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", + "@onflow/util-template": "1.2.3", "deepmerge": "^4.3.1", "events": "^3.3.0", "sha3": "^2.1.4", diff --git a/packages/transport-grpc/CHANGELOG.md b/packages/transport-grpc/CHANGELOG.md index d86f6c76c..a7b9e62c9 100644 --- a/packages/transport-grpc/CHANGELOG.md +++ b/packages/transport-grpc/CHANGELOG.md @@ -1,5 +1,18 @@ # @onflow/transport-grpc +## 1.4.2 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/util-template@1.2.3 + - @onflow/util-address@1.2.3 + - @onflow/protobuf@1.3.1 + - @onflow/rlp@1.2.3 + ## 1.4.1 ### Patch Changes diff --git a/packages/transport-grpc/package.json b/packages/transport-grpc/package.json index 6f538e5c3..a65c38e20 100644 --- a/packages/transport-grpc/package.json +++ b/packages/transport-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/transport-grpc", - "version": "1.4.1", + "version": "1.4.2", "description": "Flow SDK GRPC Transport Module", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -13,8 +13,8 @@ "url": "https://github.com/onflow/flow-js-sdk/issues" }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", - "@onflow/sdk": "1.5.3", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/sdk": "1.5.4", "jest": "^29.7.0" }, "source": "src/sdk-send-grpc.js", @@ -33,10 +33,10 @@ "@babel/runtime": "^7.25.7", "@improbable-eng/grpc-web": "^0.15.0", "@improbable-eng/grpc-web-node-http-transport": "^0.15.0", - "@onflow/protobuf": "1.3.0", - "@onflow/rlp": "1.2.2", - "@onflow/util-address": "1.2.2", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-template": "1.2.2" + "@onflow/protobuf": "1.3.1", + "@onflow/rlp": "1.2.3", + "@onflow/util-address": "1.2.3", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-template": "1.2.3" } } diff --git a/packages/transport-http/CHANGELOG.md b/packages/transport-http/CHANGELOG.md index a40476f33..d88b9a931 100644 --- a/packages/transport-http/CHANGELOG.md +++ b/packages/transport-http/CHANGELOG.md @@ -1,5 +1,17 @@ # @onflow/transport-http +## 1.10.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/util-template@1.2.3 + - @onflow/util-address@1.2.3 + - @onflow/util-logger@1.3.3 + ## 1.10.2 ### Patch Changes diff --git a/packages/transport-http/package.json b/packages/transport-http/package.json index 6ac3d2405..bc55f03fd 100644 --- a/packages/transport-http/package.json +++ b/packages/transport-http/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/transport-http", - "version": "1.10.2", + "version": "1.10.3", "description": "Flow SDK HTTP Transport Module", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -13,10 +13,10 @@ "url": "https://github.com/onflow/flow-js-sdk/issues" }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", - "@onflow/rlp": "1.2.2", - "@onflow/sdk": "1.5.3", - "@onflow/types": "1.4.0", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/rlp": "1.2.3", + "@onflow/sdk": "1.5.4", + "@onflow/types": "1.4.1", "jest": "^29.7.0" }, "source": "src/sdk-send-http.ts", @@ -34,10 +34,10 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/util-address": "1.2.2", - "@onflow/util-invariant": "1.2.3", - "@onflow/util-logger": "1.3.2", - "@onflow/util-template": "1.2.2", + "@onflow/util-address": "1.2.3", + "@onflow/util-invariant": "1.2.4", + "@onflow/util-logger": "1.3.3", + "@onflow/util-template": "1.2.3", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.8", "events": "^3.3.0", diff --git a/packages/typedefs/CHANGELOG.md b/packages/typedefs/CHANGELOG.md index 3dbfe72cf..7e433053a 100644 --- a/packages/typedefs/CHANGELOG.md +++ b/packages/typedefs/CHANGELOG.md @@ -1,5 +1,15 @@ # @onflow/typedefs +## 1.4.0 + +### Minor Changes + +- [#1981](https://github.com/onflow/fcl-js/pull/1981) [`dda32df052801ee5e70b703a19c246f36bbd31c2`](https://github.com/onflow/fcl-js/commit/dda32df052801ee5e70b703a19c246f36bbd31c2) Thanks [@jribbink](https://github.com/jribbink)! - Add missing fields to Provider type + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.3.1 ### Patch Changes diff --git a/packages/typedefs/package.json b/packages/typedefs/package.json index c2d45e715..f53a29520 100644 --- a/packages/typedefs/package.json +++ b/packages/typedefs/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/typedefs", - "version": "1.3.1", + "version": "1.4.0", "description": "Flow JS Type Defs", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -13,7 +13,7 @@ "url": "https://github.com/onflow/flow-js-sdk/issues" }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/node": "^18.19.57", "eslint": "^8.57.1", "eslint-plugin-jsdoc": "^46.10.1", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 883a4ae8d..5e4f6cd85 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,14 @@ # @onflow/types +## 1.4.1 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-logger@1.3.3 + ## 1.4.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index ca0c433c6..dc77e9a30 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/types", - "version": "1.4.0", + "version": "1.4.1", "description": "Utilities to transform javascript values into Cadence understandable values", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", @@ -37,6 +37,6 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/util-logger": "1.3.2" + "@onflow/util-logger": "1.3.3" } } diff --git a/packages/util-actor/CHANGELOG.md b/packages/util-actor/CHANGELOG.md index 8c9db6a5c..557424acb 100644 --- a/packages/util-actor/CHANGELOG.md +++ b/packages/util-actor/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-actor +## 1.3.4 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.3.3 ### Patch Changes diff --git a/packages/util-actor/package.json b/packages/util-actor/package.json index 118bee923..f126501de 100644 --- a/packages/util-actor/package.json +++ b/packages/util-actor/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-actor", - "version": "1.3.3", + "version": "1.3.4", "description": "A mechanism for forcing order/transitions of scoped async state", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", diff --git a/packages/util-address/CHANGELOG.md b/packages/util-address/CHANGELOG.md index 9ef07ba31..b2e4b41c2 100644 --- a/packages/util-address/CHANGELOG.md +++ b/packages/util-address/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-address +## 1.2.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.2.2 ### Patch Changes diff --git a/packages/util-address/package.json b/packages/util-address/package.json index 465db7ed0..6e7e93889 100644 --- a/packages/util-address/package.json +++ b/packages/util-address/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-address", - "version": "1.2.2", + "version": "1.2.3", "description": "Flow JS SDK Util -- Address", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,8 +14,8 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", - "@onflow/types": "1.4.0", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/types": "1.4.1", "@types/jest": "^29.5.13", "@types/node": "^18.19.57", "@typescript-eslint/eslint-plugin": "^6.21.0", diff --git a/packages/util-encode-key/CHANGELOG.md b/packages/util-encode-key/CHANGELOG.md index 723528395..70e10fbfd 100644 --- a/packages/util-encode-key/CHANGELOG.md +++ b/packages/util-encode-key/CHANGELOG.md @@ -1,5 +1,15 @@ # @onflow/util-encode-key +## 1.2.4 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-invariant@1.2.4 + - @onflow/rlp@1.2.3 + ## 1.2.3 ### Patch Changes diff --git a/packages/util-encode-key/package.json b/packages/util-encode-key/package.json index 035a55816..36b587634 100644 --- a/packages/util-encode-key/package.json +++ b/packages/util-encode-key/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-encode-key", - "version": "1.2.3", + "version": "1.2.4", "description": "Flow JS SDK Util -- Encode Key", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,8 +14,8 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", - "@onflow/types": "1.4.0", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/types": "1.4.1", "@types/jest": "^29.5.13", "@types/node": "^18.19.57", "@typescript-eslint/eslint-plugin": "^6.21.0", @@ -40,7 +40,7 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/rlp": "1.2.2", - "@onflow/util-invariant": "1.2.3" + "@onflow/rlp": "1.2.3", + "@onflow/util-invariant": "1.2.4" } } diff --git a/packages/util-invariant/CHANGELOG.md b/packages/util-invariant/CHANGELOG.md index ec24ddc79..68a245404 100644 --- a/packages/util-invariant/CHANGELOG.md +++ b/packages/util-invariant/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-invariant +## 1.2.4 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.2.3 ### Patch Changes diff --git a/packages/util-invariant/package.json b/packages/util-invariant/package.json index 96f715641..b66e58a9b 100644 --- a/packages/util-invariant/package.json +++ b/packages/util-invariant/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-invariant", - "version": "1.2.3", + "version": "1.2.4", "description": "Flow JS SDK Util -- Invariant", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,8 +14,8 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", - "@onflow/types": "1.4.0", + "@onflow/fcl-bundle": "1.5.1", + "@onflow/types": "1.4.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", diff --git a/packages/util-logger/CHANGELOG.md b/packages/util-logger/CHANGELOG.md index 42e21c0e7..2f1d09885 100644 --- a/packages/util-logger/CHANGELOG.md +++ b/packages/util-logger/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-logger +## 1.3.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.3.2 ### Patch Changes diff --git a/packages/util-logger/package.json b/packages/util-logger/package.json index 7cc55b17a..66e80523c 100644 --- a/packages/util-logger/package.json +++ b/packages/util-logger/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-logger", - "version": "1.3.2", + "version": "1.3.3", "description": "Logger for FCL-JS", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", diff --git a/packages/util-rpc/CHANGELOG.md b/packages/util-rpc/CHANGELOG.md index 5b303ba9f..9f8ced089 100644 --- a/packages/util-rpc/CHANGELOG.md +++ b/packages/util-rpc/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-rpc +## 0.0.2 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 0.0.1 -- Initial release \ No newline at end of file +- Initial release diff --git a/packages/util-rpc/package.json b/packages/util-rpc/package.json index 343d6180b..11bcc38f3 100644 --- a/packages/util-rpc/package.json +++ b/packages/util-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-rpc", - "version": "0.0.1", + "version": "0.0.2", "description": "Lightweight utility for creating transport-agnostic, bidirectional JSON-RPC channels.", "license": "Apache-2.0", "author": "Flow Foundation ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", diff --git a/packages/util-semver/CHANGELOG.md b/packages/util-semver/CHANGELOG.md index 45f6de1c3..806e16a03 100644 --- a/packages/util-semver/CHANGELOG.md +++ b/packages/util-semver/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-semver +## 1.0.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.0.2 ### Patch Changes diff --git a/packages/util-semver/package.json b/packages/util-semver/package.json index 4ae3cdfd9..468e84365 100644 --- a/packages/util-semver/package.json +++ b/packages/util-semver/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-semver", - "version": "1.0.2", + "version": "1.0.3", "description": "A lightweight semver implementation for use in FCL", "main": "dist/index.js", "module": "dist/index.module.js", @@ -14,7 +14,7 @@ "start": "fcl-bundle --watch" }, "devDependencies": { - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "jest": "^29.7.0" }, "dependencies": { diff --git a/packages/util-template/CHANGELOG.md b/packages/util-template/CHANGELOG.md index b9aac20b1..1046624a1 100644 --- a/packages/util-template/CHANGELOG.md +++ b/packages/util-template/CHANGELOG.md @@ -1,5 +1,14 @@ # @onflow/util-template +## 1.2.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + +- Updated dependencies [[`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7)]: + - @onflow/util-logger@1.3.3 + ## 1.2.2 ### Patch Changes diff --git a/packages/util-template/package.json b/packages/util-template/package.json index 397361ae8..b7a3f4c33 100644 --- a/packages/util-template/package.json +++ b/packages/util-template/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-template", - "version": "1.2.2", + "version": "1.2.3", "description": "Template Literal used for Cadence Interop", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", @@ -36,6 +36,6 @@ }, "dependencies": { "@babel/runtime": "^7.25.7", - "@onflow/util-logger": "1.3.2" + "@onflow/util-logger": "1.3.3" } } diff --git a/packages/util-uid/CHANGELOG.md b/packages/util-uid/CHANGELOG.md index 19d459eb5..c986f89ca 100644 --- a/packages/util-uid/CHANGELOG.md +++ b/packages/util-uid/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-uid +## 1.2.3 + +### Patch Changes + +- [#1983](https://github.com/onflow/fcl-js/pull/1983) [`18d24c8bad7efa0d8741d74f0cf299f89b3622c7`](https://github.com/onflow/fcl-js/commit/18d24c8bad7efa0d8741d74f0cf299f89b3622c7) Thanks [@jribbink](https://github.com/jribbink)! - Update dependencies + ## 1.2.2 ### Patch Changes diff --git a/packages/util-uid/package.json b/packages/util-uid/package.json index b15924935..2414b1da6 100644 --- a/packages/util-uid/package.json +++ b/packages/util-uid/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-uid", - "version": "1.2.2", + "version": "1.2.3", "description": "Utilities to generate Unique Identifiers", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.25.7", - "@onflow/fcl-bundle": "1.5.0", + "@onflow/fcl-bundle": "1.5.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0",