@heliofi/common-fe 0.2.336 → 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 +13 -3
- package/dist/index.js +19 -2
- package/package.json +2 -2
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
|
|
@@ -227,6 +228,15 @@ declare class WalletCurrencyBalance {
|
|
|
227
228
|
uiMaxWithdrawableAmount: string | null;
|
|
228
229
|
}
|
|
229
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
|
|
230
240
|
//#region ../common/src/domain/constants/fiatCurrencies.d.ts
|
|
231
241
|
declare enum FIATCurrencies {
|
|
232
242
|
USD = "USD",
|
|
@@ -481,7 +491,7 @@ declare class PreparedWithdrawalEntity extends Entity {
|
|
|
481
491
|
declare class GiftCardIntentDto {
|
|
482
492
|
amount: string;
|
|
483
493
|
brandId: string;
|
|
484
|
-
|
|
494
|
+
emailToken: string;
|
|
485
495
|
consent: true;
|
|
486
496
|
}
|
|
487
497
|
//#endregion
|
|
@@ -524,4 +534,4 @@ declare class BinanceConnectOrderCreated extends Entity {
|
|
|
524
534
|
linkExpiresAt?: string;
|
|
525
535
|
}
|
|
526
536
|
//#endregion
|
|
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 };
|
|
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
|
@@ -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
|
|
@@ -156,4 +157,20 @@ let BinanceConnectClientType = /* @__PURE__ */ function(BinanceConnectClientType
|
|
|
156
157
|
return BinanceConnectClientType;
|
|
157
158
|
}({});
|
|
158
159
|
//#endregion
|
|
159
|
-
|
|
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.
|
|
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": "
|
|
33
|
+
"gitHead": "a002e24368b6ff70820c8df2441538f6e8a39ce1"
|
|
34
34
|
}
|