@tinycloud/web-sdk 2.1.0-beta.0 → 2.1.0-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/adapters/BrowserWasmBindings.d.ts +6 -0
- package/dist/adapters/BrowserWasmBindings.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- 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 +2 -2
- package/dist/modules/requestPermissionsCore.d.ts +60 -0
- package/dist/modules/requestPermissionsCore.d.ts.map +1 -0
- package/dist/modules/tcw.d.ts +81 -1
- package/dist/modules/tcw.d.ts.map +1 -1
- package/dist/notifications/ModalManager.d.ts +3 -0
- package/dist/notifications/ModalManager.d.ts.map +1 -1
- package/dist/notifications/PermissionRequestModal.d.ts +50 -0
- package/dist/notifications/PermissionRequestModal.d.ts.map +1 -0
- package/dist/notifications/types.schema.d.ts +4 -4
- package/package.json +4 -4
|
@@ -9,6 +9,12 @@ export declare class BrowserWasmBindings implements IWasmBindings {
|
|
|
9
9
|
ensureEip55(address: string): string;
|
|
10
10
|
makeSpaceId(address: string, chainId: number, prefix: string): string;
|
|
11
11
|
createDelegation(session: any, delegateDID: string, spaceId: string, path: string, actions: string[], expirationSecs: number, notBeforeSecs?: number): any;
|
|
12
|
+
parseRecapFromSiwe(siweString: string): {
|
|
13
|
+
service: string;
|
|
14
|
+
space: string;
|
|
15
|
+
path: string;
|
|
16
|
+
actions: string[];
|
|
17
|
+
}[];
|
|
12
18
|
generateHostSIWEMessage(params: any): string;
|
|
13
19
|
siweToDelegationHeaders(params: any): any;
|
|
14
20
|
protocolVersion(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserWasmBindings.d.ts","sourceRoot":"","sources":["../../src/adapters/BrowserWasmBindings.ts"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