@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/index.cjs CHANGED
@@ -3163,8 +3163,9 @@ function hexToBytes2(hex) {
3163
3163
  return out;
3164
3164
  }
3165
3165
  function bytesToHex2(bytes) {
3166
+ const arr = typeof bytes === "string" ? Array.from(atob(bytes), (c) => c.charCodeAt(0)) : bytes;
3166
3167
  let s = "0x";
3167
- for (const b of bytes) s += b.toString(16).padStart(2, "0");
3168
+ for (const b of arr) s += b.toString(16).padStart(2, "0");
3168
3169
  return s;
3169
3170
  }
3170
3171
  function preflightCreateJob(terms) {