From b4e4247354730900c088e418d00858917fdbb4c1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 28 Nov 2023 09:42:38 +0000 Subject: [PATCH] chore: release package(s) (beta) --- .changeset/pre.json | 12 +++- package-lock.json | 61 +++++++++++-------- packages/ptokens-constants/CHANGELOG.md | 13 ++++ packages/ptokens-constants/package.json | 2 +- packages/ptokens-evm-contracts/CHANGELOG.md | 25 ++++++++ packages/ptokens-evm-contracts/package.json | 8 +-- packages/ptokens-listener/CHANGELOG.md | 17 ++++++ packages/ptokens-listener/package.json | 6 +- .../ptokens-request-processor/CHANGELOG.md | 18 ++++++ .../ptokens-request-processor/package.json | 6 +- packages/ptokens-state-emitter/CHANGELOG.md | 13 ++++ packages/ptokens-state-emitter/package.json | 6 +- packages/ptokens-state-reader/CHANGELOG.md | 29 +++++++++ packages/ptokens-state-reader/package.json | 6 +- packages/ptokens-utils/CHANGELOG.md | 20 ++++++ packages/ptokens-utils/package.json | 4 +- 16 files changed, 202 insertions(+), 44 deletions(-) create mode 100644 packages/ptokens-state-reader/CHANGELOG.md diff --git a/.changeset/pre.json b/.changeset/pre.json index d36d7b34..732508d8 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -8,18 +8,28 @@ "ptokens-listener": "1.8.2", "ptokens-request-processor": "1.9.2", "ptokens-state-emitter": "1.0.1", - "ptokens-utils": "4.6.1" + "ptokens-utils": "4.6.1", + "ptokens-state-reader": "1.0.0" }, "changesets": [ "blue-squids-marry", "chilled-peas-explode", "eleven-dancers-type", "few-tomatoes-rest", + "five-buckets-burn", + "flat-carrots-appear", + "fresh-dancers-wink", "gentle-badgers-juggle", + "heavy-radios-dream", "mighty-bikes-add", "nasty-hats-sell", + "silver-games-divide", "slimy-pianos-accept", + "small-pugs-train", "tall-clocks-care", + "wicked-cars-cross", + "wild-meals-yawn", + "witty-brooms-camp", "witty-lamps-wait" ] } diff --git a/package-lock.json b/package-lock.json index 8696403c..76112c5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8911,7 +8911,8 @@ "node_modules/archy": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", - "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==" + "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==", + "dev": true }, "node_modules/arg": { "version": "4.1.3", @@ -10039,6 +10040,7 @@ "version": "3.9.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, "funding": [ { "type": "github", @@ -14662,7 +14664,8 @@ "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true }, "node_modules/html-escaper": { "version": "2.0.2", @@ -15452,7 +15455,8 @@ "node_modules/is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", + "dev": true }, "node_modules/is-unicode-supported": { "version": "0.1.0", @@ -19358,6 +19362,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", @@ -19369,6 +19374,7 @@ "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, "bin": { "semver": "bin/semver" } @@ -25644,6 +25650,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -25652,12 +25659,14 @@ "node_modules/spdx-exceptions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true }, "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" @@ -25666,7 +25675,8 @@ "node_modules/spdx-license-ids": { "version": "3.0.16", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz", - "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==" + "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==", + "dev": true }, "node_modules/split2": { "version": "3.2.2", @@ -26876,6 +26886,7 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, "dependencies": { "is-typedarray": "^1.0.0" } @@ -27103,6 +27114,7 @@ "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" @@ -27347,6 +27359,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -27540,7 +27553,7 @@ } }, "packages/ptokens-constants": { - "version": "1.6.2-beta.0", + "version": "1.7.0-beta.1", "license": "MIT", "dependencies": { "ramda": "^0.29.1" @@ -27563,7 +27576,7 @@ "license": "MIT" }, "packages/ptokens-evm-contracts": { - "version": "0.5.2-beta.0", + "version": "0.6.0-beta.1", "license": "MIT", "dependencies": { "@ethereumjs/rlp": "^4.0.1", @@ -27587,9 +27600,9 @@ "hardhat-spdx-license-identifier": "^2.1.0", "hardhat-tracer": "^2.3.2", "merkletreejs": "^0.3.11", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-request-processor": "1.9.3-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-request-processor": "1.10.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "^0.29.0", "safe-buffer": "^5.2.1", "solhint": "^3.3.6", @@ -27787,14 +27800,14 @@ } }, "packages/ptokens-listener": { - "version": "1.8.3-beta.0", + "version": "1.9.0-beta.1", "license": "MIT", "dependencies": { "commander": "10.0.1", "ethers": "^5.7.2", "log4js": "6.9.1", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "0.29.0" }, "bin": { @@ -27849,15 +27862,15 @@ } }, "packages/ptokens-request-processor": { - "version": "1.9.3-beta.0", + "version": "1.10.0-beta.1", "license": "MIT", "dependencies": { "commander": "10.0.1", "ethers": "6.7.1", "log4js": "6.9.1", "merkletreejs": "^0.3.11", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "0.29.0", "viem": "^1.11.1" }, @@ -28075,13 +28088,13 @@ } }, "packages/ptokens-state-emitter": { - "version": "1.0.2-beta.0", + "version": "1.1.0-beta.1", "license": "MIT", "dependencies": { "ethers": "^6.7.1", "log4js": "^6.9.1", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "^0.29.0" }, "bin": { @@ -28178,7 +28191,7 @@ } }, "packages/ptokens-state-reader": { - "version": "1.0.0", + "version": "1.1.0-beta.0", "license": "MIT", "dependencies": { "commander": "^11.1.0", @@ -28188,8 +28201,8 @@ "lokijs": "^1.5.12", "merkletreejs": "^0.3.11", "npm": "^10.2.1", - "ptokens-constants": "*", - "ptokens-utils": "*", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "^0.29.1", "redis": "^4.6.10" }, @@ -28308,7 +28321,7 @@ } }, "packages/ptokens-utils": { - "version": "4.6.2-beta.0", + "version": "4.7.0-beta.1", "license": "MIT", "dependencies": { "@log4js-node/log4js-api": "1.0.2", @@ -28320,7 +28333,7 @@ "merkletreejs": "^0.3.11", "mongodb": "5.8.0", "node-fetch": "2.6.11", - "ptokens-constants": "1.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", "ramda": "0.29.0", "rewire": "6.0.0", "ws": "8.13.0" diff --git a/packages/ptokens-constants/CHANGELOG.md b/packages/ptokens-constants/CHANGELOG.md index e575f90e..1e2f3e2d 100644 --- a/packages/ptokens-constants/CHANGELOG.md +++ b/packages/ptokens-constants/CHANGELOG.md @@ -1,5 +1,18 @@ # ptokens-constants +## 1.7.0-beta.1 + +### Minor Changes + +- 9dc8031: Add all the required struct and classes for the ptokens-state-reader component + + Details + + - Add interim, statusObject, governanceMessageEmitter structs + - Move networkIds blockchainType from `ptokens-utils` + - Add `ptokens-state-emitter` schema + - Add `Challenge`, `ActorsPropagated` classes + ## 1.6.2-beta.0 ### Patch Changes diff --git a/packages/ptokens-constants/package.json b/packages/ptokens-constants/package.json index 81aa598d..a175aefd 100644 --- a/packages/ptokens-constants/package.json +++ b/packages/ptokens-constants/package.json @@ -1,6 +1,6 @@ { "name": "ptokens-constants", - "version": "1.6.2-beta.0", + "version": "1.7.0-beta.1", "description": "Group all the shared constants for the pTokens libraries'", "engines": { "node": ">=16.0.0" diff --git a/packages/ptokens-evm-contracts/CHANGELOG.md b/packages/ptokens-evm-contracts/CHANGELOG.md index 8a03bd93..02ca2f21 100644 --- a/packages/ptokens-evm-contracts/CHANGELOG.md +++ b/packages/ptokens-evm-contracts/CHANGELOG.md @@ -1,5 +1,30 @@ # ptokens-evm-contracts +## 0.6.0-beta.1 + +### Minor Changes + +- 9dc8031: Minor improvements and add state-emitter/reader config generation + + Plus: + + - Fix axios vulnerability through override + - Factor out generate-configs function into separate modules + - Add state-emitter & state-reader config generation on `app:generate-configs` task + - Add `start-challenge` `slash` & `light-resume` tasks + - Use ptokens-constants `ZERO_ADDRESS` plus other factored out struct + +### Patch Changes + +- df669a2: update vulnerable merkletreejs +- Updated dependencies [9dc8031] +- Updated dependencies [9dc8031] +- Updated dependencies [9dc8031] +- Updated dependencies [df669a2] + - ptokens-constants@1.7.0-beta.1 + - ptokens-request-processor@1.10.0-beta.1 + - ptokens-utils@4.7.0-beta.1 + ## 0.5.2-beta.0 ### Patch Changes diff --git a/packages/ptokens-evm-contracts/package.json b/packages/ptokens-evm-contracts/package.json index f83affa1..a32e5215 100644 --- a/packages/ptokens-evm-contracts/package.json +++ b/packages/ptokens-evm-contracts/package.json @@ -1,6 +1,6 @@ { "name": "ptokens-evm-contracts", - "version": "0.5.2-beta.0", + "version": "0.6.0-beta.1", "description": "", "main": "index.js", "license": "MIT", @@ -41,9 +41,9 @@ "hardhat-spdx-license-identifier": "^2.1.0", "hardhat-tracer": "^2.3.2", "merkletreejs": "^0.3.11", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-request-processor": "1.9.3-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-request-processor": "1.10.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "^0.29.0", "safe-buffer": "^5.2.1", "solhint": "^3.3.6", diff --git a/packages/ptokens-listener/CHANGELOG.md b/packages/ptokens-listener/CHANGELOG.md index 5c2dd0eb..f575b420 100644 --- a/packages/ptokens-listener/CHANGELOG.md +++ b/packages/ptokens-listener/CHANGELOG.md @@ -1,5 +1,22 @@ # ptokens-listener +## 1.9.0-beta.1 + +### Minor Changes + +- 9dc8031: Reflect ptokens-constants changes + + Plus: + + - Remove `unhandledrejection` catcher since it was sucking up all the errors + +### Patch Changes + +- Updated dependencies [9dc8031] +- Updated dependencies [9dc8031] + - ptokens-constants@1.7.0-beta.1 + - ptokens-utils@4.7.0-beta.1 + ## 1.8.3-beta.0 ### Patch Changes diff --git a/packages/ptokens-listener/package.json b/packages/ptokens-listener/package.json index 6d59fa46..ff16b824 100644 --- a/packages/ptokens-listener/package.json +++ b/packages/ptokens-listener/package.json @@ -1,6 +1,6 @@ { "name": "ptokens-listener", - "version": "1.8.3-beta.0", + "version": "1.9.0-beta.1", "description": "Node.js implementation of the v3 pTokens Listener.", "bin": "./index.js", "scripts": { @@ -16,8 +16,8 @@ "ethers": "^5.7.2", "commander": "10.0.1", "log4js": "6.9.1", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "0.29.0" }, "nx": { diff --git a/packages/ptokens-request-processor/CHANGELOG.md b/packages/ptokens-request-processor/CHANGELOG.md index 6f04f6ef..77d5e0a3 100644 --- a/packages/ptokens-request-processor/CHANGELOG.md +++ b/packages/ptokens-request-processor/CHANGELOG.md @@ -1,5 +1,23 @@ # ptokens-request-processor +## 1.10.0-beta.1 + +### Minor Changes + +- 9dc8031: Move merkle proof computation into `ptokens-utils`, add protocol operations bypass + + Plus: + + - Remove `unhandledrejection` catcher since it was sucking up all the errors + +### Patch Changes + +- df669a2: update vulnerable merkletreejs +- Updated dependencies [9dc8031] +- Updated dependencies [9dc8031] + - ptokens-constants@1.7.0-beta.1 + - ptokens-utils@4.7.0-beta.1 + ## 1.9.3-beta.0 ### Patch Changes diff --git a/packages/ptokens-request-processor/package.json b/packages/ptokens-request-processor/package.json index b3ec5630..9eb5cdd8 100644 --- a/packages/ptokens-request-processor/package.json +++ b/packages/ptokens-request-processor/package.json @@ -1,6 +1,6 @@ { "name": "ptokens-request-processor", - "version": "1.9.3-beta.0", + "version": "1.10.0-beta.1", "description": "A component for checking & broadcasting relayer's requests", "engines": { "node": ">=16.0.0" @@ -27,8 +27,8 @@ "ethers": "6.7.1", "log4js": "6.9.1", "merkletreejs": "^0.3.11", - "ptokens-constants": "1.6.2-beta.0", - "ptokens-utils": "4.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "0.29.0", "viem": "^1.11.1" }, diff --git a/packages/ptokens-state-emitter/CHANGELOG.md b/packages/ptokens-state-emitter/CHANGELOG.md index 562ebda1..0f619951 100644 --- a/packages/ptokens-state-emitter/CHANGELOG.md +++ b/packages/ptokens-state-emitter/CHANGELOG.md @@ -1,5 +1,18 @@ # ptokens-state-emitter +## 1.1.0-beta.1 + +### Minor Changes + +- 9dc8031: Use `statusObject` schema from ptokens-constants + +### Patch Changes + +- Updated dependencies [9dc8031] +- Updated dependencies [9dc8031] + - ptokens-constants@1.7.0-beta.1 + - ptokens-utils@4.7.0-beta.1 + ## 1.0.2-beta.0 ### Patch Changes diff --git a/packages/ptokens-state-emitter/package.json b/packages/ptokens-state-emitter/package.json index 95363236..0d6f646b 100644 --- a/packages/ptokens-state-emitter/package.json +++ b/packages/ptokens-state-emitter/package.json @@ -1,6 +1,6 @@ { "name": "ptokens-state-emitter", - "version": "1.0.2-beta.0", + "version": "1.1.0-beta.1", "description": "Propagates guardian state to a distributed network", "main": "index.js", "bin": "./index.js", @@ -16,8 +16,8 @@ "ethers": "^6.7.1", "log4js": "^6.9.1", "ramda": "^0.29.0", - "ptokens-utils": "4.6.2-beta.0", - "ptokens-constants": "1.6.2-beta.0" + "ptokens-utils": "4.7.0-beta.1", + "ptokens-constants": "1.7.0-beta.1" }, "nx": { "implicitDependencies": [ diff --git a/packages/ptokens-state-reader/CHANGELOG.md b/packages/ptokens-state-reader/CHANGELOG.md new file mode 100644 index 00000000..4fbac468 --- /dev/null +++ b/packages/ptokens-state-reader/CHANGELOG.md @@ -0,0 +1,29 @@ +# ptokens-state-reader + +## 1.1.0-beta.0 + +### Minor Changes + +- 9dc8031: Add component for constantly checking each pNetwork v3 actor (guardian or sentinel) status + + In particular: + + - if an actor has not pushed any status update on IPFS pubsub + - if the actors's status published on IPFS pubsub includes blocks + numbers far from the chain tip + + Steps: + + 1. Download the actors propagated event for the current + epoch + 2. Compute thresholds based on the avg block times + 3. Updates each actor status for each supported chain + 4. Challenge and slash if for each invalid actor status + detected + +### Patch Changes + +- Updated dependencies [9dc8031] +- Updated dependencies [9dc8031] + - ptokens-constants@1.7.0-beta.1 + - ptokens-utils@4.7.0-beta.1 diff --git a/packages/ptokens-state-reader/package.json b/packages/ptokens-state-reader/package.json index 286dc497..9c7d0b19 100644 --- a/packages/ptokens-state-reader/package.json +++ b/packages/ptokens-state-reader/package.json @@ -1,6 +1,6 @@ { "name": "ptokens-state-reader", - "version": "1.0.0", + "version": "1.1.0-beta.0", "description": "Component used to read the Guardians and Sentinels state on decentralized file systems", "engines": { "node": ">=16.0.0" @@ -30,8 +30,8 @@ "lokijs": "^1.5.12", "merkletreejs": "^0.3.11", "npm": "^10.2.1", - "ptokens-constants": "*", - "ptokens-utils": "*", + "ptokens-constants": "1.7.0-beta.1", + "ptokens-utils": "4.7.0-beta.1", "ramda": "^0.29.1", "redis": "^4.6.10" }, diff --git a/packages/ptokens-utils/CHANGELOG.md b/packages/ptokens-utils/CHANGELOG.md index efade401..64bb5889 100644 --- a/packages/ptokens-utils/CHANGELOG.md +++ b/packages/ptokens-utils/CHANGELOG.md @@ -1,5 +1,25 @@ # ptokens-utils +## 4.7.0-beta.1 + +### Minor Changes + +- 9dc8031: Move out blockchainType and networkIds struct + + Plus: + + - add `mapAll` in order to `Promise.all` through an array + - add Merkle Proof calculation + - improve `rejectIfNil` portability + - Use `upsert: true` when updating reports + - Remove a test on the updateReport due to the above + - Add test for `mapAll` + +### Patch Changes + +- Updated dependencies [9dc8031] + - ptokens-constants@1.7.0-beta.1 + ## 4.6.2-beta.0 ### Patch Changes diff --git a/packages/ptokens-utils/package.json b/packages/ptokens-utils/package.json index fc45799b..7d99b9cd 100644 --- a/packages/ptokens-utils/package.json +++ b/packages/ptokens-utils/package.json @@ -1,7 +1,7 @@ { "name": "ptokens-utils", "description": "Node JS library for the pTokens' backend services", - "version": "4.6.2-beta.0", + "version": "4.7.0-beta.1", "engines": { "npm": ">=8.3.0 <10.0.0", "node": ">=16.15.0 <17.0.0" @@ -26,7 +26,7 @@ "merkletreejs": "^0.3.11", "mongodb": "5.8.0", "node-fetch": "2.6.11", - "ptokens-constants": "1.6.2-beta.0", + "ptokens-constants": "1.7.0-beta.1", "ramda": "0.29.0", "rewire": "6.0.0", "ws": "8.13.0"