From f65b58fdfdafee326afad62a5b90c75bf86f5f92 Mon Sep 17 00:00:00 2001 From: Anton Suprunchuk Date: Wed, 14 Jul 2021 19:59:36 +0300 Subject: [PATCH 1/3] feat: remove verify SML flag triggers (#324) --- lib/dataTrigger/getDataTriggersFactory.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/dataTrigger/getDataTriggersFactory.js b/lib/dataTrigger/getDataTriggersFactory.js index 6e76c1d8..933bc345 100644 --- a/lib/dataTrigger/getDataTriggersFactory.js +++ b/lib/dataTrigger/getDataTriggersFactory.js @@ -132,25 +132,6 @@ function getDataTriggersFactory() { AbstractDocumentTransition.ACTIONS.DELETE, rejectDataTrigger, ), - new DataTrigger( - featureFlagsDataContractId, - featureFlagTypes.VERIFY_LLMQ_SIGS_WITH_CORE, - AbstractDocumentTransition.ACTIONS.CREATE, - createFeatureFlagDataTrigger, - featureFlagsTopLevelIdentityId, - ), - new DataTrigger( - featureFlagsDataContractId, - featureFlagTypes.VERIFY_LLMQ_SIGS_WITH_CORE, - AbstractDocumentTransition.ACTIONS.REPLACE, - rejectDataTrigger, - ), - new DataTrigger( - featureFlagsDataContractId, - featureFlagTypes.VERIFY_LLMQ_SIGS_WITH_CORE, - AbstractDocumentTransition.ACTIONS.DELETE, - rejectDataTrigger, - ), ]; /** From 7c6e01daa2e29264e04417fd6bcd3e0f667f5ce3 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Wed, 14 Jul 2021 20:02:18 +0300 Subject: [PATCH 2/3] chore(release): update changelog and version to 0.20.0 --- CHANGELOG.md | 9 ++++++ package-lock.json | 71 ++++++++++++++++++++++++++++++++++------------- package.json | 2 +- 3 files changed, 61 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8d5bf7e..447b881f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [0.20.1](https://github.com/dashevo/js-dpp/compare/v0.20.0...v0.20.1) (2021-07-14) + + +### Features + +* remove verify SML flag triggers ([#324](https://github.com/dashevo/js-dpp/issues/324)) + + + # [0.20.0](https://github.com/dashevo/js-dpp/compare/v0.19.2...v0.20.0) (2021-07-08) diff --git a/package-lock.json b/package-lock.json index 6596ecd4..0741f40d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dpp", - "version": "0.20.0", + "version": "0.20.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1091,6 +1091,22 @@ "inherits": "=2.0.1", "lodash": "^4.17.20", "unorm": "^1.6.0" + }, + "dependencies": { + "elliptic": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", + "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", + "requires": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" + } + } } }, "@dashevo/dashpay-contract": { @@ -3204,17 +3220,32 @@ "dev": true }, "elliptic": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", - "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", + "bn.js": "^4.11.9", + "brorand": "^1.1.0", "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + } } }, "emoji-regex": { @@ -3270,9 +3301,9 @@ } }, "engine.io-client": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.5.1.tgz", - "integrity": "sha512-oVu9kBkGbcggulyVF0kz6BV3ganqUeqXvD79WOFKa+11oK692w1NyFkuEj4xrkFRpZhn92QOqTk4RQq5LiBXbQ==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.5.2.tgz", + "integrity": "sha512-QEqIp+gJ/kMHeUun7f5Vv3bteRHppHH/FMBQX/esFj/fuYfjyUKWGMo3VCvIP/V8bE9KcjHmRZrhIz2Z9oNsDA==", "dev": true, "requires": { "component-emitter": "~1.3.0", @@ -3284,7 +3315,7 @@ "parseqs": "0.0.6", "parseuri": "0.0.6", "ws": "~7.4.2", - "xmlhttprequest-ssl": "~1.5.4", + "xmlhttprequest-ssl": "~1.6.2", "yeast": "0.1.2" }, "dependencies": { @@ -9890,15 +9921,15 @@ } }, "ws": { - "version": "7.4.5", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz", - "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==", + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", "dev": true }, "xmlhttprequest-ssl": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz", - "integrity": "sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=", + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.3.tgz", + "integrity": "sha512-3XfeQE/wNkvrIktn2Kf0869fC0BN6UpydVasGIeSm2B1Llihf7/0UfZM+eCkOw3P7bP4+qPgqhm7ZoxuJtFU0Q==", "dev": true }, "xtend": { diff --git a/package.json b/package.json index a5bfb21e..e7a58490 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dpp", - "version": "0.20.0", + "version": "0.20.1", "description": "The JavaScript implementation of the Dash Platform Protocol", "scripts": { "lint": "eslint .", From d898f71743244cd8e13899aa963629ab0b3f6142 Mon Sep 17 00:00:00 2001 From: thephez Date: Tue, 20 Jul 2021 04:58:35 -0400 Subject: [PATCH 3/3] docs: add missing breaking feature to changelog (#327) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 447b881f..ca8c714c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ * `definitions` is now defined using `$defs` keyword * JSON Schema strict validation is enabled. Previous contract schemas invalid in case they are not respecting strict mode constraints (reference [this link](https://ajv.js.org/strict-mode.html) for more information) * usage of `if`, `then`, `else`, `allOf`, `anyOf`, `oneOf`, `patternProperties` in document properties is prohibited +* `.initialize()` must be called before using DashPlatformProtocol