paystack-sdk 1.0.16 → 1.0.17

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/README.md +8 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Paystack SDK
2
2
 
3
3
  #### Why Another [Paystack](https://paystack.com) Package?
4
+
4
5
  Other packages are either outdated or don't support types.
5
6
 
6
7
  ### Installation
8
+
7
9
  For Yarn
8
10
  `yarn add paystack-sdk`
9
11
 
@@ -11,7 +13,9 @@ For NPM
11
13
  `npm install paystack-sdk`
12
14
 
13
15
  ### Usage
16
+
14
17
  For Typescript
18
+
15
19
  ```
16
20
  import Paystack from 'paystack-sdk';
17
21
 
@@ -19,6 +23,7 @@ const paystack = new Paystack("secret_key);
19
23
  ```
20
24
 
21
25
  For Javscript
26
+
22
27
  ```
23
28
  const Paystack = require('paystack-sdk');
24
29
  const paystack = new Paystack("secret_key");
@@ -26,7 +31,9 @@ const paystack = new Paystack("secret_key");
26
31
 
27
32
  All methods use promise meaning you can either use the `async...await` or `then...catch` or `try...catch`
28
33
 
29
- ### Available Docs
34
+ ### Available Endpoints
35
+
30
36
  - [Charge](https://github.com/en1tan/paystack-node/blob/main/src/charge/README.md)
31
37
  - [Transaction](https://github.com/en1tan/paystack-node/blob/main/src/transaction/README.md)
32
38
  - [Plan](https://github.com/en1tan/paystack-node/blob/main/src/plan/README.md)
39
+ - [Customer](https://github.com/en1tan/paystack-node/blob/main/src/customer/README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paystack-sdk",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Paystack SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "author": "Koderant",