@jolibox/implement 1.1.10 → 1.1.11-beta.2
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/.rush/temp/package-deps_build.json +20 -17
- package/dist/common/ads/anti-cheating.d.ts +11 -1
- package/dist/common/ads/index.d.ts +4 -9
- package/dist/common/context/index.d.ts +4 -0
- package/dist/common/context/url-parse.d.ts +8 -1
- package/dist/index.js +3 -3
- package/dist/index.native.js +4 -4
- package/dist/native/api/index.d.ts +1 -0
- package/dist/native/api/navigate.d.ts +1 -0
- package/dist/native/bootstrap/bridge.d.ts +1 -1
- package/dist/native/bootstrap/retention.d.ts +1 -0
- package/dist/native/js-bridge/const.d.ts +1 -0
- package/dist/native/js-bridge/publish.d.ts +1 -0
- package/dist/native/js-bridge/subscribe.d.ts +2 -0
- package/dist/native/js-bridge/types.d.ts +4 -0
- package/dist/native/js-core/jolibox-js-core.d.ts +8 -3
- package/implement.build.log +2 -2
- package/package.json +3 -3
- package/src/common/ads/anti-cheating.ts +24 -1
- package/src/common/ads/index.ts +15 -16
- package/src/common/context/index.ts +20 -3
- package/src/common/context/url-parse.ts +21 -1
- package/src/native/api/ads.ts +7 -0
- package/src/native/api/index.ts +1 -0
- package/src/native/api/lifecycle.ts +16 -4
- package/src/native/api/navigate.ts +23 -0
- package/src/native/bootstrap/bridge.ts +10 -1
- package/src/native/bootstrap/index.ts +32 -2
- package/src/native/bootstrap/retention.ts +40 -0
- package/src/native/js-bridge/const.ts +2 -0
- package/src/native/js-bridge/js-bridge.ts +7 -2
- package/src/native/js-bridge/publish.ts +44 -0
- package/src/native/js-bridge/subscribe.ts +25 -1
- package/src/native/js-bridge/types.ts +10 -0
- package/src/native/js-core/jolibox-js-core.ts +29 -25
- package/src/native/types/global.d.ts +1 -0
- package/src/native/types/native-method-map.d.ts +12 -0
|
@@ -255,6 +255,13 @@ declare global {
|
|
|
255
255
|
/** 错误码 */
|
|
256
256
|
errNo?: number;
|
|
257
257
|
};
|
|
258
|
+
|
|
259
|
+
openSchemaSync: (params: { schema: string }) => {
|
|
260
|
+
/** 错误消息 */
|
|
261
|
+
errMsg: string;
|
|
262
|
+
/** 错误码 */
|
|
263
|
+
errNo?: number;
|
|
264
|
+
};
|
|
258
265
|
}
|
|
259
266
|
|
|
260
267
|
interface NativeEventMap {
|
|
@@ -293,6 +300,11 @@ declare global {
|
|
|
293
300
|
token?: string;
|
|
294
301
|
}
|
|
295
302
|
];
|
|
303
|
+
onInfoTapped: [
|
|
304
|
+
{
|
|
305
|
+
uuid: string;
|
|
306
|
+
}
|
|
307
|
+
];
|
|
296
308
|
}
|
|
297
309
|
}
|
|
298
310
|
}
|