@haex-space/vault-sdk 2.5.9 → 2.5.11
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 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +4 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +4 -0
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.js +4 -0
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +4 -0
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.js +4 -0
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +4 -0
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.js +4 -0
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +4 -0
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react.mjs
CHANGED
|
@@ -1514,6 +1514,9 @@ async function sendInvoke(method, params, config, log) {
|
|
|
1514
1514
|
const handler = allHandlers[method];
|
|
1515
1515
|
if (handler) {
|
|
1516
1516
|
const args = handler.args(params);
|
|
1517
|
+
console.log("[SDK Debug] Handler found for method:", method);
|
|
1518
|
+
console.log("[SDK Debug] Handler command:", handler.command);
|
|
1519
|
+
console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
|
|
1517
1520
|
return invoke(handler.command, args);
|
|
1518
1521
|
}
|
|
1519
1522
|
throw new HaexVaultSdkError(
|
|
@@ -1727,6 +1730,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
|
|
|
1727
1730
|
}
|
|
1728
1731
|
}
|
|
1729
1732
|
async function respondToExternalRequest(response, request) {
|
|
1733
|
+
console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
|
|
1730
1734
|
await request("external.respond", response);
|
|
1731
1735
|
}
|
|
1732
1736
|
|