@broxus/evm-connect 1.7.1 → 1.7.3

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.convertNetworkToChainParams = void 0;
3
+ exports.convertNetworkToChainParams = convertNetworkToChainParams;
4
4
  function convertNetworkToChainParams(network) {
5
5
  return {
6
6
  blockExplorerUrls: [network.explorer.baseUrl],
@@ -15,4 +15,3 @@ function convertNetworkToChainParams(network) {
15
15
  rpcUrls: [network.rpcUrl],
16
16
  };
17
17
  }
18
- exports.convertNetworkToChainParams = convertNetworkToChainParams;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getEvmProviderPlatformLink = void 0;
3
+ exports.getEvmProviderPlatformLink = getEvmProviderPlatformLink;
4
4
  const js_utils_1 = require("@broxus/js-utils");
5
5
  function getEvmProviderPlatformLink(links) {
6
6
  const [platform] = Array.from(new Map([
@@ -11,4 +11,3 @@ function getEvmProviderPlatformLink(links) {
11
11
  ])).find(([, enabled]) => enabled) ?? [];
12
12
  return platform ? [platform, links[platform]] : undefined;
13
13
  }
14
- exports.getEvmProviderPlatformLink = getEvmProviderPlatformLink;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseChainId = void 0;
3
+ exports.parseChainId = parseChainId;
4
4
  function parseChainId(chainId) {
5
5
  return typeof chainId === 'string' ? Number.parseInt(chainId, 16) : chainId;
6
6
  }
7
- exports.parseChainId = parseChainId;
@@ -4,7 +4,7 @@
4
4
  flex-direction: column;
5
5
  height: inherit;
6
6
  overflow: hidden;
7
- transition: height var(--transition-fast-duration) var(--ease-in);
7
+ transition: height var(--transition-fast-duration, '100ms') var(--ease-in);
8
8
  width: inherit;
9
9
  }
10
10