@heliofi/common-fe 0.2.311 → 0.2.313
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 +7 -1
- package/dist/index.js +16 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,11 @@ declare enum ThemeMode {
|
|
|
93
93
|
LIGHT = "LIGHT",
|
|
94
94
|
DARK = "DARK",
|
|
95
95
|
}
|
|
96
|
+
declare enum ThemeAppearance {
|
|
97
|
+
AUTOMATIC = "automatic",
|
|
98
|
+
LIGHT = "light",
|
|
99
|
+
DARK = "dark",
|
|
100
|
+
}
|
|
96
101
|
//#endregion
|
|
97
102
|
//#region ../common/src/domain/model/feature-flags/entities/BetaFeature.entity.d.ts
|
|
98
103
|
declare enum BetaFeature {
|
|
@@ -252,6 +257,7 @@ declare class Theme extends Entity {
|
|
|
252
257
|
light: ThemePalette;
|
|
253
258
|
dark: ThemePalette;
|
|
254
259
|
designTokens: ThemeDesignTokens;
|
|
260
|
+
themeMode: ThemeAppearance;
|
|
255
261
|
type: ThemeType;
|
|
256
262
|
slug?: string;
|
|
257
263
|
isDefault?: boolean;
|
|
@@ -474,4 +480,4 @@ declare class SubmitWithdrawalDto {
|
|
|
474
480
|
signedTx: string;
|
|
475
481
|
}
|
|
476
482
|
//#endregion
|
|
477
|
-
export { type BaseBlockchain, type BaseCompany, BetaFeature, type Blockchain, type BlockchainEngine, BlockchainEngineType, BlockchainSymbol, BroadcastAck, 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, type ThemeDesignTokens, ThemeMode, type ThemePalette, ThemeType, type UserOpPreparedTransaction, type WalletCurrencyBalance, type WithdrawalBalancesResponse, type WithdrawalCurrenciesExchangeRate, type WithdrawalCustomerSwapRoute, type WithdrawalCustomerSwapRoutesResponse, WithdrawalFeature, type WithdrawalMinSupportedVersions, type WithdrawalQuoteFeeEntity, WithdrawalState };
|
|
483
|
+
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 };
|
package/dist/index.js
CHANGED
|
@@ -12,6 +12,15 @@ let BlockchainSymbol = /* @__PURE__ */ function(BlockchainSymbol) {
|
|
|
12
12
|
BlockchainSymbol["TON"] = "TON";
|
|
13
13
|
return BlockchainSymbol;
|
|
14
14
|
}({});
|
|
15
|
+
let DepositBlockchainSymbol = /* @__PURE__ */ function(DepositBlockchainSymbol) {
|
|
16
|
+
DepositBlockchainSymbol["ABSTRACT"] = "ABSTRACT";
|
|
17
|
+
DepositBlockchainSymbol["HYPERLIQUID"] = "HYPERLIQUID";
|
|
18
|
+
DepositBlockchainSymbol["HYPERCORE"] = "HYPERCORE";
|
|
19
|
+
DepositBlockchainSymbol["PLASMA"] = "PLASMA";
|
|
20
|
+
DepositBlockchainSymbol["MEGAETH"] = "MEGAETH";
|
|
21
|
+
DepositBlockchainSymbol["SEISMIC"] = "SEISMIC";
|
|
22
|
+
return DepositBlockchainSymbol;
|
|
23
|
+
}({});
|
|
15
24
|
//#endregion
|
|
16
25
|
//#region ../common/src/domain/model/blockchainEngine/constants/BlockchainEngineType.ts
|
|
17
26
|
let BlockchainEngineType = /* @__PURE__ */ function(BlockchainEngineType) {
|
|
@@ -107,6 +116,12 @@ let ThemeMode = /* @__PURE__ */ function(ThemeMode) {
|
|
|
107
116
|
ThemeMode["DARK"] = "DARK";
|
|
108
117
|
return ThemeMode;
|
|
109
118
|
}({});
|
|
119
|
+
let ThemeAppearance = /* @__PURE__ */ function(ThemeAppearance) {
|
|
120
|
+
ThemeAppearance["AUTOMATIC"] = "automatic";
|
|
121
|
+
ThemeAppearance["LIGHT"] = "light";
|
|
122
|
+
ThemeAppearance["DARK"] = "dark";
|
|
123
|
+
return ThemeAppearance;
|
|
124
|
+
}({});
|
|
110
125
|
//#endregion
|
|
111
126
|
//#region ../common/src/domain/model/feature-flags/entities/BetaFeature.entity.ts
|
|
112
127
|
let BetaFeature = /* @__PURE__ */ function(BetaFeature) {
|
|
@@ -129,4 +144,4 @@ let DepositSweepErrorType = /* @__PURE__ */ function(DepositSweepErrorType) {
|
|
|
129
144
|
return DepositSweepErrorType;
|
|
130
145
|
}({});
|
|
131
146
|
//#endregion
|
|
132
|
-
export { BetaFeature, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositSweepErrorType, GeneralNetwork, Platform, SignedTransactionKind, TextColor, ThemeMode, ThemeType, WithdrawalFeature, WithdrawalState };
|
|
147
|
+
export { BetaFeature, 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.
|
|
3
|
+
"version": "0.2.313",
|
|
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",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"typescript": "5.*"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "a74dd80bdd2c8a130b131d3b57a26ce022a55b4c"
|
|
33
33
|
}
|