Skip to content

Commit

Permalink
fix(deps): bump @relaycorp/relaynet-core from 1.81.7 to 1.81.16 (#319)
Browse files Browse the repository at this point in the history
* fix(deps): bump @relaycorp/relaynet-core from 1.81.7 to 1.81.16

Bumps [@relaycorp/relaynet-core](https://github.com/relaycorp/relaynet-core-js) from 1.81.7 to 1.81.16.
- [Release notes](https://github.com/relaycorp/relaynet-core-js/releases)
- [Commits](relaycorp/relaynet-core-js@v1.81.7...v1.81.16)

---
updated-dependencies:
- dependency-name: "@relaycorp/relaynet-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix deps

* fix

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus Narea <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 18, 2022
1 parent d97c76d commit 703b9c9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 51 deletions.
86 changes: 43 additions & 43 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"node": ">=14"
},
"dependencies": {
"@relaycorp/relaynet-core": "^1.81.7",
"@relaycorp/relaynet-core": "< 2.0",
"abort-controller": "^3.0.0",
"axios": "^0.27.2",
"buffer-to-arraybuffer": "0.0.6",
Expand All @@ -50,7 +50,7 @@
"ws": "^7.5.3"
},
"devDependencies": {
"@relaycorp/relaynet-testing": "^2.2.22",
"@relaycorp/relaynet-testing": "^2.2.26",
"@relaycorp/shared-config": "^1.8.0",
"@relaycorp/ws-mock": "^5.2.2",
"@types/jest": "^27.4.1",
Expand All @@ -69,7 +69,7 @@
"typescript": "^4.7.4"
},
"peerDependencies": {
"@relaycorp/relaynet-core": "^1.60.0"
"@relaycorp/relaynet-core": "< 2.0"
},
"prettier": "@relaycorp/shared-config/.prettierrc.json",
"publishConfig": {
Expand Down
9 changes: 4 additions & 5 deletions src/lib/PoWebClient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ describe('registerNode', () => {

expectedRegistration = new PrivateNodeRegistration(
certificationPath.privateGateway,
certificationPath.publicGateway,
certificationPath.internetGateway,
'braavos.relaycorp.cloud',
);
expectedRegistrationSerialized = Buffer.from(await expectedRegistration.serialize());
});
Expand All @@ -287,9 +288,7 @@ describe('registerNode', () => {
expect(mockAxios.history.post).toHaveLength(1);
expect(mockAxios.history.post[0].url).toEqual('/nodes');
expect(mockAxios.history.post[0].headers).toHaveProperty('Content-Type', PNRR_CONTENT_TYPE);
expect(
Buffer.from(mockAxios.history.post[0].data).equals(Buffer.from(pnraSerialized)),
).toBeTruthy();
expect(Buffer.from(mockAxios.history.post[0].data)).toEqual(Buffer.from(pnraSerialized));
});

test('An invalid response content type should be refused', async () => {
Expand Down Expand Up @@ -350,7 +349,7 @@ describe('deliverParcel', () => {
certificationPath.privateGateway,
nodeKeyPairs.privateGateway.privateKey,
);
verifier = new ParcelDeliveryVerifier([certificationPath.publicGateway]);
verifier = new ParcelDeliveryVerifier([certificationPath.internetGateway]);
});

let client: PoWebClient;
Expand Down

0 comments on commit 703b9c9

Please sign in to comment.