@temporalio/proto 1.0.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
- package/protos/json-module.js +987 -157
- package/protos/root.d.ts +11479 -7109
- package/protos/root.js +6 -0
package/protos/root.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
// Workaround an issue that prevents protobufjs from loading 'long' in Yarn 3 PnP
|
|
2
|
+
// https://github.com/protobufjs/protobuf.js/issues/1745#issuecomment-1200319399
|
|
3
|
+
const $protobuf = require('protobufjs/light');
|
|
4
|
+
$protobuf.util.Long = require('long');
|
|
5
|
+
$protobuf.configure();
|
|
6
|
+
|
|
1
7
|
const { patchProtobufRoot } = require('../lib/patch-protobuf-root');
|
|
2
8
|
const unpatchedRoot = require('./json-module');
|
|
3
9
|
module.exports = patchProtobufRoot(unpatchedRoot);
|