@jolibox/native-bridge 1.2.2 → 1.2.4
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.
|
@@ -185,6 +185,21 @@ declare global {
|
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
+
// sync get global storage batch for ios
|
|
189
|
+
getLocalStorageBatchSync: () => {
|
|
190
|
+
errMsg: string;
|
|
191
|
+
/** 错误码 */
|
|
192
|
+
errNo?: number;
|
|
193
|
+
/** 数据缓存 */
|
|
194
|
+
data: {
|
|
195
|
+
items: Array<{
|
|
196
|
+
/** 数据缓存的类型 */
|
|
197
|
+
dataType: string;
|
|
198
|
+
data: string;
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
|
|
188
203
|
// sync set local storage
|
|
189
204
|
setLocalStorageSync: (params: { key: string; data: any; dataType: string }) => {
|
|
190
205
|
/** 错误消息 */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jolibox/native-bridge",
|
|
3
3
|
"description": "This project is Jolibox JS-SDk bridge for Native",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.4",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
],
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@jolibox/common": "1.2.
|
|
15
|
-
"@jolibox/types": "1.2.
|
|
14
|
+
"@jolibox/common": "1.2.4",
|
|
15
|
+
"@jolibox/types": "1.2.4"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"typescript": "5.7.3",
|
|
@@ -185,6 +185,21 @@ declare global {
|
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
+
// sync get global storage batch for ios
|
|
189
|
+
getLocalStorageBatchSync: () => {
|
|
190
|
+
errMsg: string;
|
|
191
|
+
/** 错误码 */
|
|
192
|
+
errNo?: number;
|
|
193
|
+
/** 数据缓存 */
|
|
194
|
+
data: {
|
|
195
|
+
items: Array<{
|
|
196
|
+
/** 数据缓存的类型 */
|
|
197
|
+
dataType: string;
|
|
198
|
+
data: string;
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
|
|
188
203
|
// sync set local storage
|
|
189
204
|
setLocalStorageSync: (params: { key: string; data: any; dataType: string }) => {
|
|
190
205
|
/** 错误消息 */
|