Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit ffb3b72

Browse files
Version Packages (alpha) (#147)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 9aecfdd commit ffb3b72

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.changeset/pre.json

+2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
"changesets": [
88
"giant-dots-trade",
99
"long-hairs-collect",
10+
"olive-fishes-tap",
1011
"polite-apes-shop",
1112
"rare-starfishes-mate",
13+
"selfish-turtles-do",
1214
"wet-pillows-applaud"
1315
]
1416
}

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# flow-js-testing
22

3+
## 0.3.0-alpha.11
4+
5+
### Minor Changes
6+
7+
- [#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
8+
9+
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.
10+
11+
This potentially affects the return values or event data for the following flow-js-testing features.
12+
13+
- `sendTransaction` (any `[U]Int*` and `Word*` event data will be decoded into a string instead of number)
14+
- `executeScript` (any `[U]Int*` and `Word*` return values will be decoded into a string instead of number)
15+
- `deployContract`/`deployContractByName` (any `[U]Int*` and `Word*` event data will be decoded into a string instead of number)
16+
- `updateContract` (any `[U]Int*` and `Word*` event data will be decoded into a string instead of number)
17+
- `getBlockOffset` (return value will be string instead of number, and must be explicitly converted if JavaScript Number is required)
18+
19+
[See more here](https://github.com/onflow/fcl-js/blob/%40onflow/fcl%401.0.3-alpha.1/packages/sdk/CHANGELOG.md#100-alpha0)
20+
21+
### Patch Changes
22+
23+
- [#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
24+
325
## 0.3.0-alpha.10
426

527
### Patch Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onflow/flow-js-testing",
3-
"version": "0.3.0-alpha.10",
3+
"version": "0.3.0-alpha.11",
44
"description": "This package will expose a set of utility methods, to allow Cadence code testing with libraries like Jest",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)