@portal-hq/utils 2.0.12 → 2.0.13

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.
@@ -3,9 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getChainNameForId = exports.getChainIdForName = exports.chainNameToId = exports.chainIdToName = void 0;
4
4
  exports.chainIdToName = {
5
5
  5: 'goerli',
6
+ 11155111: 'sepolia',
6
7
  };
7
8
  exports.chainNameToId = {
8
9
  goerli: 5,
10
+ sepolia: 11155111,
9
11
  };
10
12
  const getChainIdForName = (chainName) => {
11
13
  return exports.chainNameToId[chainName];
@@ -1,8 +1,10 @@
1
1
  export const chainIdToName = {
2
2
  5: 'goerli',
3
+ 11155111: 'sepolia',
3
4
  };
4
5
  export const chainNameToId = {
5
6
  goerli: 5,
7
+ sepolia: 11155111,
6
8
  };
7
9
  export const getChainIdForName = (chainName) => {
8
10
  return chainNameToId[chainName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portal-hq/utils",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "main": "lib/commonjs/index",
5
5
  "module": "lib/esm/index",
6
6
  "source": "src/index",
@@ -26,5 +26,5 @@
26
26
  "ts-jest": "^29.0.3",
27
27
  "typescript": "^4.8.4"
28
28
  },
29
- "gitHead": "f1ae525cc42e9d95de9a989187c72cd895f82785"
29
+ "gitHead": "bd4ff2f92e936f51b1611083d42804980e96bf27"
30
30
  }
@@ -1,9 +1,11 @@
1
1
  export const chainIdToName: Record<number, string> = {
2
2
  5: 'goerli',
3
+ 11155111: 'sepolia',
3
4
  }
4
5
 
5
6
  export const chainNameToId: Record<string, number> = {
6
7
  goerli: 5,
8
+ sepolia: 11155111,
7
9
  }
8
10
 
9
11
  export const getChainIdForName = (chainName: string): number => {