Skip to content

Commit

Permalink
Version Packages (alpha) (#147)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jul 18, 2022
1 parent 9aecfdd commit ffb3b72
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ffb3b72

Please sign in to comment.