@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.js
CHANGED
|
@@ -1516,6 +1516,9 @@ async function sendInvoke(method, params, config, log) {
|
|
|
1516
1516
|
const handler = allHandlers[method];
|
|
1517
1517
|
if (handler) {
|
|
1518
1518
|
const args = handler.args(params);
|
|
1519
|
+
console.log("[SDK Debug] Handler found for method:", method);
|
|
1520
|
+
console.log("[SDK Debug] Handler command:", handler.command);
|
|
1521
|
+
console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
|
|
1519
1522
|
return invoke(handler.command, args);
|
|
1520
1523
|
}
|
|
1521
1524
|
throw new HaexVaultSdkError(
|
|
@@ -1729,6 +1732,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
|
|
|
1729
1732
|
}
|
|
1730
1733
|
}
|
|
1731
1734
|
async function respondToExternalRequest(response, request) {
|
|
1735
|
+
console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
|
|
1732
1736
|
await request("external.respond", response);
|
|
1733
1737
|
}
|
|
1734
1738
|
|