@ledgerhq/types-live
Advanced tools
Comparing version 6.52.0-nightly.1 to 6.52.0-nightly.2
@@ -134,2 +134,3 @@ import { ABTestingVariants } from "./ABTesting"; | ||
receiveStakingFlowConfigDesktop: Feature_ReceiveStakingFlowConfigDesktop; | ||
ethStakingModalWithFilters: DefaultFeature; | ||
ethStakingProviders: Feature_EthStakingProviders; | ||
@@ -189,13 +190,31 @@ storyly: Feature_Storyly; | ||
/** | ||
* EthStakingProvider category type. | ||
*/ | ||
export type EthStakingProviderCategory = "liquid" | "pooling" | "protocol" | "restaking"; | ||
/** | ||
* EthStakingProvider rewards strategy. | ||
*/ | ||
export type EthStakingProviderRewardsStrategy = "basic" | "auto-compounded" | "daily" | "eigenlayer_points" | "validator"; | ||
/** | ||
* EthStakingProvider. | ||
*/ | ||
export interface EthStakingProvider { | ||
id: string; | ||
category: EthStakingProviderCategory; | ||
disabled?: boolean; | ||
icon?: string; | ||
liveAppId: string; | ||
/** Requires Liquid Staking Token */ | ||
lst?: boolean; | ||
min?: number; | ||
name: string; | ||
queryParams?: Record<string, string>; | ||
rewardsStrategy: EthStakingProviderRewardsStrategy; | ||
supportLink?: string; | ||
} | ||
/** | ||
* Features types. | ||
*/ | ||
export type Feature_EthStakingProviders = Feature<{ | ||
listProvider: { | ||
id: string; | ||
name: string; | ||
liveAppId: string; | ||
supportLink?: string; | ||
icon?: string; | ||
queryParams?: Record<string, string>; | ||
}[]; | ||
listProvider: EthStakingProvider[]; | ||
}>; | ||
@@ -202,0 +221,0 @@ export type Feature_TransactionsAlerts = Feature<{ |
@@ -134,2 +134,3 @@ import { ABTestingVariants } from "./ABTesting"; | ||
receiveStakingFlowConfigDesktop: Feature_ReceiveStakingFlowConfigDesktop; | ||
ethStakingModalWithFilters: DefaultFeature; | ||
ethStakingProviders: Feature_EthStakingProviders; | ||
@@ -189,13 +190,31 @@ storyly: Feature_Storyly; | ||
/** | ||
* EthStakingProvider category type. | ||
*/ | ||
export type EthStakingProviderCategory = "liquid" | "pooling" | "protocol" | "restaking"; | ||
/** | ||
* EthStakingProvider rewards strategy. | ||
*/ | ||
export type EthStakingProviderRewardsStrategy = "basic" | "auto-compounded" | "daily" | "eigenlayer_points" | "validator"; | ||
/** | ||
* EthStakingProvider. | ||
*/ | ||
export interface EthStakingProvider { | ||
id: string; | ||
category: EthStakingProviderCategory; | ||
disabled?: boolean; | ||
icon?: string; | ||
liveAppId: string; | ||
/** Requires Liquid Staking Token */ | ||
lst?: boolean; | ||
min?: number; | ||
name: string; | ||
queryParams?: Record<string, string>; | ||
rewardsStrategy: EthStakingProviderRewardsStrategy; | ||
supportLink?: string; | ||
} | ||
/** | ||
* Features types. | ||
*/ | ||
export type Feature_EthStakingProviders = Feature<{ | ||
listProvider: { | ||
id: string; | ||
name: string; | ||
liveAppId: string; | ||
supportLink?: string; | ||
icon?: string; | ||
queryParams?: Record<string, string>; | ||
}[]; | ||
listProvider: EthStakingProvider[]; | ||
}>; | ||
@@ -202,0 +221,0 @@ export type Feature_TransactionsAlerts = Feature<{ |
{ | ||
"name": "@ledgerhq/types-live", | ||
"version": "6.52.0-nightly.1", | ||
"version": "6.52.0-nightly.2", | ||
"description": "Ledger Live main types.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -147,2 +147,3 @@ import { ABTestingVariants } from "./ABTesting"; | ||
receiveStakingFlowConfigDesktop: Feature_ReceiveStakingFlowConfigDesktop; | ||
ethStakingModalWithFilters: DefaultFeature; | ||
ethStakingProviders: Feature_EthStakingProviders; | ||
@@ -204,13 +205,39 @@ storyly: Feature_Storyly; | ||
/** | ||
* EthStakingProvider category type. | ||
*/ | ||
export type EthStakingProviderCategory = "liquid" | "pooling" | "protocol" | "restaking"; | ||
/** | ||
* EthStakingProvider rewards strategy. | ||
*/ | ||
export type EthStakingProviderRewardsStrategy = | ||
| "basic" | ||
| "auto-compounded" | ||
| "daily" | ||
| "eigenlayer_points" | ||
| "validator"; | ||
/** | ||
* EthStakingProvider. | ||
*/ | ||
export interface EthStakingProvider { | ||
id: string; | ||
category: EthStakingProviderCategory; | ||
disabled?: boolean; | ||
icon?: string; | ||
liveAppId: string; | ||
/** Requires Liquid Staking Token */ | ||
lst?: boolean; | ||
min?: number; | ||
name: string; | ||
queryParams?: Record<string, string>; | ||
rewardsStrategy: EthStakingProviderRewardsStrategy; | ||
supportLink?: string; | ||
} | ||
/** | ||
* Features types. | ||
*/ | ||
export type Feature_EthStakingProviders = Feature<{ | ||
listProvider: { | ||
id: string; | ||
name: string; | ||
liveAppId: string; | ||
supportLink?: string; | ||
icon?: string; | ||
queryParams?: Record<string, string>; | ||
}[]; | ||
listProvider: EthStakingProvider[]; | ||
}>; | ||
@@ -217,0 +244,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
380230
6187