raspberry_games_server_game_logic 1.8.280 → 1.8.282
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/Kosi-Kaverit-kaverit.js +56 -56
- package/Kosi-Kodein-kodein-di.js +504 -504
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1354 -1354
- package/Logic_Debertz-core.js +1510 -1510
- package/Logic_Debertz-engine.js +14618 -14613
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +933 -931
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2183 -2183
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +311 -311
- package/kotlinx-serialization-kotlinx-serialization-core.js +1720 -1720
- package/kotlinx-serialization-kotlinx-serialization-json.js +1306 -1306
- package/ktor-ktor-client-content-negotiation.js +133 -133
- package/ktor-ktor-client-core.js +1515 -1515
- package/ktor-ktor-client-logging.js +278 -278
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +584 -584
- package/ktor-ktor-io.js +1246 -1246
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +136 -136
- package/ktor-ktor-serialization.js +62 -62
- package/ktor-ktor-utils.js +489 -489
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +159 -159
- package/raspberry-cardgame-lib-logger.js +24 -13
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +773 -773
- package/secure-random-secure-random.js +5 -5
- package/uuid.js +11 -11
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
}
|
|
59
59
|
function _get_isNode__xss3j($this) {
|
|
60
60
|
// Inline function 'kotlin.getValue' call
|
|
61
|
-
var this_0 = $this.
|
|
61
|
+
var this_0 = $this.d5m_1;
|
|
62
62
|
isNode$factory();
|
|
63
63
|
return this_0.u();
|
|
64
64
|
}
|
|
65
65
|
function _get_crypto__fwud1y($this) {
|
|
66
66
|
// Inline function 'kotlin.getValue' call
|
|
67
|
-
var this_0 = $this.
|
|
67
|
+
var this_0 = $this.e5m_1;
|
|
68
68
|
crypto$factory();
|
|
69
69
|
return this_0.u();
|
|
70
70
|
}
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
function Companion() {
|
|
78
78
|
Companion_instance = this;
|
|
79
79
|
var tmp = this;
|
|
80
|
-
tmp.
|
|
80
|
+
tmp.d5m_1 = lazy(SecureRandom$Companion$isNode$delegate$lambda);
|
|
81
81
|
var tmp_0 = this;
|
|
82
|
-
tmp_0.
|
|
82
|
+
tmp_0.e5m_1 = lazy(SecureRandom$Companion$crypto$delegate$lambda);
|
|
83
83
|
}
|
|
84
84
|
var Companion_instance;
|
|
85
85
|
function Companion_getInstance() {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
function SecureRandom() {
|
|
91
91
|
Companion_getInstance();
|
|
92
92
|
}
|
|
93
|
-
protoOf(SecureRandom).
|
|
93
|
+
protoOf(SecureRandom).f5m = function (bytes) {
|
|
94
94
|
$l$block: {
|
|
95
95
|
// Inline function 'org.kotlincrypto.internal.ifNotNullOrEmpty' call
|
|
96
96
|
// Inline function 'kotlin.contracts.contract' call
|
package/uuid.js
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
function Companion() {
|
|
64
64
|
Companion_instance = this;
|
|
65
|
-
this.
|
|
65
|
+
this.g5m_1 = listOf([until(0, 4), until(4, 6), until(6, 8), until(8, 10), until(10, 16)]);
|
|
66
66
|
}
|
|
67
67
|
var Companion_instance;
|
|
68
68
|
function Companion_getInstance() {
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
}
|
|
73
73
|
function Uuid(uuidBytes) {
|
|
74
74
|
Companion_getInstance();
|
|
75
|
-
this.
|
|
75
|
+
this.h5m_1 = uuidBytes;
|
|
76
76
|
// Inline function 'kotlin.require' call
|
|
77
77
|
// Inline function 'kotlin.collections.count' call
|
|
78
78
|
// Inline function 'kotlin.contracts.contract' call
|
|
79
|
-
if (!(this.
|
|
79
|
+
if (!(this.h5m_1.length === 16)) {
|
|
80
80
|
// Inline function 'com.benasher44.uuid.Uuid.<anonymous>' call
|
|
81
81
|
// Inline function 'kotlin.collections.count' call
|
|
82
|
-
var message = 'Invalid UUID bytes. Expected 16 bytes; found ' + this.
|
|
82
|
+
var message = 'Invalid UUID bytes. Expected 16 bytes; found ' + this.h5m_1.length;
|
|
83
83
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
84
84
|
}
|
|
85
85
|
freeze(this);
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
protoOf(Uuid).toString = function () {
|
|
88
88
|
var characters = charArray(36);
|
|
89
89
|
var charIndex = 0;
|
|
90
|
-
var tmp0_iterator = Companion_getInstance().
|
|
90
|
+
var tmp0_iterator = Companion_getInstance().g5m_1.j();
|
|
91
91
|
while (tmp0_iterator.k()) {
|
|
92
92
|
var range = tmp0_iterator.l();
|
|
93
93
|
var inductionVariable = range.a1_1;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
do {
|
|
97
97
|
var i = inductionVariable;
|
|
98
98
|
inductionVariable = inductionVariable + 1 | 0;
|
|
99
|
-
var octetPair = this.
|
|
99
|
+
var octetPair = this.h5m_1[i];
|
|
100
100
|
var left = octetPair >> 4 & 15;
|
|
101
101
|
var right = octetPair & 15;
|
|
102
102
|
var tmp2 = charIndex;
|
|
@@ -118,22 +118,22 @@
|
|
|
118
118
|
protoOf(Uuid).equals = function (other) {
|
|
119
119
|
var tmp;
|
|
120
120
|
if (other instanceof Uuid) {
|
|
121
|
-
tmp = contentEquals(this.
|
|
121
|
+
tmp = contentEquals(this.h5m_1, other.h5m_1);
|
|
122
122
|
} else {
|
|
123
123
|
tmp = false;
|
|
124
124
|
}
|
|
125
125
|
return tmp;
|
|
126
126
|
};
|
|
127
127
|
protoOf(Uuid).hashCode = function () {
|
|
128
|
-
return contentHashCode(this.
|
|
128
|
+
return contentHashCode(this.h5m_1);
|
|
129
129
|
};
|
|
130
|
-
protoOf(Uuid).
|
|
130
|
+
protoOf(Uuid).i5m = function (other) {
|
|
131
131
|
var inductionVariable = 0;
|
|
132
132
|
if (inductionVariable < 16)
|
|
133
133
|
do {
|
|
134
134
|
var i = inductionVariable;
|
|
135
135
|
inductionVariable = inductionVariable + 1 | 0;
|
|
136
|
-
var compareResult = compareTo(this.
|
|
136
|
+
var compareResult = compareTo(this.h5m_1[i], other.h5m_1[i]);
|
|
137
137
|
if (!(compareResult === 0))
|
|
138
138
|
return compareResult;
|
|
139
139
|
}
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
return 0;
|
|
142
142
|
};
|
|
143
143
|
protoOf(Uuid).d = function (other) {
|
|
144
|
-
return this.
|
|
144
|
+
return this.i5m(other instanceof Uuid ? other : THROW_CCE());
|
|
145
145
|
};
|
|
146
146
|
function uuid4() {
|
|
147
147
|
// Inline function 'com.benasher44.uuid.setVersion' call
|