@dmarket/p2p-tracker-headless 1.2.1-SNAPSHOT-development.165 → 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.
- package/dmarket-p2p-tracker-core-domain.mjs +3159 -2269
- package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +28 -28
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +8 -8
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/p2p-tracker-core.mjs +8534 -8079
- package/p2p-tracker-core.mjs.map +1 -1
- package/p2p-tracker-headless.mjs +777 -777
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -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
|
}
|
|
@@ -10877,6 +10877,9 @@ function plus_7(_this__u8e3s4, pair) {
|
|
|
10877
10877
|
}
|
|
10878
10878
|
return tmp;
|
|
10879
10879
|
}
|
|
10880
|
+
function getValue(_this__u8e3s4, key) {
|
|
10881
|
+
return getOrImplicitDefault(_this__u8e3s4, key);
|
|
10882
|
+
}
|
|
10880
10883
|
function toMap_0(_this__u8e3s4) {
|
|
10881
10884
|
var tmp;
|
|
10882
10885
|
switch (_this__u8e3s4.g1()) {
|
|
@@ -10894,9 +10897,6 @@ function toMap_0(_this__u8e3s4) {
|
|
|
10894
10897
|
}
|
|
10895
10898
|
return tmp;
|
|
10896
10899
|
}
|
|
10897
|
-
function getValue(_this__u8e3s4, key) {
|
|
10898
|
-
return getOrImplicitDefault(_this__u8e3s4, key);
|
|
10899
|
-
}
|
|
10900
10900
|
function minus_1(_this__u8e3s4, key) {
|
|
10901
10901
|
// Inline function 'kotlin.apply' call
|
|
10902
10902
|
var this_0 = toMutableMap(_this__u8e3s4);
|
|
@@ -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:
|