@tinycloud/web-sdk 1.3.0 → 1.6.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/authorization/WebUserAuthorization.d.ts +2 -0
- package/dist/authorization/WebUserAuthorization.d.ts.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/{index.js → index.mjs} +1 -1
- package/dist/notifications/types.schema.d.ts +6 -6
- package/package.json +19 -9
|
@@ -53,27 +53,27 @@ export declare const ToastSchema: z.ZodObject<{
|
|
|
53
53
|
}>>;
|
|
54
54
|
timestamp: z.ZodNumber;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
|
|
56
|
+
description?: string;
|
|
57
57
|
id?: string;
|
|
58
|
-
timestamp?: number;
|
|
59
58
|
type?: "error" | "success" | "warning" | "info" | "loading";
|
|
60
|
-
|
|
59
|
+
title?: string;
|
|
61
60
|
duration?: number;
|
|
62
61
|
action?: {
|
|
63
62
|
label?: string;
|
|
64
63
|
onClick?: (...args: unknown[]) => unknown;
|
|
65
64
|
};
|
|
65
|
+
timestamp?: number;
|
|
66
66
|
}, {
|
|
67
|
-
|
|
67
|
+
description?: string;
|
|
68
68
|
id?: string;
|
|
69
|
-
timestamp?: number;
|
|
70
69
|
type?: "error" | "success" | "warning" | "info" | "loading";
|
|
71
|
-
|
|
70
|
+
title?: string;
|
|
72
71
|
duration?: number;
|
|
73
72
|
action?: {
|
|
74
73
|
label?: string;
|
|
75
74
|
onClick?: (...args: unknown[]) => unknown;
|
|
76
75
|
};
|
|
76
|
+
timestamp?: number;
|
|
77
77
|
}>;
|
|
78
78
|
export type Toast = z.infer<typeof ToastSchema>;
|
|
79
79
|
/**
|
package/package.json
CHANGED
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinycloud/web-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "A set of tools and utilities to help you build your app with TinyCloud.",
|
|
5
|
-
"main": "dist/index.
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"default": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
|
+
},
|
|
7
17
|
"repository": {
|
|
8
18
|
"type": "git",
|
|
9
19
|
"url": "ssh://git@github.com:TinyCloudLabs/web-sdk.git"
|
|
10
20
|
},
|
|
11
|
-
"type": "
|
|
21
|
+
"type": "module",
|
|
12
22
|
"author": "TinyCloud, Inc.",
|
|
13
23
|
"license": "EGPL",
|
|
14
24
|
"scripts": {
|
|
15
|
-
"build": "webpack --mode production",
|
|
16
|
-
"dev": "webpack --watch",
|
|
17
|
-
"watch": "webpack --watch",
|
|
25
|
+
"build": "webpack --mode production --config webpack.config.cjs",
|
|
26
|
+
"dev": "webpack --watch --config webpack.config.cjs",
|
|
27
|
+
"watch": "webpack --watch --config webpack.config.cjs",
|
|
18
28
|
"doc": "bun run doc:extractor && bun run doc:documenter",
|
|
19
29
|
"doc:extractor": "api-extractor run --local --diagnostics",
|
|
20
30
|
"doc:documenter": "api-documenter markdown -i temp -o ../../documentation/docs/web-sdk/api",
|
|
@@ -26,9 +36,9 @@
|
|
|
26
36
|
"@metamask/detect-provider": "^1.2.0",
|
|
27
37
|
"@multiformats/multiaddr": "^13.0.1",
|
|
28
38
|
"@multiformats/multiaddr-to-uri": "^12.0.0",
|
|
29
|
-
"@tinycloud/sdk-core": "^1.
|
|
30
|
-
"@tinycloud/web-core": "^1.
|
|
31
|
-
"@tinycloud/web-sdk-wasm": "^1.0
|
|
39
|
+
"@tinycloud/sdk-core": "^1.6.0",
|
|
40
|
+
"@tinycloud/web-core": "^1.6.0",
|
|
41
|
+
"@tinycloud/web-sdk-wasm": "^1.6.0",
|
|
32
42
|
"assert": "^2.1.0",
|
|
33
43
|
"axios": "^1.7.9",
|
|
34
44
|
"browser": "^0.2.6",
|