@dashevo/wasm-dpp 4.2.0-dev.7 → 4.2.0-dev.9
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 +2 -2
- package/dist/wasm/wasm_dpp.d.ts +948 -948
- package/dist/wasm/wasm_dpp.js +45 -45
- package/dist/wasm/wasm_dpp_bg.js +1 -1
- package/lib/wasm/wasm_dpp.d.ts +948 -948
- package/package.json +2 -2
- package/src/document/factory.rs +1 -1
- package/src/lib.rs +4 -0
- package/src/state_transition/state_transition_factory.rs +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/wasm-dpp",
|
|
3
|
-
"version": "4.2.0-dev.
|
|
3
|
+
"version": "4.2.0-dev.9",
|
|
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,7 +44,7 @@
|
|
|
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": "4.2.0-dev.
|
|
47
|
+
"@dashevo/dpns-contract": "4.2.0-dev.9",
|
|
48
48
|
"@types/bs58": "^4.0.1",
|
|
49
49
|
"@types/node": "^20.10.0",
|
|
50
50
|
"@yarnpkg/pnpify": "^4.0.0-rc.42",
|
package/src/document/factory.rs
CHANGED
|
@@ -145,7 +145,7 @@ impl DocumentFactoryWASM {
|
|
|
145
145
|
|
|
146
146
|
let documents_by_action = extract_documents_by_action(documents)?;
|
|
147
147
|
|
|
148
|
-
for
|
|
148
|
+
for documents in documents_by_action.values() {
|
|
149
149
|
for document in documents.iter() {
|
|
150
150
|
if !contract_ids_to_check.contains(&document.data_contract().id()) {
|
|
151
151
|
return Err(JsValue::from_str(
|
package/src/lib.rs
CHANGED
|
@@ -84,7 +84,9 @@ impl StateTransitionFactoryWasm {
|
|
|
84
84
|
| StateTransition::Unshield(_)
|
|
85
85
|
| StateTransition::ShieldFromAssetLock(_)
|
|
86
86
|
| StateTransition::ShieldedWithdrawal(_)
|
|
87
|
-
| StateTransition::IdentityCreateFromShieldedPool(_)
|
|
87
|
+
| StateTransition::IdentityCreateFromShieldedPool(_)
|
|
88
|
+
| StateTransition::ShieldFromIdentity(_)
|
|
89
|
+
| StateTransition::IdentityTopUpFromShieldedPool(_) => Err(JsValue::from_str(
|
|
88
90
|
"shielded transitions are not yet supported in wasm-dpp StateTransitionFactory",
|
|
89
91
|
)),
|
|
90
92
|
},
|