@0xpolygonid/js-sdk 1.29.3 → 1.29.4

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.
@@ -53816,21 +53816,7 @@ const processProofResponse = (zkProof) => {
53816
53816
  }
53817
53817
  const preparedZkpProof = prepareZkpProof(zkProof.proof);
53818
53818
  const zkProofEncoded = packZkpProof(inputs, preparedZkpProof.a, preparedZkpProof.b, preparedZkpProof.c);
53819
- const metadataArr = [];
53820
- if (zkProof.vp) {
53821
- for (const key in zkProof.vp.verifiableCredential.credentialSubject) {
53822
- if (key === '@type') {
53823
- continue;
53824
- }
53825
- const metadataValue = poseidon.hashBytes(byteEncoder.encode(JSON.stringify(zkProof.vp.verifiableCredential.credentialSubject[key])));
53826
- const bytesValue = byteEncoder.encode(metadataValue.toString());
53827
- metadataArr.push({
53828
- key,
53829
- value: bytesValue
53830
- });
53831
- }
53832
- }
53833
- const metadata = metadataArr.length ? packMetadatas(metadataArr) : emptyBytes;
53819
+ const metadata = emptyBytes;
53834
53820
  return { requestId, zkProofEncoded, metadata };
53835
53821
  };
53836
53822
  /**