@dmarket/p2p-tracker-headless 1.3.0-beta → 1.3.1-SNAPSHOT-development.206

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 (64) hide show
  1. package/VERSION +6 -6
  2. package/dmarket-p2p-tracker-core-domain.mjs +3159 -2269
  3. package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
  4. package/kotlin-kotlin-stdlib.mjs +29 -29
  5. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  6. package/kotlinx-coroutines-core.mjs +8 -8
  7. package/kotlinx-coroutines-core.mjs.map +1 -1
  8. package/ktor-ktor-websockets.mjs +2 -2
  9. package/p2p-tracker-core.mjs +8471 -8006
  10. package/p2p-tracker-core.mjs.map +1 -1
  11. package/p2p-tracker-headless.mjs +777 -777
  12. package/p2p-tracker-headless.mjs.map +1 -1
  13. package/package.json +1 -1
  14. package/pkg/README.md +27 -23
  15. package/pkg/client_wasm.d.ts +37 -2
  16. package/pkg/client_wasm.js +24 -5
  17. package/pkg/client_wasm_bg.wasm +0 -0
  18. package/pkg/client_wasm_bg.wasm.d.ts +1 -0
  19. package/pkg/snippets/web-spawn-05868593a72e2d44/js/spawn.js +2 -2
  20. package/pkg/spawn.js +4 -4
  21. package/transport/README.md +203 -16
  22. package/transport/dist/channel.d.ts +23 -3
  23. package/transport/dist/channel.d.ts.map +1 -1
  24. package/transport/dist/channel.js +3 -3
  25. package/transport/dist/channel.js.map +1 -1
  26. package/transport/dist/egress.d.ts +33 -0
  27. package/transport/dist/egress.d.ts.map +1 -0
  28. package/transport/dist/egress.js +311 -0
  29. package/transport/dist/egress.js.map +1 -0
  30. package/transport/dist/index.d.ts +5 -3
  31. package/transport/dist/index.d.ts.map +1 -1
  32. package/transport/dist/index.js +3 -2
  33. package/transport/dist/index.js.map +1 -1
  34. package/transport/dist/node-bridge.d.ts +12 -0
  35. package/transport/dist/node-bridge.d.ts.map +1 -0
  36. package/transport/dist/node-bridge.js +181 -0
  37. package/transport/dist/node-bridge.js.map +1 -0
  38. package/transport/dist/node-prover.d.ts +39 -0
  39. package/transport/dist/node-prover.d.ts.map +1 -0
  40. package/transport/dist/node-prover.js +124 -0
  41. package/transport/dist/node-prover.js.map +1 -0
  42. package/transport/dist/node-runtime.d.ts +11 -0
  43. package/transport/dist/node-runtime.d.ts.map +1 -0
  44. package/transport/dist/node-runtime.js +120 -0
  45. package/transport/dist/node-runtime.js.map +1 -0
  46. package/transport/dist/node-socket.d.ts +17 -0
  47. package/transport/dist/node-socket.d.ts.map +1 -0
  48. package/transport/dist/node-socket.js +109 -0
  49. package/transport/dist/node-socket.js.map +1 -0
  50. package/transport/dist/node-worker.d.ts +2 -0
  51. package/transport/dist/node-worker.d.ts.map +1 -0
  52. package/transport/dist/node-worker.js +75 -0
  53. package/transport/dist/node-worker.js.map +1 -0
  54. package/transport/dist/node.d.ts +9 -3
  55. package/transport/dist/node.d.ts.map +1 -1
  56. package/transport/dist/node.js +5 -61
  57. package/transport/dist/node.js.map +1 -1
  58. package/transport/dist/prover.d.ts +18 -2
  59. package/transport/dist/prover.d.ts.map +1 -1
  60. package/transport/dist/prover.js +33 -11
  61. package/transport/dist/prover.js.map +1 -1
  62. package/transport/dist/types.d.ts +24 -0
  63. package/transport/dist/types.d.ts.map +1 -1
  64. package/transport/package.json +4 -1
@@ -105,8 +105,8 @@ initMetadataForInterface(KtMap, 'Map');
105
105
  initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
106
106
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
107
107
  initMetadataForInterface(MutableIterable, 'MutableIterable');
108
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
109
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
108
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
109
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
110
110
  initMetadataForCompanion(Companion_2);
111
111
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
112
112
  initMetadataForCompanion(Companion_3);
@@ -128,7 +128,7 @@ initMetadataForInterface(AutoCloseable, 'AutoCloseable');
128
128
  initMetadataForInterface(Comparator, 'Comparator');
129
129
  initMetadataForObject(Unit, 'Unit');
130
130
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
131
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
131
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
132
132
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
133
133
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
134
134
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -141,7 +141,7 @@ initMetadataForCompanion(Companion_4);
141
141
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
142
142
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
143
143
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
144
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
144
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
145
145
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
146
146
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
147
147
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -712,6 +712,18 @@ function indexOf(_this__u8e3s4, element) {
712
712
  function get_indices_0(_this__u8e3s4) {
713
713
  return new IntRange(0, get_lastIndex_1(_this__u8e3s4));
714
714
  }
715
+ function filterNotNullTo(_this__u8e3s4, destination) {
716
+ var inductionVariable = 0;
717
+ var last = _this__u8e3s4.length;
718
+ while (inductionVariable < last) {
719
+ var element = _this__u8e3s4[inductionVariable];
720
+ inductionVariable = inductionVariable + 1 | 0;
721
+ if (!(element == null)) {
722
+ destination.e1(element);
723
+ }
724
+ }
725
+ return destination;
726
+ }
715
727
  function contains_0(_this__u8e3s4, element) {
716
728
  return indexOf_0(_this__u8e3s4, element) >= 0;
717
729
  }
@@ -740,28 +752,6 @@ function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncate
740
752
  function filterNotNull(_this__u8e3s4) {
741
753
  return filterNotNullTo(_this__u8e3s4, ArrayList_init_$Create$());
742
754
  }
743
- function filterNotNullTo(_this__u8e3s4, destination) {
744
- var inductionVariable = 0;
745
- var last = _this__u8e3s4.length;
746
- while (inductionVariable < last) {
747
- var element = _this__u8e3s4[inductionVariable];
748
- inductionVariable = inductionVariable + 1 | 0;
749
- if (!(element == null)) {
750
- destination.e1(element);
751
- }
752
- }
753
- return destination;
754
- }
755
- function toCollection(_this__u8e3s4, destination) {
756
- var inductionVariable = 0;
757
- var last = _this__u8e3s4.length;
758
- while (inductionVariable < last) {
759
- var item = _this__u8e3s4[inductionVariable];
760
- inductionVariable = inductionVariable + 1 | 0;
761
- destination.e1(item);
762
- }
763
- return destination;
764
- }
765
755
  function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
766
756
  separator = separator === VOID ? ', ' : separator;
767
757
  prefix = prefix === VOID ? '' : prefix;
@@ -774,6 +764,16 @@ function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, trunca
774
764
  function get_lastIndex_0(_this__u8e3s4) {
775
765
  return _this__u8e3s4.length - 1 | 0;
776
766
  }
767
+ function toCollection(_this__u8e3s4, destination) {
768
+ var inductionVariable = 0;
769
+ var last = _this__u8e3s4.length;
770
+ while (inductionVariable < last) {
771
+ var item = _this__u8e3s4[inductionVariable];
772
+ inductionVariable = inductionVariable + 1 | 0;
773
+ destination.e1(item);
774
+ }
775
+ return destination;
776
+ }
777
777
  function get_lastIndex_1(_this__u8e3s4) {
778
778
  return _this__u8e3s4.length - 1 | 0;
779
779
  }
@@ -11375,15 +11375,15 @@ function generateSequence$lambda($seed) {
11375
11375
  return $seed;
11376
11376
  };
11377
11377
  }
11378
+ function setOf_0(elements) {
11379
+ return toSet(elements);
11380
+ }
11378
11381
  function emptySet() {
11379
11382
  return EmptySet_getInstance();
11380
11383
  }
11381
11384
  function setOfNotNull(elements) {
11382
11385
  return filterNotNullTo(elements, LinkedHashSet_init_$Create$());
11383
11386
  }
11384
- function setOf_0(elements) {
11385
- return toSet(elements);
11386
- }
11387
11387
  function optimizeReadOnlySet(_this__u8e3s4) {
11388
11388
  switch (_this__u8e3s4.g1()) {
11389
11389
  case 0: