@getpara/core-sdk 1.17.0 → 1.18.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.
- package/dist/cjs/ParaCore.js +1 -3
- package/dist/cjs/constants.js +1 -1
- package/dist/esm/ParaCore.js +1 -3
- package/dist/esm/constants.js +1 -1
- package/package.json +3 -3
package/dist/cjs/ParaCore.js
CHANGED
|
@@ -1613,9 +1613,7 @@ const _ParaCore = class _ParaCore {
|
|
|
1613
1613
|
return __async(this, null, function* () {
|
|
1614
1614
|
var _a;
|
|
1615
1615
|
if (!this.email && !this.phone && !this.farcasterUsername && !this.telegramUserId && !this.isExternalWalletAuth) {
|
|
1616
|
-
|
|
1617
|
-
"one of email, phone, farcaster username, telegram user id or external wallet with Para auth are required to get biometric location hints"
|
|
1618
|
-
);
|
|
1616
|
+
return [];
|
|
1619
1617
|
}
|
|
1620
1618
|
return yield this.ctx.client.getBiometricLocationHints({
|
|
1621
1619
|
email: this.email,
|
package/dist/cjs/constants.js
CHANGED
|
@@ -37,7 +37,7 @@ __export(constants_exports, {
|
|
|
37
37
|
SHORT_POLLING_INTERVAL_MS: () => SHORT_POLLING_INTERVAL_MS
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(constants_exports);
|
|
40
|
-
const PARA_CORE_VERSION = "1.
|
|
40
|
+
const PARA_CORE_VERSION = "1.18.0";
|
|
41
41
|
const PREFIX = "@CAPSULE/";
|
|
42
42
|
const LOCAL_STORAGE_EMAIL = `${PREFIX}e-mail`;
|
|
43
43
|
const LOCAL_STORAGE_PHONE = `${PREFIX}phone`;
|
package/dist/esm/ParaCore.js
CHANGED
|
@@ -1563,9 +1563,7 @@ const _ParaCore = class _ParaCore {
|
|
|
1563
1563
|
return __async(this, null, function* () {
|
|
1564
1564
|
var _a;
|
|
1565
1565
|
if (!this.email && !this.phone && !this.farcasterUsername && !this.telegramUserId && !this.isExternalWalletAuth) {
|
|
1566
|
-
|
|
1567
|
-
"one of email, phone, farcaster username, telegram user id or external wallet with Para auth are required to get biometric location hints"
|
|
1568
|
-
);
|
|
1566
|
+
return [];
|
|
1569
1567
|
}
|
|
1570
1568
|
return yield this.ctx.client.getBiometricLocationHints({
|
|
1571
1569
|
email: this.email,
|
package/dist/esm/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/core-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@celo/utils": "^8.0.2",
|
|
11
11
|
"@cosmjs/encoding": "^0.32.4",
|
|
12
12
|
"@ethereumjs/util": "^9.1.0",
|
|
13
|
-
"@getpara/user-management-client": "1.
|
|
13
|
+
"@getpara/user-management-client": "1.18.0",
|
|
14
14
|
"@noble/hashes": "^1.5.0",
|
|
15
15
|
"base64url": "^3.0.1",
|
|
16
16
|
"libphonenumber-js": "1.11.2",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"require": "./dist/cjs/index.js"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5928feb89e9fe821893477e4f892f6efa2ebffe2"
|
|
44
44
|
}
|