From 10e9f20fb778ff2f72c7e3b46f1b52d0cf36c86f Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Mon, 4 Dec 2023 13:15:52 -0800 Subject: [PATCH] Pre-release event-streaming tagged package --- .changeset/pre.json | 5 ++-- packages/config/CHANGELOG.md | 11 ++++++++ packages/config/package.json | 10 +++---- packages/fcl-bundle/CHANGELOG.md | 6 +++++ packages/fcl-bundle/package.json | 2 +- packages/fcl-wc/CHANGELOG.md | 12 +++++++++ packages/fcl-wc/package.json | 12 ++++----- packages/fcl/CHANGELOG.md | 19 +++++++++++++ packages/fcl/package.json | 28 ++++++++++---------- packages/rlp/CHANGELOG.md | 6 +++++ packages/rlp/package.json | 4 +-- packages/sdk/CHANGELOG.md | 16 +++++++++++ packages/sdk/package.json | 22 +++++++-------- packages/transport-grpc/CHANGELOG.md | 12 +++++++++ packages/transport-grpc/README.md | 8 +++--- packages/transport-grpc/package.json | 14 +++++----- packages/transport-grpc/src/sdk-send-grpc.js | 10 ++++++- packages/transport-http/CHANGELOG.md | 12 +++++++++ packages/transport-http/package.json | 18 ++++++------- packages/typedefs/CHANGELOG.md | 6 +++++ packages/typedefs/package.json | 4 +-- packages/typedefs/src/interaction.ts | 6 ++--- packages/types/CHANGELOG.md | 9 +++++++ packages/types/package.json | 6 ++--- packages/util-actor/CHANGELOG.md | 6 +++++ packages/util-actor/package.json | 4 +-- packages/util-address/CHANGELOG.md | 6 +++++ packages/util-address/package.json | 6 ++--- packages/util-encode-key/CHANGELOG.md | 10 +++++++ packages/util-encode-key/package.json | 10 +++---- packages/util-invariant/CHANGELOG.md | 6 +++++ packages/util-invariant/package.json | 6 ++--- packages/util-logger/CHANGELOG.md | 6 +++++ packages/util-logger/package.json | 4 +-- packages/util-semver/CHANGELOG.md | 6 +++++ packages/util-semver/package.json | 4 +-- packages/util-template/CHANGELOG.md | 9 +++++++ packages/util-template/package.json | 6 ++--- packages/util-uid/CHANGELOG.md | 6 +++++ packages/util-uid/package.json | 4 +-- 40 files changed, 264 insertions(+), 93 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 91fb8e254..5352d4686 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -5,7 +5,7 @@ "@onflow/config": "1.2.1", "@onflow/fcl": "1.9.0", "@onflow/fcl-bundle": "1.4.1", - "@onflow/fcl-wc": "6.0.0", + "@onflow/fcl-wc": "5.0.1", "@onflow/protobuf": "1.2.2", "@onflow/rlp": "1.2.1", "@onflow/sdk": "1.3.1", @@ -28,6 +28,7 @@ "mean-bugs-cry", "old-plants-nail", "serious-seahorses-camp", - "sixty-turkeys-destroy" + "sixty-turkeys-destroy", + "thirty-donuts-worry" ] } diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 6b31b106e..6230a6e13 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,16 @@ # @onflow/config +## 1.2.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/util-logger@1.3.2-event-streaming.1 + - @onflow/util-actor@1.3.2-event-streaming.1 + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index e13c11a04..88b44c5a3 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/config", - "version": "1.2.2-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Config for FCL-JS", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.11", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/estree": "^1.0.1", "@types/jest": "^29.5.4", "@typescript-eslint/eslint-plugin": "^6.5.0", @@ -39,9 +39,9 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/util-actor": "^1.3.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0", - "@onflow/util-logger": "^1.3.2-event-streaming.0", + "@onflow/util-actor": "^1.3.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1", + "@onflow/util-logger": "^1.3.2-event-streaming.1", "eslint": "^8.34.0", "eslint-plugin-jsdoc": "^40.0.0" } diff --git a/packages/fcl-bundle/CHANGELOG.md b/packages/fcl-bundle/CHANGELOG.md index 92a27b4b4..0c34b3f99 100644 --- a/packages/fcl-bundle/CHANGELOG.md +++ b/packages/fcl-bundle/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/fcl-bundle +## 1.4.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.4.2-event-streaming.0 ### Patch Changes diff --git a/packages/fcl-bundle/package.json b/packages/fcl-bundle/package.json index bcac3773e..a6fad06e8 100644 --- a/packages/fcl-bundle/package.json +++ b/packages/fcl-bundle/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl-bundle", - "version": "1.4.2-event-streaming.0", + "version": "1.4.2-event-streaming.1", "description": "FCL Bundler Tool", "license": "Apache-2.0", "author": "Dapper Labs ", diff --git a/packages/fcl-wc/CHANGELOG.md b/packages/fcl-wc/CHANGELOG.md index 2d6ef95fb..71d37b271 100644 --- a/packages/fcl-wc/CHANGELOG.md +++ b/packages/fcl-wc/CHANGELOG.md @@ -1,5 +1,17 @@ # @onflow/fcl-wc +## 5.0.2-event-streaming.0 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/util-logger@1.3.2-event-streaming.1 + - @onflow/config@1.2.2-event-streaming.1 + - @onflow/fcl@1.10.0-event-streaming.1 + ## 7.0.0-event-streaming.0 ### Patch Changes diff --git a/packages/fcl-wc/package.json b/packages/fcl-wc/package.json index 2c55ccca6..152311c01 100644 --- a/packages/fcl-wc/package.json +++ b/packages/fcl-wc/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl-wc", - "version": "7.0.0-event-streaming.0", + "version": "5.0.1", "description": "WalletConnect adapter for FCL", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -25,21 +25,21 @@ "start": "fcl-bundle --watch" }, "devDependencies": { - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "better-sqlite3": "^7.6.2", "jest": "^29.5.0" }, "dependencies": { "@babel/runtime": "^7.18.9", - "@onflow/config": "^1.2.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0", - "@onflow/util-logger": "^1.3.2-event-streaming.0", + "@onflow/config": "^1.2.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1", + "@onflow/util-logger": "^1.3.2-event-streaming.1", "@walletconnect/modal": "^2.4.7", "@walletconnect/sign-client": "^2.8.1", "@walletconnect/types": "^2.8.1", "@walletconnect/utils": "^2.8.1" }, "peerDependencies": { - "@onflow/fcl": "^1.10.0-event-streaming.0" + "@onflow/fcl": "^1.10.0-event-streaming.1" } } diff --git a/packages/fcl/CHANGELOG.md b/packages/fcl/CHANGELOG.md index 9acbf5752..bea837e20 100644 --- a/packages/fcl/CHANGELOG.md +++ b/packages/fcl/CHANGELOG.md @@ -1,5 +1,24 @@ # @onflow/fcl +## 1.10.0-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/util-template@1.2.2-event-streaming.1 + - @onflow/util-address@1.2.2-event-streaming.1 + - @onflow/util-logger@1.3.2-event-streaming.1 + - @onflow/util-semver@1.0.2-event-streaming.0 + - @onflow/util-actor@1.3.2-event-streaming.1 + - @onflow/util-uid@1.2.2-event-streaming.1 + - @onflow/config@1.2.2-event-streaming.1 + - @onflow/types@1.3.0-event-streaming.1 + - @onflow/rlp@1.2.2-event-streaming.1 + - @onflow/sdk@1.4.0-event-streaming.1 + ## 1.10.0-event-streaming.0 ### Minor Changes diff --git a/packages/fcl/package.json b/packages/fcl/package.json index f22ab915f..fa80adce2 100644 --- a/packages/fcl/package.json +++ b/packages/fcl/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/fcl", - "version": "1.10.0-event-streaming.0", + "version": "1.10.0-event-streaming.1", "description": "Flow Client Library", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -19,8 +19,8 @@ } }, "devDependencies": { - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", - "@onflow/typedefs": "^1.3.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/typedefs": "^1.3.0-event-streaming.1", "@types/estree": "^1.0.1", "@types/jest": "^29.5.10", "@types/node": "^18.13.0", @@ -58,18 +58,18 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/config": "^1.2.2-event-streaming.0", + "@onflow/config": "^1.2.2-event-streaming.1", "@onflow/interaction": "0.0.11", - "@onflow/rlp": "^1.2.2-event-streaming.0", - "@onflow/sdk": "^1.4.0-event-streaming.0", - "@onflow/types": "^1.3.0-event-streaming.0", - "@onflow/util-actor": "^1.3.2-event-streaming.0", - "@onflow/util-address": "^1.2.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0", - "@onflow/util-logger": "^1.3.2-event-streaming.0", - "@onflow/util-semver": "^1.0.1", - "@onflow/util-template": "^1.2.2-event-streaming.0", - "@onflow/util-uid": "^1.2.2-event-streaming.0", + "@onflow/rlp": "^1.2.2-event-streaming.1", + "@onflow/sdk": "^1.4.0-event-streaming.1", + "@onflow/types": "^1.3.0-event-streaming.1", + "@onflow/util-actor": "^1.3.2-event-streaming.1", + "@onflow/util-address": "^1.2.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1", + "@onflow/util-logger": "^1.3.2-event-streaming.1", + "@onflow/util-semver": "^1.0.2-event-streaming.0", + "@onflow/util-template": "^1.2.2-event-streaming.1", + "@onflow/util-uid": "^1.2.2-event-streaming.1", "events": "^3.3.0", "cross-fetch": "^3.1.6", "sha3": "^2.1.4" diff --git a/packages/rlp/CHANGELOG.md b/packages/rlp/CHANGELOG.md index 5cd554f66..7c805f1c4 100644 --- a/packages/rlp/CHANGELOG.md +++ b/packages/rlp/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/rlp +## 1.2.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/rlp/package.json b/packages/rlp/package.json index c8607e0ea..a86609c34 100644 --- a/packages/rlp/package.json +++ b/packages/rlp/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/rlp", - "version": "1.2.2-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Port of ethereumjs/rlp", "license": "MPL-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 5063c89dd..d49115693 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,21 @@ # @onflow/sdk +## 1.4.0-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/transport-http@1.10.0-event-streaming.1 + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/util-template@1.2.2-event-streaming.1 + - @onflow/util-address@1.2.2-event-streaming.1 + - @onflow/util-logger@1.3.2-event-streaming.1 + - @onflow/util-actor@1.3.2-event-streaming.1 + - @onflow/config@1.2.2-event-streaming.1 + - @onflow/rlp@1.2.2-event-streaming.1 + ## 1.4.0-event-streaming.0 ### Minor Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index c00f93b29..b2fd70650 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/sdk", - "version": "1.4.0-event-streaming.0", + "version": "1.4.0-event-streaming.1", "description": "Flow SDK", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -18,8 +18,8 @@ } }, "devDependencies": { - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", - "@onflow/typedefs": "^1.3.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/typedefs": "^1.3.0-event-streaming.1", "@types/uuid": "^9.0.6", "eslint": "^8.35.0", "eslint-plugin-jsdoc": "^40.0.1", @@ -42,14 +42,14 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/config": "^1.2.2-event-streaming.0", - "@onflow/rlp": "^1.2.2-event-streaming.0", - "@onflow/transport-http": "^1.10.0-event-streaming.0", - "@onflow/util-actor": "^1.3.2-event-streaming.0", - "@onflow/util-address": "^1.2.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0", - "@onflow/util-logger": "^1.3.2-event-streaming.0", - "@onflow/util-template": "^1.2.2-event-streaming.0", + "@onflow/config": "^1.2.2-event-streaming.1", + "@onflow/rlp": "^1.2.2-event-streaming.1", + "@onflow/transport-http": "^1.10.0-event-streaming.1", + "@onflow/util-actor": "^1.3.2-event-streaming.1", + "@onflow/util-address": "^1.2.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1", + "@onflow/util-logger": "^1.3.2-event-streaming.1", + "@onflow/util-template": "^1.2.2-event-streaming.1", "deepmerge": "^4.2.2", "events": "^3.3.0", "sha3": "^2.1.4", diff --git a/packages/transport-grpc/CHANGELOG.md b/packages/transport-grpc/CHANGELOG.md index 58c365cee..e818608f8 100644 --- a/packages/transport-grpc/CHANGELOG.md +++ b/packages/transport-grpc/CHANGELOG.md @@ -1,5 +1,17 @@ # @onflow/transport-grpc +## 1.3.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/util-template@1.2.2-event-streaming.1 + - @onflow/util-address@1.2.2-event-streaming.1 + - @onflow/rlp@1.2.2-event-streaming.1 + ## 1.3.2-event-streaming.0 ### Patch Changes diff --git a/packages/transport-grpc/README.md b/packages/transport-grpc/README.md index d11a10713..f3607bcd9 100644 --- a/packages/transport-grpc/README.md +++ b/packages/transport-grpc/README.md @@ -3,13 +3,11 @@ title: Transport GRPC description: Sends an interaction to an access node via the GRPC Rest API and returns a response. --- -## Status +# Deprecated - DO NOT USE -- **Last Updated:** Jan 13th 2022 -- **Stable:** Yes -- **Risk of Breaking Change:** Medium +This package is deprecated and will will no receive updates for new features. Please migrate your projects to use the [HTTP Transport] package (`@onflow/transport-http`) instead. -This package is working and in active development, breaking changes may happen. +Latest versions of FCL/JS-SDK will automatically use the HTTP Transport as long as the `sdk.transport` configuration key is not set. ## Usage diff --git a/packages/transport-grpc/package.json b/packages/transport-grpc/package.json index 3ae01c79f..b1d405440 100644 --- a/packages/transport-grpc/package.json +++ b/packages/transport-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/transport-grpc", - "version": "1.3.2-event-streaming.0", + "version": "1.3.2-event-streaming.1", "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.4.2-event-streaming.0", - "@onflow/sdk": "^1.4.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/sdk": "^1.4.0-event-streaming.1", "jest": "^29.5.0" }, "source": "src/sdk-send-grpc.js", @@ -34,9 +34,9 @@ "@improbable-eng/grpc-web": "^0.14.0", "@improbable-eng/grpc-web-node-http-transport": "^0.14.0", "@onflow/protobuf": "^1.2.2", - "@onflow/rlp": "^1.2.2-event-streaming.0", - "@onflow/util-address": "^1.2.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0", - "@onflow/util-template": "^1.2.2-event-streaming.0" + "@onflow/rlp": "^1.2.2-event-streaming.1", + "@onflow/util-address": "^1.2.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1", + "@onflow/util-template": "^1.2.2-event-streaming.1" } } diff --git a/packages/transport-grpc/src/sdk-send-grpc.js b/packages/transport-grpc/src/sdk-send-grpc.js index f9fd67338..e40ce0374 100644 --- a/packages/transport-grpc/src/sdk-send-grpc.js +++ b/packages/transport-grpc/src/sdk-send-grpc.js @@ -1,5 +1,13 @@ export {sendExecuteScript} from "./send-execute-script.js" export {sendGetAccount} from "./send-get-account.js" +// @deprecated - will be removed in future versions +import * as logger from "@onflow/util-logger" +logger.log.deprecate({ + pkg: "transport-grpc", + msg: `@onflow/transport-grpc is deprecated, please use @onflow/transport-http instead or simply remove the \`sdk.transport\` config option within the FCL/JS-SDK.`, + transition: "https://github.com/onflow/fcl-js/tree/master/packages/transport-grpc/README.md" +}) + export {sendGetBlockHeader} from "./send-get-block-header.js" export {sendGetBlock} from "./send-get-block.js" export {sendGetCollection} from "./send-get-collection.js" @@ -9,4 +17,4 @@ export {sendGetTransactionStatus} from "./send-get-transaction-status.js" export {sendPing} from "./send-ping.js" export {sendTransaction} from "./send-transaction.js" export {sendGetNetworkParameters} from "./send-get-network-parameters.js" -export {send} from "./send-grpc.js" +export {send} from "./send-grpc.js" \ No newline at end of file diff --git a/packages/transport-http/CHANGELOG.md b/packages/transport-http/CHANGELOG.md index 2e4446eb1..d42f164d8 100644 --- a/packages/transport-http/CHANGELOG.md +++ b/packages/transport-http/CHANGELOG.md @@ -1,5 +1,17 @@ # @onflow/transport-http +## 1.10.0-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/util-template@1.2.2-event-streaming.1 + - @onflow/util-address@1.2.2-event-streaming.1 + - @onflow/util-logger@1.3.2-event-streaming.1 + ## 1.10.0-event-streaming.0 ### Minor Changes diff --git a/packages/transport-http/package.json b/packages/transport-http/package.json index 481df6a6a..aded8e0f1 100644 --- a/packages/transport-http/package.json +++ b/packages/transport-http/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/transport-http", - "version": "1.10.0-event-streaming.0", + "version": "1.10.0-event-streaming.1", "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.4.2-event-streaming.0", - "@onflow/rlp": "^1.2.2-event-streaming.0", - "@onflow/sdk": "^1.4.0-event-streaming.0", - "@onflow/types": "^1.3.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/rlp": "^1.2.2-event-streaming.1", + "@onflow/sdk": "^1.4.0-event-streaming.1", + "@onflow/types": "^1.3.0-event-streaming.1", "jest": "^29.5.0" }, "source": "src/sdk-send-http.ts", @@ -34,10 +34,10 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/util-address": "^1.2.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0", - "@onflow/util-logger": "^1.3.2-event-streaming.0", - "@onflow/util-template": "^1.2.2-event-streaming.0", + "@onflow/util-address": "^1.2.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1", + "@onflow/util-logger": "^1.3.2-event-streaming.1", + "@onflow/util-template": "^1.2.2-event-streaming.1", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.6", "events": "^3.3.0", diff --git a/packages/typedefs/CHANGELOG.md b/packages/typedefs/CHANGELOG.md index 698209c1d..4bd8ed869 100644 --- a/packages/typedefs/CHANGELOG.md +++ b/packages/typedefs/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/typedefs +## 1.3.0-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.3.0-event-streaming.0 ### Minor Changes diff --git a/packages/typedefs/package.json b/packages/typedefs/package.json index f1d12a05b..e821e0208 100644 --- a/packages/typedefs/package.json +++ b/packages/typedefs/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/typedefs", - "version": "1.3.0-event-streaming.0", + "version": "1.3.0-event-streaming.1", "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.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/node": "^18.13.0", "eslint": "^8.33.0", "eslint-plugin-jsdoc": "^39.7.5", diff --git a/packages/typedefs/src/interaction.ts b/packages/typedefs/src/interaction.ts index df4d53b4c..db0f86ce8 100644 --- a/packages/typedefs/src/interaction.ts +++ b/packages/typedefs/src/interaction.ts @@ -90,9 +90,9 @@ export interface Interaction { id: string | null }, subscribeEvents: { - eventTypes: string | string[] | null - addresses: string | string[] | null - contracts: string | string[] | null + eventTypes: string[] | null + addresses: string[] | null + contracts: string[] | null startBlockId: string | null startHeight: number | null heartbeatInterval: number | null diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index dfefb5f6f..350849c78 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,14 @@ # @onflow/types +## 1.3.0-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-logger@1.3.2-event-streaming.1 + ## 1.3.0-event-streaming.0 ### Minor Changes diff --git a/packages/types/package.json b/packages/types/package.json index 94b707708..430dc2642 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/types", - "version": "1.3.0-event-streaming.0", + "version": "1.3.0-event-streaming.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.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", @@ -37,6 +37,6 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/util-logger": "^1.3.2-event-streaming.0" + "@onflow/util-logger": "^1.3.2-event-streaming.1" } } diff --git a/packages/util-actor/CHANGELOG.md b/packages/util-actor/CHANGELOG.md index 3d472dd9b..e7eb897c6 100644 --- a/packages/util-actor/CHANGELOG.md +++ b/packages/util-actor/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-actor +## 1.3.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.3.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-actor/package.json b/packages/util-actor/package.json index 482e77f94..ebdb0e1c5 100644 --- a/packages/util-actor/package.json +++ b/packages/util-actor/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-actor", - "version": "1.3.2-event-streaming.0", + "version": "1.3.2-event-streaming.1", "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.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", diff --git a/packages/util-address/CHANGELOG.md b/packages/util-address/CHANGELOG.md index 856301332..518fc8e89 100644 --- a/packages/util-address/CHANGELOG.md +++ b/packages/util-address/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-address +## 1.2.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-address/package.json b/packages/util-address/package.json index f5ee0beca..6501ea2d0 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-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Flow JS SDK Util -- Address", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,8 +14,8 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", - "@onflow/types": "^1.3.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/types": "^1.3.0-event-streaming.1", "@types/jest": "^29.5.3", "@types/node": "^18.13.0", "@typescript-eslint/eslint-plugin": "^6.4.0", diff --git a/packages/util-encode-key/CHANGELOG.md b/packages/util-encode-key/CHANGELOG.md index 303fbfad6..9cc29ab8e 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.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-invariant@1.2.2-event-streaming.1 + - @onflow/rlp@1.2.2-event-streaming.1 + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-encode-key/package.json b/packages/util-encode-key/package.json index ae7e57e03..159fc943e 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.2-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Flow JS SDK Util -- Encode Key", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,8 +14,8 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", - "@onflow/types": "^1.3.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/types": "^1.3.0-event-streaming.1", "@types/jest": "^29.5.3", "@types/node": "^18.13.0", "@typescript-eslint/eslint-plugin": "^6.4.0", @@ -40,7 +40,7 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/rlp": "^1.2.2-event-streaming.0", - "@onflow/util-invariant": "^1.2.2-event-streaming.0" + "@onflow/rlp": "^1.2.2-event-streaming.1", + "@onflow/util-invariant": "^1.2.2-event-streaming.1" } } diff --git a/packages/util-invariant/CHANGELOG.md b/packages/util-invariant/CHANGELOG.md index bb4e9b744..7e844b73b 100644 --- a/packages/util-invariant/CHANGELOG.md +++ b/packages/util-invariant/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-invariant +## 1.2.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-invariant/package.json b/packages/util-invariant/package.json index ef19e4196..3b5bc4eb6 100644 --- a/packages/util-invariant/package.json +++ b/packages/util-invariant/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-invariant", - "version": "1.2.2-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Flow JS SDK Util -- Invariant", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,8 +14,8 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", - "@onflow/types": "^1.3.0-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", + "@onflow/types": "^1.3.0-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", diff --git a/packages/util-logger/CHANGELOG.md b/packages/util-logger/CHANGELOG.md index c14ad76b6..f2ef2e46a 100644 --- a/packages/util-logger/CHANGELOG.md +++ b/packages/util-logger/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-logger +## 1.3.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.3.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-logger/package.json b/packages/util-logger/package.json index 591ca8e2f..d151a2e11 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-event-streaming.0", + "version": "1.3.2-event-streaming.1", "description": "Logger for FCL-JS", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", diff --git a/packages/util-semver/CHANGELOG.md b/packages/util-semver/CHANGELOG.md index fccc2c02f..788172fb7 100644 --- a/packages/util-semver/CHANGELOG.md +++ b/packages/util-semver/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-semver +## 1.0.2-event-streaming.0 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.0.1 ### Patch Changes diff --git a/packages/util-semver/package.json b/packages/util-semver/package.json index a1bbf2801..4f040cf13 100644 --- a/packages/util-semver/package.json +++ b/packages/util-semver/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/util-semver", - "version": "1.0.1", + "version": "1.0.2-event-streaming.0", "description": "A lightweight semver implementation for use in FCL", "main": "dist/index.js", "module": "dist/index.module.js", @@ -13,7 +13,7 @@ "start": "fcl-bundle --watch" }, "devDependencies": { - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "jest": "^29.5.0" }, "dependencies": { diff --git a/packages/util-template/CHANGELOG.md b/packages/util-template/CHANGELOG.md index 31bf954cd..880bc3196 100644 --- a/packages/util-template/CHANGELOG.md +++ b/packages/util-template/CHANGELOG.md @@ -1,5 +1,14 @@ # @onflow/util-template +## 1.2.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + +- Updated dependencies []: + - @onflow/util-logger@1.3.2-event-streaming.1 + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-template/package.json b/packages/util-template/package.json index 5465ff240..b8422da88 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-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Template Literal used for Cadence Interop", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0", @@ -36,6 +36,6 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@onflow/util-logger": "^1.3.2-event-streaming.0" + "@onflow/util-logger": "^1.3.2-event-streaming.1" } } diff --git a/packages/util-uid/CHANGELOG.md b/packages/util-uid/CHANGELOG.md index 1a382cb73..952f5dcee 100644 --- a/packages/util-uid/CHANGELOG.md +++ b/packages/util-uid/CHANGELOG.md @@ -1,5 +1,11 @@ # @onflow/util-uid +## 1.2.2-event-streaming.1 + +### Patch Changes + +- Add subscribeEvents export to FCL & fix build + ## 1.2.2-event-streaming.0 ### Patch Changes diff --git a/packages/util-uid/package.json b/packages/util-uid/package.json index 72e304bb7..9e8b5de67 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-event-streaming.0", + "version": "1.2.2-event-streaming.1", "description": "Utilities to generate Unique Identifiers", "license": "Apache-2.0", "author": "Dapper Labs ", @@ -14,7 +14,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.22.5", - "@onflow/fcl-bundle": "^1.4.2-event-streaming.0", + "@onflow/fcl-bundle": "^1.4.2-event-streaming.1", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^6.4.0", "@typescript-eslint/parser": "^6.4.0",