@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.
@@ -19862,7 +19862,7 @@ var PolygonIdSdk = (function (exports) {
19862
19862
  }
19863
19863
  static fromJSON(obj) {
19864
19864
  const w = new W3CCredential();
19865
- Object.assign(w, obj);
19865
+ Object.assign(w, structuredClone(obj));
19866
19866
  w.proof = Array.isArray(w.proof)
19867
19867
  ? w.proof.map(W3CCredential.proofFromJSON)
19868
19868
  : W3CCredential.proofFromJSON(w.proof);