|
16 | 16 | "exports": { |
17 | 17 | ".": { |
18 | 18 | "bun": "./src/index.ts", |
| 19 | + "types": "./lib/index.d.ts", |
19 | 20 | "import": "./lib/index.js" |
20 | 21 | }, |
21 | 22 | "./api": { |
22 | 23 | "bun": "./src/api/index.ts", |
| 24 | + "types": "./lib/api/index.d.ts", |
23 | 25 | "import": "./lib/api/index.js" |
24 | 26 | }, |
25 | 27 | "./chain": { |
26 | 28 | "bun": "./src/chain/index.ts", |
| 29 | + "types": "./lib/chain/index.d.ts", |
27 | 30 | "import": "./lib/chain/index.js" |
28 | 31 | }, |
29 | 32 | "./constants": { |
30 | 33 | "bun": "./src/constants/index.ts", |
| 34 | + "types": "./lib/constants/index.d.ts", |
31 | 35 | "import": "./lib/constants/index.js" |
32 | 36 | }, |
33 | 37 | "./db": { |
34 | 38 | "bun": "./src/db/index.ts", |
| 39 | + "types": "./lib/db/index.d.ts", |
35 | 40 | "import": "./lib/db/index.js" |
36 | 41 | }, |
37 | 42 | "./eth1": { |
38 | 43 | "bun": "./src/eth1/index.ts", |
| 44 | + "types": "./lib/eth1/index.d.ts", |
39 | 45 | "import": "./lib/eth1/index.js" |
40 | 46 | }, |
41 | 47 | "./metrics": { |
42 | 48 | "bun": "./src/metrics/index.ts", |
| 49 | + "types": "./lib/metrics/index.d.ts", |
43 | 50 | "import": "./lib/metrics/index.js" |
44 | 51 | }, |
45 | 52 | "./monitoring": { |
46 | 53 | "bun": "./src/monitoring/index.ts", |
| 54 | + "types": "./lib/monitoring/index.d.ts", |
47 | 55 | "import": "./lib/monitoring/index.js" |
48 | 56 | }, |
49 | 57 | "./network": { |
50 | 58 | "bun": "./src/network/index.ts", |
| 59 | + "types": "./lib/network/index.d.ts", |
51 | 60 | "import": "./lib/network/index.js" |
52 | 61 | }, |
53 | 62 | "./node": { |
54 | 63 | "bun": "./src/node/index.ts", |
| 64 | + "types": "./lib/node/index.d.ts", |
55 | 65 | "import": "./lib/node/index.js" |
56 | 66 | }, |
57 | 67 | "./sync": { |
58 | 68 | "bun": "./src/sync/index.ts", |
| 69 | + "types": "./lib/sync/index.d.ts", |
59 | 70 | "import": "./lib/sync/index.js" |
60 | 71 | }, |
61 | 72 | "./util": { |
62 | 73 | "bun": "./src/util/index.ts", |
| 74 | + "types": "./lib/util/index.d.ts", |
63 | 75 | "import": "./lib/util/index.js" |
64 | 76 | } |
65 | 77 | }, |
|
73 | 85 | "default": "datastore-level" |
74 | 86 | } |
75 | 87 | }, |
76 | | - "typesVersions": { |
77 | | - "*": { |
78 | | - "*": [ |
79 | | - "*", |
80 | | - "lib/*", |
81 | | - "lib/*/index" |
82 | | - ] |
83 | | - } |
84 | | - }, |
85 | | - "types": "./lib/index.d.ts", |
86 | 88 | "files": [ |
87 | 89 | "src", |
88 | 90 | "lib", |
|
0 commit comments