@dynamic-labs-wallet/browser 1.0.67 → 1.0.68

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/index.cjs CHANGED
@@ -8,7 +8,7 @@ var sdkApiCore = require('@dynamic-labs/sdk-api-core');
8
8
  var loadArgon2idWasm = require('argon2id');
9
9
  var axios = require('axios');
10
10
  var PQueue = require('p-queue');
11
- var semver = require('semver');
11
+ var gte = require('semver/functions/gte');
12
12
 
13
13
  function _extends() {
14
14
  _extends = Object.assign || function assign(target) {
@@ -2563,7 +2563,7 @@ function meetsMinVersion(sdkVersion, { minVersionByNamespace, fallbackMinVersion
2563
2563
  }
2564
2564
  const { namespace, version } = parsedVersion;
2565
2565
  var _minVersionByNamespace_namespace;
2566
- return semver.gte(version, (_minVersionByNamespace_namespace = minVersionByNamespace[namespace]) != null ? _minVersionByNamespace_namespace : fallbackMinVersion);
2566
+ return gte(version, (_minVersionByNamespace_namespace = minVersionByNamespace[namespace]) != null ? _minVersionByNamespace_namespace : fallbackMinVersion);
2567
2567
  } catch (error) {
2568
2568
  logger.warn(`[DynamicWaasWalletClient] Error checking ${label} for version ${sdkVersion}`, {
2569
2569
  error: error instanceof Error ? error.message : String(error)
package/index.esm.js CHANGED
@@ -9,7 +9,7 @@ import { ProviderEnum, RoomTypeEnum } from '@dynamic-labs/sdk-api-core';
9
9
  import loadArgon2idWasm from 'argon2id';
10
10
  import { AxiosError } from 'axios';
11
11
  import PQueue from 'p-queue';
12
- import { gte } from 'semver';
12
+ import gte from 'semver/functions/gte';
13
13
 
14
14
  function _extends() {
15
15
  _extends = Object.assign || function assign(target) {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/browser",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "license": "Licensed under the Dynamic Labs, Inc. Terms Of Service (https://www.dynamic.xyz/terms-conditions)",
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@dynamic-labs-wallet/core": "1.0.67",
7
+ "@dynamic-labs-wallet/core": "1.0.68",
8
8
  "@dynamic-labs-wallet/forward-mpc-client": "1.0.1",
9
- "@dynamic-labs-wallet/primitives": "1.0.67",
9
+ "@dynamic-labs-wallet/primitives": "1.0.68",
10
10
  "@dynamic-labs/sdk-api-core": "^0.0.984",
11
11
  "argon2id": "1.0.1",
12
12
  "axios": "1.16.0",
@@ -1 +1 @@
1
- {"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../../src/services/version-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAA0B,MAAM,2BAA2B,CAAC;AAoCjF,oFAAoF;AACpF,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAUlG;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAUlG"}
1
+ {"version":3,"file":"version-check.d.ts","sourceRoot":"","sources":["../../src/services/version-check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAA0B,MAAM,2BAA2B,CAAC;AAsCjF,oFAAoF;AACpF,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAUlG;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAUlG"}