@relaycorp/cogrpc
Advanced tools
Comparing version 1.3.12 to 1.3.13
@@ -83,3 +83,5 @@ "use strict"; | ||
const pendingAckIds = {}; | ||
const call = this.grpcClient.deliverCargo(undefined, { deadline: makeDeadline() }); | ||
const call = this.grpcClient.deliverCargo(undefined, { | ||
deadline: makeDeadline(), | ||
}); | ||
// tslint:disable-next-line:no-let | ||
@@ -138,3 +140,5 @@ let hasCallEnded = false; | ||
metadata.add('Authorization', `Relaynet-CCA ${ccaSerialized.toString('base64')}`); | ||
const call = this.grpcClient.collectCargo(metadata, { deadline: makeDeadline() }); | ||
const call = this.grpcClient.collectCargo(metadata, { | ||
deadline: makeDeadline(), | ||
}); | ||
async function* processCargo(source) { | ||
@@ -141,0 +145,0 @@ for await (const delivery of source) { |
@@ -13,4 +13,5 @@ "use strict"; | ||
// tslint:disable-next-line:variable-name | ||
exports.CargoRelayService = exports.CargoRelayClient.service; | ||
exports.CargoRelayService = exports.CargoRelayClient | ||
.service; | ||
//endregion | ||
//# sourceMappingURL=grpcService.js.map |
@@ -57,3 +57,5 @@ /* tslint:disable:max-classes-per-file */ | ||
const pendingAckIds = {}; | ||
const call = this.grpcClient.deliverCargo(undefined, { deadline: makeDeadline() }); | ||
const call = this.grpcClient.deliverCargo(undefined, { | ||
deadline: makeDeadline(), | ||
}); | ||
// tslint:disable-next-line:no-let | ||
@@ -112,3 +114,5 @@ let hasCallEnded = false; | ||
metadata.add('Authorization', `Relaynet-CCA ${ccaSerialized.toString('base64')}`); | ||
const call = this.grpcClient.collectCargo(metadata, { deadline: makeDeadline() }); | ||
const call = this.grpcClient.collectCargo(metadata, { | ||
deadline: makeDeadline(), | ||
}); | ||
async function* processCargo(source) { | ||
@@ -115,0 +119,0 @@ for await (const delivery of source) { |
@@ -10,4 +10,5 @@ import { loadSync } from '@grpc/proto-loader'; | ||
// tslint:disable-next-line:variable-name | ||
export const CargoRelayService = CargoRelayClient.service; | ||
export const CargoRelayService = CargoRelayClient | ||
.service; | ||
//endregion | ||
//# sourceMappingURL=grpcService.js.map |
{ | ||
"name": "@relaycorp/cogrpc", | ||
"description": "Relaynet CogRPC binding", | ||
"version": "1.3.12", | ||
"version": "1.3.13", | ||
"main": "build/main/index.js", | ||
@@ -52,5 +52,5 @@ "typings": "build/main/index.d.ts", | ||
"devDependencies": { | ||
"@relaycorp/shared-config": "^1.4.13", | ||
"@relaycorp/shared-config": "^1.5.0", | ||
"@types/jest": "^26.0.23", | ||
"@types/pkijs": "0.0.6", | ||
"@types/pkijs": "0.0.8", | ||
"@types/verror": "^1.10.4", | ||
@@ -63,5 +63,5 @@ "buffer-to-arraybuffer": "0.0.6", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.2.1", | ||
"prettier": "^2.3.2", | ||
"trash-cli": "^4.0.0", | ||
"ts-jest": "^26.5.4", | ||
"ts-jest": "^26.5.6", | ||
"ts-node": "^9.1.1", | ||
@@ -68,0 +68,0 @@ "tslint": "^5.18.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41537
537