@agoric/cosmic-proto 0.3.1-dev-1303537.0 → 0.3.1-dev-648d42f.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.
@@ -506,7 +506,7 @@ interface Rpc {
506
506
  data: Uint8Array,
507
507
  ): Promise<Uint8Array>;
508
508
  }
509
- declare type Builtin =
509
+ type Builtin =
510
510
  | Date
511
511
  | Function
512
512
  | Uint8Array
@@ -514,7 +514,7 @@ declare type Builtin =
514
514
  | number
515
515
  | boolean
516
516
  | undefined;
517
- export declare type DeepPartial<T> = T extends Builtin
517
+ export type DeepPartial<T> = T extends Builtin
518
518
  ? T
519
519
  : T extends Long
520
520
  ? string | number | Long
@@ -527,8 +527,8 @@ export declare type DeepPartial<T> = T extends Builtin
527
527
  [K in keyof T]?: DeepPartial<T[K]>;
528
528
  }
529
529
  : Partial<T>;
530
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
531
- export declare type Exact<P, I extends P> = P extends Builtin
530
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
531
+ export type Exact<P, I extends P> = P extends Builtin
532
532
  ? P
533
533
  : P & {
534
534
  [K in keyof P]: Exact<P[K], I[K]>;
@@ -64,10 +64,10 @@ export const MsgDeliverInbound = {
64
64
  fromJSON(object) {
65
65
  return {
66
66
  messages: Array.isArray(object?.messages)
67
- ? object.messages.map((e) => String(e))
67
+ ? object.messages.map(e => String(e))
68
68
  : [],
69
69
  nums: Array.isArray(object?.nums)
70
- ? object.nums.map((e) => Long.fromValue(e))
70
+ ? object.nums.map(e => Long.fromValue(e))
71
71
  : [],
72
72
  ack: isSet(object.ack) ? Long.fromValue(object.ack) : Long.UZERO,
73
73
  submitter: isSet(object.submitter)
@@ -78,12 +78,12 @@ export const MsgDeliverInbound = {
78
78
  toJSON(message) {
79
79
  const obj = {};
80
80
  if (message.messages) {
81
- obj.messages = message.messages.map((e) => e);
81
+ obj.messages = message.messages.map(e => e);
82
82
  } else {
83
83
  obj.messages = [];
84
84
  }
85
85
  if (message.nums) {
86
- obj.nums = message.nums.map((e) => (e || Long.UZERO).toString());
86
+ obj.nums = message.nums.map(e => (e || Long.UZERO).toString());
87
87
  } else {
88
88
  obj.nums = [];
89
89
  }
@@ -97,8 +97,8 @@ export const MsgDeliverInbound = {
97
97
  },
98
98
  fromPartial(object) {
99
99
  const message = createBaseMsgDeliverInbound();
100
- message.messages = object.messages?.map((e) => e) || [];
101
- message.nums = object.nums?.map((e) => Long.fromValue(e)) || [];
100
+ message.messages = object.messages?.map(e => e) || [];
101
+ message.nums = object.nums?.map(e => Long.fromValue(e)) || [];
102
102
  message.ack =
103
103
  object.ack !== undefined && object.ack !== null
104
104
  ? Long.fromValue(object.ack)
@@ -378,7 +378,7 @@ export const MsgProvision = {
378
378
  ? bytesFromBase64(object.address)
379
379
  : new Uint8Array(),
380
380
  powerFlags: Array.isArray(object?.powerFlags)
381
- ? object.powerFlags.map((e) => String(e))
381
+ ? object.powerFlags.map(e => String(e))
382
382
  : [],
383
383
  submitter: isSet(object.submitter)
384
384
  ? bytesFromBase64(object.submitter)
@@ -393,7 +393,7 @@ export const MsgProvision = {
393
393
  message.address !== undefined ? message.address : new Uint8Array(),
394
394
  ));
395
395
  if (message.powerFlags) {
396
- obj.powerFlags = message.powerFlags.map((e) => e);
396
+ obj.powerFlags = message.powerFlags.map(e => e);
397
397
  } else {
398
398
  obj.powerFlags = [];
399
399
  }
@@ -407,7 +407,7 @@ export const MsgProvision = {
407
407
  const message = createBaseMsgProvision();
408
408
  message.nickname = object.nickname ?? '';
409
409
  message.address = object.address ?? new Uint8Array();
410
- message.powerFlags = object.powerFlags?.map((e) => e) || [];
410
+ message.powerFlags = object.powerFlags?.map(e => e) || [];
411
411
  message.submitter = object.submitter ?? new Uint8Array();
412
412
  return message;
413
413
  },
@@ -588,35 +588,35 @@ export class MsgClientImpl {
588
588
  InstallBundle(request) {
589
589
  const data = MsgInstallBundle.encode(request).finish();
590
590
  const promise = this.rpc.request(this.service, 'InstallBundle', data);
591
- return promise.then((data) =>
591
+ return promise.then(data =>
592
592
  MsgInstallBundleResponse.decode(new _m0.Reader(data)),
593
593
  );
594
594
  }
595
595
  DeliverInbound(request) {
596
596
  const data = MsgDeliverInbound.encode(request).finish();
597
597
  const promise = this.rpc.request(this.service, 'DeliverInbound', data);
598
- return promise.then((data) =>
598
+ return promise.then(data =>
599
599
  MsgDeliverInboundResponse.decode(new _m0.Reader(data)),
600
600
  );
601
601
  }
602
602
  WalletAction(request) {
603
603
  const data = MsgWalletAction.encode(request).finish();
604
604
  const promise = this.rpc.request(this.service, 'WalletAction', data);
605
- return promise.then((data) =>
605
+ return promise.then(data =>
606
606
  MsgWalletActionResponse.decode(new _m0.Reader(data)),
607
607
  );
608
608
  }
609
609
  WalletSpendAction(request) {
610
610
  const data = MsgWalletSpendAction.encode(request).finish();
611
611
  const promise = this.rpc.request(this.service, 'WalletSpendAction', data);
612
- return promise.then((data) =>
612
+ return promise.then(data =>
613
613
  MsgWalletSpendActionResponse.decode(new _m0.Reader(data)),
614
614
  );
615
615
  }
616
616
  Provision(request) {
617
617
  const data = MsgProvision.encode(request).finish();
618
618
  const promise = this.rpc.request(this.service, 'Provision', data);
619
- return promise.then((data) =>
619
+ return promise.then(data =>
620
620
  MsgProvisionResponse.decode(new _m0.Reader(data)),
621
621
  );
622
622
  }
@@ -653,7 +653,7 @@ function base64FromBytes(arr) {
653
653
  return globalThis.Buffer.from(arr).toString('base64');
654
654
  } else {
655
655
  const bin = [];
656
- arr.forEach((byte) => {
656
+ arr.forEach(byte => {
657
657
  bin.push(String.fromCharCode(byte));
658
658
  });
659
659
  return globalThis.btoa(bin.join(''));
@@ -374,7 +374,7 @@ interface Rpc {
374
374
  data: Uint8Array,
375
375
  ): Promise<Uint8Array>;
376
376
  }
377
- declare type Builtin =
377
+ type Builtin =
378
378
  | Date
379
379
  | Function
380
380
  | Uint8Array
@@ -382,7 +382,7 @@ declare type Builtin =
382
382
  | number
383
383
  | boolean
384
384
  | undefined;
385
- export declare type DeepPartial<T> = T extends Builtin
385
+ export type DeepPartial<T> = T extends Builtin
386
386
  ? T
387
387
  : T extends Long
388
388
  ? string | number | Long
@@ -395,8 +395,8 @@ export declare type DeepPartial<T> = T extends Builtin
395
395
  [K in keyof T]?: DeepPartial<T[K]>;
396
396
  }
397
397
  : Partial<T>;
398
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
399
- export declare type Exact<P, I extends P> = P extends Builtin
398
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
399
+ export type Exact<P, I extends P> = P extends Builtin
400
400
  ? P
401
401
  : P & {
402
402
  [K in keyof P]: Exact<P[K], I[K]>;
@@ -280,21 +280,21 @@ export class QueryClientImpl {
280
280
  Params(request) {
281
281
  const data = QueryParamsRequest.encode(request).finish();
282
282
  const promise = this.rpc.request(this.service, 'Params', data);
283
- return promise.then((data) =>
283
+ return promise.then(data =>
284
284
  QueryParamsResponse.decode(new _m0.Reader(data)),
285
285
  );
286
286
  }
287
287
  Egress(request) {
288
288
  const data = QueryEgressRequest.encode(request).finish();
289
289
  const promise = this.rpc.request(this.service, 'Egress', data);
290
- return promise.then((data) =>
290
+ return promise.then(data =>
291
291
  QueryEgressResponse.decode(new _m0.Reader(data)),
292
292
  );
293
293
  }
294
294
  Mailbox(request) {
295
295
  const data = QueryMailboxRequest.encode(request).finish();
296
296
  const promise = this.rpc.request(this.service, 'Mailbox', data);
297
- return promise.then((data) =>
297
+ return promise.then(data =>
298
298
  QueryMailboxResponse.decode(new _m0.Reader(data)),
299
299
  );
300
300
  }
@@ -331,7 +331,7 @@ function base64FromBytes(arr) {
331
331
  return globalThis.Buffer.from(arr).toString('base64');
332
332
  } else {
333
333
  const bin = [];
334
- arr.forEach((byte) => {
334
+ arr.forEach(byte => {
335
335
  bin.push(String.fromCharCode(byte));
336
336
  });
337
337
  return globalThis.btoa(bin.join(''));
@@ -539,7 +539,7 @@ export declare const ExtensionSnapshotterArtifactPayload: {
539
539
  object: I,
540
540
  ): ExtensionSnapshotterArtifactPayload;
541
541
  };
542
- declare type Builtin =
542
+ type Builtin =
543
543
  | Date
544
544
  | Function
545
545
  | Uint8Array
@@ -547,7 +547,7 @@ declare type Builtin =
547
547
  | number
548
548
  | boolean
549
549
  | undefined;
550
- export declare type DeepPartial<T> = T extends Builtin
550
+ export type DeepPartial<T> = T extends Builtin
551
551
  ? T
552
552
  : T extends Long
553
553
  ? string | number | Long
@@ -560,8 +560,8 @@ export declare type DeepPartial<T> = T extends Builtin
560
560
  [K in keyof T]?: DeepPartial<T[K]>;
561
561
  }
562
562
  : Partial<T>;
563
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
564
- export declare type Exact<P, I extends P> = P extends Builtin
563
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
564
+ export type Exact<P, I extends P> = P extends Builtin
565
565
  ? P
566
566
  : P & {
567
567
  [K in keyof P]: Exact<P[K], I[K]>;
@@ -47,7 +47,7 @@ export const CoreEvalProposal = {
47
47
  title: isSet(object.title) ? String(object.title) : '',
48
48
  description: isSet(object.description) ? String(object.description) : '',
49
49
  evals: Array.isArray(object?.evals)
50
- ? object.evals.map((e) => CoreEval.fromJSON(e))
50
+ ? object.evals.map(e => CoreEval.fromJSON(e))
51
51
  : [],
52
52
  };
53
53
  },
@@ -57,9 +57,7 @@ export const CoreEvalProposal = {
57
57
  message.description !== undefined &&
58
58
  (obj.description = message.description);
59
59
  if (message.evals) {
60
- obj.evals = message.evals.map((e) =>
61
- e ? CoreEval.toJSON(e) : undefined,
62
- );
60
+ obj.evals = message.evals.map(e => (e ? CoreEval.toJSON(e) : undefined));
63
61
  } else {
64
62
  obj.evals = [];
65
63
  }
@@ -69,7 +67,7 @@ export const CoreEvalProposal = {
69
67
  const message = createBaseCoreEvalProposal();
70
68
  message.title = object.title ?? '';
71
69
  message.description = object.description ?? '';
72
- message.evals = object.evals?.map((e) => CoreEval.fromPartial(e)) || [];
70
+ message.evals = object.evals?.map(e => CoreEval.fromPartial(e)) || [];
73
71
  return message;
74
72
  },
75
73
  };
@@ -190,33 +188,33 @@ export const Params = {
190
188
  fromJSON(object) {
191
189
  return {
192
190
  beansPerUnit: Array.isArray(object?.beansPerUnit)
193
- ? object.beansPerUnit.map((e) => StringBeans.fromJSON(e))
191
+ ? object.beansPerUnit.map(e => StringBeans.fromJSON(e))
194
192
  : [],
195
193
  feeUnitPrice: Array.isArray(object?.feeUnitPrice)
196
- ? object.feeUnitPrice.map((e) => Coin.fromJSON(e))
194
+ ? object.feeUnitPrice.map(e => Coin.fromJSON(e))
197
195
  : [],
198
196
  bootstrapVatConfig: isSet(object.bootstrapVatConfig)
199
197
  ? String(object.bootstrapVatConfig)
200
198
  : '',
201
199
  powerFlagFees: Array.isArray(object?.powerFlagFees)
202
- ? object.powerFlagFees.map((e) => PowerFlagFee.fromJSON(e))
200
+ ? object.powerFlagFees.map(e => PowerFlagFee.fromJSON(e))
203
201
  : [],
204
202
  queueMax: Array.isArray(object?.queueMax)
205
- ? object.queueMax.map((e) => QueueSize.fromJSON(e))
203
+ ? object.queueMax.map(e => QueueSize.fromJSON(e))
206
204
  : [],
207
205
  };
208
206
  },
209
207
  toJSON(message) {
210
208
  const obj = {};
211
209
  if (message.beansPerUnit) {
212
- obj.beansPerUnit = message.beansPerUnit.map((e) =>
210
+ obj.beansPerUnit = message.beansPerUnit.map(e =>
213
211
  e ? StringBeans.toJSON(e) : undefined,
214
212
  );
215
213
  } else {
216
214
  obj.beansPerUnit = [];
217
215
  }
218
216
  if (message.feeUnitPrice) {
219
- obj.feeUnitPrice = message.feeUnitPrice.map((e) =>
217
+ obj.feeUnitPrice = message.feeUnitPrice.map(e =>
220
218
  e ? Coin.toJSON(e) : undefined,
221
219
  );
222
220
  } else {
@@ -225,14 +223,14 @@ export const Params = {
225
223
  message.bootstrapVatConfig !== undefined &&
226
224
  (obj.bootstrapVatConfig = message.bootstrapVatConfig);
227
225
  if (message.powerFlagFees) {
228
- obj.powerFlagFees = message.powerFlagFees.map((e) =>
226
+ obj.powerFlagFees = message.powerFlagFees.map(e =>
229
227
  e ? PowerFlagFee.toJSON(e) : undefined,
230
228
  );
231
229
  } else {
232
230
  obj.powerFlagFees = [];
233
231
  }
234
232
  if (message.queueMax) {
235
- obj.queueMax = message.queueMax.map((e) =>
233
+ obj.queueMax = message.queueMax.map(e =>
236
234
  e ? QueueSize.toJSON(e) : undefined,
237
235
  );
238
236
  } else {
@@ -243,14 +241,14 @@ export const Params = {
243
241
  fromPartial(object) {
244
242
  const message = createBaseParams();
245
243
  message.beansPerUnit =
246
- object.beansPerUnit?.map((e) => StringBeans.fromPartial(e)) || [];
244
+ object.beansPerUnit?.map(e => StringBeans.fromPartial(e)) || [];
247
245
  message.feeUnitPrice =
248
- object.feeUnitPrice?.map((e) => Coin.fromPartial(e)) || [];
246
+ object.feeUnitPrice?.map(e => Coin.fromPartial(e)) || [];
249
247
  message.bootstrapVatConfig = object.bootstrapVatConfig ?? '';
250
248
  message.powerFlagFees =
251
- object.powerFlagFees?.map((e) => PowerFlagFee.fromPartial(e)) || [];
249
+ object.powerFlagFees?.map(e => PowerFlagFee.fromPartial(e)) || [];
252
250
  message.queueMax =
253
- object.queueMax?.map((e) => QueueSize.fromPartial(e)) || [];
251
+ object.queueMax?.map(e => QueueSize.fromPartial(e)) || [];
254
252
  return message;
255
253
  },
256
254
  };
@@ -284,14 +282,14 @@ export const State = {
284
282
  fromJSON(object) {
285
283
  return {
286
284
  queueAllowed: Array.isArray(object?.queueAllowed)
287
- ? object.queueAllowed.map((e) => QueueSize.fromJSON(e))
285
+ ? object.queueAllowed.map(e => QueueSize.fromJSON(e))
288
286
  : [],
289
287
  };
290
288
  },
291
289
  toJSON(message) {
292
290
  const obj = {};
293
291
  if (message.queueAllowed) {
294
- obj.queueAllowed = message.queueAllowed.map((e) =>
292
+ obj.queueAllowed = message.queueAllowed.map(e =>
295
293
  e ? QueueSize.toJSON(e) : undefined,
296
294
  );
297
295
  } else {
@@ -302,7 +300,7 @@ export const State = {
302
300
  fromPartial(object) {
303
301
  const message = createBaseState();
304
302
  message.queueAllowed =
305
- object.queueAllowed?.map((e) => QueueSize.fromPartial(e)) || [];
303
+ object.queueAllowed?.map(e => QueueSize.fromPartial(e)) || [];
306
304
  return message;
307
305
  },
308
306
  };
@@ -395,7 +393,7 @@ export const PowerFlagFee = {
395
393
  return {
396
394
  powerFlag: isSet(object.powerFlag) ? String(object.powerFlag) : '',
397
395
  fee: Array.isArray(object?.fee)
398
- ? object.fee.map((e) => Coin.fromJSON(e))
396
+ ? object.fee.map(e => Coin.fromJSON(e))
399
397
  : [],
400
398
  };
401
399
  },
@@ -403,7 +401,7 @@ export const PowerFlagFee = {
403
401
  const obj = {};
404
402
  message.powerFlag !== undefined && (obj.powerFlag = message.powerFlag);
405
403
  if (message.fee) {
406
- obj.fee = message.fee.map((e) => (e ? Coin.toJSON(e) : undefined));
404
+ obj.fee = message.fee.map(e => (e ? Coin.toJSON(e) : undefined));
407
405
  } else {
408
406
  obj.fee = [];
409
407
  }
@@ -412,7 +410,7 @@ export const PowerFlagFee = {
412
410
  fromPartial(object) {
413
411
  const message = createBasePowerFlagFee();
414
412
  message.powerFlag = object.powerFlag ?? '';
415
- message.fee = object.fee?.map((e) => Coin.fromPartial(e)) || [];
413
+ message.fee = object.fee?.map(e => Coin.fromPartial(e)) || [];
416
414
  return message;
417
415
  },
418
416
  };
@@ -514,7 +512,7 @@ export const Egress = {
514
512
  ? bytesFromBase64(object.peer)
515
513
  : new Uint8Array(),
516
514
  powerFlags: Array.isArray(object?.powerFlags)
517
- ? object.powerFlags.map((e) => String(e))
515
+ ? object.powerFlags.map(e => String(e))
518
516
  : [],
519
517
  };
520
518
  },
@@ -526,7 +524,7 @@ export const Egress = {
526
524
  message.peer !== undefined ? message.peer : new Uint8Array(),
527
525
  ));
528
526
  if (message.powerFlags) {
529
- obj.powerFlags = message.powerFlags.map((e) => e);
527
+ obj.powerFlags = message.powerFlags.map(e => e);
530
528
  } else {
531
529
  obj.powerFlags = [];
532
530
  }
@@ -536,7 +534,7 @@ export const Egress = {
536
534
  const message = createBaseEgress();
537
535
  message.nickname = object.nickname ?? '';
538
536
  message.peer = object.peer ?? new Uint8Array();
539
- message.powerFlags = object.powerFlags?.map((e) => e) || [];
537
+ message.powerFlags = object.powerFlags?.map(e => e) || [];
540
538
  return message;
541
539
  },
542
540
  };
@@ -629,7 +627,7 @@ function base64FromBytes(arr) {
629
627
  return globalThis.Buffer.from(arr).toString('base64');
630
628
  } else {
631
629
  const bin = [];
632
- arr.forEach((byte) => {
630
+ arr.forEach(byte => {
633
631
  bin.push(String.fromCharCode(byte));
634
632
  });
635
633
  return globalThis.btoa(bin.join(''));
@@ -406,7 +406,7 @@ interface Rpc {
406
406
  data: Uint8Array,
407
407
  ): Promise<Uint8Array>;
408
408
  }
409
- declare type Builtin =
409
+ type Builtin =
410
410
  | Date
411
411
  | Function
412
412
  | Uint8Array
@@ -414,7 +414,7 @@ declare type Builtin =
414
414
  | number
415
415
  | boolean
416
416
  | undefined;
417
- export declare type DeepPartial<T> = T extends Builtin
417
+ export type DeepPartial<T> = T extends Builtin
418
418
  ? T
419
419
  : T extends Long
420
420
  ? string | number | Long
@@ -427,8 +427,8 @@ export declare type DeepPartial<T> = T extends Builtin
427
427
  [K in keyof T]?: DeepPartial<T[K]>;
428
428
  }
429
429
  : Partial<T>;
430
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
431
- export declare type Exact<P, I extends P> = P extends Builtin
430
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
431
+ export type Exact<P, I extends P> = P extends Builtin
432
432
  ? P
433
433
  : P & {
434
434
  [K in keyof P]: Exact<P[K], I[K]>;
@@ -187,7 +187,7 @@ export const QueryChildrenResponse = {
187
187
  fromJSON(object) {
188
188
  return {
189
189
  children: Array.isArray(object?.children)
190
- ? object.children.map((e) => String(e))
190
+ ? object.children.map(e => String(e))
191
191
  : [],
192
192
  pagination: isSet(object.pagination)
193
193
  ? PageResponse.fromJSON(object.pagination)
@@ -197,7 +197,7 @@ export const QueryChildrenResponse = {
197
197
  toJSON(message) {
198
198
  const obj = {};
199
199
  if (message.children) {
200
- obj.children = message.children.map((e) => e);
200
+ obj.children = message.children.map(e => e);
201
201
  } else {
202
202
  obj.children = [];
203
203
  }
@@ -209,7 +209,7 @@ export const QueryChildrenResponse = {
209
209
  },
210
210
  fromPartial(object) {
211
211
  const message = createBaseQueryChildrenResponse();
212
- message.children = object.children?.map((e) => e) || [];
212
+ message.children = object.children?.map(e => e) || [];
213
213
  message.pagination =
214
214
  object.pagination !== undefined && object.pagination !== null
215
215
  ? PageResponse.fromPartial(object.pagination)
@@ -229,14 +229,12 @@ export class QueryClientImpl {
229
229
  Data(request) {
230
230
  const data = QueryDataRequest.encode(request).finish();
231
231
  const promise = this.rpc.request(this.service, 'Data', data);
232
- return promise.then((data) =>
233
- QueryDataResponse.decode(new _m0.Reader(data)),
234
- );
232
+ return promise.then(data => QueryDataResponse.decode(new _m0.Reader(data)));
235
233
  }
236
234
  Children(request) {
237
235
  const data = QueryChildrenRequest.encode(request).finish();
238
236
  const promise = this.rpc.request(this.service, 'Children', data);
239
- return promise.then((data) =>
237
+ return promise.then(data =>
240
238
  QueryChildrenResponse.decode(new _m0.Reader(data)),
241
239
  );
242
240
  }
@@ -304,12 +304,12 @@ export declare const PageResponse: {
304
304
  } & { [K in Exclude<keyof I["total"], keyof Long>]: never; }) | undefined;
305
305
  } & { [K_1 in Exclude<keyof I, keyof PageResponse>]: never; }>(object: I): PageResponse;
306
306
  };
307
- declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
308
- export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
307
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
308
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
309
309
  [K in keyof T]?: DeepPartial<T[K]>;
310
310
  } : Partial<T>;
311
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
312
- export declare type Exact<P, I extends P> = P extends Builtin ? P : P & {
311
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
312
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
313
313
  [K in keyof P]: Exact<P[K], I[K]>;
314
314
  } & {
315
315
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
@@ -77,12 +77,12 @@ export declare const DecProto: {
77
77
  dec?: string | undefined;
78
78
  } & { [K in Exclude<keyof I, "dec">]: never; }>(object: I): DecProto;
79
79
  };
80
- declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
81
- export declare type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
80
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
81
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
82
82
  [K in keyof T]?: DeepPartial<T[K]>;
83
83
  } : Partial<T>;
84
- declare type KeysOfUnion<T> = T extends T ? keyof T : never;
85
- export declare type Exact<P, I extends P> = P extends Builtin ? P : P & {
84
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
85
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
86
86
  [K in keyof P]: Exact<P[K], I[K]>;
87
87
  } & {
88
88
  [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/cosmic-proto",
3
- "version": "0.3.1-dev-1303537.0+1303537",
3
+ "version": "0.3.1-dev-648d42f.0+648d42f",
4
4
  "description": "Protobuf stubs for the Agoric cosmos-sdk module",
5
5
  "keywords": [],
6
6
  "author": "Agoric",
@@ -56,9 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "prettier": {
60
- "trailingComma": "all",
61
- "singleQuote": true
62
- },
63
- "gitHead": "1303537a9b1857100515533428e26193f975453b"
59
+ "gitHead": "648d42f4aedfcb521f5eaeea8dd10dd09e97b833"
64
60
  }