kotanipay-sdk 1.0.2 → 1.0.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
@@ -14,17 +14,17 @@ Official TypeScript/JavaScript SDK for the KotaniPay API. Simplify crypto-to-mob
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- npm install kotanipay/sdk
17
+ npm install kotanipay-sdk
18
18
  ```
19
19
 
20
20
  ```bash
21
- yarn add kotanipay/sdk
21
+ yarn add kotanipay-sdk
22
22
  ```
23
23
 
24
24
  ## Quick Start
25
25
 
26
26
  ```typescript
27
- import { KotaniPayClient } from 'kotanipay/sdk';
27
+ import { KotaniPayClient } from 'kotanipay-sdk';
28
28
 
29
29
  // Initialize client
30
30
  const client = new KotaniPayClient({
@@ -209,7 +209,7 @@ KOTANIPAY_ENVIRONMENT=sandbox
209
209
 
210
210
  ```typescript
211
211
  import React, { useState } from 'react';
212
- import { KotaniPayClient } from '@kotanipay/sdk';
212
+ import { KotaniPayClient } from 'kotanipay-sdk';
213
213
 
214
214
  function PaymentComponent() {
215
215
  const [client] = useState(() => new KotaniPayClient({
@@ -271,7 +271,7 @@ function PaymentComponent() {
271
271
  ### Node.js Integration
272
272
 
273
273
  ```typescript
274
- import { KotaniPayClient } from '@kotanipay/sdk';
274
+ import { KotaniPayClient } from 'kotanipay-sdk';
275
275
 
276
276
  const client = new KotaniPayClient({
277
277
  environment: 'sandbox',
@@ -6,10 +6,6 @@ export declare class MobileMoneyService {
6
6
  private validateCreateCustomerRequest;
7
7
  private validateCountryCode;
8
8
  private validateNetwork;
9
- /**
10
- * Create a mobile money customer
11
- * Requires API key authentication
12
- */
13
9
  createCustomer(request: CreateMobileMoneyCustomerRequest): Promise<MobileMoneyCustomerResponse['data']>;
14
10
  /**
15
11
  * Get all mobile money customers
@@ -1 +1 @@
1
- {"version":3,"file":"mobile-money.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAG5B,MAAM,aAAa,CAAC;AAErB,qBAAa,kBAAkB;IACjB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,cAAc;IAE9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAYvB;;;OAGG;IACG,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAW7G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;IAQvE;;;OAGG;IACG,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAWxF"}
1
+ {"version":3,"file":"mobile-money.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAG5B,MAAM,aAAa,CAAC;AAErB,qBAAa,kBAAkB;IACjB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,cAAc;IAE9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAajB,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAW7G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;IAQvE;;;OAGG;IACG,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAWxF"}
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- // src/modules/mobile-money/mobile-money.service.ts
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
3
  exports.MobileMoneyService = void 0;
5
4
  const validation_util_1 = require("../../utils/validation.util");
@@ -37,10 +36,6 @@ class MobileMoneyService {
37
36
  throw new Error(`Invalid network. Must be one of: ${validNetworks.join(', ')}`);
38
37
  }
39
38
  }
40
- /**
41
- * Create a mobile money customer
42
- * Requires API key authentication
43
- */
44
39
  async createCustomer(request) {
45
40
  this.validateCreateCustomerRequest(request);
46
41
  const response = await this.httpClient.post('/api/v3/customer/mobile-money', request);
@@ -1 +1 @@
1
- {"version":3,"file":"mobile-money.service.js","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":";AAAA,mDAAmD;;;AAGnD,iEAA6D;AAQ7D,MAAa,kBAAkB;IAC7B,YAAoB,UAA0B;QAA1B,eAAU,GAAV,UAAU,CAAgB;IAAG,CAAC;IAE1C,6BAA6B,CAAC,OAAyC;QAC7E,MAAM,cAAc,GAA+C;YACjE,cAAc,EAAE,cAAc;SAC/B,CAAC;QAEF,gCAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC/D,gCAAc,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QACnD,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAE/C,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;IAEO,mBAAmB,CAAC,WAAmB;QAC7C,MAAM,iBAAiB,GAAG;YACxB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK;YAC/C,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK;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validateNetwork;
9
- /**
10
- * Create a mobile money customer
11
- * Requires API key authentication
12
- */
13
9
  createCustomer(request: CreateMobileMoneyCustomerRequest): Promise<MobileMoneyCustomerResponse['data']>;
14
10
  /**
15
11
  * Get all mobile money customers
@@ -1 +1 @@
1
- {"version":3,"file":"mobile-money.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAG5B,MAAM,aAAa,CAAC;AAErB,qBAAa,kBAAkB;IACjB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,cAAc;IAE9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAYvB;;;OAGG;IACG,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAW7G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;IAQvE;;;OAGG;IACG,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAWxF"}
1
+ {"version":3,"file":"mobile-money.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAG5B,MAAM,aAAa,CAAC;AAErB,qBAAa,kBAAkB;IACjB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,cAAc;IAE9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAajB,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAW7G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;IAQvE;;;OAGG;IACG,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAWxF"}
@@ -1,4 +1,3 @@
1
- // src/modules/mobile-money/mobile-money.service.ts
2
1
  import { ValidationUtil } from '../../utils/validation.util';
3
2
  export class MobileMoneyService {
4
3
  constructor(httpClient) {
@@ -34,10 +33,6 @@ export class MobileMoneyService {
34
33
  throw new Error(`Invalid network. Must be one of: ${validNetworks.join(', ')}`);
35
34
  }
36
35
  }
37
- /**
38
- * Create a mobile money customer
39
- * Requires API key authentication
40
- */
41
36
  async createCustomer(request) {
42
37
  this.validateCreateCustomerRequest(request);
43
38
  const response = await this.httpClient.post('/api/v3/customer/mobile-money', request);
@@ -1 +1 @@
1
- {"version":3,"file":"mobile-money.service.js","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AAAA,mDAAmD;AAGnD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAQ7D,MAAM,OAAO,kBAAkB;IAC7B,YAAoB,UAA0B;QAA1B,eAAU,GAAV,UAAU,CAAgB;IAAG,CAAC;IAE1C,6BAA6B,CAAC,OAAyC;QAC7E,MAAM,cAAc,GAA+C;YACjE,cAAc,EAAE,cAAc;SAC/B,CAAC;QAEF,cAAc,CAAC,sBAAsB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC/D,cAAc,CAAC,aAAa,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QACnD,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAE/C,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CA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7C,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CACxC,iCAAiC,UAAU,EAAE,CAC9C,CAAC;QAEF,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;CACF"}
@@ -6,10 +6,6 @@ export declare class MobileMoneyService {
6
6
  private validateCreateCustomerRequest;
7
7
  private validateCountryCode;
8
8
  private validateNetwork;
9
- /**
10
- * Create a mobile money customer
11
- * Requires API key authentication
12
- */
13
9
  createCustomer(request: CreateMobileMoneyCustomerRequest): Promise<MobileMoneyCustomerResponse['data']>;
14
10
  /**
15
11
  * Get all mobile money customers
@@ -1 +1 @@
1
- {"version":3,"file":"mobile-money.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAG5B,MAAM,aAAa,CAAC;AAErB,qBAAa,kBAAkB;IACjB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,cAAc;IAE9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAYvB;;;OAGG;IACG,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAW7G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;IAQvE;;;OAGG;IACG,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAWxF"}
1
+ {"version":3,"file":"mobile-money.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/mobile-money/mobile-money.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,gCAAgC,EAChC,2BAA2B,EAG5B,MAAM,aAAa,CAAC;AAErB,qBAAa,kBAAkB;IACjB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,cAAc;IAE9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAajB,cAAc,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;IAW7G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,CAAC;IAQvE;;;OAGG;IACG,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC;CAWxF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kotanipay-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Official Kotani Pay SDK for Node.js and Browser",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",