colyseus 0.16.0-preview.1 → 0.16.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/README.md +5 -5
- package/build/index.js +2 -1
- package/build/index.js.map +1 -1
- package/build/index.mjs +3 -2
- package/build/index.mjs.map +1 -1
- package/package.json +12 -10
package/README.md
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
<a href="https://npmjs.com/package/colyseus">
|
|
8
8
|
<img src="https://img.shields.io/npm/dm/colyseus.svg?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfjAgETESWYxR33AAAAtElEQVQoz4WQMQrCQBRE38Z0QoTcwF4Qg1h4BO0sxGOk80iCtViksrIQRRBTewWxMI1mbELYjYu+4rPMDPtn12ChMT3gavb4US5Jym0tcBIta3oDHv4Gwmr7nC4QAxBrCdzM2q6XqUnm9m9r59h7Rc0n2pFv24k4ttGMUXW+sGELTJjSr7QDKuqLS6UKFChVWWuFkZw9Z2AAvAirKT+JTlppIRnd6XgaP4goefI2Shj++OnjB3tBmHYK8z9zAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE5LTAyLTAxVDE4OjE3OjM3KzAxOjAwGQQixQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOS0wMi0wMVQxODoxNzozNyswMTowMGhZmnkAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC">
|
|
9
9
|
</a>
|
|
10
|
-
<a href="http://chat.colyseus.io">
|
|
11
|
-
<img src="https://img.shields.io/discord/525739117951320081.svg?style=for-the-badge&colorB=7581dc&logo=discord&logoColor=white">
|
|
12
|
-
</a>
|
|
13
10
|
<a href="https://github.com/colyseus/colyseus/discussions" title="Discuss on Forum">
|
|
14
11
|
<img src="https://img.shields.io/badge/discuss-on%20forum-brightgreen.svg?style=for-the-badge&colorB=0069b8&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfjAgETDROxCNUzAAABB0lEQVQoz4WRvyvEARjGP193CnWRH+dHQmGwKZtFGcSmxHAL400GN95ktIpV2dzlLzDJgsGgGNRdDAzoQueS/PgY3HXHyT3T+/Y87/s89UANBKXBdoZo5J6L4K1K5ZxHfnjnlQUf3bKvkgy57a0r9hS3cXfMO1kWJMza++tj3Ac7/LY343x1NA9cNmYMwnSS/SP8JVFuSJmr44iFqvtmpjhmhBCrOOazCesq6H4P3bPBjFoIBydOk2bUA17I080Es+wSZ51B4DIA2zgjSpYcEe44Js01G0XjRcCU+y4ZMrDeLmfc9EnVd5M/o0VMeu6nJZxWJivLmhyw1WHTvrr2b4+2OFqra+ALwouTMDcqmjMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMDItMDFUMTg6MTM6MTkrMDE6MDAC9f6fAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTAyLTAxVDE4OjEzOjE5KzAxOjAwc6hGIwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=" alt="Discussion forum" />
|
|
15
12
|
</a>
|
|
13
|
+
<a href="http://chat.colyseus.io">
|
|
14
|
+
<img src="https://img.shields.io/discord/525739117951320081.svg?style=for-the-badge&colorB=7581dc&logo=discord&logoColor=white">
|
|
15
|
+
</a>
|
|
16
16
|
<h3>
|
|
17
17
|
Multiplayer Framework for Node.js. <br /><a href="https://docs.colyseus.io/">View documentation</a>
|
|
18
18
|
</h3>
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
Colyseus is an Authoritative Multiplayer Framework for Node.js, with
|
|
22
|
-
available for the Web,
|
|
21
|
+
Colyseus is an Authoritative Multiplayer Framework for Node.js, with clients
|
|
22
|
+
available for the Web, Unity3d, Defold, Haxe, and Cocos. ([See official clients](#%EF%B8%8F-official-client-integration))
|
|
23
23
|
|
|
24
24
|
The project focuses on providing synchronizable data structures for realtime and
|
|
25
25
|
turn-based games, matchmaking, and ease of usage both on the server-side and
|
package/build/index.js
CHANGED
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": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,2BAAd;AAMA,kBAAuB;AACvB,0BAAmC;AAInC,4BAA8B;AAC9B,0BAA4B;AAJ5B,mBAAO,UAAU,
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,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/build/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
// bundles/colyseus/src/index.ts
|
|
1
2
|
export * from "@colyseus/core";
|
|
2
3
|
import { Server } from "@colyseus/core";
|
|
3
4
|
import { WebSocketTransport } from "@colyseus/ws-transport";
|
|
5
|
+
import { RedisPresence } from "@colyseus/redis-presence";
|
|
6
|
+
import { RedisDriver } from "@colyseus/redis-driver";
|
|
4
7
|
Server.prototype["getDefaultTransport"] = function(options) {
|
|
5
8
|
return new WebSocketTransport(options);
|
|
6
9
|
};
|
|
7
|
-
import { RedisPresence } from "@colyseus/redis-presence";
|
|
8
|
-
import { RedisDriver } from "@colyseus/redis-driver";
|
|
9
10
|
export {
|
|
10
11
|
RedisDriver,
|
|
11
12
|
RedisPresence
|
package/build/index.mjs.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": "AAAA,cAAc;AAMd,SAAS,cAAc;AACvB,SAAS,0BAA0B;
|
|
5
|
+
"mappings": ";AAAA,cAAc;AAMd,SAAS,cAAc;AACvB,SAAS,0BAA0B;AAInC,SAAS,qBAAqB;AAC9B,SAAS,mBAAmB;AAJ5B,OAAO,UAAU,qBAAqB,IAAI,SAAS,SAAc;AAC7D,SAAO,IAAI,mBAAmB,OAAO;AACzC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "colyseus",
|
|
3
|
-
"version": "0.16.0
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Multiplayer Framework for Node.js",
|
|
5
5
|
"input": "./src/index.ts",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -25,20 +25,22 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://colyseus.io/",
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">= 20.x"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@colyseus/
|
|
32
|
-
"@colyseus/
|
|
33
|
-
"@colyseus/redis-presence": "^0.16.0
|
|
34
|
-
"@colyseus/redis-driver": "^0.16.0
|
|
35
|
-
"@colyseus/auth": "^0.16.0
|
|
31
|
+
"@colyseus/core": "^0.16.0",
|
|
32
|
+
"@colyseus/ws-transport": "^0.16.0",
|
|
33
|
+
"@colyseus/redis-presence": "^0.16.0",
|
|
34
|
+
"@colyseus/redis-driver": "^0.16.0",
|
|
35
|
+
"@colyseus/auth": "^0.16.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/ws": "^7.4.4",
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
39
|
+
"ws": "^8.18.0",
|
|
40
|
+
"@colyseus/uwebsockets-transport": "^0.16.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@colyseus/schema": "^3.0.0-alpha.0"
|
|
42
44
|
},
|
|
43
45
|
"gitHead": "25ba61e283429bb4fa02db0454f804ea218259eb",
|
|
44
46
|
"scripts": {
|