@heliofi/common-fe 0.2.337 → 0.2.338

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
@@ -228,6 +228,15 @@ declare class WalletCurrencyBalance {
228
228
  uiMaxWithdrawableAmount: string | null;
229
229
  }
230
230
  //#endregion
231
+ //#region ../common/src/domain/constants/environment.d.ts
232
+ declare enum Environment {
233
+ LOCAL = "LOCAL",
234
+ DEV = "DEV",
235
+ TEST = "TEST",
236
+ PROD = "PROD",
237
+ STAGING = "STAGING",
238
+ }
239
+ //#endregion
231
240
  //#region ../common/src/domain/constants/fiatCurrencies.d.ts
232
241
  declare enum FIATCurrencies {
233
242
  USD = "USD",
@@ -482,7 +491,7 @@ declare class PreparedWithdrawalEntity extends Entity {
482
491
  declare class GiftCardIntentDto {
483
492
  amount: string;
484
493
  brandId: string;
485
- email: string;
494
+ emailToken: string;
486
495
  consent: true;
487
496
  }
488
497
  //#endregion
@@ -525,4 +534,4 @@ declare class BinanceConnectOrderCreated extends Entity {
525
534
  linkExpiresAt?: string;
526
535
  }
527
536
  //#endregion
528
- export { type BaseBlockchain, type BaseCompany, BetaFeature, BinanceConnectClientType, type BinanceConnectOrderCreated, type Blockchain, type BlockchainEngine, BlockchainEngineType, BlockchainSymbol, BroadcastAck, type CreateBinanceConnectOrderDto, 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 };
537
+ 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
@@ -157,4 +157,20 @@ let BinanceConnectClientType = /* @__PURE__ */ function(BinanceConnectClientType
157
157
  return BinanceConnectClientType;
158
158
  }({});
159
159
  //#endregion
160
- export { BetaFeature, BinanceConnectClientType, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, GeneralNetwork, Platform, SignedTransactionKind, TextColor, ThemeAppearance, ThemeMode, ThemeType, WithdrawalFeature, WithdrawalState };
160
+ //#region ../common/src/domain/constants/environment.ts
161
+ /**
162
+ * Canonical Environment enum for the whole monorepo (BE + FE via common-fe).
163
+ * `LOCAL` only ever applies to a developer's machine; it is never set on a
164
+ * deployed environment, but it lives here so there is a single source of truth
165
+ * (the helio-api copy re-exports this one).
166
+ */
167
+ let Environment = /* @__PURE__ */ function(Environment) {
168
+ Environment["LOCAL"] = "LOCAL";
169
+ Environment["DEV"] = "DEV";
170
+ Environment["TEST"] = "TEST";
171
+ Environment["PROD"] = "PROD";
172
+ Environment["STAGING"] = "STAGING";
173
+ return Environment;
174
+ }({});
175
+ //#endregion
176
+ 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.337",
3
+ "version": "0.2.338",
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": "05e26a4c8c5664b353b67e73d0e94b4af7d13be5"
33
+ "gitHead": "a002e24368b6ff70820c8df2441538f6e8a39ce1"
34
34
  }