@chipi-stack/backend 14.13.0 → 14.13.1
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/index.js +51 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +51 -14
- package/dist/index.mjs.map +1 -1
- package/dist/skuPurchases.js +2 -2
- package/dist/skuPurchases.js.map +1 -1
- package/dist/skuPurchases.mjs +2 -2
- package/dist/skuPurchases.mjs.map +1 -1
- package/dist/transactions.js +2 -2
- package/dist/transactions.js.map +1 -1
- package/dist/transactions.mjs +2 -2
- package/dist/transactions.mjs.map +1 -1
- package/dist/wallets.js +2 -2
- package/dist/wallets.js.map +1 -1
- package/dist/wallets.mjs +2 -2
- package/dist/wallets.mjs.map +1 -1
- package/package.json +3 -3
package/dist/wallets.mjs
CHANGED
|
@@ -78,7 +78,7 @@ function hashCall(call) {
|
|
|
78
78
|
return poseidonSpan([
|
|
79
79
|
CALL_TYPE_HASH_REV1,
|
|
80
80
|
toBigInt(call.contractAddress),
|
|
81
|
-
toBigInt(hash.
|
|
81
|
+
toBigInt(hash.getSelector(call.entrypoint)),
|
|
82
82
|
calldataHash
|
|
83
83
|
]);
|
|
84
84
|
}
|
|
@@ -368,7 +368,7 @@ function serializeExecuteFromOutsideV2Calldata(params) {
|
|
|
368
368
|
out.push(BigInt(oe.calls.length));
|
|
369
369
|
for (const call of oe.calls) {
|
|
370
370
|
out.push(BigInt(call.contractAddress));
|
|
371
|
-
out.push(BigInt(hash.
|
|
371
|
+
out.push(BigInt(hash.getSelector(call.entrypoint)));
|
|
372
372
|
const callData = Array.isArray(call.calldata) ? call.calldata : [];
|
|
373
373
|
out.push(BigInt(callData.length));
|
|
374
374
|
for (const datum of callData) {
|