@privy-io/react-auth 1.23.0-beta.3 → 1.23.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/index.d.ts CHANGED
@@ -4,30 +4,24 @@ import WCProvider from '@walletconnect/web3-provider';
4
4
  import { AbstractProvider } from 'web3-core';
5
5
  import { AxiosResponse, AxiosRequestConfig } from 'axios';
6
6
 
7
- type Address = string;
8
- type HexString = string;
9
- type BytesLike = ArrayLike<number> | string;
10
- type AccessList = Array<{
11
- address: string;
12
- storageKeys: Array<string>;
13
- }>;
14
- type AccessListish = AccessList | Array<[string, Array<string>]> | Record<string, Array<string>>;
15
- type Quantity = HexString | number | bigint;
7
+ type Quantity = string | number | bigint;
16
8
  type UnsignedTransactionRequest = {
17
- to?: Address;
9
+ to?: string;
18
10
  nonce?: number;
19
11
  gasLimit?: Quantity;
20
12
  gasPrice?: Quantity;
21
- data?: BytesLike;
22
- /** Integer of the value sent with this transaction, in Wei. */
13
+ data?: ArrayLike<number> | string;
23
14
  value?: Quantity;
24
15
  chainId?: number;
25
16
  type?: number;
26
- accessList?: AccessListish;
17
+ accessList?: Array<{
18
+ address: string;
19
+ storageKeys: Array<string>;
20
+ }> | Array<[string, Array<string>]> | Record<string, Array<string>>;
27
21
  maxPriorityFeePerGas?: Quantity;
28
22
  maxFeePerGas?: Quantity;
29
23
  };
30
- type Log = {
24
+ type TransactionLog = {
31
25
  blockNumber: number;
32
26
  blockHash: string;
33
27
  transactionIndex: number;
@@ -44,7 +38,7 @@ type TransactionReceipt = {
44
38
  contractAddress: string;
45
39
  transactionIndex: number;
46
40
  root?: string;
47
- logs: Array<Log>;
41
+ logs: Array<TransactionLog>;
48
42
  logsBloom: string;
49
43
  blockHash: string;
50
44
  transactionHash: string;
@@ -983,4 +977,4 @@ declare class PrivyClient {
983
977
  forkSession(): Promise<string>;
984
978
  }
985
979
 
986
- export { Apple, AppleOAuthWithMetadata, AsExternalProvider, ConnectorManager, Discord, DiscordOAuthWithMetadata, Email, EmailWithMetadata, Github, GithubOAuthWithMetadata, Google, GoogleOAuthWithMetadata, Phone, PhoneWithMetadata, PrivyClient, PrivyClientConfig, PrivyInterface, PrivyProvider, PrivyProviderProps, PrivyProxyProvider, SignMessageModalUIOptions, Twitter, TwitterOAuthWithMetadata, User, VERSION, Wallet, WalletConnector, WalletWithMetadata, getAccessToken, usePrivy };
980
+ export { Apple, AppleOAuthWithMetadata, AsExternalProvider, ConnectorManager, Discord, DiscordOAuthWithMetadata, Email, EmailWithMetadata, Github, GithubOAuthWithMetadata, Google, GoogleOAuthWithMetadata, Phone, PhoneWithMetadata, PrivyClient, PrivyClientConfig, PrivyInterface, PrivyProvider, PrivyProviderProps, PrivyProxyProvider, Quantity, SendTransactionModalUIOptions, SignMessageModalUIOptions, TransactionLog, TransactionReceipt, Twitter, TwitterOAuthWithMetadata, UnsignedTransactionRequest, User, VERSION, Wallet, WalletConnector, WalletWithMetadata, getAccessToken, usePrivy };