@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.
Files changed (37) hide show
  1. package/.rush/temp/package-deps_build.json +20 -17
  2. package/dist/common/ads/anti-cheating.d.ts +11 -1
  3. package/dist/common/ads/index.d.ts +4 -9
  4. package/dist/common/context/index.d.ts +4 -0
  5. package/dist/common/context/url-parse.d.ts +8 -1
  6. package/dist/index.js +3 -3
  7. package/dist/index.native.js +4 -4
  8. package/dist/native/api/index.d.ts +1 -0
  9. package/dist/native/api/navigate.d.ts +1 -0
  10. package/dist/native/bootstrap/bridge.d.ts +1 -1
  11. package/dist/native/bootstrap/retention.d.ts +1 -0
  12. package/dist/native/js-bridge/const.d.ts +1 -0
  13. package/dist/native/js-bridge/publish.d.ts +1 -0
  14. package/dist/native/js-bridge/subscribe.d.ts +2 -0
  15. package/dist/native/js-bridge/types.d.ts +4 -0
  16. package/dist/native/js-core/jolibox-js-core.d.ts +8 -3
  17. package/implement.build.log +2 -2
  18. package/package.json +3 -3
  19. package/src/common/ads/anti-cheating.ts +24 -1
  20. package/src/common/ads/index.ts +15 -16
  21. package/src/common/context/index.ts +20 -3
  22. package/src/common/context/url-parse.ts +21 -1
  23. package/src/native/api/ads.ts +7 -0
  24. package/src/native/api/index.ts +1 -0
  25. package/src/native/api/lifecycle.ts +16 -4
  26. package/src/native/api/navigate.ts +23 -0
  27. package/src/native/bootstrap/bridge.ts +10 -1
  28. package/src/native/bootstrap/index.ts +32 -2
  29. package/src/native/bootstrap/retention.ts +40 -0
  30. package/src/native/js-bridge/const.ts +2 -0
  31. package/src/native/js-bridge/js-bridge.ts +7 -2
  32. package/src/native/js-bridge/publish.ts +44 -0
  33. package/src/native/js-bridge/subscribe.ts +25 -1
  34. package/src/native/js-bridge/types.ts +10 -0
  35. package/src/native/js-core/jolibox-js-core.ts +29 -25
  36. package/src/native/types/global.d.ts +1 -0
  37. 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
  }