@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/index.js
CHANGED
|
@@ -1627,6 +1627,9 @@ async function sendInvoke(method, params, config, log) {
|
|
|
1627
1627
|
const handler = allHandlers[method];
|
|
1628
1628
|
if (handler) {
|
|
1629
1629
|
const args = handler.args(params);
|
|
1630
|
+
console.log("[SDK Debug] Handler found for method:", method);
|
|
1631
|
+
console.log("[SDK Debug] Handler command:", handler.command);
|
|
1632
|
+
console.log("[SDK Debug] Transformed args:", JSON.stringify(args, null, 2));
|
|
1630
1633
|
return invoke(handler.command, args);
|
|
1631
1634
|
}
|
|
1632
1635
|
throw new HaexVaultSdkError(
|
|
@@ -1840,6 +1843,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
|
|
|
1840
1843
|
}
|
|
1841
1844
|
}
|
|
1842
1845
|
async function respondToExternalRequest(response, request) {
|
|
1846
|
+
console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
|
|
1843
1847
|
await request("external.respond", response);
|
|
1844
1848
|
}
|
|
1845
1849
|
|