@0xpolygonid/js-sdk 1.37.2 → 1.37.3

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.
@@ -14946,6 +14946,7 @@ var IdentityWallet = class {
14946
14946
  const profileDID = generateProfileDID(did, nonce);
14947
14947
  const isArray = Array.isArray(tagsOrOptions);
14948
14948
  const tags = isArray ? tagsOrOptions : tagsOrOptions?.tags;
14949
+ const metadata = !isArray ? tagsOrOptions?.metadata : void 0;
14949
14950
  const { didDocument, encryptionKeyOps } = isArray ? {} : tagsOrOptions ?? {};
14950
14951
  const identityProfiles = await this._storage.identity.getProfilesByGenesisIdentifier(
14951
14952
  did.string()
@@ -14987,7 +14988,8 @@ var IdentityWallet = class {
14987
14988
  genesisIdentifier: did.string(),
14988
14989
  verifier,
14989
14990
  tags,
14990
- did_doc
14991
+ did_doc,
14992
+ metadata
14991
14993
  });
14992
14994
  return profileDID;
14993
14995
  }