@alipay/ams-checkout 0.0.1784542444-dev.7 → 0.0.1784542444-dev.9

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.
@@ -296,6 +296,6 @@ export var LogConfig = {
296
296
  version: 'iteration/20231021',
297
297
  mdata: {
298
298
  firstLogTime: Date.now(),
299
- sdkVersion: "0.0.1784542444-dev.7"
299
+ sdkVersion: "0.0.1784542444-dev.9"
300
300
  }
301
301
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1784542444-dev.7",
3
+ "version": "0.0.1784542444-dev.9",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "exports": {
package/types.d.ts CHANGED
@@ -3165,10 +3165,12 @@ export declare interface ExpressAppConfig extends BaseAppearance<AppearanceSetti
3165
3165
  */
3166
3166
  paymentMethods?: string[];
3167
3167
  /* Excluded from this release type: setupError */
3168
+ /* Excluded from this release type: locale */
3168
3169
  /**
3169
- * Locale for internationalization, passed from entry params (loadAntom), default to en_US
3170
+ * 是否运行在 Native App WebView 中。
3171
+ * 为 true 时,跳转通过 onRedirect 事件委托给 Native 端处理。
3170
3172
  */
3171
- locale?: string;
3173
+ isNativeAppWebview?: boolean;
3172
3174
  /* Excluded from this release type: merchantDomain */
3173
3175
  /* Excluded from this release type: doMain */
3174
3176
  }
@@ -3363,6 +3365,13 @@ export declare interface ExpressElementEvents extends AntomBridgeWithNativeEvent
3363
3365
  error?: ErrorPayload<string>;
3364
3366
  };
3365
3367
  'OPENSDK@COMPLETE_PAYMENT_REJECT': Record<string, never>;
3368
+ onRedirect: {
3369
+ normalUrl: string;
3370
+ applinkUrl?: string;
3371
+ schemaUrl?: string;
3372
+ isDestroy: boolean;
3373
+ needReset: boolean;
3374
+ };
3366
3375
  }
3367
3376
 
3368
3377
  declare interface ExpSupportBank {
@@ -3582,9 +3582,14 @@ export declare interface ExpressAppConfig extends BaseAppearance<AppearanceSetti
3582
3582
  */
3583
3583
  setupError?: ErrorPayload;
3584
3584
  /**
3585
- * Locale for internationalization, passed from entry params (loadAntom), default to en_US
3585
+ * @internal Locale is injected from loadAntom and defaults to en_US.
3586
3586
  */
3587
3587
  locale?: string;
3588
+ /**
3589
+ * 是否运行在 Native App 的 WebView 中。
3590
+ * 为 true 时,跳转通过 onRedirect 事件委托给 Native 端处理。
3591
+ */
3592
+ isNativeAppWebview?: boolean;
3588
3593
  /** @internal SDK host 侧商户域名,供 Apple Pay merchant validation 使用 */
3589
3594
  merchantDomain?: string;
3590
3595
  /** @internal Elements2 历史协议字段,含义同 merchantDomain */
@@ -3781,6 +3786,13 @@ export declare interface ExpressElementEvents extends AntomBridgeWithNativeEvent
3781
3786
  error?: ErrorPayload<string>;
3782
3787
  };
3783
3788
  'OPENSDK@COMPLETE_PAYMENT_REJECT': Record<string, never>;
3789
+ onRedirect: {
3790
+ normalUrl: string;
3791
+ applinkUrl?: string;
3792
+ schemaUrl?: string;
3793
+ isDestroy: boolean;
3794
+ needReset: boolean;
3795
+ };
3784
3796
  }
3785
3797
 
3786
3798
  declare interface ExpSupportBank {