@getpara/user-management-client 2.0.0-alpha.27 → 2.0.0-alpha.29
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 +2 -2
- package/dist/esm/client.js +2 -2
- package/package.json +2 -2
package/dist/cjs/client.js
CHANGED
|
@@ -130,7 +130,7 @@ class Client {
|
|
|
130
130
|
const res = yield this.baseRequest.get("/users/exists", {
|
|
131
131
|
params: __spreadValues({}, auth)
|
|
132
132
|
});
|
|
133
|
-
return res;
|
|
133
|
+
return res.data;
|
|
134
134
|
});
|
|
135
135
|
this.verifyTelegram = (authObject) => __async(this, null, function* () {
|
|
136
136
|
return (yield this.baseRequest.post("/users/telegram/v2", {
|
|
@@ -595,7 +595,7 @@ class Client {
|
|
|
595
595
|
// POST /auth/farcaster/init
|
|
596
596
|
initializeFarcasterLogin() {
|
|
597
597
|
return __async(this, arguments, function* ({ appScheme } = {}) {
|
|
598
|
-
const res = yield this.baseRequest.post(`/auth/farcaster/init`, {
|
|
598
|
+
const res = yield this.baseRequest.post(`/auth/farcaster/init`, { appScheme });
|
|
599
599
|
return res.data;
|
|
600
600
|
});
|
|
601
601
|
}
|
package/dist/esm/client.js
CHANGED
|
@@ -53,7 +53,7 @@ class Client {
|
|
|
53
53
|
const res = yield this.baseRequest.get("/users/exists", {
|
|
54
54
|
params: __spreadValues({}, auth)
|
|
55
55
|
});
|
|
56
|
-
return res;
|
|
56
|
+
return res.data;
|
|
57
57
|
});
|
|
58
58
|
this.verifyTelegram = (authObject) => __async(this, null, function* () {
|
|
59
59
|
return (yield this.baseRequest.post("/users/telegram/v2", {
|
|
@@ -518,7 +518,7 @@ class Client {
|
|
|
518
518
|
// POST /auth/farcaster/init
|
|
519
519
|
initializeFarcasterLogin() {
|
|
520
520
|
return __async(this, arguments, function* ({ appScheme } = {}) {
|
|
521
|
-
const res = yield this.baseRequest.post(`/auth/farcaster/init`, {
|
|
521
|
+
const res = yield this.baseRequest.post(`/auth/farcaster/init`, { appScheme });
|
|
522
522
|
return res.data;
|
|
523
523
|
});
|
|
524
524
|
}
|
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.29",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"axios": "^1.8.4",
|
|
6
6
|
"libphonenumber-js": "^1.11.7"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist",
|
|
20
20
|
"package.json"
|
|
21
21
|
],
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "7b90cb5a1a83f9bce9d61bd2baf190c47b58b705",
|
|
23
23
|
"main": "dist/cjs/index.js",
|
|
24
24
|
"module": "dist/esm/index.js",
|
|
25
25
|
"scripts": {
|