game_client_logic_deb 1.8.246 → 1.8.247
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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +13 -12
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
|
@@ -1805,7 +1805,7 @@ export declare interface ParserHelper {
|
|
|
1805
1805
|
encodeGameMetadata(metadata: games.jass.logic.data.models.table.history.GameHistoryMetadata): string;
|
|
1806
1806
|
encodeRoomConfig(config: models.RoomConfig): string;
|
|
1807
1807
|
decodeTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
|
|
1808
|
-
decodeFullGameHistoryToTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
|
|
1808
|
+
decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
|
|
1809
1809
|
readonly __doNotUseOrImplementIt: {
|
|
1810
1810
|
readonly ParserHelper: unique symbol;
|
|
1811
1811
|
};
|
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -57,6 +57,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
57
57
|
};
|
|
58
58
|
}(Math.log, Math.LN2);
|
|
59
59
|
}
|
|
60
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
61
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
62
|
+
position = position || 0;
|
|
63
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
64
|
+
}});
|
|
65
|
+
}
|
|
60
66
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
61
67
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
62
68
|
var subjectString = this.toString();
|
|
@@ -68,12 +74,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
68
74
|
return lastIndex !== -1 && lastIndex === position;
|
|
69
75
|
}});
|
|
70
76
|
}
|
|
71
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
72
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
73
|
-
position = position || 0;
|
|
74
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
75
|
-
}});
|
|
76
|
-
}
|
|
77
77
|
//endregion
|
|
78
78
|
(function (factory) {
|
|
79
79
|
if (typeof define === 'function' && define.amd)
|