@pooflabs/web 0.0.52 → 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.
- package/dist/auth/providers/phantom-wallet-provider.d.ts +8 -2
- package/dist/{index-Dd0iNy-b.esm.js → index-6J8FcENr.esm.js} +2418 -1222
- package/dist/index-6J8FcENr.esm.js.map +1 -0
- package/dist/{index-DXHYU-4l.js → index-C1167UGQ.js} +1231 -796
- package/dist/index-C1167UGQ.js.map +1 -0
- package/dist/{index-BTXyzHFt.esm.js → index-cTlu_QF0.esm.js} +1228 -796
- package/dist/index-cTlu_QF0.esm.js.map +1 -0
- package/dist/{index-BbI_0NeF.js → index-dUcbbUey.js} +2423 -1227
- package/dist/index-dUcbbUey.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/index-BTXyzHFt.esm.js.map +0 -1
- package/dist/index-BbI_0NeF.js.map +0 -1
- package/dist/index-DXHYU-4l.js.map +0 -1
- package/dist/index-Dd0iNy-b.esm.js.map +0 -1
|
@@ -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,
|
|
50
|
-
*
|
|
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>;
|