@zkp2p/sdk 0.5.4 → 0.5.6
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/{chunk-VJ33XYCV.mjs → chunk-NMIFJSZ3.mjs} +14 -5
- package/dist/{chunk-VJ33XYCV.mjs.map → chunk-NMIFJSZ3.mjs.map} +1 -1
- package/dist/index.cjs +31 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +28 -21
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-N5SJ4KHJ.mjs +5 -0
- package/dist/{protocolViewerParsers-XN63B2S5.mjs.map → protocolViewerParsers-N5SJ4KHJ.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/protocolViewerParsers-XN63B2S5.mjs +0 -5
|
@@ -40669,10 +40669,16 @@ var lookups_default = {
|
|
|
40669
40669
|
"0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb": "chime",
|
|
40670
40670
|
"0xd9ff4fd6b39a3e3dd43c41d05662a5547de4a878bc97a65bcb352ade493cdc6b": "n26",
|
|
40671
40671
|
"0xaea63ef983458674f54ee50cdaa7b09d80a5c6c03ed505f51c90b0f2b54abb01": "luxon"
|
|
40672
|
-
}
|
|
40672
|
+
},
|
|
40673
|
+
zelleUnspecifiedHash: "0x7a656c6c65000000000000000000000000000000000000000000000000000000"
|
|
40674
|
+
};
|
|
40673
40675
|
|
|
40674
40676
|
// src/utils/paymentMethodHashes.ts
|
|
40675
|
-
var
|
|
40677
|
+
var GENERIC_ZELLE_PAYMENT_METHOD_HASH = lookups_default.nameToHash.zelle;
|
|
40678
|
+
var METHOD_NAME_TO_HASH = {
|
|
40679
|
+
...lookups_default.nameToHash,
|
|
40680
|
+
zelle: GENERIC_ZELLE_PAYMENT_METHOD_HASH
|
|
40681
|
+
};
|
|
40676
40682
|
var HASH_TO_METHOD_NAME = Object.entries(
|
|
40677
40683
|
lookups_default.hashToName
|
|
40678
40684
|
).reduce(
|
|
@@ -40680,7 +40686,10 @@ var HASH_TO_METHOD_NAME = Object.entries(
|
|
|
40680
40686
|
acc[hash.toLowerCase()] = name;
|
|
40681
40687
|
return acc;
|
|
40682
40688
|
},
|
|
40683
|
-
{
|
|
40689
|
+
{
|
|
40690
|
+
[GENERIC_ZELLE_PAYMENT_METHOD_HASH.toLowerCase()]: "zelle",
|
|
40691
|
+
[lookups_default.zelleUnspecifiedHash.toLowerCase()]: "zelle"
|
|
40692
|
+
}
|
|
40684
40693
|
);
|
|
40685
40694
|
|
|
40686
40695
|
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.2.4_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.2.1/node_modules/@zkp2p/contracts-v2/_esm/paymentMethods/baseStaging.js
|
|
@@ -41012,5 +41021,5 @@ function enrichPvIntentView(view, chainId, env = "production") {
|
|
|
41012
41021
|
}
|
|
41013
41022
|
|
|
41014
41023
|
export { asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getGatingServiceAddress, getPaymentMethodsCatalog, getRateManagerContracts, parseBigIntLike, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash };
|
|
41015
|
-
//# sourceMappingURL=chunk-
|
|
41016
|
-
//# sourceMappingURL=chunk-
|
|
41024
|
+
//# sourceMappingURL=chunk-NMIFJSZ3.mjs.map
|
|
41025
|
+
//# sourceMappingURL=chunk-NMIFJSZ3.mjs.map
|