@privy-io/react-auth 1.28.0-beta.4 → 1.28.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.
- package/dist/esm/index.js +161 -160
- package/dist/index.d.ts +2 -10
- package/dist/index.js +161 -160
- package/package.json +5 -7
package/dist/index.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ declare class ProviderRpcError extends PrivyError {
|
|
|
184
184
|
|
|
185
185
|
declare global {
|
|
186
186
|
interface Window {
|
|
187
|
-
ethereum?:
|
|
187
|
+
ethereum?: any;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
type ProviderConnectInfo = {
|
|
@@ -633,7 +633,6 @@ type PrivyServerConfig = {
|
|
|
633
633
|
createdAt?: Date;
|
|
634
634
|
updatedAt?: Date;
|
|
635
635
|
customApiUrl?: string | null;
|
|
636
|
-
walletConnectV2Enabled?: boolean | null;
|
|
637
636
|
walletConnectCloudProjectId?: string | null;
|
|
638
637
|
embeddedWalletConfig: EmbeddedWalletsConfig;
|
|
639
638
|
/** May be deprecated from the server config in a future release */
|
|
@@ -685,10 +684,7 @@ type PrivyClientConfig = {
|
|
|
685
684
|
* This overrides the server setting `privacy_policy_url` */
|
|
686
685
|
privacyPolicyUrl?: string | null;
|
|
687
686
|
};
|
|
688
|
-
|
|
689
|
-
enabled?: boolean;
|
|
690
|
-
walletConnectCloudProjectId?: string;
|
|
691
|
-
};
|
|
687
|
+
walletConnectCloudProjectId?: string;
|
|
692
688
|
/** All embedded wallets configuration */
|
|
693
689
|
embeddedWallets?: {
|
|
694
690
|
/**
|
|
@@ -856,10 +852,6 @@ declare class ConnectorManager extends EventEmitter<ConnectorManagerEvents> {
|
|
|
856
852
|
* Detect and add all valid wallet connectors.
|
|
857
853
|
*/
|
|
858
854
|
initialize(): void;
|
|
859
|
-
/**
|
|
860
|
-
* Restore previous Wallet Connect connections that have been stored in local storage.
|
|
861
|
-
*/
|
|
862
|
-
restoreWalletConnectConnectors(): void;
|
|
863
855
|
/**
|
|
864
856
|
* Helper function to find a wallet connector by connector type and wallet client type.
|
|
865
857
|
*/
|