@privy-io/react-auth 1.39.0 → 1.40.0-beta-20230919232152

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
@@ -175,21 +175,36 @@ declare const DEFAULT_SUPPORTED_CHAINS: readonly [Chain, Chain, Chain, Chain, Ch
175
175
 
176
176
  type WalletCreateRequestDataType = {
177
177
  accessToken: string;
178
+ recoveryPassword?: string;
179
+ /**
180
+ * Will be deprecated in a future release, use `recoveryPassword` instead
181
+ * @deprecated
182
+ */
178
183
  recoveryPin?: string;
179
184
  };
180
- type WalletConnectRequestDataType = {
185
+ type WalletSetRecoveryPasswordRequestDataType = {
181
186
  accessToken: string;
182
187
  address: string;
188
+ recoveryPassword: string;
189
+ /**
190
+ * Will be deprecated in a future release, use `recoveryPassword` instead
191
+ * @deprecated
192
+ */
193
+ recoveryPin?: string;
183
194
  };
184
195
  type WalletRecoverRequestDataType = {
185
- accessToken: string;
186
196
  address: string;
197
+ accessToken: string;
198
+ recoveryPassword?: string;
199
+ /**
200
+ * Will be deprecated in a future release, use `recoveryPassword` instead
201
+ * @deprecated
202
+ */
187
203
  recoveryPin?: string;
188
204
  };
189
- type WalletSetRecoveryPasswordRequestDataType = {
205
+ type WalletConnectRequestDataType = {
190
206
  accessToken: string;
191
207
  address: string;
192
- recoveryPassword: string;
193
208
  };
194
209
  type WalletRpcRequestDataType = {
195
210
  accessToken: string;
@@ -257,7 +272,8 @@ declare enum PrivyErrorCode {
257
272
  CLIENT_REQUEST_TIMEOUT = "client_request_timeout",
258
273
  INVALID_CREDENTIALS = "invalid_credentials",
259
274
  EMBEDDED_WALLET_ALREADY_EXISTS = "embedded_wallet_already_exists",
260
- UNKNOWN_EMBEDDED_WALLET_ERROR = "unknown_embedded_wallet_error"
275
+ UNKNOWN_EMBEDDED_WALLET_ERROR = "unknown_embedded_wallet_error",
276
+ EMBEDDED_WALLET_PASSWORD_UNCONFIRMED = "embedded_wallet_password_unconfirmed"
261
277
  }
262
278
 
263
279
  /**