@heliofi/common-fe 0.2.309 → 0.2.311-alpha.1787140632
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 +10 -1
- package/dist/index.js +20 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -104,6 +104,15 @@ declare enum BetaFeature {
|
|
|
104
104
|
THEMES_V2 = "themesV2",
|
|
105
105
|
}
|
|
106
106
|
//#endregion
|
|
107
|
+
//#region ../common/src/domain/constants/deposits.d.ts
|
|
108
|
+
declare enum DepositSweepErrorType {
|
|
109
|
+
LOW_BALANCE = "LOW_BALANCE",
|
|
110
|
+
GENERAL_SWEEP_ERROR = "GENERAL_SWEEP_ERROR",
|
|
111
|
+
RATE_LIMIT = "RATE_LIMIT",
|
|
112
|
+
PROVIDER_REFUND = "PROVIDER_REFUND",
|
|
113
|
+
DESTINATION = "DESTINATION",
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
107
116
|
//#region ../common/src/domain/model/entity/Entity.d.ts
|
|
108
117
|
declare class Entity {
|
|
109
118
|
static fromObject<T extends Entity>(record: T): T;
|
|
@@ -465,4 +474,4 @@ declare class SubmitWithdrawalDto {
|
|
|
465
474
|
signedTx: string;
|
|
466
475
|
}
|
|
467
476
|
//#endregion
|
|
468
|
-
export { type BaseBlockchain, type BaseCompany, BetaFeature, type Blockchain, type BlockchainEngine, BlockchainEngineType, BlockchainSymbol, BroadcastAck, 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 };
|
|
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 };
|
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) {
|
|
@@ -119,4 +128,14 @@ let BetaFeature = /* @__PURE__ */ function(BetaFeature) {
|
|
|
119
128
|
return BetaFeature;
|
|
120
129
|
}({});
|
|
121
130
|
//#endregion
|
|
122
|
-
|
|
131
|
+
//#region ../common/src/domain/constants/deposits.ts
|
|
132
|
+
let DepositSweepErrorType = /* @__PURE__ */ function(DepositSweepErrorType) {
|
|
133
|
+
DepositSweepErrorType["LOW_BALANCE"] = "LOW_BALANCE";
|
|
134
|
+
DepositSweepErrorType["GENERAL_SWEEP_ERROR"] = "GENERAL_SWEEP_ERROR";
|
|
135
|
+
DepositSweepErrorType["RATE_LIMIT"] = "RATE_LIMIT";
|
|
136
|
+
DepositSweepErrorType["PROVIDER_REFUND"] = "PROVIDER_REFUND";
|
|
137
|
+
DepositSweepErrorType["DESTINATION"] = "DESTINATION";
|
|
138
|
+
return DepositSweepErrorType;
|
|
139
|
+
}({});
|
|
140
|
+
//#endregion
|
|
141
|
+
export { BetaFeature, BlockchainEngineType, BlockchainSymbol, BroadcastAck, DepositBlockchainSymbol, DepositSweepErrorType, GeneralNetwork, Platform, SignedTransactionKind, TextColor, 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.311-alpha.1787140632",
|
|
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": "76f4fb2b52d3bb237c9d86a760e16c21561ed02d"
|
|
33
33
|
}
|