@getpara/user-management-client 1.14.1 → 1.15.0

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.
@@ -529,9 +529,9 @@ class Client {
529
529
  }
530
530
  // POST /auth/farcaster/init
531
531
  initializeFarcasterLogin() {
532
- return __async(this, null, function* () {
533
- const res = yield this.baseRequest.post(`/auth/farcaster/init`);
534
- return res;
532
+ return __async(this, arguments, function* ({ deeplinkUrl } = {}) {
533
+ const res = yield this.baseRequest.post(`/auth/farcaster/init`, { deeplinkUrl });
534
+ return res.data;
535
535
  });
536
536
  }
537
537
  // POST /auth/farcaster/status
@@ -452,9 +452,9 @@ class Client {
452
452
  }
453
453
  // POST /auth/farcaster/init
454
454
  initializeFarcasterLogin() {
455
- return __async(this, null, function* () {
456
- const res = yield this.baseRequest.post(`/auth/farcaster/init`);
457
- return res;
455
+ return __async(this, arguments, function* ({ deeplinkUrl } = {}) {
456
+ const res = yield this.baseRequest.post(`/auth/farcaster/init`, { deeplinkUrl });
457
+ return res.data;
458
458
  });
459
459
  }
460
460
  // POST /auth/farcaster/status
@@ -229,7 +229,9 @@ declare class Client {
229
229
  enable2FA(userId: string, verificationCode: string): Promise<AxiosResponse<any, any>>;
230
230
  setup2FA(userId: string): Promise<AxiosResponse<any, any>>;
231
231
  initializeRecovery(email: string): Promise<AxiosResponse<any, any>>;
232
- initializeFarcasterLogin(): Promise<AxiosResponse<any, any>>;
232
+ initializeFarcasterLogin({ deeplinkUrl }?: {
233
+ deeplinkUrl?: string;
234
+ }): Promise<any>;
233
235
  getFarcasterAuthStatus(): Promise<AxiosResponse<any, any>>;
234
236
  initializeRecoveryForPhone(phone: string, countryCode: string): Promise<AxiosResponse<any, any>>;
235
237
  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": "1.14.1",
3
+ "version": "1.15.0",
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": "694c785ee8c0623379631d1514ca604ce5916326"
35
+ "gitHead": "6ac18641c816748275a35c5b40bfc734a48abe8f"
36
36
  }