@riocrypto/common 1.0.2541 → 1.0.2543

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,7 +1,7 @@
1
1
  import { Crypto } from "./crypto";
2
2
  import { Fiat } from "./fiat";
3
3
  import { TreasuryProvider } from "./treasury-provider";
4
- export declare type InternalBalances = {
4
+ export type InternalBalances = {
5
5
  [K in keyof typeof TreasuryProvider]: {
6
6
  [key in Fiat & Crypto]: number;
7
7
  };
@@ -34,5 +34,5 @@ export interface LiquiditySourcingFXTradeStep extends LiquiditySourcingStepBase
34
34
  destinationCurrency: Fiat | Crypto;
35
35
  externalTradeId?: string;
36
36
  }
37
- export declare type LiquiditySourcingStep = LiquiditySourcingTransferStep | LiquiditySourcingTradeStep | LiquiditySourcingFXTradeStep;
37
+ export type LiquiditySourcingStep = LiquiditySourcingTransferStep | LiquiditySourcingTradeStep | LiquiditySourcingFXTradeStep;
38
38
  export {};
@@ -3,4 +3,4 @@ export interface TablePreference {
3
3
  visibleColumns?: string[];
4
4
  filters?: Record<string, any>;
5
5
  }
6
- export declare type TablePreferences = Partial<Record<DashboardTableType, TablePreference>>;
6
+ export type TablePreferences = Partial<Record<DashboardTableType, TablePreference>>;
@@ -6,7 +6,7 @@ import { OnboardingStatus } from "./onboarding-status";
6
6
  import { PlatformFeeRange } from "./platform-fee-range";
7
7
  import { UserAttribute } from "./user-attribute";
8
8
  import { UserType } from "./user-type";
9
- declare type IndividualUser = {
9
+ type IndividualUser = {
10
10
  individualData?: {
11
11
  firstName?: string;
12
12
  middleName?: string;
@@ -15,12 +15,12 @@ declare type IndividualUser = {
15
15
  birthday?: Date;
16
16
  };
17
17
  };
18
- declare type BusinessUser = {
18
+ type BusinessUser = {
19
19
  businessData?: {
20
20
  businessName?: string;
21
21
  };
22
22
  };
23
- export declare type UserInput = {
23
+ export type UserInput = {
24
24
  authIds?: string[];
25
25
  brokerId?: string;
26
26
  referrerId?: string;
@@ -7,7 +7,7 @@ import { Country } from "./country";
7
7
  import { Fiat } from "./fiat";
8
8
  import { Crypto } from "./crypto";
9
9
  import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
10
- declare type IndividualUser = {
10
+ type IndividualUser = {
11
11
  individualData?: {
12
12
  firstName?: string;
13
13
  middleName?: string;
@@ -16,12 +16,12 @@ declare type IndividualUser = {
16
16
  birthday?: Date;
17
17
  };
18
18
  };
19
- declare type BusinessUser = {
19
+ type BusinessUser = {
20
20
  businessData?: {
21
21
  businessName?: string;
22
22
  };
23
23
  };
24
- export declare type UserUpdate = {
24
+ export type UserUpdate = {
25
25
  authIds?: string[];
26
26
  brokerId?: string;
27
27
  registeredWithCoincover?: boolean;
@@ -8,7 +8,7 @@ import { Fiat } from "./fiat";
8
8
  import { Crypto } from "./crypto";
9
9
  import { Side } from "./side";
10
10
  import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
11
- declare type IndividualUser = {
11
+ type IndividualUser = {
12
12
  id: string;
13
13
  individualData?: {
14
14
  firstName: string;
@@ -18,12 +18,12 @@ declare type IndividualUser = {
18
18
  birthday?: Date;
19
19
  };
20
20
  };
21
- declare type BusinessUser = {
21
+ type BusinessUser = {
22
22
  businessData?: {
23
23
  businessName: string;
24
24
  };
25
25
  };
26
- export declare type User = {
26
+ export type User = {
27
27
  createdAt: Date;
28
28
  authIds?: string[];
29
29
  brokerId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2541",
3
+ "version": "1.0.2543",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -15,12 +15,12 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "devDependencies": {
18
- "@types/node": "^20.12.7",
19
- "del-cli": "^5.0.0",
20
- "typescript": "^4.7.4"
18
+ "@types/node": "^20.19.37",
19
+ "del-cli": "^5.1.0",
20
+ "typescript": "^4.9.5"
21
21
  },
22
22
  "dependencies": {
23
- "axios": "^1.6.0",
23
+ "axios": "1.13.6",
24
24
  "express-validator": "^6.15.0",
25
25
  "node-nats-streaming": "^0.3.2"
26
26
  }