@getpara/core-sdk 1.16.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.
@@ -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
- throw new Error(
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,
@@ -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.16.0";
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`;
@@ -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
- throw new Error(
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,
@@ -1,5 +1,5 @@
1
1
  import "./chunk-7B52C2XE.js";
2
- const PARA_CORE_VERSION = "1.16.0";
2
+ const PARA_CORE_VERSION = "1.18.0";
3
3
  const PREFIX = "@CAPSULE/";
4
4
  const LOCAL_STORAGE_EMAIL = `${PREFIX}e-mail`;
5
5
  const LOCAL_STORAGE_PHONE = `${PREFIX}phone`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/core-sdk",
3
- "version": "1.16.0",
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.16.0",
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": "27004dc519903d24ffafa0d8da16976dae9278a2"
43
+ "gitHead": "5928feb89e9fe821893477e4f892f6efa2ebffe2"
44
44
  }