@paystack/checkout-js 1.46.0-dev.1 → 1.46.0-dev.3

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.
package/dist/checkout.js CHANGED
@@ -6339,22 +6339,19 @@ var Paystack = (function (exports) {
6339
6339
  checkoutUrl: 'http://localhost:8080/',
6340
6340
  paymentBaseUrl: 'https://legacy-staging.paystack.co/',
6341
6341
  paystackApiUrl: 'https://studio-api.paystack.co/',
6342
- pusherKey: '1c7b262ee18455815893',
6343
- pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js'
6342
+ pusherKey: '1c7b262ee18455815893'
6344
6343
  });
6345
6344
  var stagingConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6346
6345
  checkoutUrl: 'https://checkout-studio.paystack.com/',
6347
6346
  paymentBaseUrl: 'https://legacy-staging.paystack.co/',
6348
6347
  paystackApiUrl: 'https://studio-api.paystack.co/',
6349
- pusherKey: '1c7b262ee18455815893',
6350
- pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js'
6348
+ pusherKey: '1c7b262ee18455815893'
6351
6349
  });
6352
6350
  var productionConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6353
6351
  checkoutUrl: 'https://checkout.paystack.com/',
6354
6352
  paymentBaseUrl: 'https://standard.paystack.co/',
6355
6353
  paystackApiUrl: 'https://api.paystack.co/',
6356
- pusherKey: '8e4b9b7ca3418bd5cdc8',
6357
- pusherUrl: 'https://checkout.paystack.com/static/vendor/pusher.min.js'
6354
+ pusherKey: '8e4b9b7ca3418bd5cdc8'
6358
6355
  });
6359
6356
  var configToEnvironmentMapping = {
6360
6357
  dev: devConfig,
@@ -12115,17 +12112,6 @@ var Paystack = (function (exports) {
12115
12112
  }).then(function (response) {
12116
12113
  return response.data;
12117
12114
  });
12118
- },
12119
- initializeCustomerSubscriptionAuthorization: function initializeCustomerSubscriptionAuthorization(params, publicKey) {
12120
- var url = new URL('/customer/authorization/initialize_subscription', configToUse.paystackApiUrl).toString();
12121
- var headers = {
12122
- Authorization: "Bearer ".concat(publicKey)
12123
- };
12124
- return axiosInstance.post(url, params, {
12125
- headers: headers
12126
- }).then(function (response) {
12127
- return response.data;
12128
- });
12129
12115
  }
12130
12116
  };
12131
12117
 
@@ -12143,34 +12129,6 @@ var Paystack = (function (exports) {
12143
12129
  }).then(function (response) {
12144
12130
  return ChargeResponses.parse(response.data);
12145
12131
  });
12146
- },
12147
- incorrectAmountDecision: function incorrectAmountDecision(params, publicKey) {
12148
- var language = getLanguage();
12149
- var headers = _objectSpread2({
12150
- Authorization: "Bearer ".concat(publicKey)
12151
- }, language && {
12152
- 'Accept-Language': language
12153
- });
12154
- var url = new URL('pay-with-transfer/incorrect-amount/decision', configToUse.paystackApiUrl).toString();
12155
- return axiosInstance.post(url, params, {
12156
- headers: headers
12157
- }).then(function (response) {
12158
- return ChargeResponses.parse(response.data);
12159
- });
12160
- },
12161
- authenticatePayer: function authenticatePayer(params, publicKey) {
12162
- var language = getLanguage();
12163
- var headers = _objectSpread2({
12164
- Authorization: "Bearer ".concat(publicKey)
12165
- }, language && {
12166
- 'Accept-Language': language
12167
- });
12168
- var url = new URL('pay-with-transfer/authenticate-payer', configToUse.paystackApiUrl).toString();
12169
- return axiosInstance.post(url, params, {
12170
- headers: headers
12171
- }).then(function (response) {
12172
- return ChargeResponses.parse(response.data);
12173
- });
12174
12132
  }
12175
12133
  };
12176
12134
 
@@ -12199,25 +12157,6 @@ var Paystack = (function (exports) {
12199
12157
  paymentMethod: 'bank_transfer'
12200
12158
  };
12201
12159
  return this.listenForCharge(listenerOptions, callback);
12202
- },
12203
- sendIncorrectAmountDecision: function sendIncorrectAmountDecision(decisionMade) {
12204
- var params = {
12205
- transaction_id: this.id,
12206
- decision: decisionMade
12207
- };
12208
- return PayWithTransferAPI.incorrectAmountDecision(params, this.merchant.key);
12209
- },
12210
- sendAuthenticatePayer: function sendAuthenticatePayer(_ref2) {
12211
- var amountPaid = _ref2.amountPaid,
12212
- payerAccountNumber = _ref2.payerAccountNumber,
12213
- payerBankSlug = _ref2.payerBankSlug;
12214
- var params = {
12215
- transaction_id: this.id,
12216
- amount: amountPaid,
12217
- payer_account_number: payerAccountNumber,
12218
- payer_bank_slug: payerBankSlug
12219
- };
12220
- return PayWithTransferAPI.authenticatePayer(params, this.merchant.key);
12221
12160
  }
12222
12161
  };
12223
12162
 
@@ -18934,7 +18873,19 @@ var Paystack = (function (exports) {
18934
18873
  size: 3
18935
18874
  }
18936
18875
  });
18876
+ cardValidator.creditCardType.addCard({
18877
+ niceType: 'Afrigo',
18878
+ type: 'afrigo',
18879
+ patterns: [[56445600, 56445699], [56400001, 56409999]],
18880
+ gaps: [4, 8, 12],
18881
+ lengths: [18],
18882
+ code: {
18883
+ name: 'CVV',
18884
+ size: 3
18885
+ }
18886
+ });
18937
18887
  cardValidator.creditCardType.changeOrder('verve', 0);
18888
+ cardValidator.creditCardType.changeOrder('afrigo', 1);
18938
18889
  var Card$2 = {
18939
18890
  getEncryptedPin: function getEncryptedPin(pin) {
18940
18891
  return pin ? encrypt(pin) : undefined;
@@ -21210,10 +21161,6 @@ var Paystack = (function (exports) {
21210
21161
  },
21211
21162
  saveReferrer: function saveReferrer(referrer) {
21212
21163
  return AnalyticsAPI.saveReferrer(this.id, this.merchant.key, referrer);
21213
- },
21214
- setAmountByChannel: function setAmountByChannel(channelName) {
21215
- var _this$channelFeesConf;
21216
- this.amount = ((_this$channelFeesConf = this.channelFeesConfig[channelName]) === null || _this$channelFeesConf === void 0 ? void 0 : _this$channelFeesConf.amount) || this.originalAmount;
21217
21164
  }
21218
21165
  });
21219
21166
 
@@ -21357,7 +21304,7 @@ var Paystack = (function (exports) {
21357
21304
  }, _callee4);
21358
21305
  }))();
21359
21306
  },
21360
- generateDirectDebitManagedAccount: function generateDirectDebitManagedAccount(params) {
21307
+ generateLinkManagedAccount: function generateLinkManagedAccount(params) {
21361
21308
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
21362
21309
  var url, language, headers, payload, response;
21363
21310
  return regeneratorRuntime.wrap(function _callee5$(_context5) {
@@ -21524,28 +21471,12 @@ var Paystack = (function (exports) {
21524
21471
  });
21525
21472
  },
21526
21473
  generateLinkManagedAccount: function generateLinkManagedAccount(params) {
21527
- return this.getDirectDebitManagedAccount(params);
21528
- },
21529
- getDirectDebitManagedAccount: function getDirectDebitManagedAccount(params) {
21530
- return linkAPI.generateDirectDebitManagedAccount(_objectSpread2(_objectSpread2({}, params), {}, {
21474
+ return linkAPI.generateLinkManagedAccount(_objectSpread2(_objectSpread2({}, params), {}, {
21531
21475
  device: this.deviceFingerprint,
21532
21476
  transactionId: this.id
21533
21477
  }));
21534
21478
  },
21535
- getManagedAccount: function getManagedAccount(_ref5) {
21536
- var fulfilLateNotification = _ref5.fulfilLateNotification,
21537
- preferredProvider = _ref5.preferredProvider;
21538
- var params = {
21539
- transaction_id: this.id,
21540
- fulfil_late_notification: fulfilLateNotification,
21541
- preferred_provider: preferredProvider
21542
- };
21543
- return PayWithTransferAPI.generateManagedAccount(params, this.merchant.key);
21544
- },
21545
21479
  listenForLinkBankPayWithTransferCharge: function listenForLinkBankPayWithTransferCharge(pusherChannel, callback) {
21546
- return this.listenForBankPayWithTransferCharge(pusherChannel, callback);
21547
- },
21548
- listenForBankPayWithTransferCharge: function listenForBankPayWithTransferCharge(pusherChannel, callback) {
21549
21480
  var listenerOptions = {
21550
21481
  channel: pusherChannel,
21551
21482
  paymentMethod: 'bank_transfer'
@@ -21579,7 +21510,6 @@ var Paystack = (function (exports) {
21579
21510
  this.status = data.transaction_status || data.status;
21580
21511
  this.accessCode = data.access_code;
21581
21512
  this.amount = data.amount;
21582
- this.originalAmount = data.amount;
21583
21513
  this.domain = data.domain;
21584
21514
  this.isTest = data.domain === 'test';
21585
21515
  this.currency = data.currency;
@@ -21685,13 +21615,6 @@ var Paystack = (function (exports) {
21685
21615
  return response && response.data;
21686
21616
  });
21687
21617
  }
21688
- }, {
21689
- key: "initializeCustomerSubscriptionAuthorization",
21690
- value: function initializeCustomerSubscriptionAuthorization(payload) {
21691
- return TransactionAPI.initializeCustomerSubscriptionAuthorization(payload, this.merchant.key).then(function (response) {
21692
- return response && response.data;
21693
- });
21694
- }
21695
21618
  }]);
21696
21619
  return TransactionInstance;
21697
21620
  }();
@@ -21755,7 +21678,7 @@ var Paystack = (function (exports) {
21755
21678
  }
21756
21679
  throw new Error('This function should be used with transaction data from the API');
21757
21680
  case 5:
21758
- return _context2.abrupt("return", Object.seal(new TransactionInstance(_objectSpread2(_objectSpread2({}, transactionData), {
21681
+ return _context2.abrupt("return", Object.seal(new TransactionInstance(_objectSpread2(_objectSpread2({}, transactionData), {}, {
21759
21682
  deviceFingerprint: deviceFingerprint
21760
21683
  }))));
21761
21684
  case 6:
@@ -21913,19 +21836,6 @@ var Paystack = (function (exports) {
21913
21836
  resolvedCardBins[bin] = data;
21914
21837
  return data;
21915
21838
  });
21916
- },
21917
- resolveIPAddress: function resolveIPAddress(ipAddress) {
21918
- var url = new URL("decision/resolve_ip/".concat(ipAddress), configToUse.paystackApiUrl).toString();
21919
- var language = getLanguage();
21920
- var headers = _objectSpread2({}, language && {
21921
- 'Accept-Language': language
21922
- });
21923
- return axiosInstance.get(url, {
21924
- headers: headers
21925
- }).then(function (_ref2) {
21926
- var data = _ref2.data;
21927
- return data;
21928
- });
21929
21839
  }
21930
21840
  };
21931
21841
 
@@ -21983,11 +21893,6 @@ var Paystack = (function (exports) {
21983
21893
  value: function resolveCardBin(bin) {
21984
21894
  return ToolkitAPI.resolveCardBin(bin);
21985
21895
  }
21986
- }, {
21987
- key: "resolveIPAddress",
21988
- value: function resolveIPAddress(ipAddress) {
21989
- return ToolkitAPI.resolveIPAddress(ipAddress);
21990
- }
21991
21896
  }]);
21992
21897
  return Toolkit;
21993
21898
  }();
@@ -22275,7 +22180,6 @@ var Paystack = (function (exports) {
22275
22180
  return this.saveLog();
22276
22181
  },
22277
22182
  logAPIResponse: function logAPIResponse(response, channel) {
22278
- console.log('api response', response);
22279
22183
  switch (response.status) {
22280
22184
  case 'authorized':
22281
22185
  return this.logAuthorized(channel);
@@ -22458,4 +22362,3 @@ var Paystack = (function (exports) {
22458
22362
  return exports;
22459
22363
 
22460
22364
  })({});
22461
- //# sourceMappingURL=checkout.js.map
package/es/checkout.js CHANGED
@@ -6336,22 +6336,19 @@ var devConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6336
6336
  checkoutUrl: 'http://localhost:8080/',
6337
6337
  paymentBaseUrl: 'https://legacy-staging.paystack.co/',
6338
6338
  paystackApiUrl: 'https://studio-api.paystack.co/',
6339
- pusherKey: '1c7b262ee18455815893',
6340
- pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js'
6339
+ pusherKey: '1c7b262ee18455815893'
6341
6340
  });
6342
6341
  var stagingConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6343
6342
  checkoutUrl: 'https://checkout-studio.paystack.com/',
6344
6343
  paymentBaseUrl: 'https://legacy-staging.paystack.co/',
6345
6344
  paystackApiUrl: 'https://studio-api.paystack.co/',
6346
- pusherKey: '1c7b262ee18455815893',
6347
- pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js'
6345
+ pusherKey: '1c7b262ee18455815893'
6348
6346
  });
6349
6347
  var productionConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6350
6348
  checkoutUrl: 'https://checkout.paystack.com/',
6351
6349
  paymentBaseUrl: 'https://standard.paystack.co/',
6352
6350
  paystackApiUrl: 'https://api.paystack.co/',
6353
- pusherKey: '8e4b9b7ca3418bd5cdc8',
6354
- pusherUrl: 'https://checkout.paystack.com/static/vendor/pusher.min.js'
6351
+ pusherKey: '8e4b9b7ca3418bd5cdc8'
6355
6352
  });
6356
6353
  var configToEnvironmentMapping = {
6357
6354
  dev: devConfig,
@@ -12112,17 +12109,6 @@ var TransactionAPI = {
12112
12109
  }).then(function (response) {
12113
12110
  return response.data;
12114
12111
  });
12115
- },
12116
- initializeCustomerSubscriptionAuthorization: function initializeCustomerSubscriptionAuthorization(params, publicKey) {
12117
- var url = new URL('/customer/authorization/initialize_subscription', configToUse.paystackApiUrl).toString();
12118
- var headers = {
12119
- Authorization: "Bearer ".concat(publicKey)
12120
- };
12121
- return axiosInstance.post(url, params, {
12122
- headers: headers
12123
- }).then(function (response) {
12124
- return response.data;
12125
- });
12126
12112
  }
12127
12113
  };
12128
12114
 
@@ -12140,34 +12126,6 @@ var PayWithTransferAPI = {
12140
12126
  }).then(function (response) {
12141
12127
  return ChargeResponses.parse(response.data);
12142
12128
  });
12143
- },
12144
- incorrectAmountDecision: function incorrectAmountDecision(params, publicKey) {
12145
- var language = getLanguage();
12146
- var headers = _objectSpread2({
12147
- Authorization: "Bearer ".concat(publicKey)
12148
- }, language && {
12149
- 'Accept-Language': language
12150
- });
12151
- var url = new URL('pay-with-transfer/incorrect-amount/decision', configToUse.paystackApiUrl).toString();
12152
- return axiosInstance.post(url, params, {
12153
- headers: headers
12154
- }).then(function (response) {
12155
- return ChargeResponses.parse(response.data);
12156
- });
12157
- },
12158
- authenticatePayer: function authenticatePayer(params, publicKey) {
12159
- var language = getLanguage();
12160
- var headers = _objectSpread2({
12161
- Authorization: "Bearer ".concat(publicKey)
12162
- }, language && {
12163
- 'Accept-Language': language
12164
- });
12165
- var url = new URL('pay-with-transfer/authenticate-payer', configToUse.paystackApiUrl).toString();
12166
- return axiosInstance.post(url, params, {
12167
- headers: headers
12168
- }).then(function (response) {
12169
- return ChargeResponses.parse(response.data);
12170
- });
12171
12129
  }
12172
12130
  };
12173
12131
 
@@ -12196,25 +12154,6 @@ var PayWithTransferCharge = {
12196
12154
  paymentMethod: 'bank_transfer'
12197
12155
  };
12198
12156
  return this.listenForCharge(listenerOptions, callback);
12199
- },
12200
- sendIncorrectAmountDecision: function sendIncorrectAmountDecision(decisionMade) {
12201
- var params = {
12202
- transaction_id: this.id,
12203
- decision: decisionMade
12204
- };
12205
- return PayWithTransferAPI.incorrectAmountDecision(params, this.merchant.key);
12206
- },
12207
- sendAuthenticatePayer: function sendAuthenticatePayer(_ref2) {
12208
- var amountPaid = _ref2.amountPaid,
12209
- payerAccountNumber = _ref2.payerAccountNumber,
12210
- payerBankSlug = _ref2.payerBankSlug;
12211
- var params = {
12212
- transaction_id: this.id,
12213
- amount: amountPaid,
12214
- payer_account_number: payerAccountNumber,
12215
- payer_bank_slug: payerBankSlug
12216
- };
12217
- return PayWithTransferAPI.authenticatePayer(params, this.merchant.key);
12218
12157
  }
12219
12158
  };
12220
12159
 
@@ -18931,7 +18870,19 @@ cardValidator.creditCardType.addCard({
18931
18870
  size: 3
18932
18871
  }
18933
18872
  });
18873
+ cardValidator.creditCardType.addCard({
18874
+ niceType: 'Afrigo',
18875
+ type: 'afrigo',
18876
+ patterns: [[56445600, 56445699], [56400001, 56409999]],
18877
+ gaps: [4, 8, 12],
18878
+ lengths: [18],
18879
+ code: {
18880
+ name: 'CVV',
18881
+ size: 3
18882
+ }
18883
+ });
18934
18884
  cardValidator.creditCardType.changeOrder('verve', 0);
18885
+ cardValidator.creditCardType.changeOrder('afrigo', 1);
18935
18886
  var Card$2 = {
18936
18887
  getEncryptedPin: function getEncryptedPin(pin) {
18937
18888
  return pin ? encrypt(pin) : undefined;
@@ -21207,10 +21158,6 @@ var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2({}, CapitecPayAnalytics
21207
21158
  },
21208
21159
  saveReferrer: function saveReferrer(referrer) {
21209
21160
  return AnalyticsAPI.saveReferrer(this.id, this.merchant.key, referrer);
21210
- },
21211
- setAmountByChannel: function setAmountByChannel(channelName) {
21212
- var _this$channelFeesConf;
21213
- this.amount = ((_this$channelFeesConf = this.channelFeesConfig[channelName]) === null || _this$channelFeesConf === void 0 ? void 0 : _this$channelFeesConf.amount) || this.originalAmount;
21214
21161
  }
21215
21162
  });
21216
21163
 
@@ -21354,7 +21301,7 @@ var linkAPI = {
21354
21301
  }, _callee4);
21355
21302
  }))();
21356
21303
  },
21357
- generateDirectDebitManagedAccount: function generateDirectDebitManagedAccount(params) {
21304
+ generateLinkManagedAccount: function generateLinkManagedAccount(params) {
21358
21305
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
21359
21306
  var url, language, headers, payload, response;
21360
21307
  return regeneratorRuntime.wrap(function _callee5$(_context5) {
@@ -21521,28 +21468,12 @@ var linkChargeFunctions = {
21521
21468
  });
21522
21469
  },
21523
21470
  generateLinkManagedAccount: function generateLinkManagedAccount(params) {
21524
- return this.getDirectDebitManagedAccount(params);
21525
- },
21526
- getDirectDebitManagedAccount: function getDirectDebitManagedAccount(params) {
21527
- return linkAPI.generateDirectDebitManagedAccount(_objectSpread2(_objectSpread2({}, params), {}, {
21471
+ return linkAPI.generateLinkManagedAccount(_objectSpread2(_objectSpread2({}, params), {}, {
21528
21472
  device: this.deviceFingerprint,
21529
21473
  transactionId: this.id
21530
21474
  }));
21531
21475
  },
21532
- getManagedAccount: function getManagedAccount(_ref5) {
21533
- var fulfilLateNotification = _ref5.fulfilLateNotification,
21534
- preferredProvider = _ref5.preferredProvider;
21535
- var params = {
21536
- transaction_id: this.id,
21537
- fulfil_late_notification: fulfilLateNotification,
21538
- preferred_provider: preferredProvider
21539
- };
21540
- return PayWithTransferAPI.generateManagedAccount(params, this.merchant.key);
21541
- },
21542
21476
  listenForLinkBankPayWithTransferCharge: function listenForLinkBankPayWithTransferCharge(pusherChannel, callback) {
21543
- return this.listenForBankPayWithTransferCharge(pusherChannel, callback);
21544
- },
21545
- listenForBankPayWithTransferCharge: function listenForBankPayWithTransferCharge(pusherChannel, callback) {
21546
21477
  var listenerOptions = {
21547
21478
  channel: pusherChannel,
21548
21479
  paymentMethod: 'bank_transfer'
@@ -21576,7 +21507,6 @@ var TransactionInstance = /*#__PURE__*/function () {
21576
21507
  this.status = data.transaction_status || data.status;
21577
21508
  this.accessCode = data.access_code;
21578
21509
  this.amount = data.amount;
21579
- this.originalAmount = data.amount;
21580
21510
  this.domain = data.domain;
21581
21511
  this.isTest = data.domain === 'test';
21582
21512
  this.currency = data.currency;
@@ -21682,13 +21612,6 @@ var TransactionInstance = /*#__PURE__*/function () {
21682
21612
  return response && response.data;
21683
21613
  });
21684
21614
  }
21685
- }, {
21686
- key: "initializeCustomerSubscriptionAuthorization",
21687
- value: function initializeCustomerSubscriptionAuthorization(payload) {
21688
- return TransactionAPI.initializeCustomerSubscriptionAuthorization(payload, this.merchant.key).then(function (response) {
21689
- return response && response.data;
21690
- });
21691
- }
21692
21615
  }]);
21693
21616
  return TransactionInstance;
21694
21617
  }();
@@ -21752,7 +21675,7 @@ var Transaction = {
21752
21675
  }
21753
21676
  throw new Error('This function should be used with transaction data from the API');
21754
21677
  case 5:
21755
- return _context2.abrupt("return", Object.seal(new TransactionInstance(_objectSpread2(_objectSpread2({}, transactionData), {
21678
+ return _context2.abrupt("return", Object.seal(new TransactionInstance(_objectSpread2(_objectSpread2({}, transactionData), {}, {
21756
21679
  deviceFingerprint: deviceFingerprint
21757
21680
  }))));
21758
21681
  case 6:
@@ -21910,19 +21833,6 @@ var ToolkitAPI = {
21910
21833
  resolvedCardBins[bin] = data;
21911
21834
  return data;
21912
21835
  });
21913
- },
21914
- resolveIPAddress: function resolveIPAddress(ipAddress) {
21915
- var url = new URL("decision/resolve_ip/".concat(ipAddress), configToUse.paystackApiUrl).toString();
21916
- var language = getLanguage();
21917
- var headers = _objectSpread2({}, language && {
21918
- 'Accept-Language': language
21919
- });
21920
- return axiosInstance.get(url, {
21921
- headers: headers
21922
- }).then(function (_ref2) {
21923
- var data = _ref2.data;
21924
- return data;
21925
- });
21926
21836
  }
21927
21837
  };
21928
21838
 
@@ -21980,11 +21890,6 @@ var Toolkit = /*#__PURE__*/function () {
21980
21890
  value: function resolveCardBin(bin) {
21981
21891
  return ToolkitAPI.resolveCardBin(bin);
21982
21892
  }
21983
- }, {
21984
- key: "resolveIPAddress",
21985
- value: function resolveIPAddress(ipAddress) {
21986
- return ToolkitAPI.resolveIPAddress(ipAddress);
21987
- }
21988
21893
  }]);
21989
21894
  return Toolkit;
21990
21895
  }();
@@ -22272,7 +22177,6 @@ var AnalyticsFunctions = {
22272
22177
  return this.saveLog();
22273
22178
  },
22274
22179
  logAPIResponse: function logAPIResponse(response, channel) {
22275
- console.log('api response', response);
22276
22180
  switch (response.status) {
22277
22181
  case 'authorized':
22278
22182
  return this.logAuthorized(channel);
@@ -22445,4 +22349,3 @@ var Preauthorization = {
22445
22349
  };
22446
22350
 
22447
22351
  export { BankAccount, Card$1 as Card, Preauthorization, Toolkit, Transaction };
22448
- //# sourceMappingURL=checkout.js.map