pshenmic-dpp 1.0.3 → 1.0.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.lock +14 -1
- package/Cargo.toml +5 -4
- package/dist/wasm/pshenmic_dpp.js +477 -19
- package/dist/wasm/pshenmic_dpp_bg.js +1 -1
- package/package.json +1 -1
- package/packages/{cbor-conversation → cbor_conversation}/Cargo.toml +0 -4
- package/packages/data_contract/Cargo.toml +2 -6
- package/packages/data_contract/src/lib.rs +56 -41
- package/packages/data_contract_transitions/Cargo.toml +14 -0
- package/packages/data_contract_transitions/src/create/mod.rs +154 -0
- package/packages/data_contract_transitions/src/lib.rs +2 -0
- package/packages/data_contract_transitions/src/update/mod.rs +135 -0
- package/packages/document/Cargo.toml +1 -6
- package/packages/document_batch/Cargo.toml +1 -6
- package/packages/enums/Cargo.toml +1 -4
- package/packages/identity/Cargo.toml +1 -5
- package/packages/identity_transitions/Cargo.toml +1 -5
- package/packages/identity_transitions/src/create_transition/mod.rs +2 -2
- package/packages/mock_bls/Cargo.toml +1 -5
- package/packages/private_key/Cargo.toml +1 -5
- package/packages/public_key/Cargo.toml +1 -5
- package/packages/state_transition/Cargo.toml +1 -5
- package/packages/state_transition/src/lib.rs +6 -5
- package/packages/utils/Cargo.toml +1 -5
- package/scripts/build-js.sh +3 -2
- package/src/lib.rs +1 -0
- /package/packages/{cbor-conversation → cbor_conversation}/src/lib.rs +0 -0
package/scripts/build-js.sh
CHANGED
|
@@ -15,12 +15,13 @@ WASM_BINARY_PATH="$WASM_DIR/pshenmic_dpp_bg.wasm"
|
|
|
15
15
|
# Create directory in dist to save transpiled wasm code and TS typings
|
|
16
16
|
mkdir -p $DIST_WASM_DIR
|
|
17
17
|
|
|
18
|
-
## Converting wasm into base64 and saving it to dist folder
|
|
19
18
|
|
|
20
19
|
rm -rf $DIST_WASM_BINARY_BASE_64
|
|
21
20
|
rm -rf $DIST_WASM_BINARY_RAW
|
|
22
21
|
rm -rf $DIST_WASM_JS
|
|
23
22
|
|
|
23
|
+
## Converting wasm into base64 and saving it to dist folder
|
|
24
|
+
|
|
24
25
|
if [[ "${RAW}" == "true" ]]; then
|
|
25
26
|
cp $WASM_BINARY_PATH $DIST_WASM_BINARY_RAW
|
|
26
27
|
else
|
|
@@ -35,4 +36,4 @@ echo "Transpiling wasm ES Modules to CommonJS"
|
|
|
35
36
|
cp $WASM_JS_CODE_PATH $DIST_WASM_JS
|
|
36
37
|
|
|
37
38
|
echo "Cleaning wasm build"
|
|
38
|
-
rm -rf $WASM_DIR
|
|
39
|
+
#rm -rf $WASM_DIR
|
package/src/lib.rs
CHANGED
|
File without changes
|