@upshiftfinance/config 0.1.11 → 0.1.14

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.
Files changed (2) hide show
  1. package/lib/vaults.js +5 -2
  2. package/package.json +2 -2
package/lib/vaults.js CHANGED
@@ -18,12 +18,15 @@ const SUBGRAPH_SLUG_TO_CHAIN_ID = {
18
18
  tempo: 4217,
19
19
  base: 8453,
20
20
  fluent: 25363,
21
+ citrea: 4114,
22
+ rise: 4153,
23
+ x1: 196,
24
+ sepolia: 11155111,
21
25
  };
22
26
  function chainIdFromSubgraphSlug(subgraph) {
23
27
  if (!subgraph)
24
28
  return undefined;
25
- const m = subgraph.match(/(?:august|upshift)-(?:experimental-)?factory-([a-z]+)/i) ??
26
- subgraph.match(/(?:august|upshift)-([a-z]+)-/i);
29
+ const m = subgraph.match(/(?:august|upshift)-(?:experimental-)?factory-([a-z0-9]+)/i) ?? subgraph.match(/(?:august|upshift)-([a-z0-9]+)-/i);
27
30
  if (!m)
28
31
  return undefined;
29
32
  return SUBGRAPH_SLUG_TO_CHAIN_ID[m[1].toLowerCase()];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upshiftfinance/config",
3
- "version": "0.1.11",
3
+ "version": "0.1.14",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "description": "Shared configuration, keystore, and SDK factory used by @upshiftfinance/cli and @upshiftfinance/mcp.",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "zod": "^3.23.0",
32
- "@upshiftfinance/sdk": "1.0.1"
32
+ "@upshiftfinance/sdk": "1.1.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/jest": "^30.0.0",