@alipay/ams-checkout
Advanced tools
Comparing version 0.0.1720423407-dev.0 to 0.0.1720491429-dev.0
@@ -17,5 +17,2 @@ /** | ||
} | ||
export declare class AMSAutoDebitPay extends AMSCheckout { | ||
constructor(options: IoptionsParams); | ||
} | ||
export declare class AMSEasyPay extends AMSCheckout { | ||
@@ -22,0 +19,0 @@ constructor(options: IoptionsParams); |
@@ -52,17 +52,5 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
}(AMSCheckout); | ||
export var AMSAutoDebitPay = /*#__PURE__*/function (_AMSCheckout2) { | ||
_inherits(AMSAutoDebitPay, _AMSCheckout2); | ||
var _super3 = _createSuper(AMSAutoDebitPay); | ||
function AMSAutoDebitPay(options) { | ||
_classCallCheck(this, AMSAutoDebitPay); | ||
var _options = Object.assign({}, options, { | ||
product: productSceneEnum.AUTO_DEBIT_PAY | ||
}); | ||
return _super3.call(this, _options, [componentSignEnum.AUTO_DEBIT_PAY_WALLET]); | ||
} | ||
return _createClass(AMSAutoDebitPay); | ||
}(AMSCheckout); | ||
export var AMSEasyPay = /*#__PURE__*/function (_AMSCheckout3) { | ||
_inherits(AMSEasyPay, _AMSCheckout3); | ||
var _super4 = _createSuper(AMSEasyPay); | ||
export var AMSEasyPay = /*#__PURE__*/function (_AMSCheckout2) { | ||
_inherits(AMSEasyPay, _AMSCheckout2); | ||
var _super3 = _createSuper(AMSEasyPay); | ||
function AMSEasyPay(options) { | ||
@@ -92,9 +80,9 @@ _classCallCheck(this, AMSEasyPay); | ||
} | ||
return _super4.call(this, _options, [componentSignEnum.EASY_PAY_WALLET], currentProductSceneVersion); | ||
return _super3.call(this, _options, [componentSignEnum.EASY_PAY_WALLET], currentProductSceneVersion); | ||
} | ||
return _createClass(AMSEasyPay); | ||
}(AMSCheckout); | ||
export var AMSCashierPayment = /*#__PURE__*/function (_AMSCheckout4) { | ||
_inherits(AMSCashierPayment, _AMSCheckout4); | ||
var _super5 = _createSuper(AMSCashierPayment); | ||
export var AMSCashierPayment = /*#__PURE__*/function (_AMSCheckout3) { | ||
_inherits(AMSCashierPayment, _AMSCheckout3); | ||
var _super4 = _createSuper(AMSCashierPayment); | ||
function AMSCashierPayment(options) { | ||
@@ -124,9 +112,9 @@ _classCallCheck(this, AMSCashierPayment); | ||
} | ||
return _super5.call(this, _options, currentChannelType); | ||
return _super4.call(this, _options, currentChannelType); | ||
} | ||
return _createClass(AMSCashierPayment); | ||
}(AMSCheckout); | ||
export var AMSVaulting = /*#__PURE__*/function (_AMSCheckout5) { | ||
_inherits(AMSVaulting, _AMSCheckout5); | ||
var _super6 = _createSuper(AMSVaulting); | ||
export var AMSVaulting = /*#__PURE__*/function (_AMSCheckout4) { | ||
_inherits(AMSVaulting, _AMSCheckout4); | ||
var _super5 = _createSuper(AMSVaulting); | ||
function AMSVaulting(options) { | ||
@@ -137,3 +125,3 @@ _classCallCheck(this, AMSVaulting); | ||
}); | ||
return _super6.call(this, _options, [componentSignEnum.CASHIER_PAYMENT_CARD]); | ||
return _super5.call(this, _options, [componentSignEnum.CASHIER_PAYMENT_CARD]); | ||
} | ||
@@ -140,0 +128,0 @@ return _createClass(AMSVaulting); |
@@ -55,3 +55,3 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
var getFinalProductSceneVersion = function getFinalProductSceneVersion(componentSign, productSceneVersion) { | ||
var signSupportMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, componentSignEnum.NONE, ['']), componentSignEnum.AUTO_DEBIT_WALLET, ['1.0']), componentSignEnum.AUTO_DEBIT_PAY_WALLET, ['']), componentSignEnum.CASHIER_PAYMENT_BANK, ['1.0']), componentSignEnum.CASHIER_PAYMENT_CARD, ['1.0']), componentSignEnum.CASHIER_PAYMENT_APM, ['1.0']), componentSignEnum.EASY_PAY_WALLET, ['1.0', '2.0']), componentSignEnum.EASY_PAY_APM, ['2.0']), componentSignEnum.VAULTING_CARD, ['1.0']); | ||
var signSupportMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, componentSignEnum.NONE, ['']), componentSignEnum.AUTO_DEBIT_WALLET, ['1.0']), componentSignEnum.CASHIER_PAYMENT_BANK, ['1.0']), componentSignEnum.CASHIER_PAYMENT_CARD, ['1.0']), componentSignEnum.CASHIER_PAYMENT_APM, ['1.0']), componentSignEnum.EASY_PAY_WALLET, ['1.0', '2.0']), componentSignEnum.EASY_PAY_APM, ['2.0']), componentSignEnum.VAULTING_CARD, ['1.0']); | ||
var supportProductSceneVersion = signSupportMap[componentSign]; | ||
@@ -58,0 +58,0 @@ // 从左到右,从旧到新 |
@@ -50,3 +50,2 @@ /** | ||
'AUTO_DEBIT_WALLET' = "AUTO_DEBIT_WALLET", | ||
'AUTO_DEBIT_PAY_WALLET' = "AUTO_DEBIT_PAY_WALLET", | ||
'NONE' = "NONE", | ||
@@ -59,3 +58,2 @@ 'VAULTING_CARD' = "VAULTING_CARD" | ||
'AUTO_DEBIT' = "AUTO_DEBIT", | ||
'AUTO_DEBIT_PAY' = "AUTO_DEBIT_PAY", | ||
'VAULTING' = "VAULTING", | ||
@@ -62,0 +60,0 @@ 'FLASH_BUY' = "FLASH_BUY", |
@@ -25,3 +25,2 @@ /** | ||
componentSignEnum["AUTO_DEBIT_WALLET"] = "AUTO_DEBIT_WALLET"; | ||
componentSignEnum["AUTO_DEBIT_PAY_WALLET"] = "AUTO_DEBIT_PAY_WALLET"; | ||
componentSignEnum["NONE"] = "NONE"; | ||
@@ -35,3 +34,2 @@ componentSignEnum["VAULTING_CARD"] = "VAULTING_CARD"; | ||
productSceneEnum["AUTO_DEBIT"] = "AUTO_DEBIT"; | ||
productSceneEnum["AUTO_DEBIT_PAY"] = "AUTO_DEBIT_PAY"; | ||
productSceneEnum["VAULTING"] = "VAULTING"; | ||
@@ -38,0 +36,0 @@ productSceneEnum["FLASH_BUY"] = "FLASH_BUY"; |
{ | ||
"name": "@alipay/ams-checkout", | ||
"version": "0.0.1720423407-dev.0", | ||
"version": "0.0.1720491429-dev.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
2702190
11401