@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/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": "^14.6.0",
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": "^8.53.0",
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": "^3.9.5",
84
+ "typescript": "^5.7.3",
87
85
  "url": "^0.11.3",
88
86
  "util": "^0.12.4",
89
- "webpack": "^5.94.0",
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 = &PlatformVersion::first();
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
@@ -1,2 +0,0 @@
1
- dist
2
- wasm
package/.eslintrc DELETED
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "airbnb-base",
3
- "env": {
4
- "es2020": true
5
- },
6
- "rules": {
7
- "no-plusplus": 0,
8
- "eol-last": [
9
- "error",
10
- "always"
11
- ],
12
- "class-methods-use-this": "off",
13
- "curly": [
14
- "error",
15
- "all"
16
- ]
17
- }
18
- }
@@ -1,9 +0,0 @@
1
- {
2
- "env": {
3
- "node": true,
4
- "mocha": true
5
- },
6
- "rules": {
7
- "import/no-extraneous-dependencies": "off"
8
- }
9
- }
package/test/.eslintrc DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "env": {
3
- "node": true,
4
- "mocha": true
5
- },
6
- "rules": {
7
- "import/no-extraneous-dependencies": "off"
8
- },
9
- "globals": {
10
- "expect": true
11
- }
12
- }