@0xpolygonid/js-sdk 1.17.7 → 1.17.8
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/browser/esm/index.js +1 -1
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/browser/umd/index.js +1 -1
- package/dist/browser/umd/index.js.map +1 -1
- package/dist/node/cjs/verifiable/credential.js +1 -1
- package/dist/node/esm/verifiable/credential.js +1 -1
- package/package.json +1 -1
|
@@ -19723,7 +19723,7 @@ class W3CCredential {
|
|
|
19723
19723
|
}
|
|
19724
19724
|
static fromJSON(obj) {
|
|
19725
19725
|
const w = new W3CCredential();
|
|
19726
|
-
Object.assign(w, obj);
|
|
19726
|
+
Object.assign(w, structuredClone(obj));
|
|
19727
19727
|
w.proof = Array.isArray(w.proof)
|
|
19728
19728
|
? w.proof.map(W3CCredential.proofFromJSON)
|
|
19729
19729
|
: W3CCredential.proofFromJSON(w.proof);
|