From ffb3b723be26ebb190ac32e551dfb9b4024bcfd4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Jul 2022 14:38:30 -0700 Subject: [PATCH] Version Packages (alpha) (#147) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 2 ++ CHANGELOG.md | 22 ++++++++++++++++++++++ package.json | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index d639fb52..e780e9b5 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -7,8 +7,10 @@ "changesets": [ "giant-dots-trade", "long-hairs-collect", + "olive-fishes-tap", "polite-apes-shop", "rare-starfishes-mate", + "selfish-turtles-do", "wet-pillows-applaud" ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 18462316..84daf6ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # flow-js-testing +## 0.3.0-alpha.11 + +### Minor Changes + +- [#142](https://github.com/onflow/flow-js-testing/pull/142) [`9aecfdd`](https://github.com/onflow/flow-js-testing/commit/9aecfdd67a98f4eb16b7350b8892c08d83dbd0f7) Thanks [@jribbink](https://github.com/jribbink)! - **BREAKING** Bumped @onflow/fcl to 1.1.1-alpha.1 + + Developers should note that `[U]Int*` and `Word*` types are now decoded into strings by @onflow/fcl and no longer implicitly decoded into numbers. This means that these types will need to be explicitly converted to JavaScript Number types if required. + + This potentially affects the return values or event data for the following flow-js-testing features. + + - `sendTransaction` (any `[U]Int*` and `Word*` event data will be decoded into a string instead of number) + - `executeScript` (any `[U]Int*` and `Word*` return values will be decoded into a string instead of number) + - `deployContract`/`deployContractByName` (any `[U]Int*` and `Word*` event data will be decoded into a string instead of number) + - `updateContract` (any `[U]Int*` and `Word*` event data will be decoded into a string instead of number) + - `getBlockOffset` (return value will be string instead of number, and must be explicitly converted if JavaScript Number is required) + + [See more here](https://github.com/onflow/fcl-js/blob/%40onflow/fcl%401.0.3-alpha.1/packages/sdk/CHANGELOG.md#100-alpha0) + +### Patch Changes + +- [#144](https://github.com/onflow/flow-js-testing/pull/144) [`d1eb29b`](https://github.com/onflow/flow-js-testing/commit/d1eb29bd5d115d4e13725de96bb9b53d3f9655ad) Thanks [@jribbink](https://github.com/jribbink)! - Convert examples to run in Jest environment instead of ESM loader + ## 0.3.0-alpha.10 ### Patch Changes diff --git a/package.json b/package.json index fb5051e5..c2a0c4fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onflow/flow-js-testing", - "version": "0.3.0-alpha.10", + "version": "0.3.0-alpha.11", "description": "This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest", "repository": { "type": "git",