@dcloudio/uni-app-x 0.7.16 → 0.7.18

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 (24) hide show
  1. package/package.json +1 -1
  2. package/types/native/CanvasRenderingContext2D.d.ts +124 -20
  3. package/types/native/IUniElement.d.ts +1977 -243
  4. package/types/native/Path2D.d.ts +16 -16
  5. package/types/native/UniElement.d.ts +5 -0
  6. package/types/page.d.ts +4 -0
  7. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  8. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  9. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +4 -74
  10. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +12 -0
  11. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +5 -0
  12. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1733 -0
  13. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +12 -0
  14. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +5 -0
  15. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +297 -0
  16. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  17. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/global.d.ts +16 -0
  18. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/index.d.ts +7 -0
  19. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +980 -0
  20. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +1 -0
  21. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +5 -0
  22. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +3 -2
  23. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +23 -1
  24. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +6 -6
@@ -1,5 +1,6 @@
1
1
  import { Interceptor } from '@dcloudio/uni-runtime'
2
2
 
3
+
3
4
  export type AddInterceptorOptions = Interceptor
4
5
  export type RemoveInterceptorOptions = Interceptor
5
6
 
@@ -1030,6 +1030,11 @@ export interface Uni {
1030
1030
  * "uniVer": "√",
1031
1031
  * "unixVer": "4.18"
1032
1032
  * },
1033
+ * "ios": {
1034
+ * "osVer": "12.0",
1035
+ * "uniVer": "√",
1036
+ * "unixVer": "4.25"
1037
+ * },
1033
1038
  * "harmony": {
1034
1039
  * "osVer": "3.0",
1035
1040
  * "uniVer": "4.23",
@@ -57,10 +57,11 @@ export interface Uni {
57
57
  * - 700603 支付结果未知(有可能已经支付成功),请查询商家订单列表中订单的支付状态。
58
58
  * - 700000 其它支付错误。
59
59
  * - 700604 微信没有安装。
60
+ * - 700605 服务供应商获取失败。
60
61
  * - 700800 没有配置对应的URL Scheme。
61
- * - 700801 没有配置对应的universal Link。
62
+ * - 700801 没有配置对应的Universal Link。
62
63
  */
63
- export type RequestPaymentErrorCode = 700600 | 701100 | 701110 | 700601 | 700602 | 700603 | 700000 | 700604 | 700800 | 700801 | 700718;
64
+ export type RequestPaymentErrorCode = 700600 | 701100 | 701110 | 700601 | 700602 | 700603 | 700000 | 700604 | 700605 | 700800 | 700801;
64
65
 
65
66
  export type RequestPayment = (options : RequestPaymentOptions) => void;
66
67
  export type RequestPaymentSuccess = {
@@ -415,7 +415,29 @@ export type AppleIAPTransactionOptions = {
415
415
  * }
416
416
  * }
417
417
  */
418
- transactionIdentifier : string,
418
+ transactionIdentifier : string,
419
+ /**
420
+ * 原始交易日期,示例 2022-01-01 08:00:00
421
+ * @uniPlatform {
422
+ * "app": {
423
+ * "android": {
424
+ * "osVer": "5.0",
425
+ * "uniVer": "x",
426
+ * "unixVer": "x"
427
+ * },
428
+ * "ios": {
429
+ * "osVer": "15.0",
430
+ * "uniVer": "√",
431
+ * "unixVer": "4.25"
432
+ * }
433
+ * },
434
+ * "web": {
435
+ * "uniVer": "x",
436
+ * "unixVer": "x"
437
+ * }
438
+ * }
439
+ */
440
+ originalTransactionDate : Date,
419
441
  /**
420
442
  * 原始交易唯一标识
421
443
  * @uniPlatform {
@@ -305,17 +305,17 @@ export type GetPushClientIdOptions = {
305
305
  * 接口调用成功的回调函数
306
306
  * @defaultValue null
307
307
  */
308
- success : GetPushClientIdSuccessCallback | null,
308
+ success ?: GetPushClientIdSuccessCallback | null,
309
309
  /**
310
310
  * 接口调用失败的回调函数
311
311
  * @defaultValue null
312
312
  */
313
- fail : GetPushClientIdFailCallback | null,
313
+ fail ?: GetPushClientIdFailCallback | null,
314
314
  /**
315
315
  * 接口调用结束的回调函数(调用成功、失败都会执行)
316
316
  * @defaultValue null
317
317
  */
318
- complete : GetPushClientIdCompleteCallback | null
318
+ complete ?: GetPushClientIdCompleteCallback | null
319
319
  };
320
320
  /**
321
321
  * 事件类型
@@ -715,17 +715,17 @@ export type CreatePushMessageOptions = {
715
715
  * 接口调用成功的回调函数
716
716
  * @defaultValue null
717
717
  */
718
- success : CreatePushMessageSuccessCallback | null,
718
+ success ?: CreatePushMessageSuccessCallback | null,
719
719
  /**
720
720
  * 接口调用失败的回调函数
721
721
  * @defaultValue null
722
722
  */
723
- fail : CreatePushMessageFailCallback | null,
723
+ fail ?: CreatePushMessageFailCallback | null,
724
724
  /**
725
725
  * 接口调用结束的回调函数(调用成功、失败都会执行)
726
726
  * @defaultValue null
727
727
  */
728
- complete : CreatePushMessageCompleteCallback | null
728
+ complete ?: CreatePushMessageCompleteCallback | null
729
729
  };
730
730
 
731
731