@haex-space/vault-sdk 3.2.6 → 3.2.7
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 +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +4 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +4 -1
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.js +4 -1
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +4 -1
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.js +4 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +4 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.js +4 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +4 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1484,7 +1484,10 @@ var WebAPI = class {
|
|
|
1484
1484
|
} else if (options.body instanceof Blob) {
|
|
1485
1485
|
bodyParam = await this.blobToBase64(options.body);
|
|
1486
1486
|
} else {
|
|
1487
|
-
|
|
1487
|
+
const bytes = new TextEncoder().encode(options.body);
|
|
1488
|
+
bodyParam = this.arrayBufferToBase64(
|
|
1489
|
+
bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength)
|
|
1490
|
+
);
|
|
1488
1491
|
}
|
|
1489
1492
|
}
|
|
1490
1493
|
const response = await this.client.request(WEB_COMMANDS.fetch, {
|