@tinycloud/web-sdk 3.2.0-beta.1 → 3.2.0-beta.3
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.
|
@@ -39,8 +39,8 @@ export declare const SessionConfigSchema: z.ZodObject<{
|
|
|
39
39
|
address?: string;
|
|
40
40
|
chainId?: number;
|
|
41
41
|
issuedAt?: string;
|
|
42
|
-
notBefore?: string;
|
|
43
42
|
jwk?: Record<string, unknown>;
|
|
43
|
+
notBefore?: string;
|
|
44
44
|
expirationTime?: string;
|
|
45
45
|
parents?: string[];
|
|
46
46
|
}, {
|
|
@@ -50,8 +50,8 @@ export declare const SessionConfigSchema: z.ZodObject<{
|
|
|
50
50
|
address?: string;
|
|
51
51
|
chainId?: number;
|
|
52
52
|
issuedAt?: string;
|
|
53
|
-
notBefore?: string;
|
|
54
53
|
jwk?: Record<string, unknown>;
|
|
54
|
+
notBefore?: string;
|
|
55
55
|
expirationTime?: string;
|
|
56
56
|
parents?: string[];
|
|
57
57
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IDataVaultService, type ISecretsService, type Manifest, type PermissionEntry, type Result, type SecretScopeOptions } from "@tinycloud/sdk-core";
|
|
1
|
+
import { type IDataVaultService, type ISecretsService, type Manifest, type PermissionEntry, type Result, type SecretScopeOptions, type SecretPutOptions } from "@tinycloud/sdk-core";
|
|
2
2
|
import type { VaultError } from "@tinycloud/sdk-core";
|
|
3
3
|
type RequestPermissions = (additional: PermissionEntry[]) => Promise<{
|
|
4
4
|
approved: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class WebSecretsService implements ISecretsService {
|
|
|
23
23
|
unlock(signer?: unknown): Promise<Result<void, VaultError>>;
|
|
24
24
|
lock(): void;
|
|
25
25
|
get(name: string, options?: SecretScopeOptions): ReturnType<ISecretsService["get"]>;
|
|
26
|
-
put(name: string, value: string, options?:
|
|
26
|
+
put(name: string, value: string, options?: SecretPutOptions): ReturnType<ISecretsService["put"]>;
|
|
27
27
|
delete(name: string, options?: SecretScopeOptions): ReturnType<ISecretsService["delete"]>;
|
|
28
28
|
list(options?: SecretScopeOptions): ReturnType<ISecretsService["list"]>;
|
|
29
29
|
listAll(): ReturnType<ISecretsService["listAll"]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinycloud/web-sdk",
|
|
3
|
-
"version": "3.2.0-beta.
|
|
3
|
+
"version": "3.2.0-beta.3",
|
|
4
4
|
"description": "A set of tools and utilities to help you build your app with TinyCloud.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@multiformats/multiaddr": "^13.0.1",
|
|
45
45
|
"@multiformats/multiaddr-to-uri": "^12.0.0",
|
|
46
|
-
"@tinycloud/node-sdk": "3.2.0-beta.
|
|
47
|
-
"@tinycloud/sdk-core": "3.2.0-beta.
|
|
46
|
+
"@tinycloud/node-sdk": "3.2.0-beta.3",
|
|
47
|
+
"@tinycloud/sdk-core": "3.2.0-beta.3",
|
|
48
48
|
"@tinycloud/share-envelope": "1.1.0",
|
|
49
49
|
"@tinycloud/share-sdk": "1.1.0",
|
|
50
50
|
"@tinycloud/web-sdk-wasm": "1.7.6",
|