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

Commit 47cba8f

Browse files
Version Packages (alpha) (#162)
1 parent 2206eda commit 47cba8f

File tree

6 files changed

+36
-12
lines changed

6 files changed

+36
-12
lines changed

.changeset/afraid-planets-beam.md

-5
This file was deleted.

.changeset/kind-fishes-switch.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,12 @@
22
"@onflow/flow-js-testing": minor
33
---
44

5-
Flow JS Testing now exports the [`pubFlowKey`](/docs/api.md#pubflowkeykeyobject) method which may be used to generate an RLP-encoded `Buffer` representing a public key corresponding to a particular private key.
5+
Flow JS Testing now exports multiple new API methods:
6+
7+
- [`pubFlowKey`](/docs/api.md#pubflowkeykeyobject) - may be used to generate an RLP-encoded `Buffer` representing a public key corresponding to a particular private key.
8+
- [`createAccount`](/docs/accounts.md#createaccountname-keys) method which may be used to manually create an account with a given human-readable name & specified keys.
9+
10+
And exports the following two enums which may be used with [`createAccount`](/docs/accounts.md#createaccountname-keys) and [`sendTransaction`](/docs/send-transactions.md):
11+
12+
- [`SignatureAlgorithm`](/docs/api.md#signaturealgorithm)
13+
- [`HashAlgorithm`](/docs/api.md#hashalgorithm)

.changeset/pre.json

+4
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@
55
"@onflow/flow-js-testing": "0.2.3-alpha.7"
66
},
77
"changesets": [
8+
"clean-oranges-hammer",
9+
"friendly-snails-push",
810
"giant-dots-trade",
911
"gold-cheetahs-attend",
12+
"kind-fishes-switch",
1013
"long-hairs-collect",
1114
"olive-fishes-tap",
1215
"polite-apes-shop",
1316
"rare-starfishes-mate",
1417
"selfish-turtles-do",
18+
"tough-swans-itch",
1519
"wet-pillows-applaud"
1620
]
1721
}

.changeset/tasty-fans-repeat.md

-5
This file was deleted.

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.14
4+
5+
### Minor Changes
6+
7+
- [#155](https://github.com/onflow/flow-js-testing/pull/155) [`9dcab53`](https://github.com/onflow/flow-js-testing/commit/9dcab535393654e3c6ba41a3ac41095519446c27) Thanks [@jribbink](https://github.com/jribbink)! - Allow custom transaction signers to be provided as object with `addr`, `privateKey`, `keyId`, `hashAlgorithm`, `signatureAlgorithm` keys as an alternative to supplying merely the signer's account address and having Flow JS Testing determine the rest. This allows for more complex transaction authorizers. See [documentation for examples](/docs/send-transactions.md).
8+
9+
- [#158](https://github.com/onflow/flow-js-testing/pull/158) [`57edf7d`](https://github.com/onflow/flow-js-testing/commit/57edf7d215dd535ee8c4fa0e3dbc2d998efa8c79) Thanks [@jribbink](https://github.com/jribbink)! - Flow JS Testing now exports multiple new API methods:
10+
11+
- [`pubFlowKey`](/docs/api.md#pubflowkeykeyobject) - may be used to generate an RLP-encoded `Buffer` representing a public key corresponding to a particular private key.
12+
- [`createAccount`](/docs/accounts.md#createaccountname-keys) method which may be used to manually create an account with a given human-readable name & specified keys.
13+
14+
And exports the following two enums which may be used with [`createAccount`](/docs/accounts.md#createaccountname-keys) and [`sendTransaction`](/docs/send-transactions.md):
15+
16+
- [`SignatureAlgorithm`](/docs/api.md#signaturealgorithm)
17+
- [`HashAlgorithm`](/docs/api.md#hashalgorithm)
18+
19+
### Patch Changes
20+
21+
- [#164](https://github.com/onflow/flow-js-testing/pull/164) [`962b535`](https://github.com/onflow/flow-js-testing/commit/962b53572848ba17f7b472e07171f0e775448406) Thanks [@jribbink](https://github.com/jribbink)! - Bump @onflow/flow-cadut to 0.2.0-alpha.7 (fixes bug where optional array, dictionary, path arguments did not work)
22+
23+
- [#156](https://github.com/onflow/flow-js-testing/pull/156) [`2206eda`](https://github.com/onflow/flow-js-testing/commit/2206eda493e7c51cfe53c1cbf9365e81064dbcef) Thanks [@jribbink](https://github.com/jribbink)! - Bumped @onflow/fcl to ^1.2.1-alpha.0
24+
325
## 0.3.0-alpha.12
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.13",
3+
"version": "0.3.0-alpha.14",
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)