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

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,14 +39,6 @@ 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
50
42
  //#region ../common/src/domain/model/withdraw/constants/WithdrawalFeature.d.ts
51
43
  declare enum WithdrawalFeature {
52
44
  IRON = "iron",
@@ -485,15 +477,24 @@ declare class PreparedWithdrawalEntity extends Entity {
485
477
  summary: PreparedWithdrawalSummaryDto;
486
478
  }
487
479
  //#endregion
480
+ //#region ../common/src/domain/model/withdraw/dtos/giftCardIntent.dto.d.ts
481
+ declare class GiftCardIntentDto {
482
+ amount: string;
483
+ brandId: string;
484
+ email: string;
485
+ consent: true;
486
+ }
487
+ //#endregion
488
488
  //#region ../common/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts
489
489
  declare class PreparedWithdrawalDto {
490
490
  ownerAddress: string;
491
491
  recipient: string;
492
- amount: string;
492
+ amount?: string;
493
493
  toCurrencyId: string;
494
494
  sourceCurrencyId: string;
495
495
  customerId?: string;
496
496
  slippageBps?: number;
497
+ giftCard?: GiftCardIntentDto;
497
498
  }
498
499
  //#endregion
499
500
  //#region ../common/src/domain/model/withdraw/dtos/submitWithdrawal.dto.d.ts
@@ -523,4 +524,4 @@ declare class BinanceConnectOrderCreated extends Entity {
523
524
  linkExpiresAt?: string;
524
525
  }
525
526
  //#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 };
527
+ 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 };
package/dist/index.js CHANGED
@@ -43,15 +43,6 @@ 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
55
46
  //#region ../common/src/domain/model/withdraw/constants/WithdrawalFeature.ts
56
47
  let WithdrawalFeature = /* @__PURE__ */ function(WithdrawalFeature) {
57
48
  WithdrawalFeature["IRON"] = "iron";
@@ -165,4 +156,4 @@ let BinanceConnectClientType = /* @__PURE__ */ function(BinanceConnectClientType
165
156
  return BinanceConnectClientType;
166
157
  }({});
167
158
  //#endregion
168
- export { BetaFeature, BinanceConnectClientType, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, Environment, GeneralNetwork, Platform, SignedTransactionKind, TextColor, ThemeAppearance, ThemeMode, ThemeType, WithdrawalFeature, WithdrawalState };
159
+ export { BetaFeature, BinanceConnectClientType, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, 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.335-alpha.1790696201",
3
+ "version": "0.2.336",
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": "3edb233e9afb4ac4f08ba7c625751ff1c3f82fc1"
33
+ "gitHead": "9e603fde81fc66739bde365f0453489b141d22e8"
34
34
  }