Skip to content

Commit 5cd3293

Browse files
committed
chore: update kubo-rpc-client to v5.3.0
- includes identify field support from ipfs/js-kubo-rpc-client#342 - add @babel/plugin-proposal-private-property-in-object to fix build warning - update browserslist database
1 parent 850c49b commit 5cd3293

File tree

4 files changed

+42
-31
lines changed

4 files changed

+42
-31
lines changed

.aegir.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ export default {
3434
'tachyons',
3535
'uint8arrays',
3636

37+
// babel-preset-react-app uses this without declaring it as a dependency
38+
// see: https://github.com/facebook/create-react-app/issues/13325
39+
'@babel/plugin-proposal-private-property-in-object',
40+
3741
// type-only deps
3842
'ipfs',
3943

package-lock.json

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"it-first": "^1.0.6",
7474
"it-last": "^1.0.5",
7575
"it-map": "^1.0.5",
76-
"kubo-rpc-client": "^5.2.0",
76+
"kubo-rpc-client": "^5.3.0",
7777
"milliseconds": "^1.0.3",
7878
"money-clip": "^3.0.5",
7979
"multiformats": "^13.4.0",
@@ -107,6 +107,7 @@
107107
},
108108
"devDependencies": {
109109
"@babel/core": "^7.18.9",
110+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
110111
"@babel/preset-react": "^7.18.6",
111112
"@ipld/dag-pb": "^4.0.8",
112113
"@jest/globals": "^29.7.0",

src/bundles/peer-locations.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ describe('selectPeerLocationsForSwarm', () => {
189189
expect(result).toEqual([
190190
{
191191
address: '1.test',
192+
agentVersion: '',
192193
connection: '1/test • endOfTest',
193194
coordinates: [1.11, 1.01],
194195
direction: undefined,
@@ -202,6 +203,7 @@ describe('selectPeerLocationsForSwarm', () => {
202203
},
203204
{
204205
address: '2.test',
206+
agentVersion: '',
205207
connection: '2/test • endOfTest',
206208
coordinates: [2.22, 2.02],
207209
direction: undefined,
@@ -252,8 +254,10 @@ describe('selectPeerLocationsForSwarm', () => {
252254
expect(result).toEqual([
253255
{
254256
address: '1.test',
257+
agentVersion: '',
255258
connection: '1/test • endOfTest',
256259
coordinates: [1.11, 1.01],
260+
direction: undefined,
257261
flagCode: 'ROM',
258262
isNearby: false,
259263
isPrivate: true,
@@ -292,6 +296,7 @@ describe('selectPeerLocationsForSwarm', () => {
292296
expect(result).toEqual([
293297
{
294298
address: '1.test',
299+
agentVersion: '',
295300
connection: '1/test • endOfTest',
296301
direction: undefined,
297302
coordinates: null,

0 commit comments

Comments
 (0)