colyseus 0.16.5 → 0.17.0
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/index.js +5 -4
- package/build/index.js.map +1 -1
- package/package.json +17 -10
- /package/build/{index.d.ts → src/index.d.ts} +0 -0
package/build/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -16,13 +17,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
17
|
};
|
|
17
18
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
20
|
+
var index_exports = {};
|
|
21
|
+
__export(index_exports, {
|
|
21
22
|
RedisDriver: () => import_redis_driver.RedisDriver,
|
|
22
23
|
RedisPresence: () => import_redis_presence.RedisPresence
|
|
23
24
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
25
|
-
__reExport(
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
|
+
__reExport(index_exports, require("@colyseus/core"), module.exports);
|
|
26
27
|
var import_core = require("@colyseus/core");
|
|
27
28
|
var import_ws_transport = require("@colyseus/ws-transport");
|
|
28
29
|
var import_redis_presence = require("@colyseus/redis-presence");
|
package/build/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from \"@colyseus/core\";\n\n//\n// 0.14.x compatibility:\n// each \"presence\", \"transport\", and \"driver\" implementation have been extracted from the core.\n//\nimport { Server } from '@colyseus/core';\nimport { WebSocketTransport } from '@colyseus/ws-transport';\nServer.prototype['getDefaultTransport'] = function(options: any) {\n return new WebSocketTransport(options);\n}\nexport { RedisPresence } from '@colyseus/redis-presence';\nexport { RedisDriver } from '@colyseus/redis-driver';\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAc,2BAAd;AAMA,kBAAuB;AACvB,0BAAmC;AAInC,4BAA8B;AAC9B,0BAA4B;AAJ5B,mBAAO,UAAU,qBAAqB,IAAI,SAAS,SAAc;AAC7D,SAAO,IAAI,uCAAmB,OAAO;AACzC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "colyseus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Multiplayer Framework for Node.js",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"input": "./src/index.ts",
|
|
6
7
|
"main": "./build/index.js",
|
|
7
8
|
"module": "./build/index.mjs",
|
|
@@ -36,15 +37,21 @@
|
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {},
|
|
38
39
|
"devDependencies": {
|
|
39
|
-
"@colyseus/
|
|
40
|
+
"@colyseus/msgpackr": "*",
|
|
41
|
+
"@colyseus/schema": "^4.0.1",
|
|
40
42
|
"@types/ws": "^8.5.14",
|
|
43
|
+
"zod": "^4.1.12",
|
|
41
44
|
"ws": "^8.18.0",
|
|
42
|
-
"@colyseus/auth": "^0.
|
|
43
|
-
"@colyseus/core": "^0.
|
|
44
|
-
"@colyseus/redis-driver": "^0.
|
|
45
|
-
"@colyseus/
|
|
46
|
-
"@colyseus/
|
|
47
|
-
"@colyseus/
|
|
45
|
+
"@colyseus/auth": "^0.17.0",
|
|
46
|
+
"@colyseus/core": "^0.17.0",
|
|
47
|
+
"@colyseus/redis-driver": "^0.17.0",
|
|
48
|
+
"@colyseus/better-call": "^1.0.26",
|
|
49
|
+
"@colyseus/uwebsockets-transport": "^0.17.0",
|
|
50
|
+
"@colyseus/redis-presence": "^0.17.0",
|
|
51
|
+
"@colyseus/sdk": "^0.17.0",
|
|
52
|
+
"@colyseus/tools": "^0.17.0",
|
|
53
|
+
"@colyseus/ws-transport": "^0.17.0",
|
|
54
|
+
"@colyseus/drizzle-driver": "^0.17.0"
|
|
48
55
|
},
|
|
49
56
|
"peerDependencies": {
|
|
50
57
|
"@colyseus/auth": "0.16.x",
|
|
@@ -53,10 +60,10 @@
|
|
|
53
60
|
"@colyseus/redis-presence": "0.16.x",
|
|
54
61
|
"@colyseus/ws-transport": "0.16.x",
|
|
55
62
|
"@colyseus/uwebsockets-transport": "0.16.x",
|
|
56
|
-
"@colyseus/schema": "^
|
|
63
|
+
"@colyseus/schema": "^4.0.1"
|
|
57
64
|
},
|
|
58
65
|
"gitHead": "25ba61e283429bb4fa02db0454f804ea218259eb",
|
|
59
66
|
"scripts": {
|
|
60
|
-
"test": "
|
|
67
|
+
"test": "COLYSEUS_SEAT_RESERVATION_TIME=0.3 COLYSEUS_PRESENCE_SHORT_TIMEOUT=300 mocha test/**.test.ts test/**/**.test.ts --exit --timeout 15000"
|
|
61
68
|
}
|
|
62
69
|
}
|
|
File without changes
|