@dmarket/p2p-tracker-core 1.3.0-beta → 1.3.1-SNAPSHOT-development.204

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 (68) hide show
  1. package/VERSION +6 -6
  2. package/dmarket-p2p-tracker-core-domain.mjs +3110 -2220
  3. package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
  4. package/kotlin-kotlin-stdlib.mjs +4 -4
  5. package/kotlinx-coroutines-core.mjs +1 -1
  6. package/kotlinx-io-kotlinx-io-bytestring.mjs +30 -30
  7. package/kotlinx-io-kotlinx-io-core.mjs +451 -451
  8. package/ktor-ktor-client-core.mjs +1863 -1863
  9. package/ktor-ktor-events.mjs +5 -5
  10. package/ktor-ktor-http-cio.mjs +313 -313
  11. package/ktor-ktor-http.mjs +626 -626
  12. package/ktor-ktor-io.mjs +607 -607
  13. package/ktor-ktor-utils.mjs +661 -661
  14. package/ktor-ktor-websockets.mjs +365 -365
  15. package/p2p-tracker-core.mjs +7549 -7108
  16. package/p2p-tracker-core.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/pkg/README.md +27 -23
  19. package/pkg/client_wasm.d.ts +37 -2
  20. package/pkg/client_wasm.js +24 -5
  21. package/pkg/client_wasm_bg.wasm +0 -0
  22. package/pkg/client_wasm_bg.wasm.d.ts +1 -0
  23. package/pkg/snippets/web-spawn-05868593a72e2d44/js/spawn.js +2 -2
  24. package/pkg/spawn.js +4 -4
  25. package/transport/README.md +203 -16
  26. package/transport/dist/channel.d.ts +23 -3
  27. package/transport/dist/channel.d.ts.map +1 -1
  28. package/transport/dist/channel.js +3 -3
  29. package/transport/dist/channel.js.map +1 -1
  30. package/transport/dist/egress.d.ts +33 -0
  31. package/transport/dist/egress.d.ts.map +1 -0
  32. package/transport/dist/egress.js +311 -0
  33. package/transport/dist/egress.js.map +1 -0
  34. package/transport/dist/index.d.ts +5 -3
  35. package/transport/dist/index.d.ts.map +1 -1
  36. package/transport/dist/index.js +3 -2
  37. package/transport/dist/index.js.map +1 -1
  38. package/transport/dist/node-bridge.d.ts +12 -0
  39. package/transport/dist/node-bridge.d.ts.map +1 -0
  40. package/transport/dist/node-bridge.js +181 -0
  41. package/transport/dist/node-bridge.js.map +1 -0
  42. package/transport/dist/node-prover.d.ts +39 -0
  43. package/transport/dist/node-prover.d.ts.map +1 -0
  44. package/transport/dist/node-prover.js +124 -0
  45. package/transport/dist/node-prover.js.map +1 -0
  46. package/transport/dist/node-runtime.d.ts +11 -0
  47. package/transport/dist/node-runtime.d.ts.map +1 -0
  48. package/transport/dist/node-runtime.js +120 -0
  49. package/transport/dist/node-runtime.js.map +1 -0
  50. package/transport/dist/node-socket.d.ts +17 -0
  51. package/transport/dist/node-socket.d.ts.map +1 -0
  52. package/transport/dist/node-socket.js +109 -0
  53. package/transport/dist/node-socket.js.map +1 -0
  54. package/transport/dist/node-worker.d.ts +2 -0
  55. package/transport/dist/node-worker.d.ts.map +1 -0
  56. package/transport/dist/node-worker.js +75 -0
  57. package/transport/dist/node-worker.js.map +1 -0
  58. package/transport/dist/node.d.ts +9 -3
  59. package/transport/dist/node.d.ts.map +1 -1
  60. package/transport/dist/node.js +5 -61
  61. package/transport/dist/node.js.map +1 -1
  62. package/transport/dist/prover.d.ts +18 -2
  63. package/transport/dist/prover.d.ts.map +1 -1
  64. package/transport/dist/prover.js +33 -11
  65. package/transport/dist/prover.js.map +1 -1
  66. package/transport/dist/types.d.ts +24 -0
  67. package/transport/dist/types.d.ts.map +1 -1
  68. package/transport/package.json +4 -1
@@ -102,8 +102,8 @@ initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
102
102
  initMetadataForInterface(Entry, 'Entry');
103
103
  initMetadataForInterface(KtMap, 'Map');
104
104
  initMetadataForInterface(MutableIterable, 'MutableIterable');
105
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
106
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
105
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
106
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
107
107
  initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
108
108
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
109
109
  initMetadataForCompanion(Companion_2);
@@ -127,7 +127,7 @@ initMetadataForInterface(AutoCloseable, 'AutoCloseable');
127
127
  initMetadataForInterface(Comparator, 'Comparator');
128
128
  initMetadataForObject(Unit, 'Unit');
129
129
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
130
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
130
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
131
131
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
132
132
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
133
133
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -140,7 +140,7 @@ initMetadataForCompanion(Companion_4);
140
140
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
141
141
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
142
142
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
143
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
143
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
144
144
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
145
145
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
146
146
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -304,7 +304,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
304
304
  initMetadataForClass(Symbol, 'Symbol');
305
305
  initMetadataForInterface(SelectInstance, 'SelectInstance');
306
306
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
307
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
307
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
308
308
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
309
309
  initMetadataForClass(CancellableContinuationWithOwner, 'CancellableContinuationWithOwner', VOID, VOID, [CancellableContinuation, Waiter]);
310
310
  initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
@@ -40,10 +40,10 @@ function ByteString_init_$Create$(data, startIndex, endIndex) {
40
40
  }
41
41
  function Companion() {
42
42
  Companion_instance = this;
43
- this.l3n_1 = new ByteString(new Int8Array(0), null);
44
- this.m3n_1 = toCharArray('0123456789abcdef');
43
+ this.e3p_1 = new ByteString(new Int8Array(0), null);
44
+ this.f3p_1 = toCharArray('0123456789abcdef');
45
45
  }
46
- protoOf(Companion).n3n = function (byteArray) {
46
+ protoOf(Companion).g3p = function (byteArray) {
47
47
  return new ByteString(byteArray, null);
48
48
  };
49
49
  var Companion_instance;
@@ -54,11 +54,11 @@ function Companion_getInstance() {
54
54
  }
55
55
  function ByteString(data, dummy) {
56
56
  Companion_getInstance();
57
- this.o3n_1 = data;
58
- this.p3n_1 = 0;
57
+ this.h3p_1 = data;
58
+ this.i3p_1 = 0;
59
59
  }
60
60
  protoOf(ByteString).e1 = function () {
61
- return this.o3n_1.length;
61
+ return this.h3p_1.length;
62
62
  };
63
63
  protoOf(ByteString).equals = function (other) {
64
64
  if (this === other)
@@ -67,43 +67,43 @@ protoOf(ByteString).equals = function (other) {
67
67
  return false;
68
68
  if (!(other instanceof ByteString))
69
69
  THROW_CCE();
70
- if (!(other.o3n_1.length === this.o3n_1.length))
70
+ if (!(other.h3p_1.length === this.h3p_1.length))
71
71
  return false;
72
- if (!(other.p3n_1 === 0) && !(this.p3n_1 === 0) && !(other.p3n_1 === this.p3n_1))
72
+ if (!(other.i3p_1 === 0) && !(this.i3p_1 === 0) && !(other.i3p_1 === this.i3p_1))
73
73
  return false;
74
- return contentEquals(this.o3n_1, other.o3n_1);
74
+ return contentEquals(this.h3p_1, other.h3p_1);
75
75
  };
76
76
  protoOf(ByteString).hashCode = function () {
77
- var hc = this.p3n_1;
77
+ var hc = this.i3p_1;
78
78
  if (hc === 0) {
79
- hc = contentHashCode(this.o3n_1);
80
- this.p3n_1 = hc;
79
+ hc = contentHashCode(this.h3p_1);
80
+ this.i3p_1 = hc;
81
81
  }
82
82
  return hc;
83
83
  };
84
84
  protoOf(ByteString).f1 = function (index) {
85
85
  if (index < 0 || index >= this.e1())
86
86
  throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.e1() + ')');
87
- return this.o3n_1[index];
87
+ return this.h3p_1[index];
88
88
  };
89
89
  protoOf(ByteString).i1o = function (startIndex, endIndex) {
90
90
  var tmp;
91
91
  if (startIndex === endIndex) {
92
- tmp = Companion_getInstance().l3n_1;
92
+ tmp = Companion_getInstance().e3p_1;
93
93
  } else {
94
- tmp = ByteString_init_$Create$(this.o3n_1, startIndex, endIndex);
94
+ tmp = ByteString_init_$Create$(this.h3p_1, startIndex, endIndex);
95
95
  }
96
96
  return tmp;
97
97
  };
98
- protoOf(ByteString).q3n = function (startIndex, endIndex, $super) {
98
+ protoOf(ByteString).j3p = function (startIndex, endIndex, $super) {
99
99
  endIndex = endIndex === VOID ? this.e1() : endIndex;
100
100
  return $super === VOID ? this.i1o(startIndex, endIndex) : $super.i1o.call(this, startIndex, endIndex);
101
101
  };
102
- protoOf(ByteString).r3n = function (other) {
102
+ protoOf(ByteString).k3p = function (other) {
103
103
  if (other === this)
104
104
  return 0;
105
- var localData = this.o3n_1;
106
- var otherData = other.o3n_1;
105
+ var localData = this.h3p_1;
106
+ var otherData = other.h3p_1;
107
107
  var inductionVariable = 0;
108
108
  var tmp0 = this.e1();
109
109
  // Inline function 'kotlin.math.min' call
@@ -132,7 +132,7 @@ protoOf(ByteString).r3n = function (other) {
132
132
  return compareTo(this.e1(), other.e1());
133
133
  };
134
134
  protoOf(ByteString).d = function (other) {
135
- return this.r3n(other instanceof ByteString ? other : THROW_CCE());
135
+ return this.k3p(other instanceof ByteString ? other : THROW_CCE());
136
136
  };
137
137
  protoOf(ByteString).toString = function () {
138
138
  if (isEmpty(this)) {
@@ -145,7 +145,7 @@ protoOf(ByteString).toString = function () {
145
145
  $this$with.q('ByteString(size=');
146
146
  $this$with.q(sizeStr);
147
147
  $this$with.q(' hex=');
148
- var localData = this.o3n_1;
148
+ var localData = this.h3p_1;
149
149
  var inductionVariable = 0;
150
150
  var last = this.e1();
151
151
  if (inductionVariable < last)
@@ -153,35 +153,35 @@ protoOf(ByteString).toString = function () {
153
153
  var i = inductionVariable;
154
154
  inductionVariable = inductionVariable + 1 | 0;
155
155
  var b = localData[i];
156
- $this$with.s(Companion_getInstance().m3n_1[(b >>> 4 | 0) & 15]);
157
- $this$with.s(Companion_getInstance().m3n_1[b & 15]);
156
+ $this$with.s(Companion_getInstance().f3p_1[(b >>> 4 | 0) & 15]);
157
+ $this$with.s(Companion_getInstance().f3p_1[b & 15]);
158
158
  }
159
159
  while (inductionVariable < last);
160
160
  return $this$with.s(_Char___init__impl__6a9atx(41)).toString();
161
161
  };
162
- protoOf(ByteString).s3n = function () {
163
- return this.o3n_1;
162
+ protoOf(ByteString).l3p = function () {
163
+ return this.h3p_1;
164
164
  };
165
165
  function ByteString_0(bytes) {
166
166
  var tmp;
167
167
  // Inline function 'kotlin.collections.isEmpty' call
168
168
  if (bytes.length === 0) {
169
- tmp = Companion_getInstance().l3n_1;
169
+ tmp = Companion_getInstance().e3p_1;
170
170
  } else {
171
- tmp = Companion_getInstance().n3n(bytes);
171
+ tmp = Companion_getInstance().g3p(bytes);
172
172
  }
173
173
  return tmp;
174
174
  }
175
175
  function decodeToString_0(_this__u8e3s4) {
176
- return decodeToString(_this__u8e3s4.s3n());
176
+ return decodeToString(_this__u8e3s4.l3p());
177
177
  }
178
178
  function isEmpty(_this__u8e3s4) {
179
179
  return _this__u8e3s4.e1() === 0;
180
180
  }
181
181
  function UnsafeByteStringOperations() {
182
182
  }
183
- protoOf(UnsafeByteStringOperations).t3n = function (array) {
184
- return Companion_getInstance().n3n(array);
183
+ protoOf(UnsafeByteStringOperations).m3p = function (array) {
184
+ return Companion_getInstance().g3p(array);
185
185
  };
186
186
  var UnsafeByteStringOperations_instance;
187
187
  function UnsafeByteStringOperations_getInstance() {