@paystack/checkout-js 1.50.2-dev.6 → 1.51.0-beta.1

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
@@ -1109,35 +1109,35 @@ var Paystack = (function (exports) {
1109
1109
 
1110
1110
  var NATIVE_BIND$2 = functionBindNative;
1111
1111
 
1112
- var FunctionPrototype$2 = Function.prototype;
1113
- var bind$c = FunctionPrototype$2.bind;
1114
- var call$e = FunctionPrototype$2.call;
1115
- var uncurryThis$w = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1112
+ var FunctionPrototype$3 = Function.prototype;
1113
+ var bind$c = FunctionPrototype$3.bind;
1114
+ var call$e = FunctionPrototype$3.call;
1115
+ var uncurryThis$x = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1116
1116
 
1117
1117
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
1118
- return fn && uncurryThis$w(fn);
1118
+ return fn && uncurryThis$x(fn);
1119
1119
  } : function (fn) {
1120
1120
  return fn && function () {
1121
1121
  return call$e.apply(fn, arguments);
1122
1122
  };
1123
1123
  };
1124
1124
 
1125
- var uncurryThis$v = functionUncurryThis;
1125
+ var uncurryThis$w = functionUncurryThis;
1126
1126
 
1127
- var toString$b = uncurryThis$v({}.toString);
1128
- var stringSlice$4 = uncurryThis$v(''.slice);
1127
+ var toString$b = uncurryThis$w({}.toString);
1128
+ var stringSlice$4 = uncurryThis$w(''.slice);
1129
1129
 
1130
1130
  var classofRaw$1 = function (it) {
1131
1131
  return stringSlice$4(toString$b(it), 8, -1);
1132
1132
  };
1133
1133
 
1134
1134
  var global$S = global$T;
1135
- var uncurryThis$u = functionUncurryThis;
1135
+ var uncurryThis$v = functionUncurryThis;
1136
1136
  var fails$s = fails$v;
1137
1137
  var classof$a = classofRaw$1;
1138
1138
 
1139
1139
  var Object$5 = global$S.Object;
1140
- var split$4 = uncurryThis$u(''.split);
1140
+ var split$4 = uncurryThis$v(''.split);
1141
1141
 
1142
1142
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1143
1143
  var indexedObject = fails$s(function () {
@@ -1190,9 +1190,9 @@ var Paystack = (function (exports) {
1190
1190
  return arguments.length < 2 ? aFunction(global$Q[namespace]) : global$Q[namespace] && global$Q[namespace][method];
1191
1191
  };
1192
1192
 
1193
- var uncurryThis$t = functionUncurryThis;
1193
+ var uncurryThis$u = functionUncurryThis;
1194
1194
 
1195
- var objectIsPrototypeOf = uncurryThis$t({}.isPrototypeOf);
1195
+ var objectIsPrototypeOf = uncurryThis$u({}.isPrototypeOf);
1196
1196
 
1197
1197
  var getBuiltIn$9 = getBuiltIn$a;
1198
1198
 
@@ -1321,11 +1321,11 @@ var Paystack = (function (exports) {
1321
1321
  var global$K = global$T;
1322
1322
 
1323
1323
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1324
- var defineProperty$5 = Object.defineProperty;
1324
+ var defineProperty$6 = Object.defineProperty;
1325
1325
 
1326
1326
  var setGlobal$3 = function (key, value) {
1327
1327
  try {
1328
- defineProperty$5(global$K, key, { value: value, configurable: true, writable: true });
1328
+ defineProperty$6(global$K, key, { value: value, configurable: true, writable: true });
1329
1329
  } catch (error) {
1330
1330
  global$K[key] = value;
1331
1331
  } return value;
@@ -1362,10 +1362,10 @@ var Paystack = (function (exports) {
1362
1362
  return Object$3(requireObjectCoercible$2(argument));
1363
1363
  };
1364
1364
 
1365
- var uncurryThis$s = functionUncurryThis;
1365
+ var uncurryThis$t = functionUncurryThis;
1366
1366
  var toObject$8 = toObject$9;
1367
1367
 
1368
- var hasOwnProperty$1 = uncurryThis$s({}.hasOwnProperty);
1368
+ var hasOwnProperty$1 = uncurryThis$t({}.hasOwnProperty);
1369
1369
 
1370
1370
  // `HasOwnProperty` abstract operation
1371
1371
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -1373,11 +1373,11 @@ var Paystack = (function (exports) {
1373
1373
  return hasOwnProperty$1(toObject$8(it), key);
1374
1374
  };
1375
1375
 
1376
- var uncurryThis$r = functionUncurryThis;
1376
+ var uncurryThis$s = functionUncurryThis;
1377
1377
 
1378
1378
  var id$1 = 0;
1379
1379
  var postfix = Math.random();
1380
- var toString$a = uncurryThis$r(1.0.toString);
1380
+ var toString$a = uncurryThis$s(1.0.toString);
1381
1381
 
1382
1382
  var uid$3 = function (key) {
1383
1383
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
@@ -1456,19 +1456,19 @@ var Paystack = (function (exports) {
1456
1456
  return EXISTS$1 ? document$3.createElement(it) : {};
1457
1457
  };
1458
1458
 
1459
- var DESCRIPTORS$c = descriptors$1;
1459
+ var DESCRIPTORS$d = descriptors$1;
1460
1460
  var fails$q = fails$v;
1461
1461
  var createElement$1 = documentCreateElement$2;
1462
1462
 
1463
1463
  // Thanks to IE8 for its funny defineProperty
1464
- var ie8DomDefine = !DESCRIPTORS$c && !fails$q(function () {
1464
+ var ie8DomDefine = !DESCRIPTORS$d && !fails$q(function () {
1465
1465
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1466
1466
  return Object.defineProperty(createElement$1('div'), 'a', {
1467
1467
  get: function () { return 7; }
1468
1468
  }).a != 7;
1469
1469
  });
1470
1470
 
1471
- var DESCRIPTORS$b = descriptors$1;
1471
+ var DESCRIPTORS$c = descriptors$1;
1472
1472
  var call$b = functionCall;
1473
1473
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
1474
1474
  var createPropertyDescriptor$5 = createPropertyDescriptor$6;
@@ -1482,7 +1482,7 @@ var Paystack = (function (exports) {
1482
1482
 
1483
1483
  // `Object.getOwnPropertyDescriptor` method
1484
1484
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1485
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1485
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1486
1486
  O = toIndexedObject$7(O);
1487
1487
  P = toPropertyKey$2(P);
1488
1488
  if (IE8_DOM_DEFINE$1) try {
@@ -1493,12 +1493,12 @@ var Paystack = (function (exports) {
1493
1493
 
1494
1494
  var objectDefineProperty = {};
1495
1495
 
1496
- var DESCRIPTORS$a = descriptors$1;
1496
+ var DESCRIPTORS$b = descriptors$1;
1497
1497
  var fails$p = fails$v;
1498
1498
 
1499
1499
  // V8 ~ Chrome 36-
1500
1500
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1501
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$p(function () {
1501
+ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$p(function () {
1502
1502
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1503
1503
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1504
1504
  value: 42,
@@ -1519,7 +1519,7 @@ var Paystack = (function (exports) {
1519
1519
  };
1520
1520
 
1521
1521
  var global$D = global$T;
1522
- var DESCRIPTORS$9 = descriptors$1;
1522
+ var DESCRIPTORS$a = descriptors$1;
1523
1523
  var IE8_DOM_DEFINE = ie8DomDefine;
1524
1524
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1525
1525
  var anObject$d = anObject$e;
@@ -1536,7 +1536,7 @@ var Paystack = (function (exports) {
1536
1536
 
1537
1537
  // `Object.defineProperty` method
1538
1538
  // https://tc39.es/ecma262/#sec-object.defineproperty
1539
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1539
+ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1540
1540
  anObject$d(O);
1541
1541
  P = toPropertyKey$1(P);
1542
1542
  anObject$d(Attributes);
@@ -1563,11 +1563,11 @@ var Paystack = (function (exports) {
1563
1563
  return O;
1564
1564
  };
1565
1565
 
1566
- var DESCRIPTORS$8 = descriptors$1;
1566
+ var DESCRIPTORS$9 = descriptors$1;
1567
1567
  var definePropertyModule$5 = objectDefineProperty;
1568
1568
  var createPropertyDescriptor$4 = createPropertyDescriptor$6;
1569
1569
 
1570
- var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value) {
1570
+ var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value) {
1571
1571
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$4(1, value));
1572
1572
  } : function (object, key, value) {
1573
1573
  object[key] = value;
@@ -1576,16 +1576,16 @@ var Paystack = (function (exports) {
1576
1576
 
1577
1577
  var redefine$a = {exports: {}};
1578
1578
 
1579
- var uncurryThis$q = functionUncurryThis;
1579
+ var uncurryThis$r = functionUncurryThis;
1580
1580
  var isCallable$e = isCallable$k;
1581
1581
  var store$1 = sharedStore;
1582
1582
 
1583
- var functionToString = uncurryThis$q(Function.toString);
1583
+ var functionToString$1 = uncurryThis$r(Function.toString);
1584
1584
 
1585
1585
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1586
1586
  if (!isCallable$e(store$1.inspectSource)) {
1587
1587
  store$1.inspectSource = function (it) {
1588
- return functionToString(it);
1588
+ return functionToString$1(it);
1589
1589
  };
1590
1590
  }
1591
1591
 
@@ -1612,7 +1612,7 @@ var Paystack = (function (exports) {
1612
1612
 
1613
1613
  var NATIVE_WEAK_MAP = nativeWeakMap;
1614
1614
  var global$B = global$T;
1615
- var uncurryThis$p = functionUncurryThis;
1615
+ var uncurryThis$q = functionUncurryThis;
1616
1616
  var isObject$c = isObject$h;
1617
1617
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
1618
1618
  var hasOwn$c = hasOwnProperty_1;
@@ -1640,9 +1640,9 @@ var Paystack = (function (exports) {
1640
1640
 
1641
1641
  if (NATIVE_WEAK_MAP || shared$1.state) {
1642
1642
  var store = shared$1.state || (shared$1.state = new WeakMap());
1643
- var wmget = uncurryThis$p(store.get);
1644
- var wmhas = uncurryThis$p(store.has);
1645
- var wmset = uncurryThis$p(store.set);
1643
+ var wmget = uncurryThis$q(store.get);
1644
+ var wmhas = uncurryThis$q(store.has);
1645
+ var wmset = uncurryThis$q(store.set);
1646
1646
  set$1 = function (it, metadata) {
1647
1647
  if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1648
1648
  metadata.facade = it;
@@ -1680,17 +1680,17 @@ var Paystack = (function (exports) {
1680
1680
  getterFor: getterFor
1681
1681
  };
1682
1682
 
1683
- var DESCRIPTORS$7 = descriptors$1;
1683
+ var DESCRIPTORS$8 = descriptors$1;
1684
1684
  var hasOwn$b = hasOwnProperty_1;
1685
1685
 
1686
- var FunctionPrototype$1 = Function.prototype;
1686
+ var FunctionPrototype$2 = Function.prototype;
1687
1687
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1688
- var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
1688
+ var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
1689
1689
 
1690
- var EXISTS = hasOwn$b(FunctionPrototype$1, 'name');
1690
+ var EXISTS = hasOwn$b(FunctionPrototype$2, 'name');
1691
1691
  // additional protection from minified / mangled / dropped function names
1692
1692
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
1693
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
1693
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$2, 'name').configurable));
1694
1694
 
1695
1695
  var functionName = {
1696
1696
  EXISTS: EXISTS,
@@ -1822,13 +1822,13 @@ var Paystack = (function (exports) {
1822
1822
  indexOf: createMethod$5(false)
1823
1823
  };
1824
1824
 
1825
- var uncurryThis$o = functionUncurryThis;
1825
+ var uncurryThis$p = functionUncurryThis;
1826
1826
  var hasOwn$9 = hasOwnProperty_1;
1827
1827
  var toIndexedObject$5 = toIndexedObject$8;
1828
1828
  var indexOf$1 = arrayIncludes.indexOf;
1829
1829
  var hiddenKeys$3 = hiddenKeys$5;
1830
1830
 
1831
- var push$7 = uncurryThis$o([].push);
1831
+ var push$7 = uncurryThis$p([].push);
1832
1832
 
1833
1833
  var objectKeysInternal = function (object, names) {
1834
1834
  var O = toIndexedObject$5(object);
@@ -1872,12 +1872,12 @@ var Paystack = (function (exports) {
1872
1872
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1873
1873
 
1874
1874
  var getBuiltIn$7 = getBuiltIn$a;
1875
- var uncurryThis$n = functionUncurryThis;
1875
+ var uncurryThis$o = functionUncurryThis;
1876
1876
  var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
1877
1877
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1878
1878
  var anObject$c = anObject$e;
1879
1879
 
1880
- var concat$1 = uncurryThis$n([].concat);
1880
+ var concat$1 = uncurryThis$o([].concat);
1881
1881
 
1882
1882
  // all object keys, includes non-enumerable and symbols
1883
1883
  var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -2075,11 +2075,11 @@ var Paystack = (function (exports) {
2075
2075
  });
2076
2076
 
2077
2077
  var $$m = _export;
2078
- var uncurryThis$m = functionUncurryThis;
2078
+ var uncurryThis$n = functionUncurryThis;
2079
2079
  var hiddenKeys$1 = hiddenKeys$5;
2080
2080
  var isObject$a = isObject$h;
2081
2081
  var hasOwn$7 = hasOwnProperty_1;
2082
- var defineProperty$4 = objectDefineProperty.f;
2082
+ var defineProperty$5 = objectDefineProperty.f;
2083
2083
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
2084
2084
  var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
2085
2085
  var isExtensible = objectIsExtensible;
@@ -2091,7 +2091,7 @@ var Paystack = (function (exports) {
2091
2091
  var id = 0;
2092
2092
 
2093
2093
  var setMetadata = function (it) {
2094
- defineProperty$4(it, METADATA, { value: {
2094
+ defineProperty$5(it, METADATA, { value: {
2095
2095
  objectID: 'O' + id++, // object ID
2096
2096
  weakData: {} // weak collections IDs
2097
2097
  } });
@@ -2133,7 +2133,7 @@ var Paystack = (function (exports) {
2133
2133
  meta.enable = function () { /* empty */ };
2134
2134
  REQUIRED = true;
2135
2135
  var getOwnPropertyNames = getOwnPropertyNamesModule.f;
2136
- var splice = uncurryThis$m([].splice);
2136
+ var splice = uncurryThis$n([].splice);
2137
2137
  var test = {};
2138
2138
  test[METADATA] = 1;
2139
2139
 
@@ -2184,9 +2184,9 @@ var Paystack = (function (exports) {
2184
2184
 
2185
2185
  var NATIVE_BIND$1 = functionBindNative;
2186
2186
 
2187
- var FunctionPrototype = Function.prototype;
2188
- var apply$3 = FunctionPrototype.apply;
2189
- var call$a = FunctionPrototype.call;
2187
+ var FunctionPrototype$1 = Function.prototype;
2188
+ var apply$3 = FunctionPrototype$1.apply;
2189
+ var call$a = FunctionPrototype$1.call;
2190
2190
 
2191
2191
  // eslint-disable-next-line es/no-reflect -- safe
2192
2192
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$3) : function () {
@@ -2206,7 +2206,7 @@ var Paystack = (function (exports) {
2206
2206
 
2207
2207
  /* eslint-disable no-proto -- safe */
2208
2208
 
2209
- var uncurryThis$l = functionUncurryThis;
2209
+ var uncurryThis$m = functionUncurryThis;
2210
2210
  var anObject$b = anObject$e;
2211
2211
  var aPossiblePrototype = aPossiblePrototype$1;
2212
2212
 
@@ -2220,7 +2220,7 @@ var Paystack = (function (exports) {
2220
2220
  var setter;
2221
2221
  try {
2222
2222
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2223
- setter = uncurryThis$l(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2223
+ setter = uncurryThis$m(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2224
2224
  setter(test, []);
2225
2225
  CORRECT_SETTER = test instanceof Array;
2226
2226
  } catch (error) { /* empty */ }
@@ -2319,9 +2319,9 @@ var Paystack = (function (exports) {
2319
2319
  }
2320
2320
  };
2321
2321
 
2322
- var uncurryThis$k = functionUncurryThis;
2322
+ var uncurryThis$l = functionUncurryThis;
2323
2323
 
2324
- var replace$7 = uncurryThis$k(''.replace);
2324
+ var replace$7 = uncurryThis$l(''.replace);
2325
2325
 
2326
2326
  var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
2327
2327
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
@@ -2470,7 +2470,7 @@ var Paystack = (function (exports) {
2470
2470
  return classof$5(argument) == 'Array';
2471
2471
  };
2472
2472
 
2473
- var uncurryThis$j = functionUncurryThis;
2473
+ var uncurryThis$k = functionUncurryThis;
2474
2474
  var fails$i = fails$v;
2475
2475
  var isCallable$7 = isCallable$k;
2476
2476
  var classof$4 = classof$7;
@@ -2481,7 +2481,7 @@ var Paystack = (function (exports) {
2481
2481
  var empty = [];
2482
2482
  var construct = getBuiltIn$5('Reflect', 'construct');
2483
2483
  var constructorRegExp = /^\s*(?:class|function)\b/;
2484
- var exec$5 = uncurryThis$j(constructorRegExp.exec);
2484
+ var exec$5 = uncurryThis$k(constructorRegExp.exec);
2485
2485
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
2486
2486
 
2487
2487
  var isConstructorModern = function isConstructor(argument) {
@@ -2725,11 +2725,11 @@ var Paystack = (function (exports) {
2725
2725
 
2726
2726
  var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
2727
2727
 
2728
- var uncurryThis$i = functionUncurryThis;
2728
+ var uncurryThis$j = functionUncurryThis;
2729
2729
  var aCallable$5 = aCallable$7;
2730
2730
  var NATIVE_BIND = functionBindNative;
2731
2731
 
2732
- var bind$b = uncurryThis$i(uncurryThis$i.bind);
2732
+ var bind$b = uncurryThis$j(uncurryThis$j.bind);
2733
2733
 
2734
2734
  // optional / simple context binding
2735
2735
  var functionBindContext = function (fn, that) {
@@ -2740,13 +2740,13 @@ var Paystack = (function (exports) {
2740
2740
  };
2741
2741
 
2742
2742
  var bind$a = functionBindContext;
2743
- var uncurryThis$h = functionUncurryThis;
2743
+ var uncurryThis$i = functionUncurryThis;
2744
2744
  var IndexedObject$3 = indexedObject;
2745
2745
  var toObject$6 = toObject$9;
2746
2746
  var lengthOfArrayLike$4 = lengthOfArrayLike$8;
2747
2747
  var arraySpeciesCreate = arraySpeciesCreate$2;
2748
2748
 
2749
- var push$6 = uncurryThis$h([].push);
2749
+ var push$6 = uncurryThis$i([].push);
2750
2750
 
2751
2751
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2752
2752
  var createMethod$4 = function (TYPE) {
@@ -2932,7 +2932,7 @@ var Paystack = (function (exports) {
2932
2932
 
2933
2933
  var objectDefineProperties = {};
2934
2934
 
2935
- var DESCRIPTORS$6 = descriptors$1;
2935
+ var DESCRIPTORS$7 = descriptors$1;
2936
2936
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
2937
2937
  var definePropertyModule$2 = objectDefineProperty;
2938
2938
  var anObject$9 = anObject$e;
@@ -2942,7 +2942,7 @@ var Paystack = (function (exports) {
2942
2942
  // `Object.defineProperties` method
2943
2943
  // https://tc39.es/ecma262/#sec-object.defineproperties
2944
2944
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2945
- objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2945
+ objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2946
2946
  anObject$9(O);
2947
2947
  var props = toIndexedObject$3(Properties);
2948
2948
  var keys = objectKeys$2(Properties);
@@ -3067,7 +3067,7 @@ var Paystack = (function (exports) {
3067
3067
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
3068
3068
  /* eslint-disable regexp/no-useless-quantifier -- testing */
3069
3069
  var call$9 = functionCall;
3070
- var uncurryThis$g = functionUncurryThis;
3070
+ var uncurryThis$h = functionUncurryThis;
3071
3071
  var toString$6 = toString$9;
3072
3072
  var regexpFlags = regexpFlags$1;
3073
3073
  var stickyHelpers = regexpStickyHelpers;
@@ -3080,10 +3080,10 @@ var Paystack = (function (exports) {
3080
3080
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
3081
3081
  var nativeExec = RegExp.prototype.exec;
3082
3082
  var patchedExec = nativeExec;
3083
- var charAt$5 = uncurryThis$g(''.charAt);
3084
- var indexOf = uncurryThis$g(''.indexOf);
3085
- var replace$6 = uncurryThis$g(''.replace);
3086
- var stringSlice$3 = uncurryThis$g(''.slice);
3083
+ var charAt$5 = uncurryThis$h(''.charAt);
3084
+ var indexOf = uncurryThis$h(''.indexOf);
3085
+ var replace$6 = uncurryThis$h(''.replace);
3086
+ var stringSlice$3 = uncurryThis$h(''.slice);
3087
3087
 
3088
3088
  var UPDATES_LAST_INDEX_WRONG = (function () {
3089
3089
  var re1 = /a/;
@@ -3195,7 +3195,7 @@ var Paystack = (function (exports) {
3195
3195
  var $$g = _export;
3196
3196
  var global$n = global$T;
3197
3197
  var call$8 = functionCall;
3198
- var uncurryThis$f = functionUncurryThis;
3198
+ var uncurryThis$g = functionUncurryThis;
3199
3199
  var isCallable$6 = isCallable$k;
3200
3200
  var isObject$4 = isObject$h;
3201
3201
 
@@ -3210,7 +3210,7 @@ var Paystack = (function (exports) {
3210
3210
  }();
3211
3211
 
3212
3212
  var Error$1 = global$n.Error;
3213
- var un$Test = uncurryThis$f(/./.test);
3213
+ var un$Test = uncurryThis$g(/./.test);
3214
3214
 
3215
3215
  // `RegExp.prototype.test` method
3216
3216
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
@@ -3230,12 +3230,12 @@ var Paystack = (function (exports) {
3230
3230
  var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
3231
3231
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3232
3232
 
3233
- var uncurryThis$e = functionUncurryThis;
3233
+ var uncurryThis$f = functionUncurryThis;
3234
3234
  var requireObjectCoercible$1 = requireObjectCoercible$4;
3235
3235
  var toString$5 = toString$9;
3236
3236
  var whitespaces$2 = whitespaces$3;
3237
3237
 
3238
- var replace$5 = uncurryThis$e(''.replace);
3238
+ var replace$5 = uncurryThis$f(''.replace);
3239
3239
  var whitespace = '[' + whitespaces$2 + ']';
3240
3240
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
3241
3241
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -3264,7 +3264,7 @@ var Paystack = (function (exports) {
3264
3264
 
3265
3265
  var global$m = global$T;
3266
3266
  var fails$a = fails$v;
3267
- var uncurryThis$d = functionUncurryThis;
3267
+ var uncurryThis$e = functionUncurryThis;
3268
3268
  var toString$4 = toString$9;
3269
3269
  var trim$2 = stringTrim.trim;
3270
3270
  var whitespaces$1 = whitespaces$3;
@@ -3273,7 +3273,7 @@ var Paystack = (function (exports) {
3273
3273
  var Symbol$1 = global$m.Symbol;
3274
3274
  var ITERATOR$8 = Symbol$1 && Symbol$1.iterator;
3275
3275
  var hex = /^[+-]?0x/i;
3276
- var exec$3 = uncurryThis$d(hex.exec);
3276
+ var exec$3 = uncurryThis$e(hex.exec);
3277
3277
  var FORCED$3 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22
3278
3278
  // MS Edge 18- broken with boxed symbols
3279
3279
  || (ITERATOR$8 && !fails$a(function () { $parseInt$1(Object(ITERATOR$8)); }));
@@ -3294,15 +3294,15 @@ var Paystack = (function (exports) {
3294
3294
  parseInt: $parseInt
3295
3295
  });
3296
3296
 
3297
- var uncurryThis$c = functionUncurryThis;
3297
+ var uncurryThis$d = functionUncurryThis;
3298
3298
 
3299
3299
  // `thisNumberValue` abstract operation
3300
3300
  // https://tc39.es/ecma262/#sec-thisnumbervalue
3301
- var thisNumberValue$1 = uncurryThis$c(1.0.valueOf);
3301
+ var thisNumberValue$1 = uncurryThis$d(1.0.valueOf);
3302
3302
 
3303
- var DESCRIPTORS$5 = descriptors$1;
3303
+ var DESCRIPTORS$6 = descriptors$1;
3304
3304
  var global$l = global$T;
3305
- var uncurryThis$b = functionUncurryThis;
3305
+ var uncurryThis$c = functionUncurryThis;
3306
3306
  var isForced$1 = isForced_1;
3307
3307
  var redefine$7 = redefine$a.exports;
3308
3308
  var hasOwn$5 = hasOwnProperty_1;
@@ -3313,7 +3313,7 @@ var Paystack = (function (exports) {
3313
3313
  var fails$9 = fails$v;
3314
3314
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3315
3315
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
3316
- var defineProperty$3 = objectDefineProperty.f;
3316
+ var defineProperty$4 = objectDefineProperty.f;
3317
3317
  var thisNumberValue = thisNumberValue$1;
3318
3318
  var trim$1 = stringTrim.trim;
3319
3319
 
@@ -3321,8 +3321,8 @@ var Paystack = (function (exports) {
3321
3321
  var NativeNumber = global$l[NUMBER];
3322
3322
  var NumberPrototype = NativeNumber.prototype;
3323
3323
  var TypeError$a = global$l.TypeError;
3324
- var arraySlice$4 = uncurryThis$b(''.slice);
3325
- var charCodeAt$3 = uncurryThis$b(''.charCodeAt);
3324
+ var arraySlice$4 = uncurryThis$c(''.slice);
3325
+ var charCodeAt$3 = uncurryThis$c(''.charCodeAt);
3326
3326
 
3327
3327
  // `ToNumeric` abstract operation
3328
3328
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -3371,7 +3371,7 @@ var Paystack = (function (exports) {
3371
3371
  return isPrototypeOf$3(NumberPrototype, dummy) && fails$9(function () { thisNumberValue(dummy); })
3372
3372
  ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
3373
3373
  };
3374
- for (var keys = DESCRIPTORS$5 ? getOwnPropertyNames(NativeNumber) : (
3374
+ for (var keys = DESCRIPTORS$6 ? getOwnPropertyNames(NativeNumber) : (
3375
3375
  // ES3:
3376
3376
  'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
3377
3377
  // ES2015 (in case, if modules with ES2015 Number statics required before):
@@ -3380,7 +3380,7 @@ var Paystack = (function (exports) {
3380
3380
  'fromString,range'
3381
3381
  ).split(','), j = 0, key; keys.length > j; j++) {
3382
3382
  if (hasOwn$5(NativeNumber, key = keys[j]) && !hasOwn$5(NumberWrapper, key)) {
3383
- defineProperty$3(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3383
+ defineProperty$4(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3384
3384
  }
3385
3385
  }
3386
3386
  NumberWrapper.prototype = NumberPrototype;
@@ -3618,7 +3618,7 @@ var Paystack = (function (exports) {
3618
3618
  var engineWebkitVersion = !!webkit && +webkit[1];
3619
3619
 
3620
3620
  var $$d = _export;
3621
- var uncurryThis$a = functionUncurryThis;
3621
+ var uncurryThis$b = functionUncurryThis;
3622
3622
  var aCallable$4 = aCallable$7;
3623
3623
  var toObject$4 = toObject$9;
3624
3624
  var lengthOfArrayLike$3 = lengthOfArrayLike$8;
@@ -3632,8 +3632,8 @@ var Paystack = (function (exports) {
3632
3632
  var WEBKIT = engineWebkitVersion;
3633
3633
 
3634
3634
  var test = [];
3635
- var un$Sort = uncurryThis$a(test.sort);
3636
- var push$5 = uncurryThis$a(test.push);
3635
+ var un$Sort = uncurryThis$b(test.sort);
3636
+ var push$5 = uncurryThis$b(test.push);
3637
3637
 
3638
3638
  // IE8-
3639
3639
  var FAILS_ON_UNDEFINED = fails$8(function () {
@@ -3738,12 +3738,12 @@ var Paystack = (function (exports) {
3738
3738
  });
3739
3739
 
3740
3740
  var $$b = _export;
3741
- var uncurryThis$9 = functionUncurryThis;
3741
+ var uncurryThis$a = functionUncurryThis;
3742
3742
  var IndexedObject$2 = indexedObject;
3743
3743
  var toIndexedObject$2 = toIndexedObject$8;
3744
3744
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
3745
3745
 
3746
- var un$Join = uncurryThis$9([].join);
3746
+ var un$Join = uncurryThis$a([].join);
3747
3747
 
3748
3748
  var ES3_STRINGS = IndexedObject$2 != Object;
3749
3749
  var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
@@ -5184,7 +5184,7 @@ var Paystack = (function (exports) {
5184
5184
  return target;
5185
5185
  };
5186
5186
 
5187
- var defineProperty$2 = objectDefineProperty.f;
5187
+ var defineProperty$3 = objectDefineProperty.f;
5188
5188
  var hasOwn$4 = hasOwnProperty_1;
5189
5189
  var wellKnownSymbol$c = wellKnownSymbol$j;
5190
5190
 
@@ -5193,14 +5193,14 @@ var Paystack = (function (exports) {
5193
5193
  var setToStringTag$5 = function (target, TAG, STATIC) {
5194
5194
  if (target && !STATIC) target = target.prototype;
5195
5195
  if (target && !hasOwn$4(target, TO_STRING_TAG$1)) {
5196
- defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5196
+ defineProperty$3(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5197
5197
  }
5198
5198
  };
5199
5199
 
5200
5200
  var getBuiltIn$3 = getBuiltIn$a;
5201
5201
  var definePropertyModule$1 = objectDefineProperty;
5202
5202
  var wellKnownSymbol$b = wellKnownSymbol$j;
5203
- var DESCRIPTORS$4 = descriptors$1;
5203
+ var DESCRIPTORS$5 = descriptors$1;
5204
5204
 
5205
5205
  var SPECIES$2 = wellKnownSymbol$b('species');
5206
5206
 
@@ -5208,7 +5208,7 @@ var Paystack = (function (exports) {
5208
5208
  var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
5209
5209
  var defineProperty = definePropertyModule$1.f;
5210
5210
 
5211
- if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$2]) {
5211
+ if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$2]) {
5212
5212
  defineProperty(Constructor, SPECIES$2, {
5213
5213
  configurable: true,
5214
5214
  get: function () { return this; }
@@ -5423,9 +5423,9 @@ var Paystack = (function (exports) {
5423
5423
  return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
5424
5424
  };
5425
5425
 
5426
- var uncurryThis$8 = functionUncurryThis;
5426
+ var uncurryThis$9 = functionUncurryThis;
5427
5427
 
5428
- var arraySlice$2 = uncurryThis$8([].slice);
5428
+ var arraySlice$2 = uncurryThis$9([].slice);
5429
5429
 
5430
5430
  var global$f = global$T;
5431
5431
 
@@ -6242,8 +6242,8 @@ var Paystack = (function (exports) {
6242
6242
  };
6243
6243
  }();
6244
6244
 
6245
- var DESCRIPTORS$3 = descriptors$1;
6246
- var uncurryThis$7 = functionUncurryThis;
6245
+ var DESCRIPTORS$4 = descriptors$1;
6246
+ var uncurryThis$8 = functionUncurryThis;
6247
6247
  var call$3 = functionCall;
6248
6248
  var fails$6 = fails$v;
6249
6249
  var objectKeys$1 = objectKeys$3;
@@ -6255,17 +6255,17 @@ var Paystack = (function (exports) {
6255
6255
  // eslint-disable-next-line es/no-object-assign -- safe
6256
6256
  var $assign = Object.assign;
6257
6257
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
6258
- var defineProperty$1 = Object.defineProperty;
6259
- var concat = uncurryThis$7([].concat);
6258
+ var defineProperty$2 = Object.defineProperty;
6259
+ var concat = uncurryThis$8([].concat);
6260
6260
 
6261
6261
  // `Object.assign` method
6262
6262
  // https://tc39.es/ecma262/#sec-object.assign
6263
6263
  var objectAssign = !$assign || fails$6(function () {
6264
6264
  // should have correct order of operations (Edge bug)
6265
- if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
6265
+ if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
6266
6266
  enumerable: true,
6267
6267
  get: function () {
6268
- defineProperty$1(this, 'b', {
6268
+ defineProperty$2(this, 'b', {
6269
6269
  value: 3,
6270
6270
  enumerable: false
6271
6271
  });
@@ -6294,7 +6294,7 @@ var Paystack = (function (exports) {
6294
6294
  var key;
6295
6295
  while (length > j) {
6296
6296
  key = keys[j++];
6297
- if (!DESCRIPTORS$3 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
6297
+ if (!DESCRIPTORS$4 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
6298
6298
  }
6299
6299
  } return T;
6300
6300
  } : $assign;
@@ -6558,7 +6558,7 @@ var Paystack = (function (exports) {
6558
6558
  });
6559
6559
  };
6560
6560
 
6561
- var uncurryThis$6 = functionUncurryThis;
6561
+ var uncurryThis$7 = functionUncurryThis;
6562
6562
  var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
6563
6563
  var redefine$4 = redefine$a.exports;
6564
6564
  var anObject$2 = anObject$e;
@@ -6570,7 +6570,7 @@ var Paystack = (function (exports) {
6570
6570
  var TO_STRING = 'toString';
6571
6571
  var RegExpPrototype = RegExp.prototype;
6572
6572
  var n$ToString = RegExpPrototype[TO_STRING];
6573
- var getFlags = uncurryThis$6(regExpFlags);
6573
+ var getFlags = uncurryThis$7(regExpFlags);
6574
6574
 
6575
6575
  var NOT_GENERIC = fails$5(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
6576
6576
  // FF44- RegExp#toString has a wrong name
@@ -6781,9 +6781,9 @@ var Paystack = (function (exports) {
6781
6781
  var addToUnscopables$1 = addToUnscopables$3;
6782
6782
  var Iterators = iterators;
6783
6783
  var InternalStateModule$3 = internalState;
6784
- var defineProperty = objectDefineProperty.f;
6784
+ var defineProperty$1 = objectDefineProperty.f;
6785
6785
  var defineIterator$1 = defineIterator$2;
6786
- var DESCRIPTORS$2 = descriptors$1;
6786
+ var DESCRIPTORS$3 = descriptors$1;
6787
6787
 
6788
6788
  var ARRAY_ITERATOR = 'Array Iterator';
6789
6789
  var setInternalState$3 = InternalStateModule$3.set;
@@ -6833,18 +6833,18 @@ var Paystack = (function (exports) {
6833
6833
  addToUnscopables$1('entries');
6834
6834
 
6835
6835
  // V8 ~ Chrome 45- bug
6836
- if (DESCRIPTORS$2 && values.name !== 'values') try {
6837
- defineProperty(values, 'name', { value: 'values' });
6836
+ if (DESCRIPTORS$3 && values.name !== 'values') try {
6837
+ defineProperty$1(values, 'name', { value: 'values' });
6838
6838
  } catch (error) { /* empty */ }
6839
6839
 
6840
- var uncurryThis$5 = functionUncurryThis;
6840
+ var uncurryThis$6 = functionUncurryThis;
6841
6841
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
6842
6842
  var toString$2 = toString$9;
6843
6843
  var requireObjectCoercible = requireObjectCoercible$4;
6844
6844
 
6845
- var charAt$4 = uncurryThis$5(''.charAt);
6846
- var charCodeAt$2 = uncurryThis$5(''.charCodeAt);
6847
- var stringSlice$2 = uncurryThis$5(''.slice);
6845
+ var charAt$4 = uncurryThis$6(''.charAt);
6846
+ var charCodeAt$2 = uncurryThis$6(''.charCodeAt);
6847
+ var stringSlice$2 = uncurryThis$6(''.slice);
6848
6848
 
6849
6849
  var createMethod$2 = function (CONVERT_TO_STRING) {
6850
6850
  return function ($this, pos) {
@@ -7039,7 +7039,7 @@ var Paystack = (function (exports) {
7039
7039
 
7040
7040
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
7041
7041
  var global$5 = global$T;
7042
- var uncurryThis$4 = functionUncurryThis;
7042
+ var uncurryThis$5 = functionUncurryThis;
7043
7043
 
7044
7044
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
7045
7045
  var base = 36;
@@ -7056,15 +7056,15 @@ var Paystack = (function (exports) {
7056
7056
  var baseMinusTMin = base - tMin;
7057
7057
 
7058
7058
  var RangeError = global$5.RangeError;
7059
- var exec$2 = uncurryThis$4(regexSeparators.exec);
7059
+ var exec$2 = uncurryThis$5(regexSeparators.exec);
7060
7060
  var floor$1 = Math.floor;
7061
7061
  var fromCharCode = String.fromCharCode;
7062
- var charCodeAt$1 = uncurryThis$4(''.charCodeAt);
7063
- var join$2 = uncurryThis$4([].join);
7064
- var push$4 = uncurryThis$4([].push);
7065
- var replace$4 = uncurryThis$4(''.replace);
7066
- var split$3 = uncurryThis$4(''.split);
7067
- var toLowerCase$1 = uncurryThis$4(''.toLowerCase);
7062
+ var charCodeAt$1 = uncurryThis$5(''.charCodeAt);
7063
+ var join$2 = uncurryThis$5([].join);
7064
+ var push$4 = uncurryThis$5([].push);
7065
+ var replace$4 = uncurryThis$5(''.replace);
7066
+ var split$3 = uncurryThis$5(''.split);
7067
+ var toLowerCase$1 = uncurryThis$5(''.toLowerCase);
7068
7068
 
7069
7069
  /**
7070
7070
  * Creates an array containing the numeric code points of each Unicode
@@ -7225,7 +7225,7 @@ var Paystack = (function (exports) {
7225
7225
  var global$4 = global$T;
7226
7226
  var getBuiltIn$1 = getBuiltIn$a;
7227
7227
  var call = functionCall;
7228
- var uncurryThis$3 = functionUncurryThis;
7228
+ var uncurryThis$4 = functionUncurryThis;
7229
7229
  var USE_NATIVE_URL$1 = nativeUrl;
7230
7230
  var redefine$1 = redefine$a.exports;
7231
7231
  var redefineAll = redefineAll$2;
@@ -7264,14 +7264,14 @@ var Paystack = (function (exports) {
7264
7264
  var TypeError$3 = global$4.TypeError;
7265
7265
  var decodeURIComponent$1 = global$4.decodeURIComponent;
7266
7266
  var encodeURIComponent$1 = global$4.encodeURIComponent;
7267
- var charAt$2 = uncurryThis$3(''.charAt);
7268
- var join$1 = uncurryThis$3([].join);
7269
- var push$3 = uncurryThis$3([].push);
7270
- var replace$3 = uncurryThis$3(''.replace);
7271
- var shift$1 = uncurryThis$3([].shift);
7272
- var splice = uncurryThis$3([].splice);
7273
- var split$2 = uncurryThis$3(''.split);
7274
- var stringSlice$1 = uncurryThis$3(''.slice);
7267
+ var charAt$2 = uncurryThis$4(''.charAt);
7268
+ var join$1 = uncurryThis$4([].join);
7269
+ var push$3 = uncurryThis$4([].push);
7270
+ var replace$3 = uncurryThis$4(''.replace);
7271
+ var shift$1 = uncurryThis$4([].shift);
7272
+ var splice = uncurryThis$4([].splice);
7273
+ var split$2 = uncurryThis$4(''.split);
7274
+ var stringSlice$1 = uncurryThis$4(''.slice);
7275
7275
 
7276
7276
  var plus = /\+/g;
7277
7277
  var sequences = Array(4);
@@ -7554,8 +7554,8 @@ var Paystack = (function (exports) {
7554
7554
 
7555
7555
  // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
7556
7556
  if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
7557
- var headersHas = uncurryThis$3(HeadersPrototype.has);
7558
- var headersSet = uncurryThis$3(HeadersPrototype.set);
7557
+ var headersHas = uncurryThis$4(HeadersPrototype.has);
7558
+ var headersSet = uncurryThis$4(HeadersPrototype.set);
7559
7559
 
7560
7560
  var wrapRequestOptions = function (init) {
7561
7561
  if (isObject$1(init)) {
@@ -7605,11 +7605,11 @@ var Paystack = (function (exports) {
7605
7605
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
7606
7606
 
7607
7607
  var $$5 = _export;
7608
- var DESCRIPTORS$1 = descriptors$1;
7608
+ var DESCRIPTORS$2 = descriptors$1;
7609
7609
  var USE_NATIVE_URL = nativeUrl;
7610
7610
  var global$3 = global$T;
7611
7611
  var bind$3 = functionBindContext;
7612
- var uncurryThis$2 = functionUncurryThis;
7612
+ var uncurryThis$3 = functionUncurryThis;
7613
7613
  var defineProperties = objectDefineProperties.f;
7614
7614
  var redefine = redefine$a.exports;
7615
7615
  var anInstance = anInstance$3;
@@ -7635,18 +7635,18 @@ var Paystack = (function (exports) {
7635
7635
  var parseInt$1 = global$3.parseInt;
7636
7636
  var floor = Math.floor;
7637
7637
  var pow = Math.pow;
7638
- var charAt$1 = uncurryThis$2(''.charAt);
7639
- var exec$1 = uncurryThis$2(/./.exec);
7640
- var join = uncurryThis$2([].join);
7641
- var numberToString$1 = uncurryThis$2(1.0.toString);
7642
- var pop = uncurryThis$2([].pop);
7643
- var push$2 = uncurryThis$2([].push);
7644
- var replace$2 = uncurryThis$2(''.replace);
7645
- var shift = uncurryThis$2([].shift);
7646
- var split$1 = uncurryThis$2(''.split);
7647
- var stringSlice = uncurryThis$2(''.slice);
7648
- var toLowerCase = uncurryThis$2(''.toLowerCase);
7649
- var unshift = uncurryThis$2([].unshift);
7638
+ var charAt$1 = uncurryThis$3(''.charAt);
7639
+ var exec$1 = uncurryThis$3(/./.exec);
7640
+ var join = uncurryThis$3([].join);
7641
+ var numberToString$1 = uncurryThis$3(1.0.toString);
7642
+ var pop = uncurryThis$3([].pop);
7643
+ var push$2 = uncurryThis$3([].push);
7644
+ var replace$2 = uncurryThis$3(''.replace);
7645
+ var shift = uncurryThis$3([].shift);
7646
+ var split$1 = uncurryThis$3(''.split);
7647
+ var stringSlice = uncurryThis$3(''.slice);
7648
+ var toLowerCase = uncurryThis$3(''.toLowerCase);
7649
+ var unshift = uncurryThis$3([].unshift);
7650
7650
 
7651
7651
  var INVALID_AUTHORITY = 'Invalid authority';
7652
7652
  var INVALID_SCHEME = 'Invalid scheme';
@@ -8545,7 +8545,7 @@ var Paystack = (function (exports) {
8545
8545
  var that = anInstance(this, URLPrototype);
8546
8546
  var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
8547
8547
  var state = setInternalState(that, new URLState(url, false, base));
8548
- if (!DESCRIPTORS$1) {
8548
+ if (!DESCRIPTORS$2) {
8549
8549
  that.href = state.serialize();
8550
8550
  that.origin = state.getOrigin();
8551
8551
  that.protocol = state.getProtocol();
@@ -8576,7 +8576,7 @@ var Paystack = (function (exports) {
8576
8576
  };
8577
8577
  };
8578
8578
 
8579
- if (DESCRIPTORS$1) {
8579
+ if (DESCRIPTORS$2) {
8580
8580
  defineProperties(URLPrototype, {
8581
8581
  // `URL.prototype.href` accessors pair
8582
8582
  // https://url.spec.whatwg.org/#dom-url-href
@@ -8642,7 +8642,7 @@ var Paystack = (function (exports) {
8642
8642
 
8643
8643
  setToStringTag(URLConstructor, 'URL');
8644
8644
 
8645
- $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$1 }, {
8645
+ $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
8646
8646
  URL: URLConstructor
8647
8647
  });
8648
8648
 
@@ -12444,6 +12444,32 @@ var Paystack = (function (exports) {
12444
12444
  }
12445
12445
  };
12446
12446
 
12447
+ var DESCRIPTORS$1 = descriptors$1;
12448
+ var FUNCTION_NAME_EXISTS = functionName.EXISTS;
12449
+ var uncurryThis$2 = functionUncurryThis;
12450
+ var defineProperty = objectDefineProperty.f;
12451
+
12452
+ var FunctionPrototype = Function.prototype;
12453
+ var functionToString = uncurryThis$2(FunctionPrototype.toString);
12454
+ var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
12455
+ var regExpExec = uncurryThis$2(nameRE.exec);
12456
+ var NAME = 'name';
12457
+
12458
+ // Function instances `.name` property
12459
+ // https://tc39.es/ecma262/#sec-function-instances-name
12460
+ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
12461
+ defineProperty(FunctionPrototype, NAME, {
12462
+ configurable: true,
12463
+ get: function () {
12464
+ try {
12465
+ return regExpExec(nameRE, functionToString(this))[1];
12466
+ } catch (error) {
12467
+ return '';
12468
+ }
12469
+ }
12470
+ });
12471
+ }
12472
+
12447
12473
  var jsencrypt = {exports: {}};
12448
12474
 
12449
12475
  (function (module, exports) {
@@ -18992,13 +19018,15 @@ var Paystack = (function (exports) {
18992
19018
  cvv = _ref.cvv,
18993
19019
  month = _ref.month,
18994
19020
  year = _ref.year,
18995
- pin = _ref.pin;
19021
+ pin = _ref.pin,
19022
+ name = _ref.name;
18996
19023
  _classCallCheck(this, Card);
18997
19024
  this.number = number;
18998
19025
  this.cvv = cvv;
18999
19026
  this.month = month;
19000
19027
  this.year = year;
19001
19028
  this.pin = pin;
19029
+ this.name = name;
19002
19030
  }
19003
19031
  _createClass(Card, [{
19004
19032
  key: "getEncryptedPin",
@@ -19086,6 +19114,7 @@ var Paystack = (function (exports) {
19086
19114
  trans = _ref.trans,
19087
19115
  device = _ref.device,
19088
19116
  rememberCard = _ref.rememberCard,
19117
+ cardHolderName = _ref.cardHolderName,
19089
19118
  transactionType = _ref.transactionType,
19090
19119
  subscription = _ref.subscription,
19091
19120
  customFields = _ref.customFields;
@@ -19096,14 +19125,16 @@ var Paystack = (function (exports) {
19096
19125
  }, language && {
19097
19126
  'Accept-Language': language
19098
19127
  });
19099
- var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2({
19128
+ var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
19100
19129
  clientdata: clientdata,
19101
19130
  last4: last4,
19102
19131
  trans: trans,
19103
19132
  device: device,
19104
19133
  offset: new Date().getTimezoneOffset(),
19105
19134
  remember_card: rememberCard
19106
- }, transactionType && {
19135
+ }, cardHolderName && {
19136
+ card_holder_name: cardHolderName
19137
+ }), transactionType && {
19107
19138
  transaction_type: transactionType
19108
19139
  }), subscription && {
19109
19140
  subscription: subscription
@@ -19409,6 +19440,46 @@ var Paystack = (function (exports) {
19409
19440
  }
19410
19441
  }, _callee5);
19411
19442
  }))();
19443
+ },
19444
+ getReachTaxQuote: function getReachTaxQuote(_ref11) {
19445
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
19446
+ var transaction, address, merchantKey, _ref11$gateway, gateway, url, language, headers, params, response;
19447
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
19448
+ while (1) {
19449
+ switch (_context6.prev = _context6.next) {
19450
+ case 0:
19451
+ transaction = _ref11.transaction, address = _ref11.address, merchantKey = _ref11.merchantKey, _ref11$gateway = _ref11.gateway, gateway = _ref11$gateway === void 0 ? 'REACH' : _ref11$gateway;
19452
+ url = new URL('/transaction/tax_quote', configToUse.paystackApiUrl).toString();
19453
+ language = getLanguage();
19454
+ headers = _objectSpread2({
19455
+ Authorization: "Bearer ".concat(merchantKey)
19456
+ }, language && {
19457
+ 'Accept-Language': language
19458
+ });
19459
+ params = {
19460
+ transaction_id: transaction,
19461
+ address_street: address.street,
19462
+ address_city: address.city,
19463
+ address_region: address.state,
19464
+ address_postcode: address.postCode,
19465
+ address_country: address.country,
19466
+ gateway: gateway
19467
+ };
19468
+ _context6.next = 7;
19469
+ return axiosInstance.get(url, {
19470
+ params: params,
19471
+ headers: headers
19472
+ });
19473
+ case 7:
19474
+ response = _context6.sent;
19475
+ return _context6.abrupt("return", response.data);
19476
+ case 9:
19477
+ case "end":
19478
+ return _context6.stop();
19479
+ }
19480
+ }
19481
+ }, _callee6);
19482
+ }))();
19412
19483
  }
19413
19484
  };
19414
19485
 
@@ -19456,6 +19527,7 @@ var Paystack = (function (exports) {
19456
19527
  trans: _this2.id,
19457
19528
  device: _this2.deviceFingerprint,
19458
19529
  rememberCard: _this2.remember_card,
19530
+ cardHolderName: _this2.card.name,
19459
19531
  transactionType: _this2.transactionType,
19460
19532
  subscription: _this2.subscription,
19461
19533
  customFields: customFields
@@ -19664,6 +19736,24 @@ var Paystack = (function (exports) {
19664
19736
  device: this.deviceFingerprint,
19665
19737
  selectedCurrency: selectedCurrency
19666
19738
  });
19739
+ },
19740
+ getReachTaxQuote: function getReachTaxQuote(_ref7) {
19741
+ var street = _ref7.street,
19742
+ city = _ref7.city,
19743
+ state = _ref7.state,
19744
+ postCode = _ref7.postCode,
19745
+ country = _ref7.country;
19746
+ return CardAPI$1.getReachTaxQuote({
19747
+ transaction: this.id,
19748
+ address: {
19749
+ street: street,
19750
+ city: city,
19751
+ state: state,
19752
+ postCode: postCode,
19753
+ country: country
19754
+ },
19755
+ merchantKey: this.merchant.key
19756
+ });
19667
19757
  }
19668
19758
  };
19669
19759
 
@@ -21507,6 +21597,7 @@ var Paystack = (function (exports) {
21507
21597
  channelSettings: data.merchant_channel_settings || {}
21508
21598
  };
21509
21599
  this.status = data.transaction_status || data.status;
21600
+ this.channelSettings = data.channel_settings || {};
21510
21601
  this.accessCode = data.access_code;
21511
21602
  this.amount = data.amount;
21512
21603
  this.domain = data.domain;
@@ -21832,6 +21923,42 @@ var Paystack = (function (exports) {
21832
21923
  resolvedCardBins[bin] = data;
21833
21924
  return data;
21834
21925
  });
21926
+ },
21927
+ fetchCountries: function fetchCountries(_ref2) {
21928
+ var scope = _ref2.scope,
21929
+ merchantKey = _ref2.merchantKey;
21930
+ var url = new URL('/address/country', configToUse.paystackApiUrl).toString();
21931
+ var language = getLanguage();
21932
+ var headers = _objectSpread2({
21933
+ Authorization: "Bearer ".concat(merchantKey)
21934
+ }, language && {
21935
+ 'Accept-Language': language
21936
+ });
21937
+ var params = scope ? {
21938
+ scope: scope
21939
+ } : undefined;
21940
+ return axiosInstance.get(url, {
21941
+ params: params,
21942
+ headers: headers
21943
+ }).then(function (response) {
21944
+ return response.data;
21945
+ });
21946
+ },
21947
+ fetchReachStates: function fetchReachStates(_ref3) {
21948
+ var country = _ref3.country,
21949
+ merchantKey = _ref3.merchantKey;
21950
+ var url = new URL("/address/country/".concat(country, "/state"), configToUse.paystackApiUrl).toString();
21951
+ var language = getLanguage();
21952
+ var headers = _objectSpread2({
21953
+ Authorization: "Bearer ".concat(merchantKey)
21954
+ }, language && {
21955
+ 'Accept-Language': language
21956
+ });
21957
+ return axiosInstance.get(url, {
21958
+ headers: headers
21959
+ }).then(function (response) {
21960
+ return response.data;
21961
+ });
21835
21962
  }
21836
21963
  };
21837
21964
 
@@ -21854,6 +21981,12 @@ var Paystack = (function (exports) {
21854
21981
  }, {
21855
21982
  key: 'states',
21856
21983
  usage: 'Returns a list of states for a particular country'
21984
+ }, {
21985
+ key: 'countries',
21986
+ usage: 'Returns a list of countries that can be scoped to specific use cases'
21987
+ }, {
21988
+ key: 'reachStates',
21989
+ usage: 'Returns a list of states for reach address verification for a particular country'
21857
21990
  }];
21858
21991
  }
21859
21992
  }, {
@@ -21881,6 +22014,12 @@ var Paystack = (function (exports) {
21881
22014
  case 'states':
21882
22015
  data = ToolkitAPI.fetchStates(params);
21883
22016
  break;
22017
+ case 'countries':
22018
+ data = ToolkitAPI.fetchCountries(params);
22019
+ break;
22020
+ case 'reachStates':
22021
+ data = ToolkitAPI.fetchReachStates(params);
22022
+ break;
21884
22023
  }
21885
22024
  return data;
21886
22025
  }