@tinycloud/node-sdk 2.2.0-beta.1 → 2.2.0-beta.2
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-NsTndW58.d.cts +1453 -0
- package/dist/core-NsTndW58.d.ts +1453 -0
- package/dist/core.cjs +18 -0
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +3 -1422
- package/dist/core.d.ts +3 -1422
- package/dist/core.js +18 -0
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -18057,6 +18057,24 @@ var DelegatedAccess = class {
|
|
|
18057
18057
|
get hooks() {
|
|
18058
18058
|
return this._hooks;
|
|
18059
18059
|
}
|
|
18060
|
+
/**
|
|
18061
|
+
* Export the handles needed to rehydrate this activated delegation via
|
|
18062
|
+
* `TinyCloudNode.restoreSession(...)` in another process or after a
|
|
18063
|
+
* restart.
|
|
18064
|
+
*
|
|
18065
|
+
* See `RestorableSession` for lifetime caveats.
|
|
18066
|
+
*/
|
|
18067
|
+
get restorable() {
|
|
18068
|
+
return {
|
|
18069
|
+
delegationHeader: this.session.delegationHeader,
|
|
18070
|
+
delegationCid: this.session.delegationCid,
|
|
18071
|
+
spaceId: this.session.spaceId,
|
|
18072
|
+
jwk: this.session.jwk,
|
|
18073
|
+
verificationMethod: this.session.verificationMethod,
|
|
18074
|
+
address: this.session.address,
|
|
18075
|
+
chainId: this.session.chainId
|
|
18076
|
+
};
|
|
18077
|
+
}
|
|
18060
18078
|
};
|
|
18061
18079
|
|
|
18062
18080
|
// src/keys/WasmKeyProvider.ts
|