@broxus/evm-connect 1.14.5 → 1.14.6

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.
@@ -15,6 +15,9 @@ function storeRecentConnectionMeta(meta, storageKey = constants_1.EVM_RECENT_CON
15
15
  js_utils_1.storage.remove(storageKey);
16
16
  return;
17
17
  }
18
+ if (!isRecentConnectionMeta(meta)) {
19
+ return;
20
+ }
18
21
  (0, js_utils_1.debug)('Store EVM recent connection', meta);
19
22
  js_utils_1.storage.set(storageKey, JSON.stringify(meta));
20
23
  }
@@ -10,6 +10,9 @@ export function storeRecentConnectionMeta(meta, storageKey = EVM_RECENT_CONNECTI
10
10
  storage.remove(storageKey);
11
11
  return;
12
12
  }
13
+ if (!isRecentConnectionMeta(meta)) {
14
+ return;
15
+ }
13
16
  debug('Store EVM recent connection', meta);
14
17
  storage.set(storageKey, JSON.stringify(meta));
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@broxus/evm-connect",
3
- "version": "1.14.5",
3
+ "version": "1.14.6",
4
4
  "description": "Ethereum wallets connector.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -95,10 +95,10 @@
95
95
  "prepare": "npx yarn cleanup && cross-env NODE_ENV=production npx yarn build"
96
96
  },
97
97
  "dependencies": {
98
- "@broxus/js-core": "^0.36.0",
98
+ "@broxus/js-core": "^0.37.0",
99
99
  "@broxus/js-utils": "^1.5.1",
100
- "@broxus/react-components": "^0.24.5",
101
- "@broxus/react-uikit": "^0.21.0",
100
+ "@broxus/react-components": "^0.24.6",
101
+ "@broxus/react-uikit": "^0.22.0",
102
102
  "classnames": "^2.5.1"
103
103
  },
104
104
  "optionalDependencies": {
@@ -117,5 +117,5 @@
117
117
  "react-intl": "^6.0.0 || ^7.0.0",
118
118
  "web3": "^4.0.0"
119
119
  },
120
- "gitHead": "b6db9ecb21fed703c821b965458034cb4e18c959"
120
+ "gitHead": "b7737eba86330231643d40ea21bbc7fbb54a4469"
121
121
  }