@tinycloud/node-sdk 2.6.4-beta.0 → 2.6.4-beta.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/core.cjs +4 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +4 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20498,7 +20498,10 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
20498
20498
|
delegationCid: params.session.delegationCid,
|
|
20499
20499
|
jwk: params.session.jwk,
|
|
20500
20500
|
spaceId: params.session.spaceId,
|
|
20501
|
-
|
|
20501
|
+
// Session storage carries the verification method as a DID URL
|
|
20502
|
+
// (`did:key:...#key-id`). The Rust UCAN builder expects the principal
|
|
20503
|
+
// DID here and rejects the fragment as an invalid audience DID.
|
|
20504
|
+
verificationMethod: params.session.verificationMethod.split("#", 1)[0]
|
|
20502
20505
|
};
|
|
20503
20506
|
const result = this.wasmBindings.createDelegation(
|
|
20504
20507
|
wasmSession,
|