@alipay/ams-checkout 0.0.1726046231-dev.1 → 0.0.1726046231-dev.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.
@@ -486,11 +486,7 @@ export var ElementComponent = /*#__PURE__*/function () {
|
|
486
486
|
target: ElementPaymentMethod.ADDRESS_ELEMENT,
|
487
487
|
source: ElementPaymentMethod.CONTAINER_ELEMENT,
|
488
488
|
params: _objectSpread({
|
489
|
-
prefillValue: this.oneAccountRes.shippings || [
|
490
|
-
shippingAddress: {
|
491
|
-
region: ''
|
492
|
-
}
|
493
|
-
}],
|
489
|
+
prefillValue: this.oneAccountRes.shippings || [],
|
494
490
|
appearance: {
|
495
491
|
themeType: addressTheme[((_this$mountOptions2 = this.mountOptions) === null || _this$mountOptions2 === void 0 || (_this$mountOptions2 = _this$mountOptions2[ElementPaymentMethod.ADDRESS_ELEMENT]) === null || _this$mountOptions2 === void 0 || (_this$mountOptions2 = _this$mountOptions2.appearance) === null || _this$mountOptions2 === void 0 ? void 0 : _this$mountOptions2.theme) || this._options.appearance.theme || 'light']
|
496
492
|
},
|
@@ -142,6 +142,7 @@ export interface AddressSubmitData {
|
|
142
142
|
notes: string;
|
143
143
|
prefer: '1' | '0';
|
144
144
|
shippingId: string;
|
145
|
+
actionFlag: 'I' | 'U' | 'D';
|
145
146
|
}
|
146
147
|
export interface SubmitServiceParams extends PaymentSubmitData {
|
147
148
|
accountInfo: AuthSubmitData['accountInfo'];
|