@ocap/proto 1.30.2 → 1.30.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.
package/lib/proto.js CHANGED
@@ -1,13 +1,14 @@
1
1
  // Auto generated code, DO NOT EDIT
2
+ // Note: state_pb and trace-type_pb are excluded — their types are never
3
+ // instantiated as protobuf objects at runtime (only used as TS interfaces).
4
+ // This saves ~605 KB of unused generated JS.
2
5
 
3
6
  const enumPb = require('./gen/enum_pb.js');
4
- const statePb = require('./gen/state_pb.js');
5
- const traceTypePb = require('./gen/trace-type_pb.js');
6
7
  const txPb = require('./gen/tx_pb.js');
7
8
  const typePb = require('./gen/type_pb.js');
8
9
  const vendorPb = require('./gen/vendor_pb.js');
9
10
 
10
- const forgeTypes = Object.assign({}, enumPb, statePb, traceTypePb, txPb, typePb);
11
+ const forgeTypes = Object.assign({}, enumPb, txPb, typePb);
11
12
  const vendorTypes = Object.assign({}, vendorPb);
12
13
 
13
14
  module.exports = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/proto",
3
3
  "description": "Static modules generated from forge-sdk protobuf files",
4
- "version": "1.30.2",
4
+ "version": "1.30.3",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",