@paystack/checkout-js 1.28.0-dev.7 → 1.28.0-dev.8

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/README.md CHANGED
@@ -48,6 +48,6 @@ Checkout JS is deployed to three environments:
48
48
 
49
49
  Checkout JS is automatically packaged and published to the NPM registry on every push to the `master` and `dev` branches.
50
50
 
51
- The `master` branch is publised under the `latest` tag so it can be installed by running `npm i @paystack/checkout-js@latest` while the `dev` branch is published under the `dev` tag so it can be installed using `npm i @paystack/checkout-js@dev`
51
+ The `master` branch is publised under the `latest` tag that can be installed by running `npm i @paystack/checkout-js@latest` while the `dev` branch is published under the `dev` tag so it can be installed using `npm i @paystack/checkout-js@dev`
52
52
 
53
53
  All published versions are listed here on NPM https://www.npmjs.com/package/@paystack/checkout-js
package/dist/checkout.js CHANGED
@@ -21442,37 +21442,18 @@ var Paystack = (function (exports) {
21442
21442
  }
21443
21443
  }, {
21444
21444
  key: "requery",
21445
- value: function () {
21446
- var _requery = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
21447
- var _this = this;
21448
-
21449
- return regeneratorRuntime.wrap(function _callee$(_context) {
21450
- while (1) {
21451
- switch (_context.prev = _context.next) {
21452
- case 0:
21453
- return _context.abrupt("return", PreauthorizationAPI.requery({
21454
- reference: this.reference,
21455
- publicKey: this.merchant.key
21456
- }).then(function (response) {
21457
- _this.logAPIResponse(response, PAYMENT_METHOD);
21458
-
21459
- return response;
21460
- }));
21461
-
21462
- case 1:
21463
- case "end":
21464
- return _context.stop();
21465
- }
21466
- }
21467
- }, _callee, this);
21468
- }));
21445
+ value: function requery() {
21446
+ var _this = this;
21469
21447
 
21470
- function requery() {
21471
- return _requery.apply(this, arguments);
21472
- }
21448
+ return PreauthorizationAPI.requery({
21449
+ reference: this.reference,
21450
+ publicKey: this.merchant.key
21451
+ }).then(function (response) {
21452
+ _this.logAPIResponse(response, PAYMENT_METHOD);
21473
21453
 
21474
- return requery;
21475
- }()
21454
+ return response;
21455
+ });
21456
+ }
21476
21457
  }, {
21477
21458
  key: "listenForCharge",
21478
21459
  value: function listenForCharge(options, callback) {
package/es/checkout.js CHANGED
@@ -21439,37 +21439,18 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
21439
21439
  }
21440
21440
  }, {
21441
21441
  key: "requery",
21442
- value: function () {
21443
- var _requery = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
21444
- var _this = this;
21445
-
21446
- return regeneratorRuntime.wrap(function _callee$(_context) {
21447
- while (1) {
21448
- switch (_context.prev = _context.next) {
21449
- case 0:
21450
- return _context.abrupt("return", PreauthorizationAPI.requery({
21451
- reference: this.reference,
21452
- publicKey: this.merchant.key
21453
- }).then(function (response) {
21454
- _this.logAPIResponse(response, PAYMENT_METHOD);
21455
-
21456
- return response;
21457
- }));
21458
-
21459
- case 1:
21460
- case "end":
21461
- return _context.stop();
21462
- }
21463
- }
21464
- }, _callee, this);
21465
- }));
21442
+ value: function requery() {
21443
+ var _this = this;
21466
21444
 
21467
- function requery() {
21468
- return _requery.apply(this, arguments);
21469
- }
21445
+ return PreauthorizationAPI.requery({
21446
+ reference: this.reference,
21447
+ publicKey: this.merchant.key
21448
+ }).then(function (response) {
21449
+ _this.logAPIResponse(response, PAYMENT_METHOD);
21470
21450
 
21471
- return requery;
21472
- }()
21451
+ return response;
21452
+ });
21453
+ }
21473
21454
  }, {
21474
21455
  key: "listenForCharge",
21475
21456
  value: function listenForCharge(options, callback) {
package/lib/checkout.js CHANGED
@@ -21443,37 +21443,18 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
21443
21443
  }
21444
21444
  }, {
21445
21445
  key: "requery",
21446
- value: function () {
21447
- var _requery = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
21448
- var _this = this;
21449
-
21450
- return regeneratorRuntime.wrap(function _callee$(_context) {
21451
- while (1) {
21452
- switch (_context.prev = _context.next) {
21453
- case 0:
21454
- return _context.abrupt("return", PreauthorizationAPI.requery({
21455
- reference: this.reference,
21456
- publicKey: this.merchant.key
21457
- }).then(function (response) {
21458
- _this.logAPIResponse(response, PAYMENT_METHOD);
21459
-
21460
- return response;
21461
- }));
21462
-
21463
- case 1:
21464
- case "end":
21465
- return _context.stop();
21466
- }
21467
- }
21468
- }, _callee, this);
21469
- }));
21446
+ value: function requery() {
21447
+ var _this = this;
21470
21448
 
21471
- function requery() {
21472
- return _requery.apply(this, arguments);
21473
- }
21449
+ return PreauthorizationAPI.requery({
21450
+ reference: this.reference,
21451
+ publicKey: this.merchant.key
21452
+ }).then(function (response) {
21453
+ _this.logAPIResponse(response, PAYMENT_METHOD);
21474
21454
 
21475
- return requery;
21476
- }()
21455
+ return response;
21456
+ });
21457
+ }
21477
21458
  }, {
21478
21459
  key: "listenForCharge",
21479
21460
  value: function listenForCharge(options, callback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.28.0-dev.7",
3
+ "version": "1.28.0-dev.8",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",