@getpara/user-management-client 2.0.0-alpha.15 → 2.0.0-alpha.17
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/client.js +3 -3
- package/dist/esm/client.js +3 -3
- package/dist/types/client.d.ts +3 -1
- package/dist/types/types/auth.d.ts +3 -0
- package/package.json +2 -2
package/dist/cjs/client.js
CHANGED
|
@@ -553,9 +553,9 @@ class Client {
|
|
|
553
553
|
}
|
|
554
554
|
// POST /auth/farcaster/init
|
|
555
555
|
initializeFarcasterLogin() {
|
|
556
|
-
return __async(this,
|
|
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() {
|
package/dist/esm/client.js
CHANGED
|
@@ -476,9 +476,9 @@ class Client {
|
|
|
476
476
|
}
|
|
477
477
|
// POST /auth/farcaster/init
|
|
478
478
|
initializeFarcasterLogin() {
|
|
479
|
-
return __async(this,
|
|
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() {
|
package/dist/types/client.d.ts
CHANGED
|
@@ -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(
|
|
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>>;
|
|
@@ -142,6 +142,7 @@ export type SessionInfo = {
|
|
|
142
142
|
cosmosPrefix?: string;
|
|
143
143
|
origin?: string;
|
|
144
144
|
email?: string;
|
|
145
|
+
verifiedExternalWalletAddresses?: string[];
|
|
145
146
|
};
|
|
146
147
|
export type ServerAuthStateBase = AuthExtras & {
|
|
147
148
|
auth: PrimaryAuth;
|
|
@@ -169,6 +170,8 @@ export type ExternalWalletInfo = {
|
|
|
169
170
|
withFullParaAuth?: boolean;
|
|
170
171
|
ensName?: string | null;
|
|
171
172
|
ensAvatar?: string | null;
|
|
173
|
+
isConnectionOnly?: boolean;
|
|
174
|
+
withVerification?: boolean;
|
|
172
175
|
};
|
|
173
176
|
export type VerifyExternalWalletParams = {
|
|
174
177
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/user-management-client",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.17",
|
|
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": "
|
|
35
|
+
"gitHead": "5cb0f3dee5564995c465ead160ed817ba2ba37a7"
|
|
36
36
|
}
|