paystack-sdk 2.5.13 → 2.5.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.
@@ -1,5 +1,5 @@
1
1
  import { Axios } from 'axios';
2
- import { BadRequest } from '../interface';
2
+ import { BadRequest, Response } from '../interface';
3
3
  import { ListCustomersResponse } from './interface';
4
4
  import { CreateCustomer, CustomerCreated, FetchCustomerResponse, ListCustomerQueryParams, SetRiskAction, UpdateCustomer, ValidateCustomer } from './interface';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { CustomerSubAccount } from '../customer/interface';
2
- import { Meta, QueryParams } from '../interface';
2
+ import { Meta, QueryParams, Response } from '../interface';
3
3
  export interface SettlementQueryParams extends QueryParams {
4
4
  subaccount?: string;
5
5
  }
@@ -92,7 +92,7 @@ export interface Transaction {
92
92
  status: string;
93
93
  reference: string;
94
94
  domain: string;
95
- metadata: number;
95
+ metadata: Record<string, unknown>;
96
96
  gateway_response: string;
97
97
  message?: string;
98
98
  channel: string;
@@ -1,3 +1,4 @@
1
+ import { Response } from '../interface';
1
2
  export interface InitiateTransfer {
2
3
  /**
3
4
  * Where should we transfer from? Only `balance` for now
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paystack-sdk",
3
- "version": "2.5.13",
3
+ "version": "2.5.17",
4
4
  "description": "Paystack SDK written in Typescript",
5
5
  "main": "dist/index.js",
6
6
  "author": "Tech Priest",
@@ -42,6 +42,6 @@
42
42
  ],
43
43
  "repository": {
44
44
  "type": "git",
45
- "url": "git+https://github.com/en1tan/paystack-node.git"
45
+ "url": "git+https://github.com/tekpriest/paystack-node.git"
46
46
  }
47
47
  }