You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@ledgerhq/types-live

Package Overview
Dependencies
Maintainers
8
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/types-live - npm Package Compare versions

Comparing version

to
6.52.0-nightly.2

35

lib-es/feature.d.ts

@@ -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