@dashevo/wasm-dpp 3.1.0-dev.1 → 3.1.0-dev.4
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 +4 -11
- package/babel.config.json +1 -1
- package/dist/wasm/wasm_dpp.d.ts +4859 -4003
- package/dist/wasm/wasm_dpp.js +1666 -1588
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/lib/index.ts +0 -1
- package/lib/wasm/wasm_dpp.d.ts +4859 -4003
- package/package.json +4 -4
- package/scripts/build-wasm.sh +4 -2
- package/src/data_contract/state_transition/data_contract_create_transition/mod.rs +1 -0
- package/src/data_contract/state_transition/data_contract_update_transition/mod.rs +1 -0
- package/src/document/extended_document.rs +1 -1
- package/src/document/state_transition/batch_transition/mod.rs +1 -0
- package/src/errors/consensus/basic/identity/identity_asset_lock_transaction_too_many_inputs_error.rs +41 -0
- package/src/errors/consensus/basic/identity/mod.rs +2 -0
- package/src/errors/consensus/consensus_error.rs +44 -3
- package/src/errors/from.rs +1 -1
- package/src/errors/generic_consensus_error.rs +1 -1
- package/src/identity/state_transition/identity_create_transition/transition.rs +1 -0
- package/src/identity/state_transition/identity_credit_transfer_transition/transition.rs +1 -0
- package/src/identity/state_transition/identity_credit_withdrawal_transition/transition.rs +1 -0
- package/src/identity/state_transition/identity_topup_transition/transition.rs +1 -0
- package/src/identity/state_transition/identity_update_transition/transition.rs +1 -0
- package/src/identity/state_transition/transition_types.rs +1 -0
- package/src/state_transition/state_transition_factory.rs +7 -0
- package/src/voting/state_transition/masternode_vote_transition/mod.rs +6 -4
- package/test/integration/dataContract/validation/validateDataContractFactory.spec.js +2 -2
- package/test/integration/document/DocumentFacade.spec.js +1 -1
- package/test/unit/dataContract/DataContract.spec.js +6 -6
- package/test/unit/identity/Identity.spec.js +3 -3
- package/test/unit/identity/IdentityPublicKey.spec.js +2 -2
- package/tsconfig.json +1 -1
- package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validateIdentityUpdateTransitionStateFactory.spec.js +0 -253
- package/test/integration/identity/stateTransition/IdentityUpdateTransition/validation/state/validatePublicKeysState.spec.js +0 -100
package/Cargo.toml
CHANGED
|
@@ -18,31 +18,24 @@ serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
|
18
18
|
# Meantime if you want to update wasm-bindgen you also need to update version in:
|
|
19
19
|
# - packages/wasm-dpp/scripts/build-wasm.sh
|
|
20
20
|
# - Dockerfile
|
|
21
|
-
wasm-bindgen = { version = "=0.2.
|
|
21
|
+
wasm-bindgen = { version = "=0.2.108" }
|
|
22
22
|
js-sys = "0.3.64"
|
|
23
23
|
web-sys = { version = "0.3.64", features = ["console"] }
|
|
24
24
|
thiserror = { version = "2.0.17" }
|
|
25
25
|
serde-wasm-bindgen = { git = "https://github.com/QuantumExplorer/serde-wasm-bindgen", branch = "feat/not_human_readable" }
|
|
26
26
|
dpp = { path = "../rs-dpp", default-features = false, features = [
|
|
27
|
-
"
|
|
28
|
-
"state-transition-value-conversion",
|
|
29
|
-
"data-contract-value-conversion",
|
|
30
|
-
"data-contract-json-conversion",
|
|
27
|
+
"json-conversion",
|
|
31
28
|
"state-transitions",
|
|
32
29
|
"cbor",
|
|
33
30
|
"platform-value",
|
|
34
31
|
"json-object",
|
|
35
|
-
"identity-value-conversion",
|
|
36
32
|
"identity-hashing",
|
|
37
33
|
"factories",
|
|
38
34
|
"client",
|
|
39
35
|
"validation",
|
|
40
36
|
"state-transition-signing",
|
|
41
37
|
"state-transition-validation",
|
|
42
|
-
"state-transition-json-conversion",
|
|
43
38
|
"extended-document",
|
|
44
|
-
"document-value-conversion",
|
|
45
|
-
"document-json-conversion",
|
|
46
39
|
"data-contracts",
|
|
47
40
|
] }
|
|
48
41
|
itertools = { version = "0.13" }
|
|
@@ -50,10 +43,10 @@ log = { version = "0.4.6" }
|
|
|
50
43
|
wasm-logger = { version = "0.2.0" }
|
|
51
44
|
num_enum = "0.7"
|
|
52
45
|
hex = { version = "0.4" }
|
|
53
|
-
|
|
46
|
+
pastey = "0.2.1"
|
|
54
47
|
anyhow = { version = "1.0.75" }
|
|
55
48
|
# required, cargo-machete false positive
|
|
56
|
-
wasm-bindgen-futures = "0.4.
|
|
49
|
+
wasm-bindgen-futures = "0.4.58"
|
|
57
50
|
async-trait = "0.1.59"
|
|
58
51
|
bincode = { version = "=2.0.1" }
|
|
59
52
|
|
package/babel.config.json
CHANGED