@candypoets/nipworker 0.92.0 → 0.94.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.
@@ -450,7 +450,7 @@ class ss {
450
450
  );
451
451
  }
452
452
  }
453
- class rt {
453
+ class at {
454
454
  constructor() {
455
455
  this.bb = null, this.bb_pos = 0;
456
456
  }
@@ -458,10 +458,10 @@ class rt {
458
458
  return this.bb_pos = t, this.bb = s, this;
459
459
  }
460
460
  static getRootAsRelayInfo(t, s) {
461
- return (s || new rt()).__init(t.readInt32(t.position()) + t.position(), t);
461
+ return (s || new at()).__init(t.readInt32(t.position()) + t.position(), t);
462
462
  }
463
463
  static getSizePrefixedRootAsRelayInfo(t, s) {
464
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new rt()).__init(t.readInt32(t.position()) + t.position(), t);
464
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new at()).__init(t.readInt32(t.position()) + t.position(), t);
465
465
  }
466
466
  url(t) {
467
467
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -492,7 +492,7 @@ class rt {
492
492
  return t.requiredField(s, 4), s;
493
493
  }
494
494
  static createRelayInfo(t, s, e, i) {
495
- return rt.startRelayInfo(t), rt.addUrl(t, s), rt.addRead(t, e), rt.addWrite(t, i), rt.endRelayInfo(t);
495
+ return at.startRelayInfo(t), at.addUrl(t, s), at.addRead(t, e), at.addWrite(t, i), at.endRelayInfo(t);
496
496
  }
497
497
  unpack() {
498
498
  return new es(
@@ -511,7 +511,7 @@ class es {
511
511
  }
512
512
  pack(t) {
513
513
  const s = this.url !== null ? t.createString(this.url) : 0;
514
- return rt.createRelayInfo(
514
+ return at.createRelayInfo(
515
515
  t,
516
516
  s,
517
517
  this.read,
@@ -534,7 +534,7 @@ class It {
534
534
  }
535
535
  relays(t, s) {
536
536
  const e = this.bb.__offset(this.bb_pos, 4);
537
- return e ? (s || new rt()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
537
+ return e ? (s || new at()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
538
538
  }
539
539
  relaysLength() {
540
540
  const t = this.bb.__offset(this.bb_pos, 4);
@@ -583,7 +583,7 @@ class is {
583
583
  );
584
584
  }
585
585
  }
586
- class ft {
586
+ class lt {
587
587
  constructor() {
588
588
  this.bb = null, this.bb_pos = 0;
589
589
  }
@@ -591,10 +591,10 @@ class ft {
591
591
  return this.bb_pos = t, this.bb = s, this;
592
592
  }
593
593
  static getRootAsMintInfo(t, s) {
594
- return (s || new ft()).__init(t.readInt32(t.position()) + t.position(), t);
594
+ return (s || new lt()).__init(t.readInt32(t.position()) + t.position(), t);
595
595
  }
596
596
  static getSizePrefixedRootAsMintInfo(t, s) {
597
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ft()).__init(t.readInt32(t.position()) + t.position(), t);
597
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new lt()).__init(t.readInt32(t.position()) + t.position(), t);
598
598
  }
599
599
  url(t) {
600
600
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -631,7 +631,7 @@ class ft {
631
631
  return t.requiredField(s, 4), t.requiredField(s, 6), s;
632
632
  }
633
633
  static createMintInfo(t, s, e) {
634
- return ft.startMintInfo(t), ft.addUrl(t, s), ft.addBaseUnits(t, e), ft.endMintInfo(t);
634
+ return lt.startMintInfo(t), lt.addUrl(t, s), lt.addBaseUnits(t, e), lt.endMintInfo(t);
635
635
  }
636
636
  unpack() {
637
637
  return new ns(
@@ -648,8 +648,8 @@ class ns {
648
648
  this.url = t, this.baseUnits = s;
649
649
  }
650
650
  pack(t) {
651
- const s = this.url !== null ? t.createString(this.url) : 0, e = ft.createBaseUnitsVector(t, t.createObjectOffsetList(this.baseUnits));
652
- return ft.createMintInfo(
651
+ const s = this.url !== null ? t.createString(this.url) : 0, e = lt.createBaseUnitsVector(t, t.createObjectOffsetList(this.baseUnits));
652
+ return lt.createMintInfo(
653
653
  t,
654
654
  s,
655
655
  e
@@ -671,7 +671,7 @@ class W {
671
671
  }
672
672
  trustedMints(t, s) {
673
673
  const e = this.bb.__offset(this.bb_pos, 4);
674
- return e ? (s || new ft()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
674
+ return e ? (s || new lt()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
675
675
  }
676
676
  trustedMintsLength() {
677
677
  const t = this.bb.__offset(this.bb_pos, 4);
@@ -1059,7 +1059,7 @@ class ds {
1059
1059
  );
1060
1060
  }
1061
1061
  }
1062
- class lt {
1062
+ class ot {
1063
1063
  constructor() {
1064
1064
  this.bb = null, this.bb_pos = 0;
1065
1065
  }
@@ -1067,10 +1067,10 @@ class lt {
1067
1067
  return this.bb_pos = t, this.bb = s, this;
1068
1068
  }
1069
1069
  static getRootAsVideoData(t, s) {
1070
- return (s || new lt()).__init(t.readInt32(t.position()) + t.position(), t);
1070
+ return (s || new ot()).__init(t.readInt32(t.position()) + t.position(), t);
1071
1071
  }
1072
1072
  static getSizePrefixedRootAsVideoData(t, s) {
1073
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new lt()).__init(t.readInt32(t.position()) + t.position(), t);
1073
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ot()).__init(t.readInt32(t.position()) + t.position(), t);
1074
1074
  }
1075
1075
  url(t) {
1076
1076
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -1080,8 +1080,12 @@ class lt {
1080
1080
  const s = this.bb.__offset(this.bb_pos, 6);
1081
1081
  return s ? this.bb.__string(this.bb_pos + s, t) : null;
1082
1082
  }
1083
+ dim(t) {
1084
+ const s = this.bb.__offset(this.bb_pos, 8);
1085
+ return s ? this.bb.__string(this.bb_pos + s, t) : null;
1086
+ }
1083
1087
  static startVideoData(t) {
1084
- t.startObject(2);
1088
+ t.startObject(3);
1085
1089
  }
1086
1090
  static addUrl(t, s) {
1087
1091
  t.addFieldOffset(0, s, 0);
@@ -1089,33 +1093,38 @@ class lt {
1089
1093
  static addThumbnail(t, s) {
1090
1094
  t.addFieldOffset(1, s, 0);
1091
1095
  }
1096
+ static addDim(t, s) {
1097
+ t.addFieldOffset(2, s, 0);
1098
+ }
1092
1099
  static endVideoData(t) {
1093
1100
  const s = t.endObject();
1094
1101
  return t.requiredField(s, 4), s;
1095
1102
  }
1096
- static createVideoData(t, s, e) {
1097
- return lt.startVideoData(t), lt.addUrl(t, s), lt.addThumbnail(t, e), lt.endVideoData(t);
1103
+ static createVideoData(t, s, e, i) {
1104
+ return ot.startVideoData(t), ot.addUrl(t, s), ot.addThumbnail(t, e), ot.addDim(t, i), ot.endVideoData(t);
1098
1105
  }
1099
1106
  unpack() {
1100
1107
  return new bs(
1101
1108
  this.url(),
1102
- this.thumbnail()
1109
+ this.thumbnail(),
1110
+ this.dim()
1103
1111
  );
1104
1112
  }
1105
1113
  unpackTo(t) {
1106
- t.url = this.url(), t.thumbnail = this.thumbnail();
1114
+ t.url = this.url(), t.thumbnail = this.thumbnail(), t.dim = this.dim();
1107
1115
  }
1108
1116
  }
1109
1117
  class bs {
1110
- constructor(t = null, s = null) {
1111
- this.url = t, this.thumbnail = s;
1118
+ constructor(t = null, s = null, e = null) {
1119
+ this.url = t, this.thumbnail = s, this.dim = e;
1112
1120
  }
1113
1121
  pack(t) {
1114
- const s = this.url !== null ? t.createString(this.url) : 0, e = this.thumbnail !== null ? t.createString(this.thumbnail) : 0;
1115
- return lt.createVideoData(
1122
+ const s = this.url !== null ? t.createString(this.url) : 0, e = this.thumbnail !== null ? t.createString(this.thumbnail) : 0, i = this.dim !== null ? t.createString(this.dim) : 0;
1123
+ return ot.createVideoData(
1116
1124
  t,
1117
1125
  s,
1118
- e
1126
+ e,
1127
+ i
1119
1128
  );
1120
1129
  }
1121
1130
  }
@@ -1138,7 +1147,7 @@ class Kt {
1138
1147
  }
1139
1148
  video(t) {
1140
1149
  const s = this.bb.__offset(this.bb_pos, 6);
1141
- return s ? (t || new lt()).__init(this.bb.__indirect(this.bb_pos + s), this.bb) : null;
1150
+ return s ? (t || new ot()).__init(this.bb.__indirect(this.bb_pos + s), this.bb) : null;
1142
1151
  }
1143
1152
  static startMediaItem(t) {
1144
1153
  t.startObject(2);
@@ -1348,7 +1357,7 @@ function Dt(n, t) {
1348
1357
  case "ImageData":
1349
1358
  return t(new nt());
1350
1359
  case "VideoData":
1351
- return t(new lt());
1360
+ return t(new ot());
1352
1361
  case "MediaGroupData":
1353
1362
  return t(new Lt());
1354
1363
  case "NostrData":
@@ -2785,8 +2794,7 @@ class P {
2785
2794
  t.startVector(4, s, 4);
2786
2795
  }
2787
2796
  static endKind20Parsed(t) {
2788
- const s = t.endObject();
2789
- return t.requiredField(s, 8), s;
2797
+ return t.endObject();
2790
2798
  }
2791
2799
  static createKind20Parsed(t, s, e, i, o, r, a, h, d) {
2792
2800
  return P.startKind20Parsed(t), P.addTitle(t, s), P.addDescription(t, e), P.addImages(t, i), P.addContentWarning(t, o), P.addLocation(t, r), P.addGeohash(t, a), P.addHashtags(t, h), P.addMentions(t, d), P.endKind20Parsed(t);
@@ -3259,7 +3267,7 @@ class Ts {
3259
3267
  );
3260
3268
  }
3261
3269
  }
3262
- class ot {
3270
+ class rt {
3263
3271
  constructor() {
3264
3272
  this.bb = null, this.bb_pos = 0;
3265
3273
  }
@@ -3267,10 +3275,10 @@ class ot {
3267
3275
  return this.bb_pos = t, this.bb = s, this;
3268
3276
  }
3269
3277
  static getRootAsContact(t, s) {
3270
- return (s || new ot()).__init(t.readInt32(t.position()) + t.position(), t);
3278
+ return (s || new rt()).__init(t.readInt32(t.position()) + t.position(), t);
3271
3279
  }
3272
3280
  static getSizePrefixedRootAsContact(t, s) {
3273
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ot()).__init(t.readInt32(t.position()) + t.position(), t);
3281
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new rt()).__init(t.readInt32(t.position()) + t.position(), t);
3274
3282
  }
3275
3283
  pubkey(t) {
3276
3284
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -3314,7 +3322,7 @@ class ot {
3314
3322
  return t.requiredField(s, 4), s;
3315
3323
  }
3316
3324
  static createContact(t, s, e, i) {
3317
- return ot.startContact(t), ot.addPubkey(t, s), ot.addRelays(t, e), ot.addPetname(t, i), ot.endContact(t);
3325
+ return rt.startContact(t), rt.addPubkey(t, s), rt.addRelays(t, e), rt.addPetname(t, i), rt.endContact(t);
3318
3326
  }
3319
3327
  unpack() {
3320
3328
  return new ws(
@@ -3332,8 +3340,8 @@ class ws {
3332
3340
  this.pubkey = t, this.relays = s, this.petname = e;
3333
3341
  }
3334
3342
  pack(t) {
3335
- const s = this.pubkey !== null ? t.createString(this.pubkey) : 0, e = ot.createRelaysVector(t, t.createObjectOffsetList(this.relays)), i = this.petname !== null ? t.createString(this.petname) : 0;
3336
- return ot.createContact(
3343
+ const s = this.pubkey !== null ? t.createString(this.pubkey) : 0, e = rt.createRelaysVector(t, t.createObjectOffsetList(this.relays)), i = this.petname !== null ? t.createString(this.petname) : 0;
3344
+ return rt.createContact(
3337
3345
  t,
3338
3346
  s,
3339
3347
  e,
@@ -3356,7 +3364,7 @@ class Ft {
3356
3364
  }
3357
3365
  contacts(t, s) {
3358
3366
  const e = this.bb.__offset(this.bb_pos, 4);
3359
- return e ? (s || new ot()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
3367
+ return e ? (s || new rt()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
3360
3368
  }
3361
3369
  contactsLength() {
3362
3370
  const t = this.bb.__offset(this.bb_pos, 4);
@@ -3546,7 +3554,7 @@ class Cs {
3546
3554
  );
3547
3555
  }
3548
3556
  }
3549
- class at {
3557
+ class ht {
3550
3558
  constructor() {
3551
3559
  this.bb = null, this.bb_pos = 0;
3552
3560
  }
@@ -3554,10 +3562,10 @@ class at {
3554
3562
  return this.bb_pos = t, this.bb = s, this;
3555
3563
  }
3556
3564
  static getRootAsKind7374Parsed(t, s) {
3557
- return (s || new at()).__init(t.readInt32(t.position()) + t.position(), t);
3565
+ return (s || new ht()).__init(t.readInt32(t.position()) + t.position(), t);
3558
3566
  }
3559
3567
  static getSizePrefixedRootAsKind7374Parsed(t, s) {
3560
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new at()).__init(t.readInt32(t.position()) + t.position(), t);
3568
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ht()).__init(t.readInt32(t.position()) + t.position(), t);
3561
3569
  }
3562
3570
  quoteId(t) {
3563
3571
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -3588,7 +3596,7 @@ class at {
3588
3596
  return t.requiredField(s, 4), t.requiredField(s, 6), s;
3589
3597
  }
3590
3598
  static createKind7374Parsed(t, s, e, i) {
3591
- return at.startKind7374Parsed(t), at.addQuoteId(t, s), at.addMintUrl(t, e), at.addExpiration(t, i), at.endKind7374Parsed(t);
3599
+ return ht.startKind7374Parsed(t), ht.addQuoteId(t, s), ht.addMintUrl(t, e), ht.addExpiration(t, i), ht.endKind7374Parsed(t);
3592
3600
  }
3593
3601
  unpack() {
3594
3602
  return new Ks(
@@ -3607,7 +3615,7 @@ class Ks {
3607
3615
  }
3608
3616
  pack(t) {
3609
3617
  const s = this.quoteId !== null ? t.createString(this.quoteId) : 0, e = this.mintUrl !== null ? t.createString(this.mintUrl) : 0;
3610
- return at.createKind7374Parsed(
3618
+ return ht.createKind7374Parsed(
3611
3619
  t,
3612
3620
  s,
3613
3621
  e,
@@ -3615,7 +3623,7 @@ class Ks {
3615
3623
  );
3616
3624
  }
3617
3625
  }
3618
- class ht {
3626
+ class ct {
3619
3627
  constructor() {
3620
3628
  this.bb = null, this.bb_pos = 0;
3621
3629
  }
@@ -3623,10 +3631,10 @@ class ht {
3623
3631
  return this.bb_pos = t, this.bb = s, this;
3624
3632
  }
3625
3633
  static getRootAsDLEQProof(t, s) {
3626
- return (s || new ht()).__init(t.readInt32(t.position()) + t.position(), t);
3634
+ return (s || new ct()).__init(t.readInt32(t.position()) + t.position(), t);
3627
3635
  }
3628
3636
  static getSizePrefixedRootAsDLEQProof(t, s) {
3629
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ht()).__init(t.readInt32(t.position()) + t.position(), t);
3637
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ct()).__init(t.readInt32(t.position()) + t.position(), t);
3630
3638
  }
3631
3639
  e(t) {
3632
3640
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -3657,7 +3665,7 @@ class ht {
3657
3665
  return t.requiredField(s, 4), t.requiredField(s, 6), t.requiredField(s, 8), s;
3658
3666
  }
3659
3667
  static createDLEQProof(t, s, e, i) {
3660
- return ht.startDLEQProof(t), ht.addE(t, s), ht.addS(t, e), ht.addR(t, i), ht.endDLEQProof(t);
3668
+ return ct.startDLEQProof(t), ct.addE(t, s), ct.addS(t, e), ct.addR(t, i), ct.endDLEQProof(t);
3661
3669
  }
3662
3670
  unpack() {
3663
3671
  return new Ns(
@@ -3676,7 +3684,7 @@ class Ns {
3676
3684
  }
3677
3685
  pack(t) {
3678
3686
  const s = this.e !== null ? t.createString(this.e) : 0, e = this.s !== null ? t.createString(this.s) : 0, i = this.r !== null ? t.createString(this.r) : 0;
3679
- return ht.createDLEQProof(
3687
+ return ct.createDLEQProof(
3680
3688
  t,
3681
3689
  s,
3682
3690
  e,
@@ -3916,7 +3924,7 @@ class j {
3916
3924
  }
3917
3925
  dleq(t) {
3918
3926
  const s = this.bb.__offset(this.bb_pos, 12);
3919
- return s ? (t || new ht()).__init(this.bb.__indirect(this.bb_pos + s), this.bb) : null;
3927
+ return s ? (t || new ct()).__init(this.bb.__indirect(this.bb_pos + s), this.bb) : null;
3920
3928
  }
3921
3929
  witnessType() {
3922
3930
  const t = this.bb.__offset(this.bb_pos, 14);
@@ -5241,7 +5249,7 @@ class Js {
5241
5249
  );
5242
5250
  }
5243
5251
  }
5244
- class ct {
5252
+ class dt {
5245
5253
  constructor() {
5246
5254
  this.bb = null, this.bb_pos = 0;
5247
5255
  }
@@ -5249,10 +5257,10 @@ class ct {
5249
5257
  return this.bb_pos = t, this.bb = s, this;
5250
5258
  }
5251
5259
  static getRootAsPreRefEvent(t, s) {
5252
- return (s || new ct()).__init(t.readInt32(t.position()) + t.position(), t);
5260
+ return (s || new dt()).__init(t.readInt32(t.position()) + t.position(), t);
5253
5261
  }
5254
5262
  static getSizePrefixedRootAsPreRefEvent(t, s) {
5255
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ct()).__init(t.readInt32(t.position()) + t.position(), t);
5263
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new dt()).__init(t.readInt32(t.position()) + t.position(), t);
5256
5264
  }
5257
5265
  id(t) {
5258
5266
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -5283,7 +5291,7 @@ class ct {
5283
5291
  return t.requiredField(s, 4), s;
5284
5292
  }
5285
5293
  static createPreRefEvent(t, s, e, i) {
5286
- return ct.startPreRefEvent(t), ct.addId(t, s), ct.addRelay(t, e), ct.addMarker(t, i), ct.endPreRefEvent(t);
5294
+ return dt.startPreRefEvent(t), dt.addId(t, s), dt.addRelay(t, e), dt.addMarker(t, i), dt.endPreRefEvent(t);
5287
5295
  }
5288
5296
  unpack() {
5289
5297
  return new $s(
@@ -5302,7 +5310,7 @@ class $s {
5302
5310
  }
5303
5311
  pack(t) {
5304
5312
  const s = this.id !== null ? t.createString(this.id) : 0, e = this.relay !== null ? t.createString(this.relay) : 0, i = this.marker !== null ? t.createString(this.marker) : 0;
5305
- return ct.createPreRefEvent(
5313
+ return dt.createPreRefEvent(
5306
5314
  t,
5307
5315
  s,
5308
5316
  e,
@@ -5429,7 +5437,7 @@ class f {
5429
5437
  }
5430
5438
  events(t, s) {
5431
5439
  const e = this.bb.__offset(this.bb_pos, 48);
5432
- return e ? (s || new ct()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
5440
+ return e ? (s || new dt()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + e) + t * 4), this.bb) : null;
5433
5441
  }
5434
5442
  eventsLength() {
5435
5443
  const t = this.bb.__offset(this.bb_pos, 48);
@@ -5701,7 +5709,7 @@ function Wt(n, t) {
5701
5709
  case "Kind17375Parsed":
5702
5710
  return t(new X());
5703
5711
  case "Kind7374Parsed":
5704
- return t(new at());
5712
+ return t(new ht());
5705
5713
  case "Kind7375Parsed":
5706
5714
  return t(new H());
5707
5715
  case "Kind7376Parsed":
@@ -6115,7 +6123,7 @@ class ee {
6115
6123
  );
6116
6124
  }
6117
6125
  }
6118
- class dt {
6126
+ class bt {
6119
6127
  constructor() {
6120
6128
  this.bb = null, this.bb_pos = 0;
6121
6129
  }
@@ -6123,10 +6131,10 @@ class dt {
6123
6131
  return this.bb_pos = t, this.bb = s, this;
6124
6132
  }
6125
6133
  static getRootAsConnectionStatus(t, s) {
6126
- return (s || new dt()).__init(t.readInt32(t.position()) + t.position(), t);
6134
+ return (s || new bt()).__init(t.readInt32(t.position()) + t.position(), t);
6127
6135
  }
6128
6136
  static getSizePrefixedRootAsConnectionStatus(t, s) {
6129
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new dt()).__init(t.readInt32(t.position()) + t.position(), t);
6137
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new bt()).__init(t.readInt32(t.position()) + t.position(), t);
6130
6138
  }
6131
6139
  relayUrl(t) {
6132
6140
  const s = this.bb.__offset(this.bb_pos, 4);
@@ -6157,7 +6165,7 @@ class dt {
6157
6165
  return t.requiredField(s, 4), t.requiredField(s, 6), s;
6158
6166
  }
6159
6167
  static createConnectionStatus(t, s, e, i) {
6160
- return dt.startConnectionStatus(t), dt.addRelayUrl(t, s), dt.addStatus(t, e), dt.addMessage(t, i), dt.endConnectionStatus(t);
6168
+ return bt.startConnectionStatus(t), bt.addRelayUrl(t, s), bt.addStatus(t, e), bt.addMessage(t, i), bt.endConnectionStatus(t);
6161
6169
  }
6162
6170
  unpack() {
6163
6171
  return new ie(
@@ -6176,7 +6184,7 @@ class ie {
6176
6184
  }
6177
6185
  pack(t) {
6178
6186
  const s = this.relayUrl !== null ? t.createString(this.relayUrl) : 0, e = this.status !== null ? t.createString(this.status) : 0, i = this.message !== null ? t.createString(this.message) : 0;
6179
- return dt.createConnectionStatus(
6187
+ return bt.createConnectionStatus(
6180
6188
  t,
6181
6189
  s,
6182
6190
  e,
@@ -6184,7 +6192,7 @@ class ie {
6184
6192
  );
6185
6193
  }
6186
6194
  }
6187
- class bt {
6195
+ class ft {
6188
6196
  constructor() {
6189
6197
  this.bb = null, this.bb_pos = 0;
6190
6198
  }
@@ -6192,10 +6200,10 @@ class bt {
6192
6200
  return this.bb_pos = t, this.bb = s, this;
6193
6201
  }
6194
6202
  static getRootAsCountResponse(t, s) {
6195
- return (s || new bt()).__init(t.readInt32(t.position()) + t.position(), t);
6203
+ return (s || new ft()).__init(t.readInt32(t.position()) + t.position(), t);
6196
6204
  }
6197
6205
  static getSizePrefixedRootAsCountResponse(t, s) {
6198
- return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new bt()).__init(t.readInt32(t.position()) + t.position(), t);
6206
+ return t.setPosition(t.position() + c.SIZE_PREFIX_LENGTH), (s || new ft()).__init(t.readInt32(t.position()) + t.position(), t);
6199
6207
  }
6200
6208
  count() {
6201
6209
  const t = this.bb.__offset(this.bb_pos, 4);
@@ -6225,7 +6233,7 @@ class bt {
6225
6233
  return t.endObject();
6226
6234
  }
6227
6235
  static createCountResponse(t, s, e, i) {
6228
- return bt.startCountResponse(t), bt.addCount(t, s), bt.addKind(t, e), bt.addYou(t, i), bt.endCountResponse(t);
6236
+ return ft.startCountResponse(t), ft.addCount(t, s), ft.addKind(t, e), ft.addYou(t, i), ft.endCountResponse(t);
6229
6237
  }
6230
6238
  unpack() {
6231
6239
  return new ne(
@@ -6243,7 +6251,7 @@ class ne {
6243
6251
  this.count = t, this.kind = s, this.you = e;
6244
6252
  }
6245
6253
  pack(t) {
6246
- return bt.createCountResponse(
6254
+ return ft.createCountResponse(
6247
6255
  t,
6248
6256
  this.count,
6249
6257
  this.kind,
@@ -6602,9 +6610,9 @@ function Qt(n, t) {
6602
6610
  case "NostrEvent":
6603
6611
  return t(new w());
6604
6612
  case "ConnectionStatus":
6605
- return t(new dt());
6606
- case "CountResponse":
6607
6613
  return t(new bt());
6614
+ case "CountResponse":
6615
+ return t(new ft());
6608
6616
  case "Eoce":
6609
6617
  return t(new wt());
6610
6618
  case "BufferFull":
@@ -6722,12 +6730,12 @@ class be {
6722
6730
  }
6723
6731
  export {
6724
6732
  _s as $,
6725
- R as A,
6733
+ U as A,
6726
6734
  St as B,
6727
- dt as C,
6728
- L as D,
6735
+ bt as C,
6736
+ tt as D,
6729
6737
  wt as E,
6730
- P as F,
6738
+ R as F,
6731
6739
  Ht as G,
6732
6740
  Rt as H,
6733
6741
  nt as I,
@@ -6749,14 +6757,14 @@ export {
6749
6757
  rs as Y,
6750
6758
  hs as Z,
6751
6759
  ds as _,
6752
- bt as a,
6753
- ct as a$,
6760
+ ft as a,
6761
+ dt as a$,
6754
6762
  g as a0,
6755
6763
  se as a1,
6756
6764
  $t as a2,
6757
6765
  Jt as a3,
6758
6766
  ie as a4,
6759
- ot as a5,
6767
+ rt as a5,
6760
6768
  ws as a6,
6761
6769
  C as a7,
6762
6770
  B as a8,
@@ -6777,7 +6785,7 @@ export {
6777
6785
  mt as aN,
6778
6786
  ms as aO,
6779
6787
  Kt as aP,
6780
- ft as aQ,
6788
+ lt as aQ,
6781
6789
  ns as aR,
6782
6790
  gt as aS,
6783
6791
  ce as aT,
@@ -6789,7 +6797,7 @@ export {
6789
6797
  it as aZ,
6790
6798
  Js as a_,
6791
6799
  ne as aa,
6792
- ht as ab,
6800
+ ct as ab,
6793
6801
  Ns as ac,
6794
6802
  _t as ad,
6795
6803
  Fs as ae,
@@ -6824,7 +6832,7 @@ export {
6824
6832
  re as b6,
6825
6833
  ae as b7,
6826
6834
  Nt as b8,
6827
- rt as b9,
6835
+ at as b9,
6828
6836
  es as ba,
6829
6837
  Ct as bb,
6830
6838
  he as bc,
@@ -6845,22 +6853,22 @@ export {
6845
6853
  Et as f,
6846
6854
  M as g,
6847
6855
  G as h,
6848
- _ as i,
6849
- N as j,
6850
- It as k,
6851
- W as l,
6852
- X as m,
6853
- at as n,
6854
- H as o,
6855
- v as p,
6856
- I as q,
6857
- F as r,
6858
- f as s,
6859
- qt as t,
6860
- yt as u,
6861
- Vt as v,
6862
- lt as w,
6863
- Lt as x,
6864
- U as y,
6865
- tt as z
6856
+ P as i,
6857
+ L as j,
6858
+ _ as k,
6859
+ N as l,
6860
+ It as m,
6861
+ W as n,
6862
+ X as o,
6863
+ ht as p,
6864
+ H as q,
6865
+ v as r,
6866
+ I as s,
6867
+ F as t,
6868
+ f as u,
6869
+ qt as v,
6870
+ yt as w,
6871
+ Vt as x,
6872
+ ot as y,
6873
+ Lt as z
6866
6874
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candypoets/nipworker",
3
- "version": "0.92.0",
3
+ "version": "0.94.0",
4
4
  "description": "Nostr client library with worker-based architecture using Rust WASM",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",