paystack-sdk 3.0.0 → 3.4.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/index.d.ts +2 -0
- package/dist/index.js +7 -2
- package/dist/paystack.d.ts +1 -0
- package/dist/paystack.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.Paystack = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
const paystack_1 = __importDefault(require("./paystack"));
|
|
8
|
+
exports.default = paystack_1.default;
|
|
9
|
+
var paystack_2 = require("./paystack");
|
|
10
|
+
Object.defineProperty(exports, "Paystack", { enumerable: true, get: function () { return paystack_2.Paystack; } });
|
package/dist/paystack.d.ts
CHANGED
package/dist/paystack.js
CHANGED
|
@@ -38,7 +38,7 @@ class Paystack {
|
|
|
38
38
|
'Content-Type': 'application/json',
|
|
39
39
|
},
|
|
40
40
|
});
|
|
41
|
-
this.http.interceptors.response.use((response) =>
|
|
41
|
+
this.http.interceptors.response.use((response) => response.data);
|
|
42
42
|
this.bulkcharge = new bulkcharge_1.BulkCharge(this.http);
|
|
43
43
|
this.charge = new charge_1.Charge(this.http);
|
|
44
44
|
this.customer = new customer_1.Customer(this.http);
|
|
@@ -61,3 +61,4 @@ class Paystack {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.Paystack = Paystack;
|
|
64
|
+
exports.default = Paystack;
|