@dcloudio/uni-app-x 0.7.52 → 0.7.53

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 (61) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +1 -1
  3. package/types/native/DrawableContext.d.ts +6 -1
  4. package/types/native/UniElement.d.ts +3 -1
  5. package/types/native/UniNativeApp.d.ts +1 -1
  6. package/types/native/UniNativePage.d.ts +54 -0
  7. package/types/native/UniPage.d.ts +111 -6
  8. package/types/page.d.ts +6 -0
  9. package/types/uni/env/index.d.ts +35 -2
  10. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +2 -0
  11. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +1 -0
  12. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +425 -70
  13. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +2 -2
  14. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +2 -2
  15. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -2
  16. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +2 -2
  17. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -3
  18. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +30 -5
  19. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +17 -17
  20. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +83 -85
  21. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +77 -0
  22. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  23. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +2 -0
  24. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +1 -0
  25. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +7 -1
  26. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -0
  27. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -0
  28. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +9 -1
  29. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +2 -0
  30. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +1 -0
  31. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +9 -1
  32. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +217 -138
  33. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +18 -0
  34. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +7 -3
  35. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2570 -2780
  36. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -0
  37. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -0
  38. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +98 -2
  39. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2 -2
  40. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +2 -0
  41. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +1 -0
  42. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -3
  43. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +2 -0
  44. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +1 -0
  45. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +9 -1
  46. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +2 -0
  47. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +1 -0
  48. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +10 -1
  49. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +50 -50
  50. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +3 -5
  51. package/types/uni/uts-plugin-biz/global.d.ts +1 -1
  52. package/types/uni/uts-plugin-biz/index.d.ts +1 -1
  53. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/global.d.ts +28 -0
  54. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/index.d.ts +13 -0
  55. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +212 -0
  56. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +509 -84
  57. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +20 -20
  58. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +2 -0
  59. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +1 -0
  60. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +2 -0
  61. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +14 -14
@@ -5,6 +5,12 @@ import {
5
5
  UniShowModalFail as UniShowModalFailOrigin,
6
6
  ShowModalOptions as ShowModalOptionsOrigin,
7
7
  ShowModal as ShowModalOrigin,
8
+ ModalPage as ModalPageOrigin,
9
+ UniHideModalResult as UniHideModalResultOrigin,
10
+ UniHideModalErrorCode as UniHideModalErrorCodeOrigin,
11
+ UniHideModalFail as UniHideModalFailOrigin,
12
+ HideModalOptions as HideModalOptionsOrigin,
13
+ HideModal as HideModalOrigin,
8
14
  Uni as UniOrigin
9
15
  } from './interface'
10
16
 
@@ -14,5 +20,11 @@ declare global {
14
20
  type UniShowModalFail = UniShowModalFailOrigin
15
21
  type ShowModalOptions = ShowModalOptionsOrigin
16
22
  type ShowModal = ShowModalOrigin
23
+ type ModalPage = ModalPageOrigin
24
+ type UniHideModalResult = UniHideModalResultOrigin
25
+ type UniHideModalErrorCode = UniHideModalErrorCodeOrigin
26
+ type UniHideModalFail = UniHideModalFailOrigin
27
+ type HideModalOptions = HideModalOptionsOrigin
28
+ type HideModal = HideModalOrigin
17
29
  interface Uni extends UniOrigin { }
18
30
  }
@@ -5,4 +5,10 @@ export {
5
5
  UniShowModalFail,
6
6
  ShowModalOptions,
7
7
  ShowModal,
8
+ ModalPage,
9
+ UniHideModalResult,
10
+ UniHideModalErrorCode,
11
+ UniHideModalFail,
12
+ HideModalOptions,
13
+ HideModal,
8
14
  } from './interface'
@@ -662,7 +662,60 @@ export type ShowModalOptions = {
662
662
  complete?: UniShowModalCompleteCallback | null
663
663
  }
664
664
 
665
- export type ShowModal = (options: ShowModalOptions) => void;
665
+ export type ShowModal = (options: ShowModalOptions) => ModalPage | null;
666
+
667
+ export type ModalPage = UniPage;
668
+
669
+ /**
670
+ * HideModal 数据结构定义
671
+ */
672
+ export type UniHideModalResult = {
673
+
674
+ }
675
+
676
+ export type UniHideModalErrorCode = 4
677
+
678
+ export interface UniHideModalFail extends IUniError {
679
+ errCode: UniHideModalErrorCode
680
+ }
681
+
682
+ export class UniHideModalFailImpl extends UniError implements UniHideModalFail {
683
+ override errCode: UniHideModalErrorCode
684
+ constructor(errMsg: string = 'hideModal:fail cancel', errCode: UniHideModalErrorCode = 4) {
685
+ super()
686
+ this.errMsg = errMsg
687
+ this.errCode = errCode
688
+ }
689
+ }
690
+
691
+ type UniHideModalFailCallback = (result: UniHideModalFail) => void
692
+
693
+ type UniHideModalSuccessCallback = (result: UniHideModalResult) => void
694
+
695
+ type UniHideModalCompleteCallback = (result: any) => void
696
+
697
+
698
+ export type HideModalOptions = {
699
+ /**
700
+ * 期望隐藏的目标modal 如果为null 会关闭当前栈顶全部modal
701
+ */
702
+ modalPage?: ModalPage | null,
703
+ /**
704
+ * 接口调用成功的回调函数
705
+ */
706
+ success?: UniHideModalSuccessCallback | null,
707
+ /**
708
+ * 接口调用失败的回调函数
709
+ */
710
+ fail?: UniHideModalFailCallback | null,
711
+ /**
712
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
713
+ */
714
+ complete?: UniHideModalCompleteCallback | null
715
+ }
716
+
717
+ export type HideModal = (options: HideModalOptions | null) => void;
718
+
666
719
 
667
720
  export interface Uni {
668
721
 
@@ -756,7 +809,50 @@ export interface Uni {
756
809
  * }
757
810
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showModal.html
758
811
  */
759
- showModal(options: ShowModalOptions): void,
812
+ showModal(options: ShowModalOptions): ModalPage | null,
760
813
 
814
+ /**
815
+ * @description 隐藏已弹出的对话框实例,如果 `modalPage` 参数为空,则隐藏当前栈顶全部对话框
816
+ * @example
817
+ ```typescript
818
+ uni.hideModal({
819
+ modalPage:null,
820
+ success: function (res) {
821
+ }
822
+ });
823
+ ```
824
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidemodal
825
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidemodal
826
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidemodal
827
+ * @uniPlatform
828
+ {
829
+ "app": {
830
+ "android": {
831
+ "osVer": "5.0",
832
+ "uniVer": "x",
833
+ "uniUtsPlugin": "x",
834
+ "unixVer": "4.61",
835
+ "unixUtsPlugin": "4.61"
836
+ },
837
+ "ios": {
838
+ "osVer": "12.0",
839
+ "uniVer": "x",
840
+ "uniUtsPlugin": "x",
841
+ "unixVer": "4.61",
842
+ "unixUtsPlugin": "4.61"
843
+ },
844
+ "harmony": {
845
+ "osVer": "x",
846
+ "uniVer": "x",
847
+ "unixVer": "x"
848
+ }
849
+ },
850
+ "web": {
851
+ "uniVer": "x",
852
+ "unixVer": "4.61"
853
+ }
854
+ }
855
+ */
856
+ hideModal(options: HideModalOptions | null):void
761
857
  }
762
858
 
@@ -80,7 +80,7 @@ export type RequestOptions<T> = {
80
80
  */
81
81
  url: string,
82
82
  /**
83
- * 请求的参数 在`app-android端,参数类型只能为`UTSJSONObject`或者`string`类型,app-android平台从 4.51版本开始支持ArrayBuffer
83
+ * 请求的参数 在`app-android端,参数类型只能为`UTSJSONObject`或者`string`类型,app-android平台从 4.51版本开始支持ArrayBuffer, app-ios平台从 4.61版本开始支持ArrayBuffer
84
84
  * @type {RequestDataOptions}
85
85
  * @defaultValue null
86
86
  * @uniPlatform
@@ -561,7 +561,7 @@ export type RequestOptions<T> = {
561
561
 
562
562
  export type RequestSuccess<T> = {
563
563
  /**
564
- * 开发者服务器返回的数据
564
+ * 开发者服务器返回的数据, app-android平台从 4.51版本开始支持ArrayBuffer, app-ios平台从 4.61版本开始支持ArrayBuffer
565
565
  * @type {RequestDataOptions}
566
566
  * @uniPlatform
567
567
  {
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  RequestPaymentFailImpl as RequestPaymentFailImplOrigin,
4
4
  UniPaymentProvider as UniPaymentProviderOrigin,
5
+ UniPaymentProvider as UniPaymentProviderOrigin,
5
6
  RequestPaymentErrorCode as RequestPaymentErrorCodeOrigin,
6
7
  RequestPayment as RequestPaymentOrigin,
7
8
  RequestPaymentSuccess as RequestPaymentSuccessOrigin,
@@ -18,6 +19,7 @@ import {
18
19
  declare global {
19
20
  type RequestPaymentFailImpl = RequestPaymentFailImplOrigin
20
21
  type UniPaymentProvider = UniPaymentProviderOrigin
22
+ type UniPaymentProvider = UniPaymentProviderOrigin
21
23
  type RequestPaymentErrorCode = RequestPaymentErrorCodeOrigin
22
24
  type RequestPayment = RequestPaymentOrigin
23
25
  type RequestPaymentSuccess = RequestPaymentSuccessOrigin
@@ -2,6 +2,7 @@
2
2
  export {
3
3
  RequestPaymentFailImpl,
4
4
  UniPaymentProvider,
5
+ UniPaymentProvider,
5
6
  RequestPaymentErrorCode,
6
7
  RequestPayment,
7
8
  RequestPaymentSuccess,
@@ -1,9 +1,17 @@
1
1
  import { RequestPaymentFailImpl as RequestPaymentFailImplement } from './unierror.uts'
2
2
 
3
3
  export type RequestPaymentFailImpl = RequestPaymentFailImplement
4
- export interface UniPaymentProvider extends UniProvider {
5
- requestPayment(options: RequestPaymentOptions): void;
6
- }
4
+
5
+ // #ifdef APP-IOS
6
+ export interface UniPaymentProvider extends Uni, JSExport { }
7
+ // #endif
8
+
9
+ // #ifndef APP-IOS
10
+ export interface UniPaymentProvider extends UniProvider {
11
+ requestPayment(options : RequestPaymentOptions) : void;
12
+ }
13
+ // #endif
14
+
7
15
  export interface Uni {
8
16
  /**
9
17
  * @description 请求支付
@@ -1,8 +1,10 @@
1
1
  // 本文件为自动构建生成
2
2
  import {
3
3
  UniPaymentAlipayProvider as UniPaymentAlipayProviderOrigin,
4
+ UniPaymentAlipayProvider as UniPaymentAlipayProviderOrigin,
4
5
  } from './interface'
5
6
 
6
7
  declare global {
7
8
  type UniPaymentAlipayProvider = UniPaymentAlipayProviderOrigin
9
+ type UniPaymentAlipayProvider = UniPaymentAlipayProviderOrigin
8
10
  }
@@ -1,4 +1,5 @@
1
1
  // 本文件为自动构建生成
2
2
  export {
3
3
  UniPaymentAlipayProvider,
4
+ UniPaymentAlipayProvider,
4
5
  } from './interface'
@@ -1 +1,9 @@
1
- export interface UniPaymentAlipayProvider extends UniPaymentProvider{}
1
+ // #ifdef APP-IOS
2
+ export interface UniPaymentAlipayProvider extends UniPaymentProvider, JSExport {
3
+ toJSON() : Map<String, Any>
4
+ }
5
+ // #endif
6
+
7
+ // #ifndef APP-IOS
8
+ export interface UniPaymentAlipayProvider extends UniPaymentProvider { }
9
+ // #endif
@@ -1,8 +1,10 @@
1
1
  // 本文件为自动构建生成
2
2
  import {
3
3
  UniPaymentWxpayProvider as UniPaymentWxpayProviderOrigin,
4
+ UniPaymentWxpayProvider as UniPaymentWxpayProviderOrigin,
4
5
  } from './interface'
5
6
 
6
7
  declare global {
7
8
  type UniPaymentWxpayProvider = UniPaymentWxpayProviderOrigin
9
+ type UniPaymentWxpayProvider = UniPaymentWxpayProviderOrigin
8
10
  }
@@ -1,4 +1,5 @@
1
1
  // 本文件为自动构建生成
2
2
  export {
3
3
  UniPaymentWxpayProvider,
4
+ UniPaymentWxpayProvider,
4
5
  } from './interface'
@@ -1,3 +1,12 @@
1
+ // #ifdef APP-IOS
2
+ export interface UniPaymentWxpayProvider extends UniPaymentProvider, JSExport {
3
+ toJSON() : Map<String, Any>
4
+ isWeChatInstalled : boolean
5
+ }
6
+ // #endif
7
+
8
+ // #ifndef APP-IOS
1
9
  export interface UniPaymentWxpayProvider extends UniPaymentProvider {
2
10
  isWeChatInstalled : boolean
3
- }
11
+ }
12
+ // #endif
@@ -5,13 +5,13 @@ export interface Uni {
5
5
  * "app": {
6
6
  * "android": {
7
7
  * "osVer": "5.0",
8
- * "uniVer": "4.54",
9
- * "unixVer": "4.54"
8
+ * "uniVer": "4.61",
9
+ * "unixVer": "4.61"
10
10
  * },
11
11
  * "ios": {
12
12
  * "osVer": "12.0",
13
- * "uniVer": "4.54",
14
- * "unixVer": "4.54"
13
+ * "uniVer": "4.61",
14
+ * "unixVer": "4.61"
15
15
  * },
16
16
  * "harmony": {
17
17
  * "osVer": "3.0",
@@ -27,7 +27,7 @@ export interface Uni {
27
27
  * "weixin": {
28
28
  * "hostVer": "3.3.0",
29
29
  * "uniVer": "√",
30
- * "unixVer": "4.54"
30
+ * "unixVer": "4.61"
31
31
  * },
32
32
  * "alipay": {
33
33
  * "hostVer": "x",
@@ -79,13 +79,13 @@ export type RequestMerchantTransferOptions = {
79
79
  "app": {
80
80
  "android": {
81
81
  "osVer": "5.0",
82
- "uniVer": "4.54",
83
- "unixVer": "4.54"
82
+ "uniVer": "4.61",
83
+ "unixVer": "4.61"
84
84
  },
85
85
  "ios": {
86
86
  "osVer": "12.0",
87
- "uniVer": "4.54",
88
- "unixVer": "4.54"
87
+ "uniVer": "4.61",
88
+ "unixVer": "4.61"
89
89
  },
90
90
  "harmony": {
91
91
  "osVer": "3.0",
@@ -101,7 +101,7 @@ export type RequestMerchantTransferOptions = {
101
101
  "weixin": {
102
102
  "hostVer": "√",
103
103
  "uniVer": "√",
104
- "unixVer": "4.54"
104
+ "unixVer": "4.61"
105
105
  },
106
106
  "alipay": {
107
107
  "hostVer": "x",
@@ -148,13 +148,13 @@ export type RequestMerchantTransferOptions = {
148
148
  "app": {
149
149
  "android": {
150
150
  "osVer": "5.0",
151
- "uniVer": "4.54",
152
- "unixVer": "4.54"
151
+ "uniVer": "4.61",
152
+ "unixVer": "4.61"
153
153
  },
154
154
  "ios": {
155
155
  "osVer": "12.0",
156
- "uniVer": "4.54",
157
- "unixVer": "4.54"
156
+ "uniVer": "4.61",
157
+ "unixVer": "4.61"
158
158
  },
159
159
  "harmony": {
160
160
  "osVer": "3.0",
@@ -170,7 +170,7 @@ export type RequestMerchantTransferOptions = {
170
170
  "weixin": {
171
171
  "hostVer": "√",
172
172
  "uniVer": "√",
173
- "unixVer": "4.54"
173
+ "unixVer": "4.61"
174
174
  },
175
175
  "alipay": {
176
176
  "hostVer": "x",
@@ -217,13 +217,13 @@ export type RequestMerchantTransferOptions = {
217
217
  "app": {
218
218
  "android": {
219
219
  "osVer": "5.0",
220
- "uniVer": "4.54",
221
- "unixVer": "4.54"
220
+ "uniVer": "4.61",
221
+ "unixVer": "4.61"
222
222
  },
223
223
  "ios": {
224
224
  "osVer": "12.0",
225
- "uniVer": "4.54",
226
- "unixVer": "4.54"
225
+ "uniVer": "4.61",
226
+ "unixVer": "4.61"
227
227
  },
228
228
  "harmony": {
229
229
  "osVer": "3.0",
@@ -239,7 +239,7 @@ export type RequestMerchantTransferOptions = {
239
239
  "weixin": {
240
240
  "hostVer": "√",
241
241
  "uniVer": "√",
242
- "unixVer": "4.54"
242
+ "unixVer": "4.61"
243
243
  },
244
244
  "alipay": {
245
245
  "hostVer": "x",
@@ -286,13 +286,13 @@ export type RequestMerchantTransferOptions = {
286
286
  "app": {
287
287
  "android": {
288
288
  "osVer": "5.0",
289
- "uniVer": "4.54",
290
- "unixVer": "4.54"
289
+ "uniVer": "4.61",
290
+ "unixVer": "4.61"
291
291
  },
292
292
  "ios": {
293
293
  "osVer": "12.0",
294
- "uniVer": "4.54",
295
- "unixVer": "4.54"
294
+ "uniVer": "4.61",
295
+ "unixVer": "4.61"
296
296
  },
297
297
  "harmony": {
298
298
  "osVer": "3.0",
@@ -308,7 +308,7 @@ export type RequestMerchantTransferOptions = {
308
308
  "weixin": {
309
309
  "hostVer": "√",
310
310
  "uniVer": "√",
311
- "unixVer": "4.54"
311
+ "unixVer": "4.61"
312
312
  },
313
313
  "alipay": {
314
314
  "hostVer": "x",
@@ -355,13 +355,13 @@ export type RequestMerchantTransferOptions = {
355
355
  "app": {
356
356
  "android": {
357
357
  "osVer": "5.0",
358
- "uniVer": "4.54",
359
- "unixVer": "4.54"
358
+ "uniVer": "4.61",
359
+ "unixVer": "4.61"
360
360
  },
361
361
  "ios": {
362
362
  "osVer": "12.0",
363
- "uniVer": "4.54",
364
- "unixVer": "4.54"
363
+ "uniVer": "4.61",
364
+ "unixVer": "4.61"
365
365
  },
366
366
  "harmony": {
367
367
  "osVer": "3.0",
@@ -377,7 +377,7 @@ export type RequestMerchantTransferOptions = {
377
377
  "weixin": {
378
378
  "hostVer": "√",
379
379
  "uniVer": "√",
380
- "unixVer": "4.54"
380
+ "unixVer": "4.61"
381
381
  },
382
382
  "alipay": {
383
383
  "hostVer": "x",
@@ -424,13 +424,13 @@ export type RequestMerchantTransferOptions = {
424
424
  "app": {
425
425
  "android": {
426
426
  "osVer": "5.0",
427
- "uniVer": "4.54",
428
- "unixVer": "4.54"
427
+ "uniVer": "4.61",
428
+ "unixVer": "4.61"
429
429
  },
430
430
  "ios": {
431
431
  "osVer": "12.0",
432
- "uniVer": "4.54",
433
- "unixVer": "4.54"
432
+ "uniVer": "4.61",
433
+ "unixVer": "4.61"
434
434
  },
435
435
  "harmony": {
436
436
  "osVer": "3.0",
@@ -446,7 +446,7 @@ export type RequestMerchantTransferOptions = {
446
446
  "weixin": {
447
447
  "hostVer": "√",
448
448
  "uniVer": "√",
449
- "unixVer": "4.54"
449
+ "unixVer": "4.61"
450
450
  },
451
451
  "alipay": {
452
452
  "hostVer": "x",
@@ -493,13 +493,13 @@ export type RequestMerchantTransferOptions = {
493
493
  "app": {
494
494
  "android": {
495
495
  "osVer": "5.0",
496
- "uniVer": "4.54",
497
- "unixVer": "4.54"
496
+ "uniVer": "4.61",
497
+ "unixVer": "4.61"
498
498
  },
499
499
  "ios": {
500
500
  "osVer": "12.0",
501
- "uniVer": "4.54",
502
- "unixVer": "4.54"
501
+ "uniVer": "4.61",
502
+ "unixVer": "4.61"
503
503
  },
504
504
  "harmony": {
505
505
  "osVer": "3.0",
@@ -515,7 +515,7 @@ export type RequestMerchantTransferOptions = {
515
515
  "weixin": {
516
516
  "hostVer": "√",
517
517
  "uniVer": "√",
518
- "unixVer": "4.54"
518
+ "unixVer": "4.61"
519
519
  },
520
520
  "alipay": {
521
521
  "hostVer": "x",
@@ -562,13 +562,13 @@ export type RequestMerchantTransferOptions = {
562
562
  "app": {
563
563
  "android": {
564
564
  "osVer": "5.0",
565
- "uniVer": "4.54",
566
- "unixVer": "4.54"
565
+ "uniVer": "4.61",
566
+ "unixVer": "4.61"
567
567
  },
568
568
  "ios": {
569
569
  "osVer": "12.0",
570
- "uniVer": "4.54",
571
- "unixVer": "4.54"
570
+ "uniVer": "4.61",
571
+ "unixVer": "4.61"
572
572
  },
573
573
  "harmony": {
574
574
  "osVer": "3.0",
@@ -584,7 +584,7 @@ export type RequestMerchantTransferOptions = {
584
584
  "weixin": {
585
585
  "hostVer": "√",
586
586
  "uniVer": "√",
587
- "unixVer": "4.54"
587
+ "unixVer": "4.61"
588
588
  },
589
589
  "alipay": {
590
590
  "hostVer": "x",
@@ -631,13 +631,13 @@ export type RequestMerchantTransferOptions = {
631
631
  "app": {
632
632
  "android": {
633
633
  "osVer": "5.0",
634
- "uniVer": "4.54",
635
- "unixVer": "4.54"
634
+ "uniVer": "4.61",
635
+ "unixVer": "4.61"
636
636
  },
637
637
  "ios": {
638
638
  "osVer": "12.0",
639
- "uniVer": "4.54",
640
- "unixVer": "4.54"
639
+ "uniVer": "4.61",
640
+ "unixVer": "4.61"
641
641
  },
642
642
  "harmony": {
643
643
  "osVer": "3.0",
@@ -653,7 +653,7 @@ export type RequestMerchantTransferOptions = {
653
653
  "weixin": {
654
654
  "hostVer": "√",
655
655
  "uniVer": "√",
656
- "unixVer": "4.54"
656
+ "unixVer": "4.61"
657
657
  },
658
658
  "alipay": {
659
659
  "hostVer": "x",
@@ -23,9 +23,7 @@ export interface Uni {
23
23
  * "harmony": {
24
24
  * "osVer": "3.0",
25
25
  * "uniVer": "4.23",
26
- * "unixVer": "4.61",
27
- * "uniUtsPlugin": "4.23",
28
- * "unixUtsPlugin": "4.61"
26
+ * "unixVer": "4.61"
29
27
  * }
30
28
  * },
31
29
  * "mp": {
@@ -1344,7 +1342,7 @@ export interface SendSocketMessageFail extends IUniError {
1344
1342
  };
1345
1343
  export type SendSocketMessageOptions = {
1346
1344
  /**
1347
- * 需要发送的内容
1345
+ * 需要发送的内容, app平台从 4.61 版本开始支持ArrayBuffer
1348
1346
  * @type string | ArrayBuffer
1349
1347
  * @type {SocketDataOptions}
1350
1348
  * @uniPlatform
@@ -1938,7 +1936,7 @@ export type OnSocketOpenCallbackResult = {
1938
1936
 
1939
1937
  export type OnSocketMessageCallbackResult = {
1940
1938
  /**
1941
- * 服务器返回的消息
1939
+ * 服务器返回的消息, app平台从 4.61 版本开始支持ArrayBuffer
1942
1940
  * @type {SocketDataOptions}
1943
1941
  * @uniPlatform
1944
1942
  {
@@ -1,6 +1,6 @@
1
1
  /// <reference path='./lib/uni-ad/utssdk/global.d.ts' />
2
2
  /// <reference path='./lib/uni-crash/utssdk/global.d.ts' />
3
- /// <reference path='./lib/uni-facialRecognitionVerify/utssdk/global.d.ts' />
3
+ /// <reference path='./lib/uni-facialVerify/utssdk/global.d.ts' />
4
4
  /// <reference path='./lib/uni-map-tencent/utssdk/global.d.ts' />
5
5
  /// <reference path='./lib/uni-push/utssdk/global.d.ts' />
6
6
  /// <reference path='./lib/uni-secure-network/utssdk/global.d.ts' />
@@ -1,6 +1,6 @@
1
1
  export * from './lib/uni-ad/utssdk'
2
2
  export * from './lib/uni-crash/utssdk'
3
- export * from './lib/uni-facialRecognitionVerify/utssdk'
3
+ export * from './lib/uni-facialVerify/utssdk'
4
4
  export * from './lib/uni-map-tencent/utssdk'
5
5
  export * from './lib/uni-push/utssdk'
6
6
  export * from './lib/uni-secure-network/utssdk'
@@ -0,0 +1,28 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ FacialRecognitionVerifyErrorCode as FacialRecognitionVerifyErrorCodeOrigin,
4
+ StartFacialRecognitionVerifyScreenOrientation as StartFacialRecognitionVerifyScreenOrientationOrigin,
5
+ IFacialRecognitionVerifyError as IFacialRecognitionVerifyErrorOrigin,
6
+ StartFacialRecognitionVerifySuccess as StartFacialRecognitionVerifySuccessOrigin,
7
+ StartFacialRecognitionVerifySuccessCallback as StartFacialRecognitionVerifySuccessCallbackOrigin,
8
+ StartFacialRecognitionVerifyFailCallback as StartFacialRecognitionVerifyFailCallbackOrigin,
9
+ StartFacialRecognitionVerifyCompleteCallback as StartFacialRecognitionVerifyCompleteCallbackOrigin,
10
+ StartFacialRecognitionVerifyOptions as StartFacialRecognitionVerifyOptionsOrigin,
11
+ GetFacialRecognitionMetaInfo as GetFacialRecognitionMetaInfoOrigin,
12
+ StartFacialRecognitionVerify as StartFacialRecognitionVerifyOrigin,
13
+ Uni as UniOrigin
14
+ } from './interface'
15
+
16
+ declare global {
17
+ type FacialRecognitionVerifyErrorCode = FacialRecognitionVerifyErrorCodeOrigin
18
+ type StartFacialRecognitionVerifyScreenOrientation = StartFacialRecognitionVerifyScreenOrientationOrigin
19
+ type IFacialRecognitionVerifyError = IFacialRecognitionVerifyErrorOrigin
20
+ type StartFacialRecognitionVerifySuccess = StartFacialRecognitionVerifySuccessOrigin
21
+ type StartFacialRecognitionVerifySuccessCallback = StartFacialRecognitionVerifySuccessCallbackOrigin
22
+ type StartFacialRecognitionVerifyFailCallback = StartFacialRecognitionVerifyFailCallbackOrigin
23
+ type StartFacialRecognitionVerifyCompleteCallback = StartFacialRecognitionVerifyCompleteCallbackOrigin
24
+ type StartFacialRecognitionVerifyOptions = StartFacialRecognitionVerifyOptionsOrigin
25
+ type GetFacialRecognitionMetaInfo = GetFacialRecognitionMetaInfoOrigin
26
+ type StartFacialRecognitionVerify = StartFacialRecognitionVerifyOrigin
27
+ interface Uni extends UniOrigin { }
28
+ }
@@ -0,0 +1,13 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ FacialRecognitionVerifyErrorCode,
4
+ StartFacialRecognitionVerifyScreenOrientation,
5
+ IFacialRecognitionVerifyError,
6
+ StartFacialRecognitionVerifySuccess,
7
+ StartFacialRecognitionVerifySuccessCallback,
8
+ StartFacialRecognitionVerifyFailCallback,
9
+ StartFacialRecognitionVerifyCompleteCallback,
10
+ StartFacialRecognitionVerifyOptions,
11
+ GetFacialRecognitionMetaInfo,
12
+ StartFacialRecognitionVerify,
13
+ } from './interface'