@tonconnect/sdk
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -392,2 +392,7 @@ export declare interface Account { | ||
/** | ||
* Wallets list cache time to live | ||
* @default Infinity | ||
*/ | ||
walletsListCacheTTLMs?: number; | ||
/** | ||
* Allows to disable auto pause/unpause SSE connection on 'document.visibilitychange' event. It is not recommended to change default behaviour. | ||
@@ -594,2 +599,19 @@ */ | ||
export declare class WalletsListManager { | ||
private walletsListCache; | ||
private walletsListCacheCreationTimestamp; | ||
private readonly cacheTTLMs; | ||
private readonly walletsListSource; | ||
constructor(options?: { | ||
walletsListSource?: string; | ||
cacheTTLMs?: number; | ||
}); | ||
getWallets(): Promise<WalletInfo[]>; | ||
getEmbeddedWallet(): Promise<WalletInfoCurrentlyEmbedded | null>; | ||
private fetchWalletsList; | ||
private walletConfigDTOListToWalletConfigList; | ||
private mergeWalletsLists; | ||
private isCorrectWalletConfigDTO; | ||
} | ||
/** | ||
@@ -596,0 +618,0 @@ * Thrown when passed address is in incorrect format. |
{ | ||
"name": "@tonconnect/sdk", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "npx rimraf types-dist && npx rimraf lib && npx rollup -c rollup.config.mjs && ttsc --project tsconfig.declarations.json && api-extractor run && npx rimraf types-dist && npx rimraf dist && npx webpack --config webpack.config.js", |
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
Sorry, the diff of this file is not supported yet
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
656198
4186