From 42d6e6a3dc54aef675cea4fecfddb937aaccde0f Mon Sep 17 00:00:00 2001 From: k3t4ngit Date: Wed, 22 Mar 2023 00:41:13 +0530 Subject: [PATCH] Fixed fabric-samples/asset-transfer-basic/application-gateway-typescript grpc lcient type check Signed-off-by: k3t4ngit --- .../application-gateway-typescript/src/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asset-transfer-basic/application-gateway-typescript/src/app.ts b/asset-transfer-basic/application-gateway-typescript/src/app.ts index 3dda3fff..98161e09 100644 --- a/asset-transfer-basic/application-gateway-typescript/src/app.ts +++ b/asset-transfer-basic/application-gateway-typescript/src/app.ts @@ -5,7 +5,7 @@ */ import * as grpc from '@grpc/grpc-js'; -import { connect, Contract, Identity, Signer, signers } from '@hyperledger/fabric-gateway'; +import { connect, Contract, GrpcClient, Identity, Signer, signers } from '@hyperledger/fabric-gateway'; import * as crypto from 'crypto'; import { promises as fs } from 'fs'; import * as path from 'path'; @@ -41,7 +41,7 @@ async function main(): Promise { await displayInputParameters(); // The gRPC client connection should be shared by all Gateway connections to this endpoint. - const client = await newGrpcConnection(); + const client = await newGrpcConnection(); const gateway = connect({ client,