@cuenca-mx/cuenca-js 0.0.1-dev.11 → 0.0.1-dev.13

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.
File without changes
File without changes
package/build/index.cjs CHANGED
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var axios = require('axios');
6
6
  var errors_index = require('./errors/index.cjs');
7
7
  var jwt_index = require('./jwt/index.cjs');
8
- var queries = require('./queries-ac0d8437.js');
9
- var data = require('./data-c53f1052.js');
10
- var walletTransactionRequest = require('./walletTransactionRequest-ebc539fe.js');
8
+ var queries = require('./queries-35cba2f2.cjs');
9
+ var data = require('./data-c83462d7.cjs');
10
+ var walletTransactionRequest = require('./walletTransactionRequest-4542a70e.cjs');
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
13
 
package/build/index.mjs CHANGED
@@ -3,10 +3,10 @@ import { CuencaResponseException, CuencaException, NoResultFound, MultipleResult
3
3
  export { CuencaException, CuencaResponseException, InvalidPassword, MalformedJwtToken, MultipleResultsFound, NoResultFound, ValidationError } from './errors/index.mjs';
4
4
  import { Jwt } from './jwt/index.mjs';
5
5
  export { Jwt } from './jwt/index.mjs';
6
- import { P as Phase, F as FileFormat, E as EntryType, T as TransactionStatus, C as CardIssuer, a as CardStatus, b as CardType, c as CardFundingType, d as CardErrorType, e as CardTransactionType, f as CommissionType, D as DepositNetwork, S as SavingCategory, g as ServiceProviderCategory, h as TransferNetwork, W as WalletTransactionType, A as AccountQuery, i as ApiKeyQuery, B as BalanceEntryQuery, j as BillPaymentQuery, k as CardsQuery, l as CardTransactionQuery, Q as QueryParams, m as DepositQuery, n as WalletQuery, o as StatementQuery, p as TransferQuery, q as WalletTransactionQuery } from './queries-f146b91b.js';
7
- export { A as AccountQuery, i as ApiKeyQuery, B as BalanceEntryQuery, j as BillPaymentQuery, d as CardErrorType, c as CardFundingType, C as CardIssuer, a as CardStatus, l as CardTransactionQuery, e as CardTransactionType, b as CardType, k as CardsQuery, f as CommissionType, D as DepositNetwork, m as DepositQuery, E as EntryType, F as FileFormat, s as PageSize, P as Phase, Q as QueryParams, S as SavingCategory, g as ServiceProviderCategory, o as StatementQuery, r as TrackDataMethod, T as TransactionStatus, h as TransferNetwork, p as TransferQuery, n as WalletQuery, q as WalletTransactionQuery, W as WalletTransactionType } from './queries-f146b91b.js';
8
- import { d as dateToUTC, e as enumValueFromString } from './data-7d3d5fcc.js';
9
- import { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, S as SavingRequest, T as TransferRequest, U as UserCredentialRequest, e as UserCredentialUpdateRequest, f as UserLoginRequest, W as WalletTransactionRequest } from './walletTransactionRequest-bbfb87bd.js';
6
+ import { P as Phase, F as FileFormat, E as EntryType, T as TransactionStatus, C as CardIssuer, a as CardStatus, b as CardType, c as CardFundingType, d as CardErrorType, e as CardTransactionType, f as CommissionType, D as DepositNetwork, S as SavingCategory, g as ServiceProviderCategory, h as TransferNetwork, W as WalletTransactionType, A as AccountQuery, i as ApiKeyQuery, B as BalanceEntryQuery, j as BillPaymentQuery, k as CardsQuery, l as CardTransactionQuery, Q as QueryParams, m as DepositQuery, n as WalletQuery, o as StatementQuery, p as TransferQuery, q as WalletTransactionQuery } from './queries-b9cd3fd7.mjs';
7
+ export { A as AccountQuery, i as ApiKeyQuery, B as BalanceEntryQuery, j as BillPaymentQuery, d as CardErrorType, c as CardFundingType, C as CardIssuer, a as CardStatus, l as CardTransactionQuery, e as CardTransactionType, b as CardType, k as CardsQuery, f as CommissionType, D as DepositNetwork, m as DepositQuery, E as EntryType, F as FileFormat, s as PageSize, P as Phase, Q as QueryParams, S as SavingCategory, g as ServiceProviderCategory, o as StatementQuery, r as TrackDataMethod, T as TransactionStatus, h as TransferNetwork, p as TransferQuery, n as WalletQuery, q as WalletTransactionQuery, W as WalletTransactionType } from './queries-b9cd3fd7.mjs';
8
+ import { d as dateToUTC, e as enumValueFromString } from './data-c1851484.mjs';
9
+ import { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, S as SavingRequest, T as TransferRequest, U as UserCredentialRequest, e as UserCredentialUpdateRequest, f as UserLoginRequest, W as WalletTransactionRequest } from './walletTransactionRequest-281c0a96.mjs';
10
10
 
11
11
  class Client {
12
12
  constructor({ apiKey, apiSecret, phase = Phase.Sandbox } = {}) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var errors_index = require('./errors/index.cjs');
4
- var data = require('./data-c53f1052.js');
4
+ var data = require('./data-c83462d7.cjs');
5
5
 
6
6
  class CardErrorType {
7
7
  static Blocked = new CardErrorType('blocked');
@@ -1,5 +1,5 @@
1
1
  import { ValidationError } from './errors/index.mjs';
2
- import { d as dateToUTC } from './data-7d3d5fcc.js';
2
+ import { d as dateToUTC } from './data-c1851484.mjs';
3
3
 
4
4
  class CardErrorType {
5
5
  static Blocked = new CardErrorType('blocked');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var walletTransactionRequest = require('../walletTransactionRequest-ebc539fe.js');
5
+ var walletTransactionRequest = require('../walletTransactionRequest-4542a70e.cjs');
6
6
  require('../errors/index.cjs');
7
- require('../data-c53f1052.js');
7
+ require('../data-c83462d7.cjs');
8
8
 
9
9
 
10
10
 
@@ -1,3 +1,3 @@
1
- export { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, S as SavingRequest, T as TransferRequest, U as UserCredentialRequest, e as UserCredentialUpdateRequest, f as UserLoginRequest, W as WalletTransactionRequest } from '../walletTransactionRequest-bbfb87bd.js';
1
+ export { A as ApiKeyUpdateRequest, a as ArpcRequest, C as CardActivationRequest, b as CardRequest, c as CardUpdateRequest, d as CardValidationRequest, S as SavingRequest, T as TransferRequest, U as UserCredentialRequest, e as UserCredentialUpdateRequest, f as UserLoginRequest, W as WalletTransactionRequest } from '../walletTransactionRequest-281c0a96.mjs';
2
2
  import '../errors/index.mjs';
3
- import '../data-7d3d5fcc.js';
3
+ import '../data-c1851484.mjs';
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var queries = require('../queries-ac0d8437.js');
5
+ var queries = require('../queries-35cba2f2.cjs');
6
6
  require('../errors/index.cjs');
7
- require('../data-c53f1052.js');
7
+ require('../data-c83462d7.cjs');
8
8
 
9
9
 
10
10
 
@@ -1,3 +1,3 @@
1
- export { A as AccountQuery, i as ApiKeyQuery, B as BalanceEntryQuery, j as BillPaymentQuery, d as CardErrorType, c as CardFundingType, C as CardIssuer, a as CardStatus, l as CardTransactionQuery, e as CardTransactionType, b as CardType, k as CardsQuery, f as CommissionType, D as DepositNetwork, m as DepositQuery, E as EntryType, F as FileFormat, s as PageSize, P as Phase, Q as QueryParams, S as SavingCategory, g as ServiceProviderCategory, o as StatementQuery, r as TrackDataMethod, T as TransactionStatus, h as TransferNetwork, p as TransferQuery, n as WalletQuery, q as WalletTransactionQuery, W as WalletTransactionType } from '../queries-f146b91b.js';
1
+ export { A as AccountQuery, i as ApiKeyQuery, B as BalanceEntryQuery, j as BillPaymentQuery, d as CardErrorType, c as CardFundingType, C as CardIssuer, a as CardStatus, l as CardTransactionQuery, e as CardTransactionType, b as CardType, k as CardsQuery, f as CommissionType, D as DepositNetwork, m as DepositQuery, E as EntryType, F as FileFormat, s as PageSize, P as Phase, Q as QueryParams, S as SavingCategory, g as ServiceProviderCategory, o as StatementQuery, r as TrackDataMethod, T as TransactionStatus, h as TransferNetwork, p as TransferQuery, n as WalletQuery, q as WalletTransactionQuery, W as WalletTransactionType } from '../queries-b9cd3fd7.mjs';
2
2
  import '../errors/index.mjs';
3
- import '../data-7d3d5fcc.js';
3
+ import '../data-c1851484.mjs';
@@ -1,5 +1,5 @@
1
1
  import { ValidationError } from './errors/index.mjs';
2
- import { d as dateToUTC } from './data-7d3d5fcc.js';
2
+ import { d as dateToUTC } from './data-c1851484.mjs';
3
3
 
4
4
  class BaseRequest {
5
5
  toObject() {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var errors_index = require('./errors/index.cjs');
4
- var data = require('./data-c53f1052.js');
4
+ var data = require('./data-c83462d7.cjs');
5
5
 
6
6
  class BaseRequest {
7
7
  toObject() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuenca-mx/cuenca-js",
3
- "version": "0.0.1-dev.11",
3
+ "version": "0.0.1-dev.13",
4
4
  "description": "Cuenca client for JS",
5
5
  "main": "./build/index.cjs",
6
6
  "module": "./build/index.mjs",
@@ -10,24 +10,24 @@
10
10
  ],
11
11
  "exports": {
12
12
  ".": {
13
- "import": "./build/index.mjs",
14
- "require": "./build/index.cjs"
13
+ "import": "./build/esm/index.mjs",
14
+ "require": "./build/cjs/index.cjs"
15
15
  },
16
16
  "./errors": {
17
- "import": "./build/errors/index.mjs",
18
- "require": "./build/errors/index.cjs"
17
+ "import": "./build/esm/errors/index.mjs",
18
+ "require": "./build/cjs/errors/index.cjs"
19
19
  },
20
20
  "./jwt": {
21
- "import": "./build/jwt/index.mjs",
22
- "require": "./build/jwt/index.cjs"
21
+ "import": "./build/esm/jwt/index.mjs",
22
+ "require": "./build/cjs/jwt/index.cjs"
23
23
  },
24
24
  "./requests": {
25
- "import": "./build/requests/index.mjs",
26
- "require": "./build/requests/index.cjs"
25
+ "import": "./build/esm/requests/index.mjs",
26
+ "require": "./build/cjs/requests/index.cjs"
27
27
  },
28
28
  "./types": {
29
- "import": "./build/types/index.mjs",
30
- "require": "./build/types/index.cjs"
29
+ "import": "./build/esm/types/index.mjs",
30
+ "require": "./build/cjs/types/index.cjs"
31
31
  }
32
32
  },
33
33
  "packageManager": "yarn@3.0.2",