starknet 6.1.3 → 6.1.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.
- package/CHANGELOG.md +6 -0
- package/dist/index.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2017,10 +2017,10 @@ var CallData = class _CallData {
|
|
|
2017
2017
|
const oe = Array.isArray(o) ? [o.length.toString(), ...o] : o;
|
|
2018
2018
|
return Object.entries(oe).flatMap(([k, v]) => {
|
|
2019
2019
|
let value = v;
|
|
2020
|
-
if (isLongText(value))
|
|
2021
|
-
value = byteArrayFromString(value);
|
|
2022
2020
|
if (k === "entrypoint")
|
|
2023
2021
|
value = getSelectorFromName(value);
|
|
2022
|
+
else if (isLongText(value))
|
|
2023
|
+
value = byteArrayFromString(value);
|
|
2024
2024
|
const kk = Array.isArray(oe) && k === "0" ? "$$len" : k;
|
|
2025
2025
|
if (isBigInt(value))
|
|
2026
2026
|
return [[`${prefix}${kk}`, felt(value)]];
|