@dashevo/wasm-dpp 3.0.1 → 3.1.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +1 -1
- package/dist/dpp.js +24 -10
- package/dist/errors/patchConsensusErrors.js +1 -2
- package/dist/identifier/Identifier.d.ts +2 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +25 -11
- package/dist/utils/extend.js +1 -2
- package/dist/wasm/wasm_dpp.d.ts +601 -601
- package/dist/wasm/wasm_dpp.js +13 -13
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/eslint.config.mjs +30 -0
- package/lib/wasm/wasm_dpp.d.ts +601 -601
- package/package.json +6 -8
- package/src/data_contract/data_contract.rs +1 -1
- package/.eslintignore +0 -2
- package/.eslintrc +0 -18
- package/lib/test/.eslintrc +0 -9
- package/test/.eslintrc +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/wasm-dpp",
|
|
3
|
-
"version": "3.0.1",
|
|
3
|
+
"version": "3.1.0-dev.1",
|
|
4
4
|
"description": "The JavaScript implementation of the Dash Platform Protocol",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@babel/core": "^7.26.10",
|
|
45
45
|
"@babel/preset-env": "^7.26.9",
|
|
46
46
|
"@dashevo/dashcore-lib": "~0.22.0",
|
|
47
|
-
"@dashevo/dpns-contract": "3.0.1",
|
|
47
|
+
"@dashevo/dpns-contract": "3.1.0-dev.1",
|
|
48
48
|
"@types/bs58": "^4.0.1",
|
|
49
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^20.10.0",
|
|
50
50
|
"@yarnpkg/pnpify": "^4.0.0-rc.42",
|
|
51
51
|
"ajv": "^8.6.0",
|
|
52
52
|
"assert": "^2.0.0",
|
|
@@ -57,9 +57,7 @@
|
|
|
57
57
|
"chai-string": "^1.5.0",
|
|
58
58
|
"crypto-browserify": "^3.12.1",
|
|
59
59
|
"dirty-chai": "^2.0.1",
|
|
60
|
-
"eslint": "^
|
|
61
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
62
|
-
"eslint-plugin-import": "^2.29.0",
|
|
60
|
+
"eslint": "^9.18.0",
|
|
63
61
|
"events": "^3.3.0",
|
|
64
62
|
"fast-json-patch": "^3.1.1",
|
|
65
63
|
"https-browserify": "^1.0.0",
|
|
@@ -83,10 +81,10 @@
|
|
|
83
81
|
"string_decoder": "^1.3.0",
|
|
84
82
|
"ts-loader": "^9.5.0",
|
|
85
83
|
"tsd": "^0.28.1",
|
|
86
|
-
"typescript": "^
|
|
84
|
+
"typescript": "^5.7.3",
|
|
87
85
|
"url": "^0.11.3",
|
|
88
86
|
"util": "^0.12.4",
|
|
89
|
-
"webpack": "^5.
|
|
87
|
+
"webpack": "^5.104.0",
|
|
90
88
|
"webpack-cli": "^4.9.1"
|
|
91
89
|
}
|
|
92
90
|
}
|
|
@@ -358,7 +358,7 @@ impl DataContractWasm {
|
|
|
358
358
|
pub fn set_config(&mut self, config: JsValue) -> Result<(), JsValue> {
|
|
359
359
|
let value = config.with_serde_to_platform_value()?;
|
|
360
360
|
|
|
361
|
-
let platform_version =
|
|
361
|
+
let platform_version = PlatformVersion::latest();
|
|
362
362
|
|
|
363
363
|
let data_contract_config =
|
|
364
364
|
DataContractConfig::from_value(value, platform_version).with_js_error()?;
|
package/.eslintignore
DELETED
package/.eslintrc
DELETED
package/lib/test/.eslintrc
DELETED