@privy-io/react-auth 1.59.5 → 1.59.6-beta-20240319171544
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 +3 -3
- package/dist/index.d.ts +12 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -784,7 +784,8 @@ declare class ConnectorManager extends EventEmitter<ConnectorManagerEvents> {
|
|
|
784
784
|
private store;
|
|
785
785
|
private walletList;
|
|
786
786
|
private shouldEnforceDefaultChainOnConnect;
|
|
787
|
-
|
|
787
|
+
private privyAppName;
|
|
788
|
+
constructor(privyAppId: string, walletConnectCloudProjectId: string, rpcConfig: RpcConfig, chains: Chain[], defaultChain: Chain, store: Store, walletList: WalletListEntry[], shouldEnforceDefaultChainOnConnect: boolean, privyAppName: string);
|
|
788
789
|
/**
|
|
789
790
|
* The core wallets array that is exposed to developers. It builds
|
|
790
791
|
* the wallets away with the following logic:
|
|
@@ -882,7 +883,16 @@ declare class PrivyClient {
|
|
|
882
883
|
* config. We can set this once and only once. If it is set twice, event listeners will be created
|
|
883
884
|
* on the first ConnectorManager and are not re-created.
|
|
884
885
|
*/
|
|
885
|
-
initializeConnectorManager(walletConnectCloudProjectId
|
|
886
|
+
initializeConnectorManager({ walletConnectCloudProjectId, rpcConfig, chains, defaultChain, store, walletList, shouldEnforceDefaultChainOnConnect, appName, }: {
|
|
887
|
+
walletConnectCloudProjectId: string;
|
|
888
|
+
rpcConfig: RpcConfig;
|
|
889
|
+
chains: Chain[];
|
|
890
|
+
defaultChain: Chain;
|
|
891
|
+
store: Store;
|
|
892
|
+
walletList: WalletListEntry[];
|
|
893
|
+
shouldEnforceDefaultChainOnConnect: boolean;
|
|
894
|
+
appName: string;
|
|
895
|
+
}): void;
|
|
886
896
|
generateApi(): Http;
|
|
887
897
|
/**
|
|
888
898
|
* In the case of cookie-based auth, re-initialize the http client with the custom api url.
|