@getpara/user-management-client 2.0.0-alpha.14 → 2.0.0-alpha.16

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.
@@ -553,9 +553,9 @@ class Client {
553
553
  }
554
554
  // POST /auth/farcaster/init
555
555
  initializeFarcasterLogin() {
556
- return __async(this, null, function* () {
557
- const res = yield this.baseRequest.post(`/auth/farcaster/init`);
558
- return res;
556
+ return __async(this, arguments, function* ({ appScheme } = {}) {
557
+ const res = yield this.baseRequest.post(`/auth/farcaster/init`, { deeplinkUrl: appScheme });
558
+ return res.data;
559
559
  });
560
560
  }
561
561
  getFarcasterAuthStatus() {
@@ -476,9 +476,9 @@ class Client {
476
476
  }
477
477
  // POST /auth/farcaster/init
478
478
  initializeFarcasterLogin() {
479
- return __async(this, null, function* () {
480
- const res = yield this.baseRequest.post(`/auth/farcaster/init`);
481
- return res;
479
+ return __async(this, arguments, function* ({ appScheme } = {}) {
480
+ const res = yield this.baseRequest.post(`/auth/farcaster/init`, { deeplinkUrl: appScheme });
481
+ return res.data;
482
482
  });
483
483
  }
484
484
  getFarcasterAuthStatus() {
@@ -218,7 +218,9 @@ declare class Client {
218
218
  enable2FA(userId: string, verificationCode: string): Promise<AxiosResponse<any, any>>;
219
219
  setup2FA(userId: string): Promise<Setup2faResponse>;
220
220
  initializeRecovery(email: string): Promise<AxiosResponse<any, any>>;
221
- initializeFarcasterLogin(): Promise<AxiosResponse<any, any>>;
221
+ initializeFarcasterLogin({ appScheme }?: {
222
+ appScheme?: string;
223
+ }): Promise<any>;
222
224
  getFarcasterAuthStatus(): Promise<VerifyFarcasterResponse>;
223
225
  initializeRecoveryForPhone(phone: string, countryCode: string): Promise<AxiosResponse<any, any>>;
224
226
  finalizeRecovery(userId: string, walletId: string): Promise<AxiosResponse<any, any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/user-management-client",
3
- "version": "2.0.0-alpha.14",
3
+ "version": "2.0.0-alpha.16",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -32,5 +32,5 @@
32
32
  "require": "./dist/cjs/index.js"
33
33
  }
34
34
  },
35
- "gitHead": "03898846281bf37536a6ed12dede119e6171ad45"
35
+ "gitHead": "84eb1a14fa8918c449ae4b163fe173d34688cdcd"
36
36
  }