paystack-sdk 3.0.0 → 3.2.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 (2) hide show
  1. package/dist/paystack.js +1 -1
  2. package/package.json +1 -1
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) => (response.data = JSON.parse(response.data)));
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paystack-sdk",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Paystack SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "author": "Tech Priest",