@heliofi/common-fe 0.2.335 → 0.2.337

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
@@ -10,6 +10,7 @@ declare enum BlockchainSymbol {
10
10
  TRON = "TRON",
11
11
  DOGE = "DOGE",
12
12
  TON = "TON",
13
+ ROBINHOOD = "ROBINHOOD",
13
14
  }
14
15
  declare enum DepositBlockchainSymbol {
15
16
  ABSTRACT = "ABSTRACT",
@@ -18,7 +19,6 @@ declare enum DepositBlockchainSymbol {
18
19
  PLASMA = "PLASMA",
19
20
  MEGAETH = "MEGAETH",
20
21
  SEISMIC = "SEISMIC",
21
- ROBINHOOD = "ROBINHOOD",
22
22
  }
23
23
  //#endregion
24
24
  //#region ../common/src/domain/model/blockchainEngine/constants/BlockchainEngineType.d.ts
@@ -112,6 +112,7 @@ declare enum BetaFeature {
112
112
  THEMES_V2 = "themesV2",
113
113
  MOONPAY_IP_MATCHING_DISABLED = "MOONPAY_IP_MATCHING_DISABLED",
114
114
  CHECKOUT_BACK_BUTTON = "checkout_back_button",
115
+ ROBINHOOD_CHECKOUT_SOURCE = "ROBINHOOD_CHECKOUT_SOURCE",
115
116
  }
116
117
  //#endregion
117
118
  //#region ../common/src/domain/constants/deposits.d.ts
@@ -477,15 +478,24 @@ declare class PreparedWithdrawalEntity extends Entity {
477
478
  summary: PreparedWithdrawalSummaryDto;
478
479
  }
479
480
  //#endregion
481
+ //#region ../common/src/domain/model/withdraw/dtos/giftCardIntent.dto.d.ts
482
+ declare class GiftCardIntentDto {
483
+ amount: string;
484
+ brandId: string;
485
+ email: string;
486
+ consent: true;
487
+ }
488
+ //#endregion
480
489
  //#region ../common/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts
481
490
  declare class PreparedWithdrawalDto {
482
491
  ownerAddress: string;
483
492
  recipient: string;
484
- amount: string;
493
+ amount?: string;
485
494
  toCurrencyId: string;
486
495
  sourceCurrencyId: string;
487
496
  customerId?: string;
488
497
  slippageBps?: number;
498
+ giftCard?: GiftCardIntentDto;
489
499
  }
490
500
  //#endregion
491
501
  //#region ../common/src/domain/model/withdraw/dtos/submitWithdrawal.dto.d.ts
package/dist/index.js CHANGED
@@ -10,6 +10,7 @@ let BlockchainSymbol = /* @__PURE__ */ function(BlockchainSymbol) {
10
10
  BlockchainSymbol["TRON"] = "TRON";
11
11
  BlockchainSymbol["DOGE"] = "DOGE";
12
12
  BlockchainSymbol["TON"] = "TON";
13
+ BlockchainSymbol["ROBINHOOD"] = "ROBINHOOD";
13
14
  return BlockchainSymbol;
14
15
  }({});
15
16
  let DepositBlockchainSymbol = /* @__PURE__ */ function(DepositBlockchainSymbol) {
@@ -19,7 +20,6 @@ let DepositBlockchainSymbol = /* @__PURE__ */ function(DepositBlockchainSymbol)
19
20
  DepositBlockchainSymbol["PLASMA"] = "PLASMA";
20
21
  DepositBlockchainSymbol["MEGAETH"] = "MEGAETH";
21
22
  DepositBlockchainSymbol["SEISMIC"] = "SEISMIC";
22
- DepositBlockchainSymbol["ROBINHOOD"] = "ROBINHOOD";
23
23
  return DepositBlockchainSymbol;
24
24
  }({});
25
25
  //#endregion
@@ -136,6 +136,7 @@ let BetaFeature = /* @__PURE__ */ function(BetaFeature) {
136
136
  BetaFeature["THEMES_V2"] = "themesV2";
137
137
  BetaFeature["MOONPAY_IP_MATCHING_DISABLED"] = "MOONPAY_IP_MATCHING_DISABLED";
138
138
  BetaFeature["CHECKOUT_BACK_BUTTON"] = "checkout_back_button";
139
+ BetaFeature["ROBINHOOD_CHECKOUT_SOURCE"] = "ROBINHOOD_CHECKOUT_SOURCE";
139
140
  return BetaFeature;
140
141
  }({});
141
142
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heliofi/common-fe",
3
- "version": "0.2.335",
3
+ "version": "0.2.337",
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": "a66314b26e454ea7a09352b9e3d1897069e19723"
33
+ "gitHead": "05e26a4c8c5664b353b67e73d0e94b4af7d13be5"
34
34
  }