pawapay-sdk 1.0.2 → 1.0.3

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/dist/index.d.cts +8 -11
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -138,21 +138,18 @@ type DepositCallBack_v2 = {
138
138
  payer: {
139
139
  type: "MMO";
140
140
  accountDetails: {
141
- phoneNumber: "260763456789";
142
- provider: "MTN_MOMO_ZMB";
141
+ phoneNumber: string;
142
+ provider: string;
143
143
  };
144
144
  };
145
- created: "2020-02-21T17:32:29Z";
146
- customerMessage: "Note of 4 to 22 chars";
147
- providerTransactionId: "ABC123";
145
+ created: string;
146
+ customerMessage: string;
147
+ providerTransactionId: string;
148
148
  failureReason: {
149
- failureCode: "INSUFFICIENT_BALANCE";
150
- failureMessage: "The customer does not have enough funds to complete this payment.";
151
- };
152
- metadata: {
153
- orderId: "ORD-123456789";
154
- customerId: "customer@email.com";
149
+ failureCode: string;
150
+ failureMessage: string;
155
151
  };
152
+ metadata: Record<string, unknown>;
156
153
  };
157
154
  type DepositConfig_v2 = {
158
155
  depositId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawapay-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A comprehensive TypeScript/JavaScript SDK for integrating with the pawaPay API, enabling seamless mobile money operations such as deposits, payouts, refunds, wallet balance checks, and more.",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",