paystack-sdk 3.5.0 → 3.6.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.
@@ -21,6 +21,12 @@ import { Misc } from './misc/misc';
21
21
  * Paystack SDK
22
22
  * @author Asaju Enitan <@tPriest>
23
23
  */
24
+ /**
25
+ * @deprecated This named export is deprecated and will be removed
26
+ * in version `4.0.0`.
27
+ * Use the default export instead:
28
+ * Use `import Paystack from 'paystack-sdk'`
29
+ */
24
30
  export declare class Paystack {
25
31
  private readonly key;
26
32
  private readonly http;
package/dist/paystack.js CHANGED
@@ -28,6 +28,12 @@ const axios_1 = __importDefault(require("axios"));
28
28
  * Paystack SDK
29
29
  * @author Asaju Enitan <@tPriest>
30
30
  */
31
+ /**
32
+ * @deprecated This named export is deprecated and will be removed
33
+ * in version `4.0.0`.
34
+ * Use the default export instead:
35
+ * Use `import Paystack from 'paystack-sdk'`
36
+ */
31
37
  class Paystack {
32
38
  constructor(key) {
33
39
  this.key = key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paystack-sdk",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "Paystack SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "author": "Tech Priest",
@@ -40,7 +40,9 @@
40
40
  "Paystack",
41
41
  "Typescript",
42
42
  "payment",
43
- "node"
43
+ "node",
44
+ "API",
45
+ "naira"
44
46
  ],
45
47
  "repository": {
46
48
  "type": "git",