paystack-sdk 2.5.2 → 2.5.4

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 CHANGED
@@ -54,8 +54,8 @@ All methods use promise meaning you can either use the `async...await` or `then.
54
54
  - [x] Settlements
55
55
  - [x] Invoices
56
56
  - [x] Transaction Recipients
57
- - [ ] Transfers Control
58
- - [ ] Bulk Charges
57
+ - [x] Transfers Control
58
+ - [x] Bulk Charges
59
59
  - [ ] Control Panel
60
60
  - [ ] Disputes
61
61
  - [ ] Refunds
@@ -19,7 +19,7 @@ export declare class Transaction {
19
19
  * @param {InitializeTransaction} data **Body Param**
20
20
  */
21
21
  initialize(data: InitializeTransaction): Promise<TransactionInitialized | BadRequest>;
22
- verify(reference: string): Promise<GetTransactionResponse | BadRequest>;
22
+ verify(reference: number): Promise<GetTransactionResponse | BadRequest>;
23
23
  list(queryParams?: ListTransactionQueryParams): Promise<ListTransactions | BadRequest>;
24
24
  fetch(id: string): Promise<GetTransactionResponse | BadRequest>;
25
25
  chargeAuthorization(data: ChargeAuthorization): Promise<GetTransactionResponse | BadRequest>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paystack-sdk",
3
- "version": "2.5.2",
3
+ "version": "2.5.4",
4
4
  "description": "Paystack SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "author": "Tech Priest",
@@ -1,2 +0,0 @@
1
- export * from './charge';
2
- export * from './interface';
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./charge"), exports);
14
- __exportStar(require("./interface"), exports);
@@ -1,2 +0,0 @@
1
- export * from './interface';
2
- export * from './customer';
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./interface"), exports);
14
- __exportStar(require("./customer"), exports);
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,2 +0,0 @@
1
- export * from './interface';
2
- export * from './transaction';
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./interface"), exports);
14
- __exportStar(require("./transaction"), exports);