Open
Description
When using the latest release (0.0.35) I get the error TypeError: Cannot read property 'MethodInfo' of undefined
when trying to import the GatewayAPIClient
.
import {
GatewayAPIClient,
} from "@cs3org/cs3apis/cs3/gateway/v1beta1/gateway_api_grpc_web_pb.js";
However, if I edit the file gateway_api_grpc_web_pb.js
and add the following code at line 13 (just after grpc.web = require('grpc-web')
) the import statement works.
grpc.web.AbstractClientBase = {
MethodInfo: function() {}
}
Version of grpc-web is 1.3.0
Metadata
Metadata
Assignees
Labels
No labels