@privy-io/react-auth 1.38.0 → 1.38.1-beta-20230915022947

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/index.d.ts CHANGED
@@ -17,7 +17,7 @@ import { FetchOptions } from 'ofetch';
17
17
  */
18
18
 
19
19
  declare const SUPPORTED_JSON_RPC_METHODS: readonly ["eth_sign", "eth_populateTransactionRequest", "eth_signTransaction", "personal_sign", "eth_signTypedData_v4"];
20
- type JsonRpcMethodType = typeof SUPPORTED_JSON_RPC_METHODS[number];
20
+ type JsonRpcMethodType = (typeof SUPPORTED_JSON_RPC_METHODS)[number];
21
21
  type Quantity = string | number | bigint;
22
22
  type UnsignedTransactionRequest = {
23
23
  from?: string;
@@ -757,14 +757,14 @@ type MoonpaySignResponse = {
757
757
  };
758
758
 
759
759
  declare const SUPPORTED_OAUTH_PROVIDERS: readonly ["google", "discord", "twitter", "github", "apple"];
760
- type OAuthProviderType = typeof SUPPORTED_OAUTH_PROVIDERS[number];
760
+ type OAuthProviderType = (typeof SUPPORTED_OAUTH_PROVIDERS)[number];
761
761
  type EmbeddedWalletClientType = 'privy';
762
762
  type InjectedWalletClientType = 'metamask' | 'phantom';
763
763
  type CoinbaseWalletClientType = 'coinbase_wallet';
764
764
  type UnknownWalletClientType = 'unknown';
765
765
  type WalletClientType = InjectedWalletClientType | CoinbaseWalletClientType | WalletConnectWalletClientType | EmbeddedWalletClientType | UnknownWalletClientType;
766
766
  declare const SUPPORTED_CONNECTOR_TYPES: string[];
767
- type ConnectorType = typeof SUPPORTED_CONNECTOR_TYPES[number];
767
+ type ConnectorType = (typeof SUPPORTED_CONNECTOR_TYPES)[number];
768
768
  /**
769
769
  * Wallet metadata currently for internal use only
770
770
  */