@agoric/client-utils 0.1.1-dev-a29afed.0.a29afed → 0.1.1-dev-cb1866d.0.cb1866d

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 (34) hide show
  1. package/dist/bundle-utils.d.ts +95 -0
  2. package/dist/bundle-utils.d.ts.map +1 -0
  3. package/dist/bundle-utils.js +219 -0
  4. package/dist/bundle-utils.js.map +1 -0
  5. package/dist/codegen/agoric/bundle.d.ts +94 -11
  6. package/dist/codegen/agoric/bundle.d.ts.map +1 -1
  7. package/dist/codegen/agoric/rpc.query.d.ts +1 -0
  8. package/dist/codegen/agoric/rpc.query.d.ts.map +1 -1
  9. package/dist/codegen/agoric/swingset/msgs.d.ts +138 -33
  10. package/dist/codegen/agoric/swingset/msgs.d.ts.map +1 -1
  11. package/dist/codegen/agoric/swingset/msgs.js +270 -46
  12. package/dist/codegen/agoric/swingset/msgs.js.map +1 -1
  13. package/dist/codegen/agoric/swingset/msgs.rpc.msg.d.ts +4 -1
  14. package/dist/codegen/agoric/swingset/msgs.rpc.msg.d.ts.map +1 -1
  15. package/dist/codegen/agoric/swingset/msgs.rpc.msg.js +7 -1
  16. package/dist/codegen/agoric/swingset/msgs.rpc.msg.js.map +1 -1
  17. package/dist/codegen/agoric/swingset/query.d.ts +54 -1
  18. package/dist/codegen/agoric/swingset/query.d.ts.map +1 -1
  19. package/dist/codegen/agoric/swingset/query.js +181 -1
  20. package/dist/codegen/agoric/swingset/query.js.map +1 -1
  21. package/dist/codegen/agoric/swingset/query.rpc.Query.d.ts +5 -1
  22. package/dist/codegen/agoric/swingset/query.rpc.Query.d.ts.map +1 -1
  23. package/dist/codegen/agoric/swingset/query.rpc.Query.js +10 -1
  24. package/dist/codegen/agoric/swingset/query.rpc.Query.js.map +1 -1
  25. package/dist/codegen/agoric/swingset/swingset.d.ts +170 -0
  26. package/dist/codegen/agoric/swingset/swingset.d.ts.map +1 -1
  27. package/dist/codegen/agoric/swingset/swingset.js +473 -0
  28. package/dist/codegen/agoric/swingset/swingset.js.map +1 -1
  29. package/dist/codegen/varint.d.ts +1 -1
  30. package/dist/main.d.ts +1 -0
  31. package/dist/main.d.ts.map +1 -1
  32. package/dist/main.js +1 -0
  33. package/dist/main.js.map +1 -1
  34. package/package.json +9 -9
@@ -1,3 +1,4 @@
1
+ import { ChunkedArtifact, type ChunkedArtifactSDKType, ChunkInfo, type ChunkInfoSDKType } from './swingset.js';
1
2
  import { BinaryReader, BinaryWriter } from '../../binary.js';
2
3
  import { type JsonSafe } from '../../json-safe.js';
3
4
  /** MsgDeliverInbound defines an SDK message for delivering an eventual send */
@@ -122,44 +123,47 @@ export interface MsgProvisionResponseProtoMsg {
122
123
  /** MsgProvisionResponse is an empty reply. */
123
124
  export interface MsgProvisionResponseSDKType {
124
125
  }
125
- /** MsgInstallBundle carries a signed bundle to SwingSet. */
126
+ /**
127
+ * MsgInstallBundle carries a signed bundle to SwingSet.
128
+ * The fields `bundle`, `compressed_bundle`, and `chunked_artifact` are mutually
129
+ * exclusive, and exactly one must be present based on what is being submitted:
130
+ * * `bundle` for a complete and uncompressed bundle
131
+ * * `compressed_bundle` for a complete and compressed bundle
132
+ * * `chunked_artifact` for a manifest of chunks to be submitted in subsequent
133
+ * messages.
134
+ */
126
135
  export interface MsgInstallBundle {
127
136
  bundle: string;
128
137
  submitter: Uint8Array;
138
+ /** Default compression algorithm is gzip. */
139
+ compressedBundle: Uint8Array;
129
140
  /**
130
- * Either bundle or compressed_bundle will be set.
131
- * Default compression algorithm is gzip.
141
+ * Total size in bytes of the bundle artifact, before compression and after
142
+ * decompression.
132
143
  */
133
- compressedBundle: Uint8Array;
134
- /** Size in bytes of uncompression of compressed_bundle. */
135
144
  uncompressedSize: bigint;
145
+ /** Declaration of a chunked bundle. */
146
+ chunkedArtifact?: ChunkedArtifact;
136
147
  }
137
148
  export interface MsgInstallBundleProtoMsg {
138
149
  typeUrl: '/agoric.swingset.MsgInstallBundle';
139
150
  value: Uint8Array;
140
151
  }
141
- /** MsgInstallBundle carries a signed bundle to SwingSet. */
152
+ /**
153
+ * MsgInstallBundle carries a signed bundle to SwingSet.
154
+ * The fields `bundle`, `compressed_bundle`, and `chunked_artifact` are mutually
155
+ * exclusive, and exactly one must be present based on what is being submitted:
156
+ * * `bundle` for a complete and uncompressed bundle
157
+ * * `compressed_bundle` for a complete and compressed bundle
158
+ * * `chunked_artifact` for a manifest of chunks to be submitted in subsequent
159
+ * messages.
160
+ */
142
161
  export interface MsgInstallBundleSDKType {
143
162
  bundle: string;
144
163
  submitter: Uint8Array;
145
164
  compressed_bundle: Uint8Array;
146
165
  uncompressed_size: bigint;
147
- }
148
- /**
149
- * MsgInstallBundleResponse is an empty acknowledgement that an install bundle
150
- * message has been queued for the SwingSet kernel's consideration.
151
- */
152
- export interface MsgInstallBundleResponse {
153
- }
154
- export interface MsgInstallBundleResponseProtoMsg {
155
- typeUrl: '/agoric.swingset.MsgInstallBundleResponse';
156
- value: Uint8Array;
157
- }
158
- /**
159
- * MsgInstallBundleResponse is an empty acknowledgement that an install bundle
160
- * message has been queued for the SwingSet kernel's consideration.
161
- */
162
- export interface MsgInstallBundleResponseSDKType {
166
+ chunked_artifact?: ChunkedArtifactSDKType;
163
167
  }
164
168
  /** MsgCoreEval defines an SDK message for a core eval. */
165
169
  export interface MsgCoreEval {
@@ -199,6 +203,85 @@ export interface MsgCoreEvalResponseProtoMsg {
199
203
  export interface MsgCoreEvalResponseSDKType {
200
204
  result: string;
201
205
  }
206
+ /**
207
+ * MsgInstallBundleResponse is either an empty acknowledgement that a bundle
208
+ * installation message has been queued for the SwingSet kernel's
209
+ * consideration, or (for MsgInstallBundle requests that have a chunked artifact
210
+ * manifest instead of a compressed or uncompressed bundle) a container for the
211
+ * chunked artifact identifier to be included in subsequent MsgSendChunk
212
+ * messages.
213
+ */
214
+ export interface MsgInstallBundleResponse {
215
+ /**
216
+ * The assigned identifier for a chunked artifact, if the caller is expected
217
+ * to call back with MsgSendChunk messages.
218
+ */
219
+ chunkedArtifactId: bigint;
220
+ }
221
+ export interface MsgInstallBundleResponseProtoMsg {
222
+ typeUrl: '/agoric.swingset.MsgInstallBundleResponse';
223
+ value: Uint8Array;
224
+ }
225
+ /**
226
+ * MsgInstallBundleResponse is either an empty acknowledgement that a bundle
227
+ * installation message has been queued for the SwingSet kernel's
228
+ * consideration, or (for MsgInstallBundle requests that have a chunked artifact
229
+ * manifest instead of a compressed or uncompressed bundle) a container for the
230
+ * chunked artifact identifier to be included in subsequent MsgSendChunk
231
+ * messages.
232
+ */
233
+ export interface MsgInstallBundleResponseSDKType {
234
+ chunked_artifact_id: bigint;
235
+ }
236
+ /**
237
+ * MsgSendChunk carries a chunk of an artifact through RPC to the chain.
238
+ * Individual chunks are addressed by the chunked artifact identifier and
239
+ * the zero-based index of the chunk among all chunks as mentioned in the
240
+ * manifest provided to MsgInstallBundle.
241
+ */
242
+ export interface MsgSendChunk {
243
+ chunkedArtifactId: bigint;
244
+ submitter: Uint8Array;
245
+ chunkIndex: bigint;
246
+ chunkData: Uint8Array;
247
+ }
248
+ export interface MsgSendChunkProtoMsg {
249
+ typeUrl: '/agoric.swingset.MsgSendChunk';
250
+ value: Uint8Array;
251
+ }
252
+ /**
253
+ * MsgSendChunk carries a chunk of an artifact through RPC to the chain.
254
+ * Individual chunks are addressed by the chunked artifact identifier and
255
+ * the zero-based index of the chunk among all chunks as mentioned in the
256
+ * manifest provided to MsgInstallBundle.
257
+ */
258
+ export interface MsgSendChunkSDKType {
259
+ chunked_artifact_id: bigint;
260
+ submitter: Uint8Array;
261
+ chunk_index: bigint;
262
+ chunk_data: Uint8Array;
263
+ }
264
+ /**
265
+ * MsgSendChunkResponse is an acknowledgement that a chunk has been received by
266
+ * the chain.
267
+ */
268
+ export interface MsgSendChunkResponse {
269
+ chunkedArtifactId: bigint;
270
+ /** The current state of the chunk. */
271
+ chunk?: ChunkInfo;
272
+ }
273
+ export interface MsgSendChunkResponseProtoMsg {
274
+ typeUrl: '/agoric.swingset.MsgSendChunkResponse';
275
+ value: Uint8Array;
276
+ }
277
+ /**
278
+ * MsgSendChunkResponse is an acknowledgement that a chunk has been received by
279
+ * the chain.
280
+ */
281
+ export interface MsgSendChunkResponseSDKType {
282
+ chunked_artifact_id: bigint;
283
+ chunk?: ChunkInfoSDKType;
284
+ }
202
285
  export declare const MsgDeliverInbound: {
203
286
  typeUrl: "/agoric.swingset.MsgDeliverInbound";
204
287
  encode(message: MsgDeliverInbound, writer?: BinaryWriter): BinaryWriter;
@@ -298,17 +381,6 @@ export declare const MsgInstallBundle: {
298
381
  toProto(message: MsgInstallBundle): Uint8Array;
299
382
  toProtoMsg(message: MsgInstallBundle): MsgInstallBundleProtoMsg;
300
383
  };
301
- export declare const MsgInstallBundleResponse: {
302
- typeUrl: "/agoric.swingset.MsgInstallBundleResponse";
303
- encode(_: MsgInstallBundleResponse, writer?: BinaryWriter): BinaryWriter;
304
- decode(input: BinaryReader | Uint8Array, length?: number): MsgInstallBundleResponse;
305
- fromJSON(_: any): MsgInstallBundleResponse;
306
- toJSON(_: MsgInstallBundleResponse): JsonSafe<MsgInstallBundleResponse>;
307
- fromPartial(_: Partial<MsgInstallBundleResponse>): MsgInstallBundleResponse;
308
- fromProtoMsg(message: MsgInstallBundleResponseProtoMsg): MsgInstallBundleResponse;
309
- toProto(message: MsgInstallBundleResponse): Uint8Array;
310
- toProtoMsg(message: MsgInstallBundleResponse): MsgInstallBundleResponseProtoMsg;
311
- };
312
384
  export declare const MsgCoreEval: {
313
385
  typeUrl: "/agoric.swingset.MsgCoreEval";
314
386
  encode(message: MsgCoreEval, writer?: BinaryWriter): BinaryWriter;
@@ -331,4 +403,37 @@ export declare const MsgCoreEvalResponse: {
331
403
  toProto(message: MsgCoreEvalResponse): Uint8Array;
332
404
  toProtoMsg(message: MsgCoreEvalResponse): MsgCoreEvalResponseProtoMsg;
333
405
  };
406
+ export declare const MsgInstallBundleResponse: {
407
+ typeUrl: "/agoric.swingset.MsgInstallBundleResponse";
408
+ encode(message: MsgInstallBundleResponse, writer?: BinaryWriter): BinaryWriter;
409
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgInstallBundleResponse;
410
+ fromJSON(object: any): MsgInstallBundleResponse;
411
+ toJSON(message: MsgInstallBundleResponse): JsonSafe<MsgInstallBundleResponse>;
412
+ fromPartial(object: Partial<MsgInstallBundleResponse>): MsgInstallBundleResponse;
413
+ fromProtoMsg(message: MsgInstallBundleResponseProtoMsg): MsgInstallBundleResponse;
414
+ toProto(message: MsgInstallBundleResponse): Uint8Array;
415
+ toProtoMsg(message: MsgInstallBundleResponse): MsgInstallBundleResponseProtoMsg;
416
+ };
417
+ export declare const MsgSendChunk: {
418
+ typeUrl: "/agoric.swingset.MsgSendChunk";
419
+ encode(message: MsgSendChunk, writer?: BinaryWriter): BinaryWriter;
420
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgSendChunk;
421
+ fromJSON(object: any): MsgSendChunk;
422
+ toJSON(message: MsgSendChunk): JsonSafe<MsgSendChunk>;
423
+ fromPartial(object: Partial<MsgSendChunk>): MsgSendChunk;
424
+ fromProtoMsg(message: MsgSendChunkProtoMsg): MsgSendChunk;
425
+ toProto(message: MsgSendChunk): Uint8Array;
426
+ toProtoMsg(message: MsgSendChunk): MsgSendChunkProtoMsg;
427
+ };
428
+ export declare const MsgSendChunkResponse: {
429
+ typeUrl: "/agoric.swingset.MsgSendChunkResponse";
430
+ encode(message: MsgSendChunkResponse, writer?: BinaryWriter): BinaryWriter;
431
+ decode(input: BinaryReader | Uint8Array, length?: number): MsgSendChunkResponse;
432
+ fromJSON(object: any): MsgSendChunkResponse;
433
+ toJSON(message: MsgSendChunkResponse): JsonSafe<MsgSendChunkResponse>;
434
+ fromPartial(object: Partial<MsgSendChunkResponse>): MsgSendChunkResponse;
435
+ fromProtoMsg(message: MsgSendChunkResponseProtoMsg): MsgSendChunkResponse;
436
+ toProto(message: MsgSendChunkResponse): Uint8Array;
437
+ toProtoMsg(message: MsgSendChunkResponse): MsgSendChunkResponseProtoMsg;
438
+ };
334
439
  //# sourceMappingURL=msgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"msgs.d.ts","sourceRoot":"","sources":["../../../../src/codegen/agoric/swingset/msgs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI7D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,+EAA+E;AAC/E,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,UAAU,CAAC;CACvB;AACD,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,oCAAoC,CAAC;IAC9C,KAAK,EAAE,UAAU,CAAC;CACnB;AACD,+EAA+E;AAC/E,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,UAAU,CAAC;CACvB;AACD,mDAAmD;AACnD,MAAM,WAAW,yBAAyB;CAAG;AAC7C,MAAM,WAAW,iCAAiC;IAChD,OAAO,EAAE,4CAA4C,CAAC;IACtD,KAAK,EAAE,UAAU,CAAC;CACnB;AACD,mDAAmD;AACnD,MAAM,WAAW,gCAAgC;CAAG;AACpD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,kCAAkC,CAAC;IAC5C,KAAK,EAAE,UAAU,CAAC;CACnB;AACD;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,UAAU,CAAC;IAClB,MAAM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Y,GAAG,QAAQ,CAAC,YAAY,CAAC;wBAkBjC,OAAO,CAAC,YAAY,CAAC,GAAG,YAAY;0BAelC,oBAAoB,GAAG,YAAY;qBAGxC,YAAY,GAAG,UAAU;wBAGtB,YAAY,GAAG,oBAAoB;CAMxD,CAAC;AAOF,eAAO,MAAM,oBAAoB;;oBAGpB,oBAAoB,WACrB,YAAY,GACnB,YAAY;kBAUN,YAAY,GAAG,UAAU,WACvB,MAAM,GACd,oBAAoB;qBAqBN,GAAG,GAAG,oBAAoB;oBAQ3B,oBAAoB,GAAG,QAAQ,CAAC,oBAAoB,CAAC;wBAUjD,OAAO,CAAC,oBAAoB,CAAC,GAAG,oBAAoB;0BAalD,4BAA4B,GAAG,oBAAoB;qBAGxD,oBAAoB,GAAG,UAAU;wBAG9B,oBAAoB,GAAG,4BAA4B;CAMxE,CAAC"}
@@ -1,4 +1,5 @@
1
1
  //@ts-nocheck
2
+ import { ChunkedArtifact, ChunkInfo, } from './swingset.js';
2
3
  import { BinaryReader, BinaryWriter } from '../../binary.js';
3
4
  import { isSet } from '../../helpers.js';
4
5
  import { decodeBase64 as bytesFromBase64 } from '@endo/base64';
@@ -557,6 +558,7 @@ function createBaseMsgInstallBundle() {
557
558
  submitter: new Uint8Array(),
558
559
  compressedBundle: new Uint8Array(),
559
560
  uncompressedSize: BigInt(0),
561
+ chunkedArtifact: undefined,
560
562
  };
561
563
  }
562
564
  export const MsgInstallBundle = {
@@ -574,6 +576,9 @@ export const MsgInstallBundle = {
574
576
  if (message.uncompressedSize !== BigInt(0)) {
575
577
  writer.uint32(32).int64(message.uncompressedSize);
576
578
  }
579
+ if (message.chunkedArtifact !== undefined) {
580
+ ChunkedArtifact.encode(message.chunkedArtifact, writer.uint32(42).fork()).ldelim();
581
+ }
577
582
  return writer;
578
583
  },
579
584
  decode(input, length) {
@@ -595,6 +600,9 @@ export const MsgInstallBundle = {
595
600
  case 4:
596
601
  message.uncompressedSize = reader.int64();
597
602
  break;
603
+ case 5:
604
+ message.chunkedArtifact = ChunkedArtifact.decode(reader, reader.uint32());
605
+ break;
598
606
  default:
599
607
  reader.skipType(tag & 7);
600
608
  break;
@@ -614,6 +622,9 @@ export const MsgInstallBundle = {
614
622
  uncompressedSize: isSet(object.uncompressedSize)
615
623
  ? BigInt(object.uncompressedSize.toString())
616
624
  : BigInt(0),
625
+ chunkedArtifact: isSet(object.chunkedArtifact)
626
+ ? ChunkedArtifact.fromJSON(object.chunkedArtifact)
627
+ : undefined,
617
628
  };
618
629
  },
619
630
  toJSON(message) {
@@ -627,6 +638,10 @@ export const MsgInstallBundle = {
627
638
  : new Uint8Array()));
628
639
  message.uncompressedSize !== undefined &&
629
640
  (obj.uncompressedSize = (message.uncompressedSize || BigInt(0)).toString());
641
+ message.chunkedArtifact !== undefined &&
642
+ (obj.chunkedArtifact = message.chunkedArtifact
643
+ ? ChunkedArtifact.toJSON(message.chunkedArtifact)
644
+ : undefined);
630
645
  return obj;
631
646
  },
632
647
  fromPartial(object) {
@@ -638,6 +653,10 @@ export const MsgInstallBundle = {
638
653
  object.uncompressedSize !== undefined && object.uncompressedSize !== null
639
654
  ? BigInt(object.uncompressedSize.toString())
640
655
  : BigInt(0);
656
+ message.chunkedArtifact =
657
+ object.chunkedArtifact !== undefined && object.chunkedArtifact !== null
658
+ ? ChunkedArtifact.fromPartial(object.chunkedArtifact)
659
+ : undefined;
641
660
  return message;
642
661
  },
643
662
  fromProtoMsg(message) {
@@ -653,52 +672,6 @@ export const MsgInstallBundle = {
653
672
  };
654
673
  },
655
674
  };
656
- function createBaseMsgInstallBundleResponse() {
657
- return {};
658
- }
659
- export const MsgInstallBundleResponse = {
660
- typeUrl: '/agoric.swingset.MsgInstallBundleResponse',
661
- encode(_, writer = BinaryWriter.create()) {
662
- return writer;
663
- },
664
- decode(input, length) {
665
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
666
- let end = length === undefined ? reader.len : reader.pos + length;
667
- const message = createBaseMsgInstallBundleResponse();
668
- while (reader.pos < end) {
669
- const tag = reader.uint32();
670
- switch (tag >>> 3) {
671
- default:
672
- reader.skipType(tag & 7);
673
- break;
674
- }
675
- }
676
- return message;
677
- },
678
- fromJSON(_) {
679
- return {};
680
- },
681
- toJSON(_) {
682
- const obj = {};
683
- return obj;
684
- },
685
- fromPartial(_) {
686
- const message = createBaseMsgInstallBundleResponse();
687
- return message;
688
- },
689
- fromProtoMsg(message) {
690
- return MsgInstallBundleResponse.decode(message.value);
691
- },
692
- toProto(message) {
693
- return MsgInstallBundleResponse.encode(message).finish();
694
- },
695
- toProtoMsg(message) {
696
- return {
697
- typeUrl: '/agoric.swingset.MsgInstallBundleResponse',
698
- value: MsgInstallBundleResponse.encode(message).finish(),
699
- };
700
- },
701
- };
702
675
  function createBaseMsgCoreEval() {
703
676
  return {
704
677
  authority: '',
@@ -836,4 +809,255 @@ export const MsgCoreEvalResponse = {
836
809
  };
837
810
  },
838
811
  };
812
+ function createBaseMsgInstallBundleResponse() {
813
+ return {
814
+ chunkedArtifactId: BigInt(0),
815
+ };
816
+ }
817
+ export const MsgInstallBundleResponse = {
818
+ typeUrl: '/agoric.swingset.MsgInstallBundleResponse',
819
+ encode(message, writer = BinaryWriter.create()) {
820
+ if (message.chunkedArtifactId !== BigInt(0)) {
821
+ writer.uint32(8).uint64(message.chunkedArtifactId);
822
+ }
823
+ return writer;
824
+ },
825
+ decode(input, length) {
826
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
827
+ let end = length === undefined ? reader.len : reader.pos + length;
828
+ const message = createBaseMsgInstallBundleResponse();
829
+ while (reader.pos < end) {
830
+ const tag = reader.uint32();
831
+ switch (tag >>> 3) {
832
+ case 1:
833
+ message.chunkedArtifactId = reader.uint64();
834
+ break;
835
+ default:
836
+ reader.skipType(tag & 7);
837
+ break;
838
+ }
839
+ }
840
+ return message;
841
+ },
842
+ fromJSON(object) {
843
+ return {
844
+ chunkedArtifactId: isSet(object.chunkedArtifactId)
845
+ ? BigInt(object.chunkedArtifactId.toString())
846
+ : BigInt(0),
847
+ };
848
+ },
849
+ toJSON(message) {
850
+ const obj = {};
851
+ message.chunkedArtifactId !== undefined &&
852
+ (obj.chunkedArtifactId = (message.chunkedArtifactId || BigInt(0)).toString());
853
+ return obj;
854
+ },
855
+ fromPartial(object) {
856
+ const message = createBaseMsgInstallBundleResponse();
857
+ message.chunkedArtifactId =
858
+ object.chunkedArtifactId !== undefined &&
859
+ object.chunkedArtifactId !== null
860
+ ? BigInt(object.chunkedArtifactId.toString())
861
+ : BigInt(0);
862
+ return message;
863
+ },
864
+ fromProtoMsg(message) {
865
+ return MsgInstallBundleResponse.decode(message.value);
866
+ },
867
+ toProto(message) {
868
+ return MsgInstallBundleResponse.encode(message).finish();
869
+ },
870
+ toProtoMsg(message) {
871
+ return {
872
+ typeUrl: '/agoric.swingset.MsgInstallBundleResponse',
873
+ value: MsgInstallBundleResponse.encode(message).finish(),
874
+ };
875
+ },
876
+ };
877
+ function createBaseMsgSendChunk() {
878
+ return {
879
+ chunkedArtifactId: BigInt(0),
880
+ submitter: new Uint8Array(),
881
+ chunkIndex: BigInt(0),
882
+ chunkData: new Uint8Array(),
883
+ };
884
+ }
885
+ export const MsgSendChunk = {
886
+ typeUrl: '/agoric.swingset.MsgSendChunk',
887
+ encode(message, writer = BinaryWriter.create()) {
888
+ if (message.chunkedArtifactId !== BigInt(0)) {
889
+ writer.uint32(8).uint64(message.chunkedArtifactId);
890
+ }
891
+ if (message.submitter.length !== 0) {
892
+ writer.uint32(18).bytes(message.submitter);
893
+ }
894
+ if (message.chunkIndex !== BigInt(0)) {
895
+ writer.uint32(24).uint64(message.chunkIndex);
896
+ }
897
+ if (message.chunkData.length !== 0) {
898
+ writer.uint32(34).bytes(message.chunkData);
899
+ }
900
+ return writer;
901
+ },
902
+ decode(input, length) {
903
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
904
+ let end = length === undefined ? reader.len : reader.pos + length;
905
+ const message = createBaseMsgSendChunk();
906
+ while (reader.pos < end) {
907
+ const tag = reader.uint32();
908
+ switch (tag >>> 3) {
909
+ case 1:
910
+ message.chunkedArtifactId = reader.uint64();
911
+ break;
912
+ case 2:
913
+ message.submitter = reader.bytes();
914
+ break;
915
+ case 3:
916
+ message.chunkIndex = reader.uint64();
917
+ break;
918
+ case 4:
919
+ message.chunkData = reader.bytes();
920
+ break;
921
+ default:
922
+ reader.skipType(tag & 7);
923
+ break;
924
+ }
925
+ }
926
+ return message;
927
+ },
928
+ fromJSON(object) {
929
+ return {
930
+ chunkedArtifactId: isSet(object.chunkedArtifactId)
931
+ ? BigInt(object.chunkedArtifactId.toString())
932
+ : BigInt(0),
933
+ submitter: isSet(object.submitter)
934
+ ? bytesFromBase64(object.submitter)
935
+ : new Uint8Array(),
936
+ chunkIndex: isSet(object.chunkIndex)
937
+ ? BigInt(object.chunkIndex.toString())
938
+ : BigInt(0),
939
+ chunkData: isSet(object.chunkData)
940
+ ? bytesFromBase64(object.chunkData)
941
+ : new Uint8Array(),
942
+ };
943
+ },
944
+ toJSON(message) {
945
+ const obj = {};
946
+ message.chunkedArtifactId !== undefined &&
947
+ (obj.chunkedArtifactId = (message.chunkedArtifactId || BigInt(0)).toString());
948
+ message.submitter !== undefined &&
949
+ (obj.submitter = base64FromBytes(message.submitter !== undefined ? message.submitter : new Uint8Array()));
950
+ message.chunkIndex !== undefined &&
951
+ (obj.chunkIndex = (message.chunkIndex || BigInt(0)).toString());
952
+ message.chunkData !== undefined &&
953
+ (obj.chunkData = base64FromBytes(message.chunkData !== undefined ? message.chunkData : new Uint8Array()));
954
+ return obj;
955
+ },
956
+ fromPartial(object) {
957
+ const message = createBaseMsgSendChunk();
958
+ message.chunkedArtifactId =
959
+ object.chunkedArtifactId !== undefined &&
960
+ object.chunkedArtifactId !== null
961
+ ? BigInt(object.chunkedArtifactId.toString())
962
+ : BigInt(0);
963
+ message.submitter = object.submitter ?? new Uint8Array();
964
+ message.chunkIndex =
965
+ object.chunkIndex !== undefined && object.chunkIndex !== null
966
+ ? BigInt(object.chunkIndex.toString())
967
+ : BigInt(0);
968
+ message.chunkData = object.chunkData ?? new Uint8Array();
969
+ return message;
970
+ },
971
+ fromProtoMsg(message) {
972
+ return MsgSendChunk.decode(message.value);
973
+ },
974
+ toProto(message) {
975
+ return MsgSendChunk.encode(message).finish();
976
+ },
977
+ toProtoMsg(message) {
978
+ return {
979
+ typeUrl: '/agoric.swingset.MsgSendChunk',
980
+ value: MsgSendChunk.encode(message).finish(),
981
+ };
982
+ },
983
+ };
984
+ function createBaseMsgSendChunkResponse() {
985
+ return {
986
+ chunkedArtifactId: BigInt(0),
987
+ chunk: undefined,
988
+ };
989
+ }
990
+ export const MsgSendChunkResponse = {
991
+ typeUrl: '/agoric.swingset.MsgSendChunkResponse',
992
+ encode(message, writer = BinaryWriter.create()) {
993
+ if (message.chunkedArtifactId !== BigInt(0)) {
994
+ writer.uint32(8).uint64(message.chunkedArtifactId);
995
+ }
996
+ if (message.chunk !== undefined) {
997
+ ChunkInfo.encode(message.chunk, writer.uint32(18).fork()).ldelim();
998
+ }
999
+ return writer;
1000
+ },
1001
+ decode(input, length) {
1002
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1003
+ let end = length === undefined ? reader.len : reader.pos + length;
1004
+ const message = createBaseMsgSendChunkResponse();
1005
+ while (reader.pos < end) {
1006
+ const tag = reader.uint32();
1007
+ switch (tag >>> 3) {
1008
+ case 1:
1009
+ message.chunkedArtifactId = reader.uint64();
1010
+ break;
1011
+ case 2:
1012
+ message.chunk = ChunkInfo.decode(reader, reader.uint32());
1013
+ break;
1014
+ default:
1015
+ reader.skipType(tag & 7);
1016
+ break;
1017
+ }
1018
+ }
1019
+ return message;
1020
+ },
1021
+ fromJSON(object) {
1022
+ return {
1023
+ chunkedArtifactId: isSet(object.chunkedArtifactId)
1024
+ ? BigInt(object.chunkedArtifactId.toString())
1025
+ : BigInt(0),
1026
+ chunk: isSet(object.chunk) ? ChunkInfo.fromJSON(object.chunk) : undefined,
1027
+ };
1028
+ },
1029
+ toJSON(message) {
1030
+ const obj = {};
1031
+ message.chunkedArtifactId !== undefined &&
1032
+ (obj.chunkedArtifactId = (message.chunkedArtifactId || BigInt(0)).toString());
1033
+ message.chunk !== undefined &&
1034
+ (obj.chunk = message.chunk ? ChunkInfo.toJSON(message.chunk) : undefined);
1035
+ return obj;
1036
+ },
1037
+ fromPartial(object) {
1038
+ const message = createBaseMsgSendChunkResponse();
1039
+ message.chunkedArtifactId =
1040
+ object.chunkedArtifactId !== undefined &&
1041
+ object.chunkedArtifactId !== null
1042
+ ? BigInt(object.chunkedArtifactId.toString())
1043
+ : BigInt(0);
1044
+ message.chunk =
1045
+ object.chunk !== undefined && object.chunk !== null
1046
+ ? ChunkInfo.fromPartial(object.chunk)
1047
+ : undefined;
1048
+ return message;
1049
+ },
1050
+ fromProtoMsg(message) {
1051
+ return MsgSendChunkResponse.decode(message.value);
1052
+ },
1053
+ toProto(message) {
1054
+ return MsgSendChunkResponse.encode(message).finish();
1055
+ },
1056
+ toProtoMsg(message) {
1057
+ return {
1058
+ typeUrl: '/agoric.swingset.MsgSendChunkResponse',
1059
+ value: MsgSendChunkResponse.encode(message).finish(),
1060
+ };
1061
+ },
1062
+ };
839
1063
  //# sourceMappingURL=msgs.js.map