@alipay/ams-checkout 0.0.1755258111-dev.0 → 0.0.1755258862-dev.0

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 (99) hide show
  1. package/dist/umd/ams-checkout.min.js +1 -1
  2. package/esm/component/channel.d.ts +1 -3
  3. package/esm/component/channel.js +62 -26
  4. package/esm/component/component.inline.style.js +2 -2
  5. package/esm/component/popupWindow.style.d.ts +1 -4
  6. package/esm/component/popupWindow.style.js +2 -37
  7. package/esm/config/index.d.ts +8 -8
  8. package/esm/config/index.js +8 -8
  9. package/esm/constant/index.d.ts +2 -41
  10. package/esm/constant/index.js +5 -43
  11. package/esm/core/component/ckp/index.d.ts +0 -2
  12. package/esm/core/component/ckp/index.js +5 -41
  13. package/esm/core/component/element/index.d.ts +46 -7
  14. package/esm/core/component/element/index.js +923 -31
  15. package/esm/core/component/element/mock.d.ts +0 -4
  16. package/esm/core/component/element/mock.js +1 -365
  17. package/esm/core/component/element/type.d.ts +34 -74
  18. package/esm/core/component/element/type.js +12 -20
  19. package/esm/core/component/index.d.ts +1 -5
  20. package/esm/core/component/index.js +2 -1
  21. package/esm/core/instance/index.d.ts +1 -1
  22. package/esm/core/instance/index.js +1 -1
  23. package/esm/foundation/core/index.d.ts +1 -9
  24. package/esm/foundation/core/index.js +49 -153
  25. package/esm/foundation/index.d.ts +0 -20
  26. package/esm/foundation/index.js +2 -13
  27. package/esm/foundation/product-processor/easysafepay/deps.d.ts +1 -3
  28. package/esm/foundation/product-processor/easysafepay/deps.js +1 -3
  29. package/esm/foundation/product-processor/easysafepay/index.d.ts +0 -5
  30. package/esm/foundation/product-processor/easysafepay/index.js +138 -266
  31. package/esm/foundation/service/container/index.d.ts +3 -14
  32. package/esm/foundation/service/container/index.js +25 -178
  33. package/esm/foundation/service/container/popup.d.ts +7 -10
  34. package/esm/foundation/service/container/popup.js +1 -3
  35. package/esm/foundation/service/event-center.js +0 -1
  36. package/esm/foundation/service/log/keys.js +1 -3
  37. package/esm/foundation/service/log/types.d.ts +0 -1
  38. package/esm/foundation/service/requester/requester.js +37 -17
  39. package/esm/foundation/utils/preload_helper.d.ts +2 -2
  40. package/esm/foundation/utils/preload_helper.js +4 -8
  41. package/esm/foundation/utils/redirect_utils.js +18 -34
  42. package/esm/foundation/utils/web_app_url_utils.d.ts +1 -71
  43. package/esm/foundation/utils/web_app_url_utils.js +8 -219
  44. package/esm/index.d.ts +4 -7
  45. package/esm/index.js +48 -98
  46. package/esm/plugin/component/cashierApp.d.ts +1 -1
  47. package/esm/plugin/component/cashierApp.js +5 -5
  48. package/esm/plugin/component/channel.d.ts +1 -3
  49. package/esm/plugin/component/channel.js +12 -10
  50. package/esm/plugin/component/index.js +44 -47
  51. package/esm/plugin/type.d.ts +1 -1
  52. package/esm/request/index.js +2 -2
  53. package/esm/types/index.d.ts +3 -37
  54. package/esm/types/index.js +2 -10
  55. package/esm/util/index.d.ts +1 -8
  56. package/esm/util/index.js +3 -31
  57. package/esm/util/spm-map.d.ts +4 -18
  58. package/esm/util/spm-map.js +6 -20
  59. package/package.json +4 -27
  60. package/esm/constant/easysafepay.d.ts +0 -16
  61. package/esm/constant/easysafepay.js +0 -19
  62. package/esm/core/component/element/elementContainerService/containerService.d.ts +0 -33
  63. package/esm/core/component/element/elementContainerService/containerService.js +0 -123
  64. package/esm/core/component/element/elementContainerService/index.d.ts +0 -20
  65. package/esm/core/component/element/elementContainerService/index.js +0 -63
  66. package/esm/core/component/element/elementController/index.d.ts +0 -27
  67. package/esm/core/component/element/elementController/index.js +0 -493
  68. package/esm/core/component/element/elementProcessor/addressProcessor.d.ts +0 -20
  69. package/esm/core/component/element/elementProcessor/addressProcessor.js +0 -160
  70. package/esm/core/component/element/elementProcessor/authProcessor.d.ts +0 -20
  71. package/esm/core/component/element/elementProcessor/authProcessor.js +0 -125
  72. package/esm/core/component/element/elementProcessor/baseElementProcessor.d.ts +0 -41
  73. package/esm/core/component/element/elementProcessor/baseElementProcessor.js +0 -96
  74. package/esm/core/component/element/elementProcessor/paymentProcessor.d.ts +0 -20
  75. package/esm/core/component/element/elementProcessor/paymentProcessor.js +0 -380
  76. package/esm/core/component/element/util.d.ts +0 -69
  77. package/esm/core/component/element/util.js +0 -477
  78. package/esm/core/component/oldElement/index.d.ts +0 -59
  79. package/esm/core/component/oldElement/index.js +0 -956
  80. package/esm/core/component/oldElement/mock.d.ts +0 -6
  81. package/esm/core/component/oldElement/mock.js +0 -567
  82. package/esm/core/component/oldElement/type.d.ts +0 -354
  83. package/esm/core/component/oldElement/type.js +0 -81
  84. package/esm/foundation/product-processor/autoDebit/deps.d.ts +0 -14
  85. package/esm/foundation/product-processor/autoDebit/deps.js +0 -12
  86. package/esm/foundation/product-processor/autoDebit/index.d.ts +0 -48
  87. package/esm/foundation/product-processor/autoDebit/index.js +0 -466
  88. package/esm/foundation/product-processor/element/index.d.ts +0 -7
  89. package/esm/foundation/product-processor/element/index.js +0 -24
  90. package/esm/util/redirect.d.ts +0 -6
  91. package/esm/util/redirect.js +0 -54
  92. /package/esm/core/component/{oldElement → element}/components/address.d.ts +0 -0
  93. /package/esm/core/component/{oldElement → element}/components/address.js +0 -0
  94. /package/esm/core/component/{oldElement → element}/components/auth.d.ts +0 -0
  95. /package/esm/core/component/{oldElement → element}/components/auth.js +0 -0
  96. /package/esm/core/component/{oldElement → element}/components/payment.d.ts +0 -0
  97. /package/esm/core/component/{oldElement → element}/components/payment.js +0 -0
  98. /package/esm/core/component/{oldElement → element}/utils.d.ts +0 -0
  99. /package/esm/core/component/{oldElement → element}/utils.js +0 -0
@@ -5,7 +5,7 @@
5
5
  * 1. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE; and
6
6
  * 2. If applicable, the use of the Software is also subject to the terms and conditions of any non-disclosure agreement signed by you and the relevant Ant Group entity.
7
7
  */
8
- import { ComponentActionNamesType } from '../../plugin/type';
8
+ import { ComponentActionNamesType } from 'src/plugin/type';
9
9
  import ComponentApp from '../../plugin/component';
10
10
  import type { AMSCheckoutOptions, IAppendParams, InitSecurityConfig, IoptionsParams } from '../../types/index';
11
11
  import { EventCenter } from '../../util/index';
@@ -435,7 +435,7 @@ var AMSSDK = /*#__PURE__*/function () {
435
435
  window.location.href = normalUrl;
436
436
  return;
437
437
  }
438
- reject(ERRORMESSAGE.SDK_LAUNCH_PAYMENT_APP_ERROR.CALL_APP_URL_ERROR);
438
+ reject(ERRORMESSAGE.SDK_CALL_URL_ERROR.REDIRECT_ERROR);
439
439
  };
440
440
  var callAppFunc = function callAppFunc() {
441
441
  if (!schemeUrl && !applinkUrl) {
@@ -1,5 +1,5 @@
1
1
  import { IoptionsParams, ProductSceneEnum } from '../../types';
2
- import { BizFlowStartBehavior, IElementStatus, PaymentContext, ProductProcessor, StartBizFlowOptions } from '../index';
2
+ import { BizFlowStartBehavior, PaymentContext, ProductProcessor, StartBizFlowOptions } from '../index';
3
3
  import { ServiceProvider } from '../service';
4
4
  /**
5
5
  * @author 谦彧 <zhangmian.zm@alipay.com>
@@ -13,13 +13,7 @@ export declare class AntomSDKCore {
13
13
  private sdkMetaData;
14
14
  private productProcessors;
15
15
  private enablePopWindowEventCallback;
16
- private eventLogging;
17
- private status;
18
- private logger;
19
16
  constructor();
20
- getStatus(): IElementStatus;
21
- setStatus(status: any): void;
22
- updatePaymentSessionData(paymentSession: string): void;
23
17
  registerProcessor(productScene: string, paymentMethod: string, processor: ProductProcessor): void;
24
18
  init(options: IoptionsParams, productScene: ProductSceneEnum): void;
25
19
  private prepare;
@@ -29,8 +23,6 @@ export declare class AntomSDKCore {
29
23
  getPaymentContext(): PaymentContext;
30
24
  destroy(): void;
31
25
  private handleBehaviorRender;
32
- private handleRemain;
33
26
  private handleClose;
34
27
  private cleanRender;
35
- getInstanceId(): string;
36
28
  }
@@ -1,27 +1,27 @@
1
1
  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); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2
4
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
3
5
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
6
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
5
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8
8
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
9
9
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
10
10
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
11
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
12
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
+ import { DisplayTypeEnum, eventCodeEnum } from "../../types";
14
+ import { DisplayInfo } from "../index";
13
15
  import { v4 as uuid } from 'uuid';
14
- import { cleanMockup, createMockup, createRetentionPopup, handleDeclareInfo, hideMockup, hideRetentionPopup, removeRetentionPopup, showRetentionPopup } from "../../component/component.popup.style";
15
- import { insertStyleSheet } from "../../component/popupWindow.style";
16
- import { sdkVersion } from "../../config";
17
- import { COMPONENT_CLOSE_MASK_BLOCK_ID, EVENT, LOADING_ID } from "../../constant";
18
- import { DisplayTypeEnum, eventCodeEnum, EventLoggingEventId } from "../../types";
19
- import { DisplayInfo, IElementStatus } from "../index";
20
16
  import { ServiceProvider } from "../service";
21
- import { getGrayscaleId } from "../utils/gray_scale_utils";
22
17
  import { convertPaymentSession, getWebAppVersion, saveWebAppVersion } from "../utils/payment_context_utils";
23
- import { redirect } from "../utils/redirect_utils";
18
+ import { getGrayscaleId } from "../utils/gray_scale_utils";
19
+ import { sdkVersion } from "../../config";
24
20
  import { parseWebAppMatchConfig } from "../utils/web_app_url_utils";
21
+ import { redirect } from "../utils/redirect_utils";
22
+ import { insertStyleSheet } from "../../component/popupWindow.style";
23
+ import { hideMockup, createMockup, createRetentionPopup, hideRetentionPopup, showRetentionPopup, cleanMockup, removeRetentionPopup, handleDeclareInfo } from "../../component/component.popup.style";
24
+ import { COMPONENT_CLOSE_MASK_BLOCK_ID, EVENT, LOADING_ID } from "../../constant";
25
25
  /**
26
26
  * @author 谦彧 <zhangmian.zm@alipay.com>
27
27
  * @date 2024/9/17
@@ -36,36 +36,8 @@ export var AntomSDKCore = /*#__PURE__*/function () {
36
36
  _defineProperty(this, "sdkMetaData", void 0);
37
37
  _defineProperty(this, "productProcessors", {});
38
38
  _defineProperty(this, "enablePopWindowEventCallback", false);
39
- _defineProperty(this, "eventLogging", void 0);
40
- _defineProperty(this, "status", IElementStatus.UNINIT);
41
- _defineProperty(this, "logger", void 0);
42
- this.status = IElementStatus.INITING;
43
39
  }
44
40
  _createClass(AntomSDKCore, [{
45
- key: "getStatus",
46
- value: function getStatus() {
47
- return this.status;
48
- }
49
- }, {
50
- key: "setStatus",
51
- value: function setStatus(status) {
52
- if (status === this.getStatus()) return;
53
- console.log("[test] status has changed from ".concat(this.getStatus(), " to ").concat(status));
54
- this.status = status;
55
- }
56
- }, {
57
- key: "updatePaymentSessionData",
58
- value: function updatePaymentSessionData(paymentSession) {
59
- var _convertPaymentSessio = convertPaymentSession(paymentSession),
60
- paymentSessionId = _convertPaymentSessio.id,
61
- paymentSessionMetaData = _convertPaymentSessio.data;
62
- this.paymentContext = _objectSpread(_objectSpread({}, this.paymentContext), {}, {
63
- paymentSession: paymentSession,
64
- paymentSessionId: paymentSessionId,
65
- paymentSessionObj: paymentSessionMetaData
66
- });
67
- }
68
- }, {
69
41
  key: "registerProcessor",
70
42
  value: function registerProcessor(productScene) {
71
43
  var paymentMethod = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
@@ -85,7 +57,6 @@ export var AntomSDKCore = /*#__PURE__*/function () {
85
57
  };
86
58
  this.sdkMetaData.webAppVersion = getWebAppVersion(this.sdkMetaData);
87
59
  ServiceProvider.getInstance(this.instanceId).init(options, this.sdkMetaData);
88
- this.logger = ServiceProvider.getInstance(this.instanceId).getService('Log');
89
60
  this.prepare(options, this.sdkMetaData);
90
61
  }
91
62
  }, {
@@ -180,45 +151,12 @@ export var AntomSDKCore = /*#__PURE__*/function () {
180
151
  return _ref2.apply(this, arguments);
181
152
  };
182
153
  }());
183
- eventCenter.listen(EVENT.getSdkVersion.name, /*#__PURE__*/function () {
184
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(data, payload) {
185
- var _payload$context3;
186
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
187
- while (1) switch (_context3.prev = _context3.next) {
188
- case 0:
189
- eventCenter.dispatchToApp({
190
- event: 'appEventCallback',
191
- eventCallbackId: (_payload$context3 = payload.context) === null || _payload$context3 === void 0 ? void 0 : _payload$context3.eventCallbackId,
192
- data: {
193
- version: sdkMetaData === null || sdkMetaData === void 0 ? void 0 : sdkMetaData.sdkVersion
194
- }
195
- });
196
- case 1:
197
- case "end":
198
- return _context3.stop();
199
- }
200
- }, _callee3);
201
- }));
202
- return function (_x5, _x6) {
203
- return _ref3.apply(this, arguments);
204
- };
205
- }());
206
- eventCenter.listen(EVENT.destroy.name, function (data) {
207
- _this.setStatus(IElementStatus.READY);
208
- _this.destroy();
209
- });
210
154
  eventCenter.listen(EVENT.closeCallback.name, function () {
211
155
  var _options$onClose;
212
156
  (_options$onClose = options.onClose) === null || _options$onClose === void 0 || _options$onClose.call(options);
213
157
  });
214
158
  eventCenter.listen(EVENT.eventCallback.name, function (data) {
215
159
  var _options$onEventCallb;
216
- _this.logger.logInfo({
217
- title: 'sdk_event_event_callback'
218
- }, {
219
- eventCode: JSON.stringify((data === null || data === void 0 ? void 0 : data.code) || ''),
220
- eventMessage: JSON.stringify((data === null || data === void 0 ? void 0 : data.message) || '')
221
- });
222
160
  (_options$onEventCallb = options.onEventCallback) === null || _options$onEventCallb === void 0 || _options$onEventCallb.call(options, data);
223
161
  });
224
162
  eventCenter.listen(EVENT.error.name, function (data) {
@@ -228,7 +166,6 @@ export var AntomSDKCore = /*#__PURE__*/function () {
228
166
  eventCenter.listen(EVENT.declareEventCallbackInfo.name, function (data) {
229
167
  if (data !== null && data !== void 0 && data.popWindowEventInfo) {
230
168
  _this.enablePopWindowEventCallback = data.popWindowEventInfo.enableCallback;
231
- _this.eventLogging = data.popWindowEventInfo.eventLogging;
232
169
  }
233
170
  });
234
171
 
@@ -240,24 +177,20 @@ export var AntomSDKCore = /*#__PURE__*/function () {
240
177
  }, {
241
178
  key: "startBizFlow",
242
179
  value: function () {
243
- var _startBizFlow = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(options) {
180
+ var _startBizFlow = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(options) {
244
181
  var _this$paymentContext$, _this$paymentContext$2, _this$paymentContext$3;
245
- var paymentSession, displayInfo, _convertPaymentSessio2, paymentSessionId, paymentSessionMetaData, mid, webAppMatchConfig, webAppVersion, productScene, paymentMethod, _this$bizFlowStartBeh, payload;
246
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
247
- while (1) switch (_context4.prev = _context4.next) {
182
+ var paymentSession, displayInfo, _convertPaymentSessio, paymentSessionId, paymentSessionMetaData, mid, webAppMatchConfig, webAppVersion, productScene, paymentMethod, _this$bizFlowStartBeh, payload;
183
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
184
+ while (1) switch (_context3.prev = _context3.next) {
248
185
  case 0:
249
186
  if (!(!options || !options.paymentSession)) {
250
- _context4.next = 2;
187
+ _context3.next = 2;
251
188
  break;
252
189
  }
253
190
  throw new Error('paymentSession is empty');
254
191
  case 2:
255
- this.logger.logInfo({
256
- title: 'sdk_event_createComponent'
257
- });
258
- this.setStatus(IElementStatus.IN_BIZ_FLOW);
259
192
  paymentSession = options.paymentSession, displayInfo = options.displayInfo;
260
- _convertPaymentSessio2 = convertPaymentSession(paymentSession), paymentSessionId = _convertPaymentSessio2.id, paymentSessionMetaData = _convertPaymentSessio2.data;
193
+ _convertPaymentSessio = convertPaymentSession(paymentSession), paymentSessionId = _convertPaymentSessio.id, paymentSessionMetaData = _convertPaymentSessio.data;
261
194
  this.paymentContext = {
262
195
  initOptions: this.initOptions,
263
196
  startBizFlowOptions: options,
@@ -280,61 +213,61 @@ export var AntomSDKCore = /*#__PURE__*/function () {
280
213
  // Invoke processor
281
214
  productScene = (_this$paymentContext$2 = this.paymentContext.paymentSessionObj) === null || _this$paymentContext$2 === void 0 || (_this$paymentContext$2 = _this$paymentContext$2.paymentSessionConfig) === null || _this$paymentContext$2 === void 0 ? void 0 : _this$paymentContext$2.productScene;
282
215
  paymentMethod = (_this$paymentContext$3 = this.paymentContext.paymentSessionObj) === null || _this$paymentContext$3 === void 0 || (_this$paymentContext$3 = _this$paymentContext$3.paymentMethodInfoView) === null || _this$paymentContext$3 === void 0 ? void 0 : _this$paymentContext$3.paymentMethodType;
283
- _context4.prev = 15;
216
+ _context3.prev = 13;
284
217
  if (!this.productProcessors["".concat(productScene, "|").concat(paymentMethod)]) {
285
- _context4.next = 22;
218
+ _context3.next = 20;
286
219
  break;
287
220
  }
288
- _context4.next = 19;
221
+ _context3.next = 17;
289
222
  return this.productProcessors["".concat(productScene, "|").concat(paymentMethod)].startBizFlow(this.paymentContext);
290
- case 19:
291
- this.bizFlowStartBehavior = _context4.sent;
292
- _context4.next = 26;
223
+ case 17:
224
+ this.bizFlowStartBehavior = _context3.sent;
225
+ _context3.next = 24;
293
226
  break;
294
- case 22:
227
+ case 20:
295
228
  if (!this.productProcessors["".concat(productScene)]) {
296
- _context4.next = 26;
229
+ _context3.next = 24;
297
230
  break;
298
231
  }
299
- _context4.next = 25;
232
+ _context3.next = 23;
300
233
  return this.productProcessors["".concat(productScene)].startBizFlow(this.paymentContext);
301
- case 25:
302
- this.bizFlowStartBehavior = _context4.sent;
303
- case 26:
304
- _context4.next = 31;
234
+ case 23:
235
+ this.bizFlowStartBehavior = _context3.sent;
236
+ case 24:
237
+ _context3.next = 29;
305
238
  break;
306
- case 28:
307
- _context4.prev = 28;
308
- _context4.t0 = _context4["catch"](15);
309
- console.error('Invoke processor failed', _context4.t0);
310
- case 31:
239
+ case 26:
240
+ _context3.prev = 26;
241
+ _context3.t0 = _context3["catch"](13);
242
+ console.error('Invoke processor failed', _context3.t0);
243
+ case 29:
311
244
  if (!(!this.bizFlowStartBehavior || this.bizFlowStartBehavior.behaviorType === 'NONE' || !this.bizFlowStartBehavior.payload)) {
312
- _context4.next = 33;
245
+ _context3.next = 31;
313
246
  break;
314
247
  }
315
- return _context4.abrupt("return");
316
- case 33:
248
+ return _context3.abrupt("return");
249
+ case 31:
317
250
  if (!(this.bizFlowStartBehavior.behaviorType === 'RENDER')) {
318
- _context4.next = 36;
251
+ _context3.next = 34;
319
252
  break;
320
253
  }
321
254
  this.handleBehaviorRender();
322
- return _context4.abrupt("return");
323
- case 36:
255
+ return _context3.abrupt("return");
256
+ case 34:
324
257
  if (!(this.bizFlowStartBehavior.behaviorType === 'REDIRECT')) {
325
- _context4.next = 40;
258
+ _context3.next = 38;
326
259
  break;
327
260
  }
328
261
  payload = (_this$bizFlowStartBeh = this.bizFlowStartBehavior) === null || _this$bizFlowStartBeh === void 0 ? void 0 : _this$bizFlowStartBeh.payload;
329
262
  redirect(payload, this.instanceId);
330
- return _context4.abrupt("return");
331
- case 40:
263
+ return _context3.abrupt("return");
264
+ case 38:
332
265
  case "end":
333
- return _context4.stop();
266
+ return _context3.stop();
334
267
  }
335
- }, _callee4, this, [[15, 28]]);
268
+ }, _callee3, this, [[13, 26]]);
336
269
  }));
337
- function startBizFlow(_x7) {
270
+ function startBizFlow(_x5) {
338
271
  return _startBizFlow.apply(this, arguments);
339
272
  }
340
273
  return startBizFlow;
@@ -377,7 +310,7 @@ export var AntomSDKCore = /*#__PURE__*/function () {
377
310
  showRetentionPopup();
378
311
  return;
379
312
  } else {
380
- _this2.handleClose(isOnCloseEvent, 'behavior');
313
+ _this2.handleClose(isOnCloseEvent);
381
314
  }
382
315
  };
383
316
 
@@ -403,10 +336,9 @@ export var AntomSDKCore = /*#__PURE__*/function () {
403
336
  if (displayType == DisplayTypeEnum.popup) {
404
337
  createRetentionPopup(platform, function () {
405
338
  hideRetentionPopup();
406
- _this2.handleRemain();
407
339
  }, function () {
408
340
  hideRetentionPopup();
409
- _this2.handleClose(false, 'retention');
341
+ _this2.handleClose();
410
342
  });
411
343
  createMockup({
412
344
  platform: platform,
@@ -417,40 +349,13 @@ export var AntomSDKCore = /*#__PURE__*/function () {
417
349
  return;
418
350
  }
419
351
  }
420
- }, {
421
- key: "handleRemain",
422
- value: function handleRemain() {
423
- if (this.eventLogging && this.eventLogging.enableLogging) {
424
- var _this$eventLogging, _this$eventLogging2, _this$eventLogging3, _this$eventLogging4;
425
- this.logger.logInfo({
426
- code: ((_this$eventLogging = this.eventLogging) === null || _this$eventLogging === void 0 ? void 0 : _this$eventLogging.eventName) || ''
427
- }, {
428
- eventId: EventLoggingEventId.ContinuePaying,
429
- eventName: ((_this$eventLogging2 = this.eventLogging) === null || _this$eventLogging2 === void 0 ? void 0 : _this$eventLogging2.eventName) || '',
430
- eventAlias: ((_this$eventLogging3 = this.eventLogging) === null || _this$eventLogging3 === void 0 ? void 0 : _this$eventLogging3.eventAlias) || '',
431
- userPath: ((_this$eventLogging4 = this.eventLogging) === null || _this$eventLogging4 === void 0 ? void 0 : _this$eventLogging4.userPath) || ''
432
- });
433
- }
434
- }
435
352
  }, {
436
353
  key: "handleClose",
437
354
  value: function handleClose() {
438
355
  var isOnCloseEvent = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
439
- var source = arguments.length > 1 ? arguments[1] : undefined;
440
356
  var eventCenter = ServiceProvider.getInstance(this.instanceId).getService('EventCenter');
441
357
  eventCenter.emit(EVENT.closeCallback.name, {});
442
358
  if (this.enablePopWindowEventCallback && !isOnCloseEvent) {
443
- if (this.eventLogging && this.eventLogging.enableLogging) {
444
- var _this$eventLogging5, _this$eventLogging6, _this$eventLogging7, _this$eventLogging8;
445
- this.logger.logInfo({
446
- code: ((_this$eventLogging5 = this.eventLogging) === null || _this$eventLogging5 === void 0 ? void 0 : _this$eventLogging5.eventName) || ''
447
- }, {
448
- eventId: source === 'behavior' ? EventLoggingEventId.OnlyClose : EventLoggingEventId.LeaveAnyWay,
449
- eventName: ((_this$eventLogging6 = this.eventLogging) === null || _this$eventLogging6 === void 0 ? void 0 : _this$eventLogging6.eventName) || '',
450
- eventAlias: ((_this$eventLogging7 = this.eventLogging) === null || _this$eventLogging7 === void 0 ? void 0 : _this$eventLogging7.eventAlias) || '',
451
- userPath: ((_this$eventLogging8 = this.eventLogging) === null || _this$eventLogging8 === void 0 ? void 0 : _this$eventLogging8.userPath) || ''
452
- });
453
- }
454
359
  eventCenter.emit(EVENT.eventCallback.name, {
455
360
  code: eventCodeEnum.SDK_PAYMENT_CANCEL,
456
361
  result: {
@@ -469,8 +374,7 @@ export var AntomSDKCore = /*#__PURE__*/function () {
469
374
  var immediately = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
470
375
  var containerService = ServiceProvider.getInstance(this.instanceId).getService('Container');
471
376
  var cleanElement = function cleanElement() {
472
- var _this3$paymentContext;
473
- containerService.cleanContainer((_this3$paymentContext = _this3.paymentContext) === null || _this3$paymentContext === void 0 ? void 0 : _this3$paymentContext.displayInfo);
377
+ containerService.cleanContainer(_this3.paymentContext.displayInfo);
474
378
  cleanMockup();
475
379
  removeRetentionPopup();
476
380
  // TODO @/component this.removeEventListener();
@@ -486,14 +390,6 @@ export var AntomSDKCore = /*#__PURE__*/function () {
486
390
  setTimeout(function () {
487
391
  cleanElement();
488
392
  }, 300);
489
- this.logger.logInfo({
490
- title: 'sdk_event_destroyComponent'
491
- });
492
- }
493
- }, {
494
- key: "getInstanceId",
495
- value: function getInstanceId() {
496
- return this.instanceId;
497
393
  }
498
394
  }]);
499
395
  return AntomSDKCore;
@@ -28,13 +28,6 @@ export declare class DisplayInfo {
28
28
  selector: string;
29
29
  appearance?: Record<string, any>;
30
30
  appendAliasContainerId?: boolean;
31
- merchantAppointParam?: {
32
- storedCard: {
33
- needCVV: boolean;
34
- };
35
- };
36
- iframeStyle?: Partial<CSSStyleDeclaration>;
37
- notRedirectAfterComplete?: boolean;
38
31
  constructor();
39
32
  }
40
33
  /**
@@ -76,20 +69,7 @@ export interface SDKMetaData {
76
69
  webAppVersion: string;
77
70
  greyscaleId?: number;
78
71
  }
79
- export interface EventLogging {
80
- enableLogging?: boolean;
81
- eventName?: string;
82
- eventAlias?: string;
83
- userPath?: string;
84
- }
85
72
  export interface InitContext {
86
73
  initOptions: IoptionsParams;
87
74
  sdkMetaData: SDKMetaData;
88
75
  }
89
- export declare enum IElementStatus {
90
- UNINIT = "UNINIT",
91
- INITING = "INITING",
92
- READY = "READY",
93
- IN_BIZ_FLOW = "IN_BIZ_FLOW",
94
- DESTROYED = "DESTROYED"
95
- }
@@ -7,6 +7,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
7
7
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  import { DisplayTypeEnum, PlatformEnum } from "../types";
9
9
  import { isPC } from "../util";
10
+
10
11
  /**
11
12
  * @author 谦彧 <zhangmian.zm@alipay.com>
12
13
  * @date 2024/9/17
@@ -26,9 +27,6 @@ export var DisplayInfo = /*#__PURE__*/_createClass(function DisplayInfo() {
26
27
  _defineProperty(this, "appearance", void 0);
27
28
  // append selector name to containerId
28
29
  _defineProperty(this, "appendAliasContainerId", void 0);
29
- _defineProperty(this, "merchantAppointParam", void 0);
30
- _defineProperty(this, "iframeStyle", void 0);
31
- _defineProperty(this, "notRedirectAfterComplete", void 0);
32
30
  this.platform = isPC() ? PlatformEnum.desktop : PlatformEnum.mobile;
33
31
  this.isRetention = true;
34
32
  this.type = DisplayTypeEnum.popup;
@@ -41,13 +39,4 @@ export var DisplayInfo = /*#__PURE__*/_createClass(function DisplayInfo() {
41
39
 
42
40
  /**
43
41
  * Provide some capability, such as MonitorService, EventBusService, SecurityService
44
- */
45
-
46
- export var IElementStatus = /*#__PURE__*/function (IElementStatus) {
47
- IElementStatus["UNINIT"] = "UNINIT";
48
- IElementStatus["INITING"] = "INITING";
49
- IElementStatus["READY"] = "READY";
50
- IElementStatus["IN_BIZ_FLOW"] = "IN_BIZ_FLOW";
51
- IElementStatus["DESTROYED"] = "DESTROYED";
52
- return IElementStatus;
53
- }({});
42
+ */
@@ -4,7 +4,7 @@ export type { BizFlowStartBehavior, PaymentContext, ProductProcessor, RedirectBe
4
4
  export * as ChannelCustomize from '../../../component/channel';
5
5
  export type { IChannelBehavior } from '../../../component/channel';
6
6
  export { DisplayTypeEnum, PaymentMethodCategoryTypeEnum, ProductSceneEnum, RiskSdkInfoEnum } from '../../../types';
7
- export type { CashierSdkActionQueryRequest, CashierSdkActionQueryResult, CashierSdkActionQuerySessionResult, CashierSubmitPayRequest, CashierSubmitPayResult, IoptionsParams, } from '../../../types';
7
+ export type { CashierSdkActionQueryRequest, CashierSdkActionQueryResult, CashierSubmitPayRequest, CashierSubmitPayResult, IoptionsParams, } from '../../../types';
8
8
  export { isPC } from '../../../util';
9
9
  export { getBackScheme } from '../../utils/redirect_utils';
10
10
  export { isLocalMock } from '../../../util/mock';
@@ -16,5 +16,3 @@ export type { RequesterService } from '../../service/requester/requester';
16
16
  export type { SecurityService } from '../../service/security';
17
17
  export { ProductInfoCacheUtil } from '../../utils/payment_product_utils';
18
18
  export * as WebAppUrlUtil from '../../utils/web_app_url_utils';
19
- export { eventCodeEnum } from '../../../types';
20
- export { EVENT } from '../../../constant';
@@ -9,6 +9,4 @@ export { ServiceProvider } from "../../service";
9
9
  export { LogService } from "../../service/log";
10
10
  export { ProductInfoCacheUtil } from "../../utils/payment_product_utils";
11
11
  import * as _WebAppUrlUtil from "../../utils/web_app_url_utils";
12
- export { _WebAppUrlUtil as WebAppUrlUtil };
13
- export { eventCodeEnum } from "../../../types";
14
- export { EVENT } from "../../../constant";
12
+ export { _WebAppUrlUtil as WebAppUrlUtil };
@@ -4,15 +4,11 @@ export declare class EasySafePayProcessor implements ProductProcessor {
4
4
  private initConfig;
5
5
  private logger;
6
6
  private securityService;
7
- private eventCenter;
8
7
  private instanceId;
9
8
  private hostSign;
10
- private allowQueryCall;
11
9
  private allowSubmitPayCallAhead;
12
10
  private channelBehavior?;
13
11
  private SECURITY_SDK_INIT_TIMEOUT;
14
- private SDK_REQUEST_TIMEOUT;
15
- private LOAD_APP_RESOURCES_TIMEOUT;
16
12
  init(config: IoptionsParams, instanceId: string, sdkMetaData: SDKMetaData): void;
17
13
  startBizFlow(paymentContext: PaymentContext): Promise<BizFlowStartBehavior>;
18
14
  private buildWebAppUrl;
@@ -22,7 +18,6 @@ export declare class EasySafePayProcessor implements ProductProcessor {
22
18
  * start waiting web launch, then send renderComponent event
23
19
  * */
24
20
  private sendRequestAndWaitWebLaunch;
25
- private processQuery;
26
21
  private processSubmitPay;
27
22
  private acquireApdidToken;
28
23
  private initSecuritySDK;