@tinycloud/web-sdk 1.7.1 → 2.0.0
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/adapters/BrowserENSResolver.d.ts +10 -0
- package/dist/adapters/BrowserENSResolver.d.ts.map +1 -0
- package/dist/adapters/BrowserNotificationHandler.d.ts +11 -0
- package/dist/adapters/BrowserNotificationHandler.d.ts.map +1 -0
- package/dist/adapters/BrowserSessionStorage.d.ts +9 -0
- package/dist/adapters/BrowserSessionStorage.d.ts.map +1 -0
- package/dist/adapters/BrowserWalletSigner.d.ts +22 -0
- package/dist/adapters/BrowserWalletSigner.d.ts.map +1 -0
- package/dist/adapters/BrowserWasmBindings.d.ts +23 -0
- package/dist/adapters/BrowserWasmBindings.d.ts.map +1 -0
- package/dist/adapters/index.d.ts +6 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/authorization/index.d.ts +1 -3
- package/dist/authorization/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/modules/Storage/tinycloud/types.schema.d.ts +6 -6
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/keys/index.d.ts +0 -1
- package/dist/modules/keys/index.d.ts.map +1 -1
- package/dist/modules/tcw.d.ts +69 -651
- package/dist/modules/tcw.d.ts.map +1 -1
- package/dist/notifications/types.schema.d.ts +2 -2
- package/dist/providers/config.d.ts +44 -0
- package/dist/providers/config.d.ts.map +1 -0
- package/dist/providers/extension.d.ts +64 -0
- package/dist/providers/extension.d.ts.map +1 -0
- package/dist/providers/index.d.ts +10 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/types.d.ts +657 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/utils.d.ts +20 -0
- package/dist/providers/utils.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/authorization/WebUserAuthorization.d.ts +0 -297
- package/dist/authorization/WebUserAuthorization.d.ts.map +0 -1
- package/dist/delegation.d.ts +0 -84
- package/dist/delegation.d.ts.map +0 -1
- package/dist/modules/keys/WasmKeyProvider.d.ts +0 -126
- package/dist/modules/keys/WasmKeyProvider.d.ts.map +0 -1
|
@@ -39,10 +39,10 @@ export declare const SessionConfigSchema: z.ZodObject<{
|
|
|
39
39
|
chainId?: number;
|
|
40
40
|
domain?: string;
|
|
41
41
|
issuedAt?: string;
|
|
42
|
-
expirationTime?: string;
|
|
43
42
|
notBefore?: string;
|
|
44
|
-
|
|
43
|
+
expirationTime?: string;
|
|
45
44
|
parents?: string[];
|
|
45
|
+
jwk?: Record<string, unknown>;
|
|
46
46
|
}, {
|
|
47
47
|
spaceId?: string;
|
|
48
48
|
actions?: Record<string, Record<string, string[]>>;
|
|
@@ -50,10 +50,10 @@ export declare const SessionConfigSchema: z.ZodObject<{
|
|
|
50
50
|
chainId?: number;
|
|
51
51
|
domain?: string;
|
|
52
52
|
issuedAt?: string;
|
|
53
|
-
expirationTime?: string;
|
|
54
53
|
notBefore?: string;
|
|
55
|
-
|
|
54
|
+
expirationTime?: string;
|
|
56
55
|
parents?: string[];
|
|
56
|
+
jwk?: Record<string, unknown>;
|
|
57
57
|
}>;
|
|
58
58
|
export type SessionConfig = z.infer<typeof SessionConfigSchema>;
|
|
59
59
|
/**
|
|
@@ -78,18 +78,18 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
78
78
|
verificationMethod: z.ZodString;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
spaceId?: string;
|
|
81
|
+
jwk?: Record<string, unknown>;
|
|
81
82
|
delegationHeader?: {
|
|
82
83
|
Authorization?: string;
|
|
83
84
|
};
|
|
84
|
-
jwk?: Record<string, unknown>;
|
|
85
85
|
delegationCid?: string;
|
|
86
86
|
verificationMethod?: string;
|
|
87
87
|
}, {
|
|
88
88
|
spaceId?: string;
|
|
89
|
+
jwk?: Record<string, unknown>;
|
|
89
90
|
delegationHeader?: {
|
|
90
91
|
Authorization?: string;
|
|
91
92
|
};
|
|
92
|
-
jwk?: Record<string, unknown>;
|
|
93
93
|
delegationCid?: string;
|
|
94
94
|
verificationMethod?: string;
|
|
95
95
|
}>;
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./Storage";
|
|
2
2
|
export * from "./tcw";
|
|
3
3
|
export { TinyCloudWeb } from "./tcw";
|
|
4
|
-
export {
|
|
4
|
+
export { ModalSpaceCreationHandler, defaultWebSpaceCreationHandler, } from "../authorization";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/keys/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/keys/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|