Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit b86a2c6

Browse files
feat: reexport protobufjs from gax (#544)
1 parent 5429ad9 commit b86a2c6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@ lro.ALL_SCOPES = operationsClient.ALL_SCOPES;
7777
export {lro};
7878
export const createByteLengthFunction = GrpcClient.createByteLengthFunction;
7979
export const version = require('../../package.json').version;
80+
81+
import * as protobuf from 'protobufjs';
82+
export {protobuf};

test/grpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030

3131
import {expect} from 'chai';
3232
import * as path from 'path';
33-
import * as protobuf from 'protobufjs';
3433
import * as proxyquire from 'proxyquire';
3534
import * as semver from 'semver';
3635
import * as sinon from 'sinon';
3736

37+
import {protobuf} from '../src/index';
3838
import {GoogleProtoFilesRoot, GrpcClient} from '../src/grpc';
3939

4040
function gaxGrpc(options?) {

0 commit comments

Comments
 (0)