squarefi-bff-api-module 1.32.25 → 1.32.27

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,4 @@
1
1
  import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
- import { WalletType } from '../..';
3
2
  import { components, operations } from './autogen/apiV2.types';
4
3
  export declare namespace API {
5
4
  namespace Auth {
@@ -2113,7 +2112,7 @@ export declare namespace API {
2113
2112
  }
2114
2113
  namespace WalletsList {
2115
2114
  interface WalletsListItem {
2116
- type: WalletType | string;
2115
+ type: NonNullable<components['schemas']['WalletDto']['type']> | string;
2117
2116
  uuid: string;
2118
2117
  created_at: string;
2119
2118
  }
@@ -4,7 +4,7 @@ export type ValueWithLabel = {
4
4
  value: string;
5
5
  label: string;
6
6
  };
7
- export type WalletType = {
7
+ export type WalletTypeData = {
8
8
  [key: string]: ValueWithLabel;
9
9
  };
10
10
  export declare const falsyValues: (string | number | boolean | null | undefined)[];
@@ -217,7 +217,7 @@ export declare enum WalletTypeValues {
217
217
  STAKING = "staking",
218
218
  VAULT = "vault"
219
219
  }
220
- export declare const walletType: WalletType;
220
+ export declare const walletTypeData: WalletTypeData;
221
221
  export declare const defaultPaginationParams: {
222
222
  limit: number;
223
223
  offset: number;
package/dist/constants.js CHANGED
@@ -223,7 +223,7 @@ export var WalletTypeValues;
223
223
  WalletTypeValues["STAKING"] = "staking";
224
224
  WalletTypeValues["VAULT"] = "vault";
225
225
  })(WalletTypeValues || (WalletTypeValues = {}));
226
- export const walletType = {
226
+ export const walletTypeData = {
227
227
  personal: { value: WalletTypeValues.PERSONAL, label: 'Personal' },
228
228
  p2p: { value: 'p2p', label: 'P2P' },
229
229
  escrow: { value: WalletTypeValues.ESCROW, label: 'Escrow' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.25",
3
+ "version": "1.32.27",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",