@tinycloud/node-sdk 3.0.0-beta.11 → 3.0.0-beta.13
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-DMhQYBmA.d.cts → core-DWFGaDwP.d.cts} +4 -3
- package/dist/{core-DMhQYBmA.d.ts → core-DWFGaDwP.d.ts} +4 -3
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js.map +1 -1
- 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.map +1 -1
- package/package.json +2 -2
|
@@ -184,7 +184,7 @@ interface NodeUserAuthorizationConfig {
|
|
|
184
184
|
spacePrefix?: string;
|
|
185
185
|
/** Default actions for sessions */
|
|
186
186
|
defaultActions?: Record<string, Record<string, string[]>>;
|
|
187
|
-
/** Session expiration time in milliseconds (default:
|
|
187
|
+
/** Session expiration time in milliseconds (default: 30 days, `EXPIRY.SESSION_MS`) */
|
|
188
188
|
sessionExpirationMs?: number;
|
|
189
189
|
/** Automatically create space if it doesn't exist (default: false) */
|
|
190
190
|
autoCreateSpace?: boolean;
|
|
@@ -1071,7 +1071,7 @@ interface TinyCloudNodeConfig {
|
|
|
1071
1071
|
prefix?: string;
|
|
1072
1072
|
/** Domain for SIWE messages (default: derived from host) */
|
|
1073
1073
|
domain?: string;
|
|
1074
|
-
/** Session expiration time in milliseconds (default:
|
|
1074
|
+
/** Session expiration time in milliseconds (default: 30 days, `EXPIRY.SESSION_MS`) */
|
|
1075
1075
|
sessionExpirationMs?: number;
|
|
1076
1076
|
/** Whether to automatically create space if it doesn't exist (default: false) */
|
|
1077
1077
|
autoCreateSpace?: boolean;
|
|
@@ -1125,7 +1125,8 @@ interface TinyCloudNodeConfig {
|
|
|
1125
1125
|
* Options for {@link TinyCloudNode.delegateTo}.
|
|
1126
1126
|
*
|
|
1127
1127
|
* `expiry` accepts either an ms-format duration string (e.g. `"7d"`, `"1h"`)
|
|
1128
|
-
* or a raw number of milliseconds. When omitted, the default is
|
|
1128
|
+
* or a raw number of milliseconds. When omitted, the default is
|
|
1129
|
+
* `EXPIRY.SESSION_MS` (30 days), still capped at the session's own expiry.
|
|
1129
1130
|
*
|
|
1130
1131
|
* `forceWalletSign` bypasses the derivability check and sends the
|
|
1131
1132
|
* delegation through the legacy wallet-signed SIWE path, which always
|
|
@@ -184,7 +184,7 @@ interface NodeUserAuthorizationConfig {
|
|
|
184
184
|
spacePrefix?: string;
|
|
185
185
|
/** Default actions for sessions */
|
|
186
186
|
defaultActions?: Record<string, Record<string, string[]>>;
|
|
187
|
-
/** Session expiration time in milliseconds (default:
|
|
187
|
+
/** Session expiration time in milliseconds (default: 30 days, `EXPIRY.SESSION_MS`) */
|
|
188
188
|
sessionExpirationMs?: number;
|
|
189
189
|
/** Automatically create space if it doesn't exist (default: false) */
|
|
190
190
|
autoCreateSpace?: boolean;
|
|
@@ -1071,7 +1071,7 @@ interface TinyCloudNodeConfig {
|
|
|
1071
1071
|
prefix?: string;
|
|
1072
1072
|
/** Domain for SIWE messages (default: derived from host) */
|
|
1073
1073
|
domain?: string;
|
|
1074
|
-
/** Session expiration time in milliseconds (default:
|
|
1074
|
+
/** Session expiration time in milliseconds (default: 30 days, `EXPIRY.SESSION_MS`) */
|
|
1075
1075
|
sessionExpirationMs?: number;
|
|
1076
1076
|
/** Whether to automatically create space if it doesn't exist (default: false) */
|
|
1077
1077
|
autoCreateSpace?: boolean;
|
|
@@ -1125,7 +1125,8 @@ interface TinyCloudNodeConfig {
|
|
|
1125
1125
|
* Options for {@link TinyCloudNode.delegateTo}.
|
|
1126
1126
|
*
|
|
1127
1127
|
* `expiry` accepts either an ms-format duration string (e.g. `"7d"`, `"1h"`)
|
|
1128
|
-
* or a raw number of milliseconds. When omitted, the default is
|
|
1128
|
+
* or a raw number of milliseconds. When omitted, the default is
|
|
1129
|
+
* `EXPIRY.SESSION_MS` (30 days), still capped at the session's own expiry.
|
|
1129
1130
|
*
|
|
1130
1131
|
* `forceWalletSign` bypasses the derivability check and sends the
|
|
1131
1132
|
* delegation through the legacy wallet-signed SIWE path, which always
|