@privy-io/react-auth 3.4.0 → 3.4.2-beta-20251024222344
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/cjs/{SignRequestScreen-BtiA_kjR.js → SignRequestScreen-CQ5Uv3Ko.js} +4 -4
- package/dist/cjs/abstract-smart-wallets.js +1 -1
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/{smart-wallets-CT6HYICU.js → smart-wallets-5ZD9AaXx.js} +1 -1
- package/dist/cjs/smart-wallets.js +1 -1
- package/dist/cjs/solana.js +1 -1
- package/dist/cjs/ui.js +1 -1
- package/dist/cjs/{use-export-wallet-C_4yZPUM.js → use-export-wallet-D7YWhrXi.js} +2 -2
- package/dist/cjs/{useActiveWallet-DygS7fQB.js → useActiveWallet-BQrJpoI4.js} +1 -1
- package/dist/cjs/{usePrivy-8s4mCLcX.js → usePrivy-CQ4PJHWQ.js} +1 -1
- package/dist/dts/events-context-BWjWYSoK.d.mts +328 -0
- package/dist/dts/events-context-BWjWYSoK.d.ts +328 -0
- package/dist/dts/extended-chains.d.mts +2 -1
- package/dist/dts/extended-chains.d.ts +2 -1
- package/dist/dts/farcaster.d.mts +2 -1
- package/dist/dts/farcaster.d.ts +2 -1
- package/dist/dts/index.d.mts +21 -333
- package/dist/dts/index.d.ts +21 -333
- package/dist/dts/smart-wallets.d.mts +2 -1
- package/dist/dts/smart-wallets.d.ts +2 -1
- package/dist/dts/solana.d.mts +31 -5
- package/dist/dts/solana.d.ts +31 -5
- package/dist/dts/{types-tFJ_e9u8.d.mts → types-DnBecU1G.d.mts} +7 -1
- package/dist/dts/{types-tFJ_e9u8.d.ts → types-DnBecU1G.d.ts} +7 -1
- package/dist/dts/ui.d.mts +2 -1
- package/dist/dts/ui.d.ts +2 -1
- package/dist/esm/SignRequestScreen-CtK0tEJj.mjs +25 -0
- package/dist/esm/abstract-smart-wallets.mjs +1 -1
- package/dist/esm/index.mjs +6 -6
- package/dist/esm/{smart-wallets-BElFh8An.mjs → smart-wallets-1QLab7PO.mjs} +1 -1
- package/dist/esm/smart-wallets.mjs +1 -1
- package/dist/esm/solana.mjs +1 -1
- package/dist/esm/ui.mjs +1 -1
- package/dist/esm/use-export-wallet-CeffipUk.mjs +1 -0
- package/dist/esm/{useActiveWallet-BjD-txC9.mjs → useActiveWallet-CCF1h379.mjs} +1 -1
- package/dist/esm/{usePrivy-BJYprMT0.mjs → usePrivy-zBP5OUVF.mjs} +1 -1
- package/package.json +7 -6
- package/dist/esm/SignRequestScreen-Dkx-HBRI.mjs +0 -25
- package/dist/esm/use-export-wallet-OoiI5as_.mjs +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCoinbaseWalletSDK } from '@coinbase/wallet-sdk';
|
|
2
|
+
import { PublicKeyCredentialCreationOptionsJSON } from '@simplewebauthn/browser';
|
|
2
3
|
import { Rpc, SolanaRpcApi, RpcSubscriptions, SolanaRpcSubscriptionsApi } from '@solana/kit';
|
|
3
4
|
import { ReactElement, ReactNode } from 'react';
|
|
4
5
|
import { Hex } from 'viem';
|
|
@@ -1467,6 +1468,10 @@ interface PrivyClientConfig {
|
|
|
1467
1468
|
* @default true
|
|
1468
1469
|
*/
|
|
1469
1470
|
shouldUnenrollMfaOnUnlink?: boolean;
|
|
1471
|
+
/**
|
|
1472
|
+
* Allows overriding the default options returned for passkey registration
|
|
1473
|
+
*/
|
|
1474
|
+
registration?: Pick<PublicKeyCredentialCreationOptionsJSON, 'hints'>;
|
|
1470
1475
|
};
|
|
1471
1476
|
/**
|
|
1472
1477
|
* Settings associated with funding methods
|
|
@@ -1708,6 +1713,7 @@ type AppConfig = {
|
|
|
1708
1713
|
passkeys: {
|
|
1709
1714
|
shouldUnlinkOnUnenrollMfa: NonNullable<PrivyClientConfig['passkeys']>['shouldUnlinkOnUnenrollMfa'];
|
|
1710
1715
|
shouldUnenrollMfaOnUnlink: NonNullable<PrivyClientConfig['passkeys']>['shouldUnenrollMfaOnUnlink'];
|
|
1716
|
+
registration: NonNullable<PrivyClientConfig['passkeys']>['registration'];
|
|
1711
1717
|
};
|
|
1712
1718
|
customAuth?: {
|
|
1713
1719
|
enabled?: boolean;
|
|
@@ -2305,4 +2311,4 @@ type EthereumRpcResponseType = eth_signTransactionResponse | eth_populateTransac
|
|
|
2305
2311
|
type SolanaRpcRequestType = solana_signMessage;
|
|
2306
2312
|
type SolanaRpcResponseType = solana_signMessageResponse;
|
|
2307
2313
|
|
|
2308
|
-
export { type
|
|
2314
|
+
export { type SiwsMessageType as $, type WalletListEntry as A, type BaseConnectedEthereumWallet as B, type CreateWalletOptions as C, type AppConfig as D, type EthereumRpcRequestType as E, type FundingMethod as F, type BaseConnectedWallet as G, type HDWalletWithMetadata as H, type ConnectWalletModalOptions as I, type LoginModalOptions as J, type SetWalletRecoveryOptions as K, type LoginMethod as L, type MfaMethod as M, type SignTypedDataParams as N, type OAuthTokens as O, PrivyErrorCode as P, type UnsignedTransactionRequest as Q, type RuntimeLoginOverridableOptions as R, type SolanaChain as S, type FundWalletConfig as T, type User as U, type ConnectedWallet as V, type Wallet as W, type CrossAppProviderDetails as X, type MoonpaySignRequest as Y, type MoonpaySignResponse as Z, type SmartWalletConfig as _, type LinkedAccountWithMetadata as a, type ExternalWalletMetadata as a0, type TelegramAuthResult as a1, type TelegramWebAppData as a2, type OAuthUserInfo as a3, type OAuthFlowState as a4, type LoginWithCode as a5, type OtpFlowState as a6, type PasskeyFlowState as a7, type SiweFlowState as a8, type BaseAccountSdkType as a9, type GoogleOAuthWithMetadata as aA, type TwitterOAuthWithMetadata as aB, type DiscordOAuthWithMetadata as aC, type GithubOAuthWithMetadata as aD, type TiktokOAuthWithMetadata as aE, type LineOAuthWithMetadata as aF, type LinkedInOAuthWithMetadata as aG, type AppleOAuthWithMetadata as aH, type FarcasterWithMetadata as aI, type TelegramWithMetadata as aJ, type CrossAppAccountWithMetadata as aK, type PasskeyWithMetadata as aL, type Email as aM, type Phone as aN, type TransactionUIOptions as aO, type ContractUIOptions as aP, type NativeFundingConfig as aQ, type PriceDisplayOptions as aR, type Farcaster as aS, type Passkey as aT, type LoginMethodOrderOption as aU, type SiwsFlowState as aV, type UnsignedTransactionRequestWithChainId as aa, type BaseConnectedWalletType as ab, type TelegramAuthFlowState as ac, type TypedMessage as ad, type MessageTypes as ae, type SmartWallet as af, type MoonpayCurrencyCode as ag, type MoonpayPaymentMethod as ah, type Quantity as ai, type TransactionLog as aj, type TransactionReceipt as ak, type NonEmptyArray as al, type EmailWithMetadata as am, type PhoneWithMetadata as an, type WalletWithMetadata as ao, type Google as ap, type Twitter as aq, type Discord as ar, type Github as as, type LinkedIn as at, type Apple as au, type Tiktok as av, type Line as aw, type Telegram as ax, type CrossAppAccount as ay, type LinkedAccountType as az, type BaseConnectedSolanaWallet as b, type UserRecoveryMethod as c, type LoginToMiniApp as d, type SendTransactionModalUIOptions as e, type SignMessageModalUIOptions as f, type SessionSignerInput as g, type SolanaStandardWallet as h, type SolanaFundingConfig as i, SolanaWalletConnector as j, type MfaSubmitArgs as k, type SolanaRpcRequestType as l, type EthereumRpcResponseType as m, type SolanaRpcResponseType as n, type PrivyFarcasterSignerInitResponse as o, type EIP1193Provider as p, type EntropyIdVerifier as q, type RequestArguments as r, WalletConnector as s, toSolanaWalletConnectors as t, PrivyProxyProvider as u, type WalletClientType as v, type ConnectedWalletMetadata as w, type PrivyClientConfig as x, type ConnectorType as y, type SetBaseAccountSdkType as z };
|
package/dist/dts/ui.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-
|
|
2
|
+
import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-DnBecU1G.js';
|
|
3
3
|
import { Hex } from 'viem';
|
|
4
4
|
import { Chain } from '@privy-io/js-sdk-core';
|
|
5
5
|
import '@coinbase/wallet-sdk';
|
|
6
|
+
import '@simplewebauthn/browser';
|
|
6
7
|
import '@solana/kit';
|
|
7
8
|
import 'react';
|
|
8
9
|
import '@privy-io/public-api';
|
package/dist/dts/ui.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-
|
|
2
|
+
import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-DnBecU1G.js';
|
|
3
3
|
import { Hex } from 'viem';
|
|
4
4
|
import { Chain } from '@privy-io/js-sdk-core';
|
|
5
5
|
import '@coinbase/wallet-sdk';
|
|
6
|
+
import '@simplewebauthn/browser';
|
|
6
7
|
import '@solana/kit';
|
|
7
8
|
import 'react';
|
|
8
9
|
import '@privy-io/public-api';
|