@tinycloud/sdk-core 2.4.0-beta.10 → 2.4.0-beta.12
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.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -379,7 +379,15 @@ var PersistedSessionDataSchema = import_zod2.z.object({
|
|
|
379
379
|
/** Schema version for migrations */
|
|
380
380
|
version: import_zod2.z.string(),
|
|
381
381
|
/** Optional ENS data */
|
|
382
|
-
ens: EnsDataSchema2.optional()
|
|
382
|
+
ens: EnsDataSchema2.optional(),
|
|
383
|
+
/**
|
|
384
|
+
* TinyCloud hosts this session was created against. Persisted so a
|
|
385
|
+
* restored session resolves to the same node without re-running the
|
|
386
|
+
* registry/fallback resolution (or the wallet sign-in flow). Optional
|
|
387
|
+
* for backward compatibility with sessions persisted before this field
|
|
388
|
+
* existed — those restore and lazily re-resolve their hosts.
|
|
389
|
+
*/
|
|
390
|
+
tinycloudHosts: import_zod2.z.array(import_zod2.z.string()).optional()
|
|
383
391
|
});
|
|
384
392
|
var TinyCloudSessionSchema = import_zod2.z.object({
|
|
385
393
|
/** User's Ethereum address */
|