protons 8.1.1 → 9.0.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.
@@ -278,7 +278,7 @@ ${enforceOneOfDecoding === '' ? '' : `${enforceOneOfDecoding}\n`}
278
278
  return _codec
279
279
  }${this.formatStreamEvents(streamEvents)}
280
280
 
281
- export function encode (obj: Partial<${this.pbType}>): Uint8Array {
281
+ export function encode (obj: Partial<${this.pbType}>): Uint8Array<ArrayBuffer> {
282
282
  return encodeMessage(obj, ${this.pbType}.codec())
283
283
  }
284
284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protons",
3
- "version": "8.1.1",
3
+ "version": "9.0.0",
4
4
  "description": "Protobuf to ts transpiler",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/ipfs/protons/tree/main/packages/protons#readme",
@@ -141,12 +141,12 @@
141
141
  "protons-runtime": "^6.0.0"
142
142
  },
143
143
  "devDependencies": {
144
- "aegir": "^47.0.26",
144
+ "aegir": "^48.0.1",
145
145
  "it-all": "^3.0.9",
146
146
  "long": "^5.3.2",
147
147
  "pbjs": "^0.0.14",
148
148
  "protobufjs": "^7.5.4",
149
- "uint8arraylist": "^2.4.8",
150
- "uint8arrays": "^5.1.0"
149
+ "uint8arraylist": "^3.0.0",
150
+ "uint8arrays": "^6.0.0"
151
151
  }
152
152
  }
@@ -334,7 +334,7 @@ ${enforceOneOfDecoding === '' ? '' : `${enforceOneOfDecoding}\n`}
334
334
  return _codec
335
335
  }${this.formatStreamEvents(streamEvents)}
336
336
 
337
- export function encode (obj: Partial<${this.pbType}>): Uint8Array {
337
+ export function encode (obj: Partial<${this.pbType}>): Uint8Array<ArrayBuffer> {
338
338
  return encodeMessage(obj, ${this.pbType}.codec())
339
339
  }
340
340