ts-proto 1.110.0 → 1.110.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.110.1](https://github.com/stephenh/ts-proto/compare/v1.110.0...v1.110.1) (2022-03-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Use a module star import for protobuf types. ([#540](https://github.com/stephenh/ts-proto/issues/540)) ([f5b7700](https://github.com/stephenh/ts-proto/commit/f5b770083dffe72338beb4a09432a2a917760eae))
7
+
1
8
  # [1.110.0](https://github.com/stephenh/ts-proto/compare/v1.109.1...v1.110.0) (2022-03-15)
2
9
 
3
10
 
package/build/options.js CHANGED
@@ -141,11 +141,6 @@ function parseParameter(parameter) {
141
141
  return options;
142
142
  }
143
143
  function getTsPoetOpts(options) {
144
- if (options.esModuleInterop) {
145
- return { forceDefaultImport: ['protobufjs/minimal'] };
146
- }
147
- else {
148
- return {};
149
- }
144
+ return { forceModuleImport: ['protobufjs/minimal'] };
150
145
  }
151
146
  exports.getTsPoetOpts = getTsPoetOpts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "1.110.0",
3
+ "version": "1.110.1",
4
4
  "description": "",
5
5
  "main": "build/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",
@@ -64,7 +64,7 @@
64
64
  "dataloader": "^1.4.0",
65
65
  "object-hash": "^1.3.1",
66
66
  "protobufjs": "^6.8.8",
67
- "ts-poet": "^4.10.0",
67
+ "ts-poet": "^4.11.0",
68
68
  "ts-proto-descriptors": "1.6.0"
69
69
  }
70
70
  }