@getpara/react-native-wallet 1.13.0-dev.2 → 1.13.0-dev.3

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.
@@ -48,5 +48,5 @@ export declare class ParaMobile extends ParaCore {
48
48
  * @param {AuthParams} params - The authentication parameters.
49
49
  * @returns {Promise<void>}
50
50
  */
51
- login({ ...auth }: Auth<'email'> | Auth<'phone'>): Promise<void>;
51
+ login({ ...auth }: Partial<Auth<'email'>> | Partial<Auth<'phone'>>): Promise<void>;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/react-native-wallet",
3
- "version": "1.13.0-dev.2",
3
+ "version": "1.13.0-dev.3",
4
4
  "description": "Para Wallet for React Native",
5
5
  "homepage": "https://getpara.com",
6
6
  "author": "Para Team <hello@getpara.com> (https://getpara.com)",
@@ -186,7 +186,7 @@ export class ParaMobile extends ParaCore {
186
186
  * @param {AuthParams} params - The authentication parameters.
187
187
  * @returns {Promise<void>}
188
188
  */
189
- async login({ ...auth }: Auth<'email'> | Auth<'phone'>): Promise<void> {
189
+ async login({ ...auth }: Partial<Auth<'email'>> | Partial<Auth<'phone'>>): Promise<void> {
190
190
  await this.logout();
191
191
 
192
192
  const authInfo = extractAuthInfo(auth, { isRequired: false });