@pooflabs/web 0.0.53 → 0.0.54

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.
@@ -37,6 +37,12 @@ export declare class PhantomWalletProvider implements AuthProvider {
37
37
  private hasSocialProviders;
38
38
  static getInstance(networkUrl: string | null, config: PhantomWalletConfig): PhantomWalletProvider;
39
39
  private resolveProviders;
40
+ /**
41
+ * Patch the Phantom extension's provider to gracefully handle `phantom_getFeatures`
42
+ * instead of throwing. Privy's SDK probes this method to check feature support,
43
+ * but the extension doesn't implement it, causing noisy console errors.
44
+ */
45
+ private patchPhantomGetFeatures;
40
46
  private initialize;
41
47
  private ensureReady;
42
48
  private ensureSolanaReady;
@@ -46,8 +52,8 @@ export declare class PhantomWalletProvider implements AuthProvider {
46
52
  getAvailableProviders(): PhantomProviderType[];
47
53
  /**
48
54
  * Login using the Phantom connect modal.
49
- * When enablePrivyFallback is true, the modal is enhanced via React effect to
50
- * auto-skip to the wallet list and show a "Log in with email" button.
55
+ * When enablePrivyFallback is true, a custom modal is rendered with discovered
56
+ * wallets and a "Log in with email" button instead of the SDK's built-in modal.
51
57
  */
52
58
  login(): Promise<User | null>;
53
59
  restoreSession(): Promise<User | null>;