Skip to content

Commit ac1d718

Browse files
committed
chore: make viem peerDependencies
1 parent 969d4d8 commit ac1d718

File tree

3 files changed

+683
-982
lines changed

3 files changed

+683
-982
lines changed

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 48 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "crossbell",
33
"version": "1.12.1",
4-
"packageManager": "[email protected]",
54
"description": "JavaScript SDK to interact with Crossbell",
6-
"keywords": ["crossbell", "eth", "contract", "web3"],
7-
"license": "MIT",
5+
"keywords": [
6+
"crossbell",
7+
"eth",
8+
"contract",
9+
"web3"
10+
],
811
"bugs": {
912
"url": "https://github.com/Crossbell-Box/crossbell.js/issues"
1013
},
1114
"repository": {
1215
"type": "git",
1316
"url": "https://github.com/Crossbell-Box/crossbell.js.git"
1417
},
15-
"files": ["dist"],
16-
"main": "./dist/index.js",
17-
"module": "./dist/index.mjs",
18-
"types": "./dist/index.d.ts",
18+
"license": "MIT",
1919
"exports": {
2020
".": {
2121
"types": "./dist/index.d.ts",
@@ -49,18 +49,31 @@
4949
},
5050
"./*": "./*"
5151
},
52+
"main": "./dist/index.js",
53+
"module": "./dist/index.mjs",
54+
"types": "./dist/index.d.ts",
5255
"typesVersions": {
5356
"*": {
54-
"contract": ["./dist/contract/index.d.ts"],
55-
"indexer": ["./dist/indexer/index.d.ts"],
56-
"ipfs": ["./dist/ipfs/index.d.ts"],
57-
"network": ["./dist/network/index.d.ts"],
58-
"utils": ["./dist/utils/index.d.ts"]
57+
"contract": [
58+
"./dist/contract/index.d.ts"
59+
],
60+
"indexer": [
61+
"./dist/indexer/index.d.ts"
62+
],
63+
"ipfs": [
64+
"./dist/ipfs/index.d.ts"
65+
],
66+
"network": [
67+
"./dist/network/index.d.ts"
68+
],
69+
"utils": [
70+
"./dist/utils/index.d.ts"
71+
]
5972
}
6073
},
61-
"publishConfig": {
62-
"access": "public"
63-
},
74+
"files": [
75+
"dist"
76+
],
6477
"scripts": {
6578
"build": "tsup --dts",
6679
"docs:build": "typedoc",
@@ -74,32 +87,38 @@
7487
"update-abi": "node ./scripts/update-abi.mjs",
7588
"watch": "tsup --watch"
7689
},
90+
"simple-git-hooks": {
91+
"pre-commit": "npm run lint:fix"
92+
},
7793
"dependencies": {
7894
"@crossbell/ipfs-fetch": "^0.0.21",
7995
"async-cache-dedupe": "^2.2.0",
8096
"async-retry": "^1.3.3",
81-
"eip1193-types": "^0.2.1",
82-
"exponential-backoff": "^3.1.1",
83-
"p-limit": "3.1.0",
84-
"viem": "^2.21.34"
97+
"eip1193-types": "^0.2.2",
98+
"exponential-backoff": "^3.1.2",
99+
"p-limit": "6.2.0"
85100
},
86101
"devDependencies": {
87102
"@biomejs/biome": "^1.9.4",
88103
"@types/async-retry": "^1.4.9",
89-
"@types/node": "^20.17.0",
90-
"abitype": "^1.0.6",
91-
"bumpp": "^9.7.1",
104+
"@types/node": "^22.14.1",
105+
"abitype": "^1.0.8",
106+
"bumpp": "^10.1.0",
92107
"change-case": "^5.4.4",
93-
"simple-git-hooks": "^2.11.1",
94-
"tsup": "^8.3.0",
95-
"typedoc": "^0.26.10",
96-
"typescript": "^5.6.3",
97-
"vitest": "^2.1.3"
108+
"simple-git-hooks": "^2.12.1",
109+
"tsup": "^8.4.0",
110+
"typedoc": "^0.28.2",
111+
"typescript": "^5.8.3",
112+
"vitest": "^3.1.1"
113+
},
114+
"peerDependencies": {
115+
"viem": ">=2"
98116
},
117+
"packageManager": "[email protected]",
99118
"engines": {
100119
"node": ">=16.14.0"
101120
},
102-
"simple-git-hooks": {
103-
"pre-commit": "npm run lint:fix"
121+
"publishConfig": {
122+
"access": "public"
104123
}
105124
}

0 commit comments

Comments
 (0)