@rhinestone/shared-configs 1.1.0 → 1.1.1

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.
@@ -0,0 +1,20 @@
1
+ {
2
+ "1": {
3
+ "providers": ["DRPC", "Alchemy"]
4
+ },
5
+ "10": {
6
+ "providers": ["DRPC", "Alchemy"]
7
+ },
8
+ "8453": {
9
+ "providers": ["DRPC", "Alchemy"]
10
+ },
11
+ "42161": {
12
+ "providers": ["DRPC", "Alchemy"]
13
+ },
14
+ "137": {
15
+ "providers": ["DRPC", "Alchemy"]
16
+ },
17
+ "1868": {
18
+ "providers": ["DRPC", "Alchemy"]
19
+ }
20
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "84532": {
3
+ "providers": ["DRPC"]
4
+ },
5
+ "421614": {
6
+ "providers": ["DRPC"]
7
+ },
8
+ "11155111": {
9
+ "providers": ["DRPC"]
10
+ },
11
+ "11155420": {
12
+ "providers": ["DRPC"]
13
+ }
14
+ }
package/dist/index.d.ts CHANGED
@@ -20,12 +20,18 @@ interface ChainRegistry {
20
20
  [chainId: string]: ChainEntry;
21
21
  }
22
22
  type ProviderName = 'DRPC' | 'Alchemy' | 'local-rpc';
23
+ interface ChainItem {
24
+ providers: ProviderName[];
25
+ }
26
+ type ChainList = Record<string, ChainItem>;
23
27
  type ProviderRegistry = Record<ProviderName, {
24
28
  url_template: string;
25
29
  chain_mapping: Partial<Record<SupportedChain, string>>;
26
30
  }>;
27
31
  declare const chains: ChainRegistry;
28
32
  declare const providers: ProviderRegistry;
29
- export { chains, providers };
33
+ declare const mainnetChains: ChainList;
34
+ declare const testnetChains: ChainList;
35
+ export { chains, providers, mainnetChains, testnetChains };
30
36
  export type { ChainEntry, ChainRegistry, ProviderRegistry, ProviderName, SupportedMainnet, SupportedTestnet, SupportedChain, SupportedOPStackMainnet, SupportedOPStackTestnet, };
31
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"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EAChB,cAAc,EACd,uBAAuB,EACvB,uBAAuB,GACxB,CAAA"}
package/dist/index.js CHANGED
@@ -3,10 +3,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.providers = exports.chains = void 0;
6
+ exports.testnetChains = exports.mainnetChains = exports.providers = exports.chains = void 0;
7
7
  const chains_json_1 = __importDefault(require("./configs/chains.json"));
8
+ const mainnets_json_1 = __importDefault(require("./configs/mainnets.json"));
8
9
  const providers_json_1 = __importDefault(require("./configs/providers.json"));
10
+ const testnets_json_1 = __importDefault(require("./configs/testnets.json"));
9
11
  const chains = chains_json_1.default;
10
12
  exports.chains = chains;
11
13
  const providers = providers_json_1.default;
12
14
  exports.providers = providers;
15
+ const mainnetChains = mainnets_json_1.default;
16
+ exports.mainnetChains = mainnetChains;
17
+ const testnetChains = testnets_json_1.default;
18
+ exports.testnetChains = testnetChains;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/shared-configs",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Reusable configuration files for Rhinestone services",
5
5
  "author": {
6
6
  "name": "Rhinestone",