Skip to content

Commit 436f966

Browse files
committed
3.1.0
1 parent f96fc59 commit 436f966

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paystack-sdk",
3-
"version": "3.0.1",
3+
"version": "3.1.0",
44
"description": "Paystack SDK written in Typescript",
55
"main": "dist/index.js",
66
"author": "Tech Priest",

src/paystack.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ export class Paystack {
5454
'Content-Type': 'application/json',
5555
},
5656
});
57-
this.http.interceptors.response.use((response: AxiosResponse) => response.data);
57+
this.http.interceptors.response.use(
58+
(response: AxiosResponse) => response.data,
59+
);
5860

5961
this.bulkcharge = new BulkCharge(this.http);
6062
this.charge = new Charge(this.http);

0 commit comments

Comments
 (0)