@heliofi/common-fe 0.2.334 → 0.2.335-alpha.1790696201

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/dist/index.d.ts CHANGED
@@ -39,6 +39,14 @@ declare enum Platform {
39
39
  MAGIC_EDEN = "MAGIC_EDEN",
40
40
  }
41
41
  //#endregion
42
+ //#region ../common/src/domain/constants/environment.d.ts
43
+ declare enum Environment {
44
+ DEV = "DEV",
45
+ TEST = "TEST",
46
+ PROD = "PROD",
47
+ STAGING = "STAGING",
48
+ }
49
+ //#endregion
42
50
  //#region ../common/src/domain/model/withdraw/constants/WithdrawalFeature.d.ts
43
51
  declare enum WithdrawalFeature {
44
52
  IRON = "iron",
@@ -123,6 +131,12 @@ declare enum DepositSweepErrorType {
123
131
  DESTINATION = "DESTINATION",
124
132
  }
125
133
  //#endregion
134
+ //#region ../common/src/domain/model/binance-connect/constants/BinanceConnectClientType.d.ts
135
+ declare enum BinanceConnectClientType {
136
+ WEB = "web",
137
+ MOBILE = "mobile",
138
+ }
139
+ //#endregion
126
140
  //#region ../common/src/domain/model/entity/Entity.d.ts
127
141
  declare class Entity {
128
142
  static fromObject<T extends Entity>(record: T): T;
@@ -488,4 +502,25 @@ declare class SubmitWithdrawalDto {
488
502
  signedTx: string;
489
503
  }
490
504
  //#endregion
491
- export { type BaseBlockchain, type BaseCompany, BetaFeature, type Blockchain, type BlockchainEngine, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, GeneralNetwork, type HypercorePreparedTransaction, Platform, type PolymarketWalletPreparedTransaction, type PreparedTransaction, type PreparedWithdrawalDto, type PreparedWithdrawalEntity, type PreparedWithdrawalSummaryDto, type PreparedWithdrawalTypedDataDto, type PublicWithdrawalConfigEntity, type RawPreparedTransaction, SignedTransactionKind, type SlimCurrencyWithBlockchain, type SlimCurrencyWithPopulatedBlockchain, type SubmitWithdrawalDto, type SubmitWithdrawalEntity, TextColor, type Theme, ThemeAppearance, type ThemeDesignTokens, ThemeMode, type ThemePalette, ThemeType, type UserOpPreparedTransaction, type WalletCurrencyBalance, type WithdrawalBalancesResponse, type WithdrawalCurrenciesExchangeRate, type WithdrawalCustomerSwapRoute, type WithdrawalCustomerSwapRoutesResponse, WithdrawalFeature, type WithdrawalMinSupportedVersions, type WithdrawalQuoteFeeEntity, WithdrawalState };
505
+ //#region ../common/src/domain/model/binance-connect/dtos/createBinanceConnectOrder.dto.d.ts
506
+ declare class CreateBinanceConnectOrderDto {
507
+ depositCustomerToken: string;
508
+ currency: string;
509
+ amount: number;
510
+ blockchainSymbol?: string;
511
+ clientType?: BinanceConnectClientType;
512
+ returnUrl?: string;
513
+ }
514
+ //#endregion
515
+ //#region ../common/src/domain/model/binance-connect/entities/BinanceConnectOrderCreated.entity.d.ts
516
+ declare class BinanceConnectOrderCreated extends Entity {
517
+ orderId: string;
518
+ redirectUrl: string;
519
+ network: string;
520
+ currency: string;
521
+ amount: string;
522
+ recipientAddress: string;
523
+ linkExpiresAt?: string;
524
+ }
525
+ //#endregion
526
+ export { type BaseBlockchain, type BaseCompany, BetaFeature, BinanceConnectClientType, type BinanceConnectOrderCreated, type Blockchain, type BlockchainEngine, BlockchainEngineType, BlockchainSymbol, BroadcastAck, type CreateBinanceConnectOrderDto, DepositBlockchainSymbol, DepositSweepErrorType, Environment, GeneralNetwork, type HypercorePreparedTransaction, Platform, type PolymarketWalletPreparedTransaction, type PreparedTransaction, type PreparedWithdrawalDto, type PreparedWithdrawalEntity, type PreparedWithdrawalSummaryDto, type PreparedWithdrawalTypedDataDto, type PublicWithdrawalConfigEntity, type RawPreparedTransaction, SignedTransactionKind, type SlimCurrencyWithBlockchain, type SlimCurrencyWithPopulatedBlockchain, type SubmitWithdrawalDto, type SubmitWithdrawalEntity, TextColor, type Theme, ThemeAppearance, type ThemeDesignTokens, ThemeMode, type ThemePalette, ThemeType, type UserOpPreparedTransaction, type WalletCurrencyBalance, type WithdrawalBalancesResponse, type WithdrawalCurrenciesExchangeRate, type WithdrawalCustomerSwapRoute, type WithdrawalCustomerSwapRoutesResponse, WithdrawalFeature, type WithdrawalMinSupportedVersions, type WithdrawalQuoteFeeEntity, WithdrawalState };
package/dist/index.js CHANGED
@@ -43,6 +43,15 @@ let Platform = /* @__PURE__ */ function(Platform) {
43
43
  return Platform;
44
44
  }({});
45
45
  //#endregion
46
+ //#region ../common/src/domain/constants/environment.ts
47
+ let Environment = /* @__PURE__ */ function(Environment) {
48
+ Environment["DEV"] = "DEV";
49
+ Environment["TEST"] = "TEST";
50
+ Environment["PROD"] = "PROD";
51
+ Environment["STAGING"] = "STAGING";
52
+ return Environment;
53
+ }({});
54
+ //#endregion
46
55
  //#region ../common/src/domain/model/withdraw/constants/WithdrawalFeature.ts
47
56
  let WithdrawalFeature = /* @__PURE__ */ function(WithdrawalFeature) {
48
57
  WithdrawalFeature["IRON"] = "iron";
@@ -149,4 +158,11 @@ let DepositSweepErrorType = /* @__PURE__ */ function(DepositSweepErrorType) {
149
158
  return DepositSweepErrorType;
150
159
  }({});
151
160
  //#endregion
152
- export { BetaFeature, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, GeneralNetwork, Platform, SignedTransactionKind, TextColor, ThemeAppearance, ThemeMode, ThemeType, WithdrawalFeature, WithdrawalState };
161
+ //#region ../common/src/domain/model/binance-connect/constants/BinanceConnectClientType.ts
162
+ let BinanceConnectClientType = /* @__PURE__ */ function(BinanceConnectClientType) {
163
+ BinanceConnectClientType["WEB"] = "web";
164
+ BinanceConnectClientType["MOBILE"] = "mobile";
165
+ return BinanceConnectClientType;
166
+ }({});
167
+ //#endregion
168
+ export { BetaFeature, BinanceConnectClientType, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, Environment, GeneralNetwork, Platform, SignedTransactionKind, TextColor, ThemeAppearance, ThemeMode, ThemeType, WithdrawalFeature, WithdrawalState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heliofi/common-fe",
3
- "version": "0.2.334",
3
+ "version": "0.2.335-alpha.1790696201",
4
4
  "private": false,
5
5
  "description": "Zero-dependency, frontend-safe shared enums (and, later, DTO type shapes) for Helio consumers. No class-validator / reflect-metadata / heavy blockchain deps.",
6
6
  "license": "ISC",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "typescript": "5.*"
32
32
  },
33
- "gitHead": "5a0b6ab4cc72f2934919be5b5e4459d1b07d7f85"
33
+ "gitHead": "3edb233e9afb4ac4f08ba7c625751ff1c3f82fc1"
34
34
  }