@tonconnect/sdk 3.4.0-beta.3 → 3.4.0-beta.5

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.
@@ -1711,13 +1711,16 @@ export declare class WalletsListManager {
1711
1711
  private walletsListDTOCacheCreationTimestamp;
1712
1712
  private readonly cacheTTLMs;
1713
1713
  private readonly walletsListSource;
1714
+ private readonly onDownloadDurationMeasured?;
1714
1715
  constructor(options?: {
1715
1716
  walletsListSource?: string;
1716
1717
  cacheTTLMs?: number;
1718
+ onDownloadDurationMeasured?: (duration: number | undefined) => void;
1717
1719
  });
1718
1720
  getWallets(): Promise<WalletInfo[]>;
1719
1721
  getEmbeddedWallet(): Promise<WalletInfoCurrentlyEmbedded | null>;
1720
1722
  private fetchWalletsListDTO;
1723
+ getRemoteWallet(appName: string): Promise<WalletInfoRemote>;
1721
1724
  private fetchWalletsListFromSource;
1722
1725
  private getCurrentlyInjectedWallets;
1723
1726
  private walletConfigDTOListToWalletConfigList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonconnect/sdk",
3
- "version": "3.4.0-beta.3",
3
+ "version": "3.4.0-beta.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ton-connect/sdk.git"
@@ -21,8 +21,8 @@
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
23
  "@tonconnect/isomorphic-eventsource": "0.0.2",
24
- "@tonconnect/protocol": "2.4.0-beta.0",
25
- "@tonconnect/isomorphic-fetch": "0.0.3"
24
+ "@tonconnect/isomorphic-fetch": "0.0.3",
25
+ "@tonconnect/protocol": "2.4.0-beta.0"
26
26
  },
27
27
  "files": [
28
28
  "lib",