FIX: Downgrade protospack lib

This commit is contained in:
rodrigo.zamboni
2022-04-20 16:22:26 -03:00
parent cb929d9b60
commit 6160107d75
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { credentials } from '@grpc/grpc-js';
import { ClientOptions, Transport } from '@nestjs/microservices';
import { DucProtoFilePath } from '@victorradael/protospack';
import { DucProtofile } from '@victorradael/protospack';
export class AuthClient {
config(): ClientOptions {
@@ -11,7 +11,7 @@ export class AuthClient {
url: process.env.DUC_URL,
package: 'duc',
credentials: credentials.createSsl(),
protoPath: DucProtoFilePath,
protoPath: DucProtofile,
loader: {
enums: String,
objects: true,
+3 -3
View File
@@ -1,7 +1,7 @@
import { credentials } from '@grpc/grpc-js';
import { ClientOptions, Transport } from '@nestjs/microservices';
import { InputPackages, InputProtoFilePath } from '@victorradael/protospack';
import { InputProtofile } from '@victorradael/protospack';
export class InputsClientConfiguration {
config(): ClientOptions {
@@ -9,9 +9,9 @@ export class InputsClientConfiguration {
transport: Transport.GRPC,
options: {
url: process.env.INFACTORY_URL,
package: InputPackages,
package: 'input',
credentials: credentials.createSsl(),
protoPath: InputProtoFilePath,
protoPath: InputProtofile,
loader: {
enums: String,
objects: true,