@blocklet/did-space-react 0.5.71 → 0.5.73

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.
@@ -1,5 +1,5 @@
1
1
  declare function useLocale(): {
2
- t: (this: any, key: any, data?: any) => any;
3
- locale: any;
2
+ t: (this: any, key: any, data?: any) => string;
3
+ locale: import("@arcblock/ux/lib/type").Locale;
4
4
  };
5
5
  export default useLocale;
@@ -1,2 +1,2 @@
1
- declare const _default: unknown;
1
+ declare const _default: Record<string, any>;
2
2
  export default _default;
@@ -1,4 +1 @@
1
- export declare const translations: {
2
- zh: unknown;
3
- en: unknown;
4
- };
1
+ export declare const translations: Record<string, Record<string, any>>;
@@ -1,2 +1,2 @@
1
- declare const _default: unknown;
1
+ declare const _default: Record<string, any>;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
1
  declare function useLocale(): {
2
- t: (this: any, key: any, data?: any) => any;
3
- locale: any;
2
+ t: (this: any, key: any, data?: any) => string;
3
+ locale: import("@arcblock/ux/lib/type").Locale;
4
4
  };
5
5
  export default useLocale;
@@ -1,2 +1,2 @@
1
- declare const _default: unknown;
1
+ declare const _default: Record<string, any>;
2
2
  export default _default;
@@ -1,4 +1 @@
1
- export declare const translations: {
2
- zh: unknown;
3
- en: unknown;
4
- };
1
+ export declare const translations: Record<string, Record<string, any>>;
@@ -1,2 +1,2 @@
1
- declare const _default: unknown;
1
+ declare const _default: Record<string, any>;
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/did-space-react",
3
- "version": "0.5.71",
3
+ "version": "0.5.73",
4
4
  "description": "Reusable react components for did space",
5
5
  "keywords": [
6
6
  "react",
@@ -84,17 +84,17 @@
84
84
  }
85
85
  },
86
86
  "dependencies": {
87
- "@arcblock/did": "^1.18.147",
88
- "@arcblock/did-connect": "^2.10.67",
89
- "@arcblock/ux": "^2.10.67",
87
+ "@arcblock/did": "^1.18.150",
88
+ "@arcblock/did-connect": "^2.10.74",
89
+ "@arcblock/ux": "^2.10.74",
90
90
  "@blocklet/js-sdk": "^1.16.33",
91
91
  "@blocklet/sdk": "^1.16.33",
92
- "@mui/icons-material": "^5.16.7",
93
- "@mui/lab": "^5.0.0-alpha.173",
94
- "@mui/material": "^5.16.7",
95
- "@mui/system": "^5.16.7",
92
+ "@mui/icons-material": "^5.16.8",
93
+ "@mui/lab": "^5.0.0-alpha.174",
94
+ "@mui/material": "^5.16.8",
95
+ "@mui/system": "^5.16.8",
96
96
  "ahooks": "^3.8.1",
97
- "axios": "^1.7.7",
97
+ "axios": "^1.7.8",
98
98
  "flat": "^5.0.2",
99
99
  "is-url": "^1.2.4",
100
100
  "lodash": "^4.17.21",
@@ -127,7 +127,7 @@
127
127
  "@types/react": "^18.3.12",
128
128
  "@types/react-dom": "^18.3.1",
129
129
  "@vitejs/plugin-legacy": "^5.4.3",
130
- "@vitest/coverage-v8": "^2.1.5",
130
+ "@vitest/coverage-v8": "^2.1.6",
131
131
  "babel-plugin-inline-react-svg": "^2.0.2",
132
132
  "copyfiles": "^2.4.1",
133
133
  "eslint": "^8.57.1",
@@ -137,13 +137,13 @@
137
137
  "react-dom": "^18.3.1",
138
138
  "rollup-plugin-node-builtins": "^2.1.2",
139
139
  "storybook": "^7.6.20",
140
- "type-fest": "^4.27.0",
140
+ "type-fest": "^4.29.0",
141
141
  "typescript": "~5.5.4",
142
142
  "unbuild": "^2.0.0",
143
143
  "vite": "^5.4.11",
144
144
  "vite-plugin-babel": "^1.2.0",
145
145
  "vite-plugin-node-polyfills": "^0.22.0",
146
- "vitest": "^2.1.5"
146
+ "vitest": "^2.1.6"
147
147
  },
148
- "gitHead": "7e29ad79c4997c0f3029ab75fb0193f9a3cd05b7"
148
+ "gitHead": "bd3e856f8bc97b7606db53ccaf77321ebd656a7f"
149
149
  }