index.js 433 B

123456789101112
  1. const protobuf = require('./protobuf');
  2. const protobufJS = require('@apollo/protobufjs/minimal');
  3. // Remove Long support. Our uint64s tend to be small (less
  4. // than 104 days).
  5. // XXX Just remove this in our fork? We already deleted
  6. // the generation of Long in protobuf.d.ts in the fork.
  7. // https://github.com/protobufjs/protobuf.js/issues/1253
  8. protobufJS.util.Long = undefined;
  9. protobufJS.configure();
  10. module.exports = protobuf;