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.js
CHANGED
|
@@ -2119,10 +2119,10 @@ var CallData = class _CallData {
|
|
|
2119
2119
|
const oe = Array.isArray(o) ? [o.length.toString(), ...o] : o;
|
|
2120
2120
|
return Object.entries(oe).flatMap(([k, v]) => {
|
|
2121
2121
|
let value = v;
|
|
2122
|
-
if (isLongText(value))
|
|
2123
|
-
value = byteArrayFromString(value);
|
|
2124
2122
|
if (k === "entrypoint")
|
|
2125
2123
|
value = getSelectorFromName(value);
|
|
2124
|
+
else if (isLongText(value))
|
|
2125
|
+
value = byteArrayFromString(value);
|
|
2126
2126
|
const kk = Array.isArray(oe) && k === "0" ? "$$len" : k;
|
|
2127
2127
|
if (isBigInt(value))
|
|
2128
2128
|
return [[`${prefix}${kk}`, felt(value)]];
|