@t2000/sdk 9.7.0 → 9.7.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/browser.cjs +2 -1
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +2 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3157,8 +3157,9 @@ function hexToBytes2(hex) {
|
|
|
3157
3157
|
return out;
|
|
3158
3158
|
}
|
|
3159
3159
|
function bytesToHex2(bytes) {
|
|
3160
|
+
const arr = typeof bytes === "string" ? Array.from(atob(bytes), (c) => c.charCodeAt(0)) : bytes;
|
|
3160
3161
|
let s = "0x";
|
|
3161
|
-
for (const b of
|
|
3162
|
+
for (const b of arr) s += b.toString(16).padStart(2, "0");
|
|
3162
3163
|
return s;
|
|
3163
3164
|
}
|
|
3164
3165
|
function preflightCreateJob(terms) {
|