@heliofi/common-fe 0.2.312-alpha.1787149116 → 0.2.314
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 +8 -1
- package/dist/index.js +8 -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 {
|
|
@@ -102,6 +107,7 @@ declare enum BetaFeature {
|
|
|
102
107
|
CHECKOUT_V2 = "checkout_v2",
|
|
103
108
|
TRON_ENERGY_RENTAL = "TRON_ENERGY_RENTAL",
|
|
104
109
|
THEMES_V2 = "themesV2",
|
|
110
|
+
MOONPAY_IP_MATCHING_DISABLED = "MOONPAY_IP_MATCHING_DISABLED",
|
|
105
111
|
}
|
|
106
112
|
//#endregion
|
|
107
113
|
//#region ../common/src/domain/constants/deposits.d.ts
|
|
@@ -252,6 +258,7 @@ declare class Theme extends Entity {
|
|
|
252
258
|
light: ThemePalette;
|
|
253
259
|
dark: ThemePalette;
|
|
254
260
|
designTokens: ThemeDesignTokens;
|
|
261
|
+
themeMode: ThemeAppearance;
|
|
255
262
|
type: ThemeType;
|
|
256
263
|
slug?: string;
|
|
257
264
|
isDefault?: boolean;
|
|
@@ -474,4 +481,4 @@ declare class SubmitWithdrawalDto {
|
|
|
474
481
|
signedTx: string;
|
|
475
482
|
}
|
|
476
483
|
//#endregion
|
|
477
|
-
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, type ThemeDesignTokens, ThemeMode, type ThemePalette, ThemeType, type UserOpPreparedTransaction, type WalletCurrencyBalance, type WithdrawalBalancesResponse, type WithdrawalCurrenciesExchangeRate, type WithdrawalCustomerSwapRoute, type WithdrawalCustomerSwapRoutesResponse, WithdrawalFeature, type WithdrawalMinSupportedVersions, type WithdrawalQuoteFeeEntity, WithdrawalState };
|
|
484
|
+
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
|
@@ -116,6 +116,12 @@ let ThemeMode = /* @__PURE__ */ function(ThemeMode) {
|
|
|
116
116
|
ThemeMode["DARK"] = "DARK";
|
|
117
117
|
return ThemeMode;
|
|
118
118
|
}({});
|
|
119
|
+
let ThemeAppearance = /* @__PURE__ */ function(ThemeAppearance) {
|
|
120
|
+
ThemeAppearance["AUTOMATIC"] = "automatic";
|
|
121
|
+
ThemeAppearance["LIGHT"] = "light";
|
|
122
|
+
ThemeAppearance["DARK"] = "dark";
|
|
123
|
+
return ThemeAppearance;
|
|
124
|
+
}({});
|
|
119
125
|
//#endregion
|
|
120
126
|
//#region ../common/src/domain/model/feature-flags/entities/BetaFeature.entity.ts
|
|
121
127
|
let BetaFeature = /* @__PURE__ */ function(BetaFeature) {
|
|
@@ -125,6 +131,7 @@ let BetaFeature = /* @__PURE__ */ function(BetaFeature) {
|
|
|
125
131
|
BetaFeature["CHECKOUT_V2"] = "checkout_v2";
|
|
126
132
|
BetaFeature["TRON_ENERGY_RENTAL"] = "TRON_ENERGY_RENTAL";
|
|
127
133
|
BetaFeature["THEMES_V2"] = "themesV2";
|
|
134
|
+
BetaFeature["MOONPAY_IP_MATCHING_DISABLED"] = "MOONPAY_IP_MATCHING_DISABLED";
|
|
128
135
|
return BetaFeature;
|
|
129
136
|
}({});
|
|
130
137
|
//#endregion
|
|
@@ -138,4 +145,4 @@ let DepositSweepErrorType = /* @__PURE__ */ function(DepositSweepErrorType) {
|
|
|
138
145
|
return DepositSweepErrorType;
|
|
139
146
|
}({});
|
|
140
147
|
//#endregion
|
|
141
|
-
export { BetaFeature, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, GeneralNetwork, Platform, SignedTransactionKind, TextColor, ThemeMode, ThemeType, WithdrawalFeature, WithdrawalState };
|
|
148
|
+
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.314",
|
|
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": "f0e411561a3034b0f19dff2f9ca28d78c52e7b71"
|
|
33
33
|
}
|