Skip to content

Commit 68d793a

Browse files
authored
Merge pull request #100 from autonomys/update-deps
Update deps
2 parents 0225097 + 2e1519a commit 68d793a

File tree

7 files changed

+56
-53
lines changed

7 files changed

+56
-53
lines changed

benchmarks/subspaceMainnet.js

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ export default async function () {
1414
typeof __ENV.BIG_BATCH === 'string' ? __ENV.BIG_BATCH === 'true' : true
1515
if (runBigBatch) {
1616
group('Mainnet Object Mappings', function () {
17-
return http.batch(
18-
mainnetObjectMappings.map((objects) => ({
19-
method: 'POST',
20-
url: global.SUBSPACE_MAINNET_FILES_GATEWAY_URL,
21-
params: {
22-
timeout: '1h',
23-
headers: { 'Content-Type': 'application/json' },
24-
},
25-
body: JSON.stringify({
17+
// Run requests in sequence instead of batch
18+
const responses = []
19+
for (const objects of mainnetObjectMappings) {
20+
const response = http.post(
21+
global.SUBSPACE_MAINNET_FILES_GATEWAY_URL,
22+
JSON.stringify({
2623
jsonrpc: '2.0',
2724
method: 'subspace_fetchObject',
2825
params: {
@@ -34,8 +31,14 @@ export default async function () {
3431
},
3532
id: 1,
3633
}),
37-
})),
38-
)
34+
{
35+
timeout: '1h',
36+
headers: { 'Content-Type': 'application/json' },
37+
},
38+
)
39+
responses.push(response)
40+
}
41+
return responses
3942
})
4043
}
4144

common/models/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"packageManager": "[email protected]",
55
"type": "module",
66
"dependencies": {
7-
"@autonomys/rpc": "^1.4.22",
7+
"@autonomys/rpc": "^1.4.23",
88
"zod": "^3.24.2"
99
},
1010
"exports": {

common/rpc-apis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"dependencies": {
77
"@auto-files/models": "workspace:*",
8-
"@autonomys/rpc": "^1.4.22",
8+
"@autonomys/rpc": "^1.4.23",
99
"zod": "^3.24.2"
1010
},
1111
"exports": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"test": "yarn workspaces foreach --topological --verbose --all run test"
1818
},
1919
"dependencies": {
20-
"@autonomys/rpc": "^1.4.22",
20+
"@autonomys/rpc": "^1.4.23",
2121
"axios": "^1.7.9",
2222
"stream-fork": "^1.0.5",
2323
"ts-node": "^10.9.2",

services/file-retriever/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"type": "module",
55
"dependencies": {
66
"@auto-files/rpc-apis": "workspace:*",
7-
"@autonomys/asynchronous": "^1.4.22",
8-
"@autonomys/auto-dag-data": "^1.4.22",
9-
"@autonomys/auto-utils": "^1.4.22",
10-
"@autonomys/file-caching": "^1.4.22",
11-
"@autonomys/rpc": "^1.4.22",
7+
"@autonomys/asynchronous": "^1.4.23",
8+
"@autonomys/auto-dag-data": "^1.4.23",
9+
"@autonomys/auto-utils": "^1.4.23",
10+
"@autonomys/file-caching": "^1.4.23",
11+
"@autonomys/rpc": "^1.4.23",
1212
"@ipld/dag-pb": "^4.1.3",
1313
"@keyvhq/core": "^2.1.1",
1414
"@keyvhq/sqlite": "^2.1.6",

services/object-mapping-indexer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@auto-files/models": "workspace:*",
1818
"@auto-files/rpc-apis": "workspace:*",
1919
"@autonomys/auto-dag-data": "^1.0.5",
20-
"@autonomys/rpc": "^1.4.22",
20+
"@autonomys/rpc": "^1.4.23",
2121
"@peculiar/webcrypto": "^1.5.0",
2222
"@types/node": "^22.10.2",
2323
"cors": "^2.8.5",

yarn.lock

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ __metadata:
1919
version: 0.0.0-use.local
2020
resolution: "@auto-files/models@workspace:common/models"
2121
dependencies:
22-
"@autonomys/rpc": "npm:^1.4.22"
22+
"@autonomys/rpc": "npm:^1.4.23"
2323
typescript: "npm:^5.6.3"
2424
zod: "npm:^3.24.2"
2525
languageName: unknown
@@ -30,7 +30,7 @@ __metadata:
3030
resolution: "@auto-files/rpc-apis@workspace:common/rpc-apis"
3131
dependencies:
3232
"@auto-files/models": "workspace:*"
33-
"@autonomys/rpc": "npm:^1.4.22"
33+
"@autonomys/rpc": "npm:^1.4.23"
3434
typescript: "npm:^5.6.3"
3535
zod: "npm:^3.24.2"
3636
languageName: unknown
@@ -43,10 +43,10 @@ __metadata:
4343
languageName: node
4444
linkType: hard
4545

46-
"@autonomys/asynchronous@npm:^1.4.22":
47-
version: 1.4.22
48-
resolution: "@autonomys/asynchronous@npm:1.4.22"
49-
checksum: 10c0/7eea74de16fb7c32889eeaf5553f3ced0606cf51bda0944b0e9fa7e7c5149e86e2bcfdba5d9e9c84c39591e43cd8312799c0630b40a2e7eb7a14456a069d2d89
46+
"@autonomys/asynchronous@npm:^1.4.23":
47+
version: 1.4.23
48+
resolution: "@autonomys/asynchronous@npm:1.4.23"
49+
checksum: 10c0/0b3f5fa5f34ddcb2d3e4abe0e8bfd0e90cb4545dfe46d9333e507b8344a2ad4f4e583aae53826fc09ae1a82cba6da552e1f529738c059db16d94985ae7780b78
5050
languageName: node
5151
linkType: hard
5252

@@ -69,11 +69,11 @@ __metadata:
6969
languageName: node
7070
linkType: hard
7171

72-
"@autonomys/auto-dag-data@npm:^1.4.22":
73-
version: 1.4.22
74-
resolution: "@autonomys/auto-dag-data@npm:1.4.22"
72+
"@autonomys/auto-dag-data@npm:^1.4.23":
73+
version: 1.4.23
74+
resolution: "@autonomys/auto-dag-data@npm:1.4.23"
7575
dependencies:
76-
"@autonomys/asynchronous": "npm:^1.4.22"
76+
"@autonomys/asynchronous": "npm:^1.4.23"
7777
"@ipld/dag-pb": "npm:^4.1.3"
7878
"@peculiar/webcrypto": "npm:^1.5.0"
7979
"@webbuf/blake3": "npm:^3.0.26"
@@ -84,27 +84,27 @@ __metadata:
8484
protobufjs: "npm:^7.4.0"
8585
protons: "npm:^7.6.0"
8686
protons-runtime: "npm:^5.5.0"
87-
checksum: 10c0/2e19288f81a55e18d0138b4a1b1ce41c356d9777c5855b5da9b49f3e40816f8f12e55fe2529bb583f777c69a57c23b83944742c5b7c0aeccfb306fdf7ac6c163
87+
checksum: 10c0/e4c65db0ab6f2be5fa66969178759dc4854f6cbbf1a4197f47b53e61f8a608718169353941192a650ed012ce5a60241e2c068000a67aebbe9ec9a67b4458bde1
8888
languageName: node
8989
linkType: hard
9090

91-
"@autonomys/auto-utils@npm:^1.4.22":
92-
version: 1.4.22
93-
resolution: "@autonomys/auto-utils@npm:1.4.22"
91+
"@autonomys/auto-utils@npm:^1.4.23":
92+
version: 1.4.23
93+
resolution: "@autonomys/auto-utils@npm:1.4.23"
9494
dependencies:
9595
"@polkadot/api": "npm:^15.8.1"
9696
"@polkadot/extension-dapp": "npm:^0.58.6"
97-
checksum: 10c0/7dbac766700302507d7f29384347451787831253e509ed734a9abc7c966a1287226e9781a86aa93205c2750af93fe947cc664f45f97e21ea8d95d9366a6885eb
97+
checksum: 10c0/a63a12e272b715d335d2b4ee834c7c6893113f013258b3df06d4d91078212c3b0c16b5326addb98781c8d74aa1a97a10efe792d71ba31a0d109ecfc57cabdc04
9898
languageName: node
9999
linkType: hard
100100

101-
"@autonomys/file-caching@npm:^1.4.22":
102-
version: 1.4.22
103-
resolution: "@autonomys/file-caching@npm:1.4.22"
101+
"@autonomys/file-caching@npm:^1.4.23":
102+
version: 1.4.23
103+
resolution: "@autonomys/file-caching@npm:1.4.23"
104104
dependencies:
105-
"@autonomys/asynchronous": "npm:^1.4.22"
106-
"@autonomys/auto-dag-data": "npm:^1.4.22"
107-
"@autonomys/auto-utils": "npm:^1.4.22"
105+
"@autonomys/asynchronous": "npm:^1.4.23"
106+
"@autonomys/auto-dag-data": "npm:^1.4.23"
107+
"@autonomys/auto-utils": "npm:^1.4.23"
108108
"@keyvhq/sqlite": "npm:^2.1.7"
109109
cache-manager: "npm:^6.4.2"
110110
jszip: "npm:^3.10.1"
@@ -114,17 +114,17 @@ __metadata:
114114
stream: "npm:^0.0.3"
115115
uuid: "npm:^11.1.0"
116116
zod: "npm:^3.24.2"
117-
checksum: 10c0/79d4d6896982768ca28c8917eb0cda521956a99f8a7351a6d51bf6c815554719835c0b209d3eec19b767753e5084c26133062ad46218ab1aa105db2475ca6850
117+
checksum: 10c0/a92b31946dbdf17b9aac75e6f95d051542b6666d9621498c82080d7c8642eae674c3bffb51701219ea0d5b5b0f09c15ab42f8b2ee4ec57acceec212f89ceb592
118118
languageName: node
119119
linkType: hard
120120

121-
"@autonomys/rpc@npm:^1.4.22":
122-
version: 1.4.22
123-
resolution: "@autonomys/rpc@npm:1.4.22"
121+
"@autonomys/rpc@npm:^1.4.23":
122+
version: 1.4.23
123+
resolution: "@autonomys/rpc@npm:1.4.23"
124124
dependencies:
125125
websocket: "npm:^1.0.35"
126126
zod: "npm:^3.24.2"
127-
checksum: 10c0/d98c9dbea15e38f1e74463c7ecac55eef0e0008a2987f3a4340774661710210e00e5d28de516bfe29cc6e07114cf1933e743dc2032a324dbaf675c5bbb4904c5
127+
checksum: 10c0/f03057bf95e0e4fc144ff7abcc9e2e37ea185473c00f564c9719f9de4879e26841f35edce3f82216af0ae693682be1841d8161cf11d6f71f13b86b3a9d16cc75
128128
languageName: node
129129
linkType: hard
130130

@@ -2802,7 +2802,7 @@ __metadata:
28022802
version: 0.0.0-use.local
28032803
resolution: "auto-files-gateway@workspace:."
28042804
dependencies:
2805-
"@autonomys/rpc": "npm:^1.4.22"
2805+
"@autonomys/rpc": "npm:^1.4.23"
28062806
"@types/k6": "npm:^1.0.0"
28072807
"@types/node": "npm:^22.10.2"
28082808
"@types/stream-fork": "npm:^1.0.5"
@@ -4734,11 +4734,11 @@ __metadata:
47344734
resolution: "file-retriever@workspace:services/file-retriever"
47354735
dependencies:
47364736
"@auto-files/rpc-apis": "workspace:*"
4737-
"@autonomys/asynchronous": "npm:^1.4.22"
4738-
"@autonomys/auto-dag-data": "npm:^1.4.22"
4739-
"@autonomys/auto-utils": "npm:^1.4.22"
4740-
"@autonomys/file-caching": "npm:^1.4.22"
4741-
"@autonomys/rpc": "npm:^1.4.22"
4737+
"@autonomys/asynchronous": "npm:^1.4.23"
4738+
"@autonomys/auto-dag-data": "npm:^1.4.23"
4739+
"@autonomys/auto-utils": "npm:^1.4.23"
4740+
"@autonomys/file-caching": "npm:^1.4.23"
4741+
"@autonomys/rpc": "npm:^1.4.23"
47424742
"@ipld/dag-pb": "npm:^4.1.3"
47434743
"@keyvhq/core": "npm:^2.1.1"
47444744
"@keyvhq/sqlite": "npm:^2.1.6"
@@ -7306,7 +7306,7 @@ __metadata:
73067306
"@auto-files/models": "workspace:*"
73077307
"@auto-files/rpc-apis": "workspace:*"
73087308
"@autonomys/auto-dag-data": "npm:^1.0.5"
7309-
"@autonomys/rpc": "npm:^1.4.22"
7309+
"@autonomys/rpc": "npm:^1.4.23"
73107310
"@peculiar/webcrypto": "npm:^1.5.0"
73117311
"@types/cors": "npm:^2.8.17"
73127312
"@types/express": "npm:^5.0.0"

0 commit comments

Comments
 (0)