@aptre/common 0.36.3 → 0.36.4

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/README.md +8 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -308,6 +308,14 @@ that an ahead-of-time compiler builds, where the typed decoder is faster. It
308
308
  makes the generated files larger, and under a JIT the walker is as fast, so it
309
309
  is off by default.
310
310
 
311
+ ### `aptre.tsTypedEncode`
312
+
313
+ `tsTypedEncode` does the same for encoding: `protoc-gen-es-lite` generates an
314
+ encoder for every message that writes its fields in number order, with the
315
+ same bytes as the shared field walker. It needs `@aptre/protobuf-es-lite`
316
+ 1.2.4 or later. The same reasoning applies: turn it on for interpreters and
317
+ ahead-of-time compilers, and leave it off under a JIT.
318
+
311
319
  ### `aptre.tsImportBoundaries`
312
320
 
313
321
  `tsImportBoundaries` configures how generated TypeScript protobuf imports are
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aptre/common",
3
3
  "description": "Common project configuration files and dependencies.",
4
- "version": "0.36.3",
4
+ "version": "0.36.4",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Aperture Robotics LLC.",
@@ -79,14 +79,14 @@
79
79
  "typescript": "^7.0.0"
80
80
  },
81
81
  "dependencies": {
82
- "@aptre/protobuf-es-lite": "1.2.3",
82
+ "@aptre/protobuf-es-lite": "1.2.4",
83
83
  "starpc": "^0.52.3",
84
84
  "vitest": "^5.0.0"
85
85
  },
86
86
  "resolutions": {
87
- "@aptre/protobuf-es-lite": "1.2.3"
87
+ "@aptre/protobuf-es-lite": "1.2.4"
88
88
  },
89
89
  "overrides": {
90
- "@aptre/protobuf-es-lite": "1.2.3"
90
+ "@aptre/protobuf-es-lite": "1.2.4"
91
91
  }
92
92
  }