@tabnas/proto 0.2.3 → 0.4.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/src/proto.ts CHANGED
@@ -65,6 +65,11 @@ function parse(src: string, options?: Partial<ProtoOptions>): FileDescriptorProt
65
65
  return toDescriptor(tn.parse(src), options)
66
66
  }
67
67
 
68
- export { Proto, parse, toDescriptor }
68
+ // VERSION is this package's version. It MUST equal package.json "version":
69
+ // the release orchestrator rewrites both, and test/version.test.ts fails the
70
+ // build if they drift. Mirrors `const VERSION` in go/proto.go.
71
+ const VERSION = '0.4.0'
72
+
73
+ export { Proto, parse, toDescriptor, VERSION }
69
74
  export type { ProtoVersion }
70
75
  export * from './descriptor'