@titanpl/native 6.0.0 → 6.0.1
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 +0 -1
- package/package.json +1 -1
- package/t.native.d.ts +2 -2
package/README.md
CHANGED
|
@@ -8,4 +8,3 @@ It acts as the low-level communication bridge offering type definitions and util
|
|
|
8
8
|
## How it works
|
|
9
9
|
You can import tools and primitives from this package into your server-side actions alongside `@titanpl/core` when you want direct low-level interaction or need access to platform operations that interact directly with the C/Rust engine.
|
|
10
10
|
|
|
11
|
-
**Important Note:** Currently, Titan Planet and its entire package ecosystem are only for Windows. The Linux version is in development (dev only) for the new architecture and will be launched later.
|
package/package.json
CHANGED
package/t.native.d.ts
CHANGED
|
@@ -647,12 +647,12 @@ declare global {
|
|
|
647
647
|
*
|
|
648
648
|
* @example
|
|
649
649
|
* ```js
|
|
650
|
-
* export default
|
|
650
|
+
* export default function chat(req) {
|
|
651
651
|
* if (req.event === "open") {
|
|
652
652
|
* t.ws.send(req.socketId, "Welcome!");
|
|
653
653
|
* t.ws.broadcast("Someone joined.");
|
|
654
654
|
* }
|
|
655
|
-
* }
|
|
655
|
+
* }
|
|
656
656
|
* ```
|
|
657
657
|
*/
|
|
658
658
|
ws: {
|