ts-proto 1.159.2 → 1.159.3

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.
Files changed (2) hide show
  1. package/build/main.js +1 -1
  2. package/package.json +1 -1
package/build/main.js CHANGED
@@ -1669,7 +1669,7 @@ function generateToJson(ctx, fullName, fullProtobufTypeName, messageDesc) {
1669
1669
  return (0, ts_poet_1.code) `${from}`;
1670
1670
  }
1671
1671
  else if ((0, types_1.isTimestamp)(field) && options.useDate === options_1.DateOption.TIMESTAMP) {
1672
- return (0, ts_poet_1.code) `${utils.fromTimestamp}(${from}).toISOString()`;
1672
+ return (0, ts_poet_1.code) `${from}`;
1673
1673
  }
1674
1674
  else if ((0, types_1.isMapType)(ctx, messageDesc, field)) {
1675
1675
  // For map types, drill-in and then admittedly re-hard-code our per-value-type logic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "1.159.2",
3
+ "version": "1.159.3",
4
4
  "description": "",
5
5
  "main": "build/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",