@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.
@@ -15479,6 +15479,7 @@ var IdentityWallet = class {
15479
15479
  const profileDID = generateProfileDID(did, nonce);
15480
15480
  const isArray = Array.isArray(tagsOrOptions);
15481
15481
  const tags = isArray ? tagsOrOptions : tagsOrOptions?.tags;
15482
+ const metadata = !isArray ? tagsOrOptions?.metadata : void 0;
15482
15483
  const { didDocument, encryptionKeyOps } = isArray ? {} : tagsOrOptions ?? {};
15483
15484
  const identityProfiles = await this._storage.identity.getProfilesByGenesisIdentifier(
15484
15485
  did.string()
@@ -15520,7 +15521,8 @@ var IdentityWallet = class {
15520
15521
  genesisIdentifier: did.string(),
15521
15522
  verifier,
15522
15523
  tags,
15523
- did_doc
15524
+ did_doc,
15525
+ metadata
15524
15526
  });
15525
15527
  return profileDID;
15526
15528
  }