@colyseus/sdk 0.17.27 → 0.17.28
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/build/3rd_party/discord.cjs +1 -1
- package/build/3rd_party/discord.mjs +1 -1
- package/build/Auth.cjs +1 -1
- package/build/Auth.mjs +1 -1
- package/build/Client.cjs +1 -1
- package/build/Client.mjs +1 -1
- package/build/Connection.cjs +1 -1
- package/build/Connection.mjs +1 -1
- package/build/HTTP.cjs +3 -3
- package/build/HTTP.cjs.map +1 -1
- package/build/HTTP.mjs +2 -2
- package/build/HTTP.mjs.map +1 -1
- package/build/Room.cjs +1 -1
- package/build/Room.mjs +1 -1
- package/build/Storage.cjs +1 -1
- package/build/Storage.mjs +1 -1
- package/build/core/nanoevents.cjs +1 -1
- package/build/core/nanoevents.mjs +1 -1
- package/build/core/signal.cjs +1 -1
- package/build/core/signal.mjs +1 -1
- package/build/core/utils.cjs +1 -1
- package/build/core/utils.mjs +1 -1
- package/build/debug.cjs +1 -1
- package/build/debug.mjs +1 -1
- package/build/errors/Errors.cjs +1 -1
- package/build/errors/Errors.mjs +1 -1
- package/build/index.cjs +1 -1
- package/build/index.mjs +1 -1
- package/build/legacy.cjs +1 -1
- package/build/legacy.mjs +1 -1
- package/build/serializer/NoneSerializer.cjs +1 -1
- package/build/serializer/NoneSerializer.mjs +1 -1
- package/build/serializer/SchemaSerializer.cjs +1 -1
- package/build/serializer/SchemaSerializer.mjs +1 -1
- package/build/serializer/Serializer.cjs +1 -1
- package/build/serializer/Serializer.mjs +1 -1
- package/build/transport/H3Transport.cjs +1 -1
- package/build/transport/H3Transport.mjs +1 -1
- package/build/transport/WebSocketTransport.cjs +1 -1
- package/build/transport/WebSocketTransport.mjs +1 -1
- package/dist/colyseus-cocos-creator.js +3 -3
- package/dist/colyseus-cocos-creator.js.map +1 -1
- package/dist/colyseus.js +3 -3
- package/dist/colyseus.js.map +1 -1
- package/dist/debug.js +3 -3
- package/dist/debug.js.map +1 -1
- package/package.json +3 -3
- package/src/HTTP.ts +2 -2
package/dist/debug.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This software is released under the MIT License.
|
|
4
4
|
// https://opensource.org/license/MIT
|
|
5
5
|
//
|
|
6
|
-
// colyseus.js@0.17.
|
|
6
|
+
// colyseus.js@0.17.28
|
|
7
7
|
(function (sharedTypes, schema, msgpackr, NodeWebSocket) {
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
@@ -1308,7 +1308,7 @@
|
|
|
1308
1308
|
}
|
|
1309
1309
|
executeRequest(method, path, requestOptions) {
|
|
1310
1310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1311
|
-
var _a, _b, _c;
|
|
1311
|
+
var _a, _b, _c, _d;
|
|
1312
1312
|
//
|
|
1313
1313
|
// FIXME: if FormData is provided, merging "baseOptions.body" with
|
|
1314
1314
|
// "options.body" will not work as intended
|
|
@@ -1371,7 +1371,7 @@
|
|
|
1371
1371
|
data = yield raw.blob();
|
|
1372
1372
|
}
|
|
1373
1373
|
if (!raw.ok) {
|
|
1374
|
-
throw new ServerError((_b = data.code) !== null && _b !== void 0 ? _b : raw.status, (_c = data.
|
|
1374
|
+
throw new ServerError((_b = data.code) !== null && _b !== void 0 ? _b : raw.status, (_d = (_c = data.error) !== null && _c !== void 0 ? _c : data.message) !== null && _d !== void 0 ? _d : raw.statusText, {
|
|
1375
1375
|
headers: raw.headers,
|
|
1376
1376
|
status: raw.status,
|
|
1377
1377
|
response: raw,
|