pshenmic-dpp 2.0.0-dev.21 → 2.0.0-dev.22
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/dist/binaries/native/aarch64-apple-darwin/pshenmic_dpp.node +0 -0
- package/dist/binaries/native/x86_64-apple-darwin/pshenmic_dpp.node +0 -0
- package/dist/binaries/native/x86_64-unknown-linux-gnu/pshenmic_dpp.node +0 -0
- package/dist/binaries/native/x86_64-unknown-linux-musl/pshenmic_dpp.node +0 -0
- package/dist/binaries/pshenmic_dpp.android.node/arm64-v8a/libpshenmic_dpp.so +0 -0
- package/dist/binaries/pshenmic_dpp.apple.node/ios-arm64-simulator/libpshenmic_dpp.framework/libpshenmic_dpp +0 -0
- package/dist/binaries/wasm/wasmBytes.cjs +1 -1
- package/dist/binaries/wasm/wasmBytes.d.cts +1 -1
- package/dist/src/dpp/structs/Identifier.js +3 -0
- package/package.json +1 -1
|
@@ -11,6 +11,9 @@ export class IdentifierWASM {
|
|
|
11
11
|
const id = new dpp.DynamicValue(rawId);
|
|
12
12
|
this._rawIdentifier = new dpp.IdentifierNAPI(id);
|
|
13
13
|
}
|
|
14
|
+
else if (rawId instanceof dpp.IdentifierNAPI) {
|
|
15
|
+
this._rawIdentifier = rawId;
|
|
16
|
+
}
|
|
14
17
|
else {
|
|
15
18
|
throw new Error('Invalid raw ID');
|
|
16
19
|
}
|