paystack-sdk 1.0.15 → 1.0.19
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 +8 -1
- package/dist/charge/charge.d.ts +8 -18
- package/dist/charge/charge.js +7 -14
- package/dist/charge/interface.d.ts +104 -76
- package/dist/customer/customer.d.ts +60 -0
- package/dist/customer/customer.js +96 -0
- package/dist/customer/index.d.ts +2 -0
- package/dist/customer/index.js +14 -0
- package/dist/customer/interface.d.ts +215 -0
- package/dist/customer/interface.js +13 -0
- package/dist/interface.d.ts +7 -0
- package/dist/interface.js +2 -0
- package/dist/paystack.d.ts +10 -2
- package/dist/paystack.js +12 -2
- package/dist/plan/interface.d.ts +26 -28
- package/dist/plan/plan.js +2 -2
- package/dist/product/index.d.ts +0 -0
- package/dist/product/index.js +1 -0
- package/dist/product/interface.d.ts +87 -0
- package/dist/product/interface.js +2 -0
- package/dist/product/product.d.ts +21 -0
- package/dist/product/product.js +46 -0
- package/dist/subscription/index.d.ts +1 -0
- package/dist/subscription/index.js +13 -0
- package/dist/subscription/interface.d.ts +118 -0
- package/dist/subscription/interface.js +2 -0
- package/dist/subscription/subscription.d.ts +18 -0
- package/dist/subscription/subscription.js +54 -0
- package/dist/transaction/interface.d.ts +75 -61
- package/dist/transaction/interface.js +0 -1
- package/dist/transaction/transaction.d.ts +12 -11
- package/dist/transaction/transaction.js +10 -13
- package/dist/transfer/interface.d.ts +105 -0
- package/dist/transfer/interface.js +2 -0
- package/dist/transfer/transfer.d.ts +26 -0
- package/dist/transfer/transfer.js +59 -0
- package/package.json +15 -12
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paystack-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Paystack SDK written in Typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "Tech Priest",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"private": false,
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|
|
11
11
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
12
12
|
"lint": "tslint -p tsconfig.json",
|
|
13
|
-
"test": "jest --config jestconfig.json",
|
|
14
13
|
"prepare": "npm run build",
|
|
15
14
|
"prepublishOnly": "npm run lint",
|
|
16
15
|
"preversion": "npm run lint",
|
|
@@ -18,14 +17,16 @@
|
|
|
18
17
|
"postversion": "git push && git push --tags"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {
|
|
21
|
-
"@types/
|
|
22
|
-
"@
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"tslint
|
|
28
|
-
"
|
|
20
|
+
"@types/node": "16.11.11",
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
22
|
+
"@typescript-eslint/parser": "^5.10.0",
|
|
23
|
+
"eslint": "8.6.0",
|
|
24
|
+
"prettier": "2.5.1",
|
|
25
|
+
"ts-node": "10.4.0",
|
|
26
|
+
"tslint": "6.1.3",
|
|
27
|
+
"tslint-config-prettier": "1.18.0",
|
|
28
|
+
"typescript": "4.5.2",
|
|
29
|
+
"typescript-eslint": "0.0.1-alpha.0"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"axios": "^0.24.0"
|
|
@@ -35,7 +36,9 @@
|
|
|
35
36
|
],
|
|
36
37
|
"keywords": [
|
|
37
38
|
"Paystack",
|
|
38
|
-
"Typescript"
|
|
39
|
+
"Typescript",
|
|
40
|
+
"payment",
|
|
41
|
+
"node"
|
|
39
42
|
],
|
|
40
43
|
"repository": {
|
|
41
44
|
"type": "git",
|