@rpgjs/client 5.0.0-alpha.13 → 5.0.0-alpha.14
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/dist/index10.js +1 -1
- package/dist/index15.js +2 -2
- package/dist/index15.js.map +1 -1
- package/dist/index16.js.map +1 -1
- package/dist/index19.js.map +1 -1
- package/dist/index22.js +32 -32
- package/dist/index22.js.map +1 -1
- package/dist/index23.js +2 -2
- package/dist/index23.js.map +1 -1
- package/dist/index30.js.map +1 -1
- package/dist/index31.js.map +1 -1
- package/dist/index33.js +1 -1
- package/dist/index34.js +1 -1
- package/dist/index35.js +184 -9
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +495 -4394
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +9 -171
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +6 -500
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +3680 -67
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +6 -1
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +67 -10
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +3 -93
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +20 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.js +96 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.js +12 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.js +113 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.js +136 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.js +137 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.js +112 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.js +9 -0
- package/dist/index49.js.map +1 -0
- package/dist/services/mmorpg.d.ts +1 -0
- package/package.json +8 -8
- package/src/components/character.ce +3 -2
- package/src/services/mmorpg.ts +7 -1
package/dist/index37.js
CHANGED
|
@@ -1,174 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
let d = /* @__PURE__ */ new Date().getTime();
|
|
11
|
-
let d2 =
|
|
12
|
-
(typeof performance !== "undefined" &&
|
|
13
|
-
performance.now &&
|
|
14
|
-
performance.now() * 1e3) ||
|
|
15
|
-
0;
|
|
16
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
|
|
17
|
-
let r = Math.random() * 16;
|
|
18
|
-
if (d > 0) {
|
|
19
|
-
r = (d + r) % 16 | 0;
|
|
20
|
-
d = Math.floor(d / 16);
|
|
21
|
-
} else {
|
|
22
|
-
r = (d2 + r) % 16 | 0;
|
|
23
|
-
d2 = Math.floor(d2 / 16);
|
|
24
|
-
}
|
|
25
|
-
return (c === "x" ? r : (r & 3) | 8).toString(16);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function getPartyInfo(partySocketOptions, defaultProtocol, defaultParams = {}) {
|
|
29
|
-
const {
|
|
30
|
-
host: rawHost,
|
|
31
|
-
path: rawPath,
|
|
32
|
-
protocol: rawProtocol,
|
|
33
|
-
room,
|
|
34
|
-
party,
|
|
35
|
-
basePath,
|
|
36
|
-
prefix,
|
|
37
|
-
query
|
|
38
|
-
} = partySocketOptions;
|
|
39
|
-
let host = rawHost.replace(/^(http|https|ws|wss):\/\//, "");
|
|
40
|
-
if (host.endsWith("/")) {
|
|
41
|
-
host = host.slice(0, -1);
|
|
42
|
-
}
|
|
43
|
-
if (rawPath == null ? void 0 : rawPath.startsWith("/")) {
|
|
44
|
-
throw new Error("path must not start with a slash");
|
|
45
|
-
}
|
|
46
|
-
const name = party ?? "main";
|
|
47
|
-
const path = rawPath ? `/${rawPath}` : "";
|
|
48
|
-
const protocol =
|
|
49
|
-
rawProtocol ||
|
|
50
|
-
(host.startsWith("localhost:") ||
|
|
51
|
-
host.startsWith("127.0.0.1:") ||
|
|
52
|
-
host.startsWith("192.168.") ||
|
|
53
|
-
host.startsWith("10.") ||
|
|
54
|
-
(host.startsWith("172.") &&
|
|
55
|
-
host.split(".")[1] >= "16" &&
|
|
56
|
-
host.split(".")[1] <= "31") ||
|
|
57
|
-
host.startsWith("[::ffff:7f00:1]:")
|
|
58
|
-
? // http / ws
|
|
59
|
-
defaultProtocol
|
|
60
|
-
: // https / wss
|
|
61
|
-
`${defaultProtocol}s`);
|
|
62
|
-
const baseUrl = `${protocol}://${host}/${basePath || `${prefix || "parties"}/${name}/${room}`}${path}`;
|
|
63
|
-
const makeUrl = (query2 = {}) =>
|
|
64
|
-
`${baseUrl}?${new URLSearchParams([
|
|
65
|
-
...Object.entries(defaultParams),
|
|
66
|
-
...Object.entries(query2).filter(valueIsNotNil)
|
|
67
|
-
])}`;
|
|
68
|
-
const urlProvider =
|
|
69
|
-
typeof query === "function"
|
|
70
|
-
? async () => makeUrl(await query())
|
|
71
|
-
: makeUrl(query);
|
|
72
|
-
return {
|
|
73
|
-
host,
|
|
74
|
-
path,
|
|
75
|
-
room,
|
|
76
|
-
name,
|
|
77
|
-
protocol,
|
|
78
|
-
partyUrl: baseUrl,
|
|
79
|
-
urlProvider
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
var PartySocket = class extends ReconnectingWebSocket {
|
|
83
|
-
constructor(partySocketOptions) {
|
|
84
|
-
const wsOptions = getWSOptions(partySocketOptions);
|
|
85
|
-
super(wsOptions.urlProvider, wsOptions.protocols, wsOptions.socketOptions);
|
|
86
|
-
this.partySocketOptions = partySocketOptions;
|
|
87
|
-
this.setWSProperties(wsOptions);
|
|
88
|
-
}
|
|
89
|
-
_pk;
|
|
90
|
-
_pkurl;
|
|
91
|
-
name;
|
|
92
|
-
room;
|
|
93
|
-
host;
|
|
94
|
-
path;
|
|
95
|
-
updateProperties(partySocketOptions) {
|
|
96
|
-
const wsOptions = getWSOptions({
|
|
97
|
-
...this.partySocketOptions,
|
|
98
|
-
...partySocketOptions,
|
|
99
|
-
host: partySocketOptions.host ?? this.host,
|
|
100
|
-
room: partySocketOptions.room ?? this.room,
|
|
101
|
-
path: partySocketOptions.path ?? this.path
|
|
102
|
-
});
|
|
103
|
-
this._url = wsOptions.urlProvider;
|
|
104
|
-
this._protocols = wsOptions.protocols;
|
|
105
|
-
this._options = wsOptions.socketOptions;
|
|
106
|
-
this.setWSProperties(wsOptions);
|
|
107
|
-
}
|
|
108
|
-
setWSProperties(wsOptions) {
|
|
109
|
-
const { _pk, _pkurl, name, room, host, path } = wsOptions;
|
|
110
|
-
this._pk = _pk;
|
|
111
|
-
this._pkurl = _pkurl;
|
|
112
|
-
this.name = name;
|
|
113
|
-
this.room = room;
|
|
114
|
-
this.host = host;
|
|
115
|
-
this.path = path;
|
|
116
|
-
}
|
|
117
|
-
reconnect(code, reason) {
|
|
118
|
-
if (!this.room || !this.host) {
|
|
119
|
-
throw new Error(
|
|
120
|
-
"The room and host must be set before connecting, use `updateProperties` method to set them or pass them to the constructor."
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
super.reconnect(code, reason);
|
|
124
|
-
}
|
|
125
|
-
get id() {
|
|
126
|
-
return this._pk;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Exposes the static PartyKit room URL without applying query parameters.
|
|
130
|
-
* To access the currently connected WebSocket url, use PartySocket#url.
|
|
131
|
-
*/
|
|
132
|
-
get roomUrl() {
|
|
133
|
-
return this._pkurl;
|
|
134
|
-
}
|
|
135
|
-
// a `fetch` method that uses (almost) the same options as `PartySocket`
|
|
136
|
-
static async fetch(options, init) {
|
|
137
|
-
const party = getPartyInfo(options, "http");
|
|
138
|
-
const url =
|
|
139
|
-
typeof party.urlProvider === "string"
|
|
140
|
-
? party.urlProvider
|
|
141
|
-
: await party.urlProvider();
|
|
142
|
-
const doFetch = options.fetch ?? fetch;
|
|
143
|
-
return doFetch(url, init);
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
function getWSOptions(partySocketOptions) {
|
|
147
|
-
const {
|
|
148
|
-
id,
|
|
149
|
-
host: _host,
|
|
150
|
-
path: _path,
|
|
151
|
-
party: _party,
|
|
152
|
-
room: _room,
|
|
153
|
-
protocol: _protocol,
|
|
154
|
-
query: _query,
|
|
155
|
-
protocols,
|
|
156
|
-
...socketOptions
|
|
157
|
-
} = partySocketOptions;
|
|
158
|
-
const _pk = id || generateUUID();
|
|
159
|
-
const party = getPartyInfo(partySocketOptions, "ws", { _pk });
|
|
160
|
-
return {
|
|
161
|
-
_pk,
|
|
162
|
-
_pkurl: party.partyUrl,
|
|
163
|
-
name: party.name,
|
|
164
|
-
room: party.room,
|
|
165
|
-
host: party.host,
|
|
166
|
-
path: party.path,
|
|
167
|
-
protocols,
|
|
168
|
-
socketOptions,
|
|
169
|
-
urlProvider: party.urlProvider
|
|
170
|
-
};
|
|
1
|
+
function dset(obj, keys, val) {
|
|
2
|
+
keys.split && (keys=keys.split('.'));
|
|
3
|
+
var i=0, l=keys.length, t=obj, x, k;
|
|
4
|
+
while (i < l) {
|
|
5
|
+
k = ''+keys[i++];
|
|
6
|
+
if (k === '__proto__' || k === 'constructor' || k === 'prototype') break;
|
|
7
|
+
t = t[k] = (i === l) ? val : (typeof(x=t[k])===typeof(keys)) ? x : (keys[i]*0 !== 0 || !!~(''+keys[i]).indexOf('.')) ? {} : [];
|
|
8
|
+
}
|
|
171
9
|
}
|
|
172
10
|
|
|
173
|
-
export {
|
|
11
|
+
export { dset };
|
|
174
12
|
//# sourceMappingURL=index37.js.map
|
package/dist/index37.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.js","sources":["../../../node_modules/.pnpm/partysocket@1.1.3/node_modules/partysocket/dist/chunk-HAC622V3.mjs"],"sourcesContent":["import { ReconnectingWebSocket } from \"./chunk-S74YV6PU.mjs\";\n\n// src/index.ts\nvar valueIsNotNil = (keyValuePair) =>\n keyValuePair[1] !== null && keyValuePair[1] !== void 0;\nfunction generateUUID() {\n if (typeof crypto !== \"undefined\" && crypto.randomUUID) {\n return crypto.randomUUID();\n }\n let d = /* @__PURE__ */ new Date().getTime();\n let d2 =\n (typeof performance !== \"undefined\" &&\n performance.now &&\n performance.now() * 1e3) ||\n 0;\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (c) {\n let r = Math.random() * 16;\n if (d > 0) {\n r = (d + r) % 16 | 0;\n d = Math.floor(d / 16);\n } else {\n r = (d2 + r) % 16 | 0;\n d2 = Math.floor(d2 / 16);\n }\n return (c === \"x\" ? r : (r & 3) | 8).toString(16);\n });\n}\nfunction getPartyInfo(partySocketOptions, defaultProtocol, defaultParams = {}) {\n const {\n host: rawHost,\n path: rawPath,\n protocol: rawProtocol,\n room,\n party,\n basePath,\n prefix,\n query\n } = partySocketOptions;\n let host = rawHost.replace(/^(http|https|ws|wss):\\/\\//, \"\");\n if (host.endsWith(\"/\")) {\n host = host.slice(0, -1);\n }\n if (rawPath == null ? void 0 : rawPath.startsWith(\"/\")) {\n throw new Error(\"path must not start with a slash\");\n }\n const name = party ?? \"main\";\n const path = rawPath ? `/${rawPath}` : \"\";\n const protocol =\n rawProtocol ||\n (host.startsWith(\"localhost:\") ||\n host.startsWith(\"127.0.0.1:\") ||\n host.startsWith(\"192.168.\") ||\n host.startsWith(\"10.\") ||\n (host.startsWith(\"172.\") &&\n host.split(\".\")[1] >= \"16\" &&\n host.split(\".\")[1] <= \"31\") ||\n host.startsWith(\"[::ffff:7f00:1]:\")\n ? // http / ws\n defaultProtocol\n : // https / wss\n `${defaultProtocol}s`);\n const baseUrl = `${protocol}://${host}/${basePath || `${prefix || \"parties\"}/${name}/${room}`}${path}`;\n const makeUrl = (query2 = {}) =>\n `${baseUrl}?${new URLSearchParams([\n ...Object.entries(defaultParams),\n ...Object.entries(query2).filter(valueIsNotNil)\n ])}`;\n const urlProvider =\n typeof query === \"function\"\n ? async () => makeUrl(await query())\n : makeUrl(query);\n return {\n host,\n path,\n room,\n name,\n protocol,\n partyUrl: baseUrl,\n urlProvider\n };\n}\nvar PartySocket = class extends ReconnectingWebSocket {\n constructor(partySocketOptions) {\n const wsOptions = getWSOptions(partySocketOptions);\n super(wsOptions.urlProvider, wsOptions.protocols, wsOptions.socketOptions);\n this.partySocketOptions = partySocketOptions;\n this.setWSProperties(wsOptions);\n }\n _pk;\n _pkurl;\n name;\n room;\n host;\n path;\n updateProperties(partySocketOptions) {\n const wsOptions = getWSOptions({\n ...this.partySocketOptions,\n ...partySocketOptions,\n host: partySocketOptions.host ?? this.host,\n room: partySocketOptions.room ?? this.room,\n path: partySocketOptions.path ?? this.path\n });\n this._url = wsOptions.urlProvider;\n this._protocols = wsOptions.protocols;\n this._options = wsOptions.socketOptions;\n this.setWSProperties(wsOptions);\n }\n setWSProperties(wsOptions) {\n const { _pk, _pkurl, name, room, host, path } = wsOptions;\n this._pk = _pk;\n this._pkurl = _pkurl;\n this.name = name;\n this.room = room;\n this.host = host;\n this.path = path;\n }\n reconnect(code, reason) {\n if (!this.room || !this.host) {\n throw new Error(\n \"The room and host must be set before connecting, use `updateProperties` method to set them or pass them to the constructor.\"\n );\n }\n super.reconnect(code, reason);\n }\n get id() {\n return this._pk;\n }\n /**\n * Exposes the static PartyKit room URL without applying query parameters.\n * To access the currently connected WebSocket url, use PartySocket#url.\n */\n get roomUrl() {\n return this._pkurl;\n }\n // a `fetch` method that uses (almost) the same options as `PartySocket`\n static async fetch(options, init) {\n const party = getPartyInfo(options, \"http\");\n const url =\n typeof party.urlProvider === \"string\"\n ? party.urlProvider\n : await party.urlProvider();\n const doFetch = options.fetch ?? fetch;\n return doFetch(url, init);\n }\n};\nfunction getWSOptions(partySocketOptions) {\n const {\n id,\n host: _host,\n path: _path,\n party: _party,\n room: _room,\n protocol: _protocol,\n query: _query,\n protocols,\n ...socketOptions\n } = partySocketOptions;\n const _pk = id || generateUUID();\n const party = getPartyInfo(partySocketOptions, \"ws\", { _pk });\n return {\n _pk,\n _pkurl: party.partyUrl,\n name: party.name,\n room: party.room,\n host: party.host,\n path: party.path,\n protocols,\n socketOptions,\n urlProvider: party.urlProvider\n };\n}\n\nexport { PartySocket };\n//# sourceMappingURL=chunk-HAC622V3.mjs.map\n"],"names":[],"mappings":";;AAEA;AACA,IAAI,aAAa,GAAG,CAAC,YAAY;AACjC,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,YAAY,CAAC,CAAC,CAAC,KAAK,MAAM;AACxD,SAAS,YAAY,GAAG;AACxB,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,UAAU,EAAE;AAC1D,IAAI,OAAO,MAAM,CAAC,UAAU,EAAE;AAC9B,EAAE;AACF,EAAE,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE;AAC9C,EAAE,IAAI,EAAE;AACR,IAAI,CAAC,OAAO,WAAW,KAAK,WAAW;AACvC,MAAM,WAAW,CAAC,GAAG;AACrB,MAAM,WAAW,CAAC,GAAG,EAAE,GAAG,GAAG;AAC7B,IAAI,CAAC;AACL,EAAE,OAAO,sCAAsC,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE;AAC9E,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE;AAC9B,IAAI,IAAI,CAAC,GAAG,CAAC,EAAE;AACf,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC;AAC1B,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC;AAC5B,IAAI,CAAC,MAAM;AACX,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC;AAC3B,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;AAC9B,IAAI;AACJ,IAAI,OAAO,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,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,EAAE;AAClC,EAAE,MAAM,KAAK,GAAG,YAAY,CAAC,kBAAkB,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC;AAC/D,EAAE,OAAO;AACT,IAAI,GAAG;AACP,IAAI,MAAM,EAAE,KAAK,CAAC,QAAQ;AAC1B,IAAI,IAAI,EAAE,KAAK,CAAC,IAAI;AACpB,IAAI,IAAI,EAAE,KAAK,CAAC,IAAI;AACpB,IAAI,IAAI,EAAE,KAAK,CAAC,IAAI;AACpB,IAAI,IAAI,EAAE,KAAK,CAAC,IAAI;AACpB,IAAI,SAAS;AACb,IAAI,aAAa;AACjB,IAAI,WAAW,EAAE,KAAK,CAAC;AACvB,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index37.js","sources":["../../../node_modules/.pnpm/dset@3.1.4/node_modules/dset/dist/index.mjs"],"sourcesContent":["export function dset(obj, keys, val) {\n\tkeys.split && (keys=keys.split('.'));\n\tvar i=0, l=keys.length, t=obj, x, k;\n\twhile (i < l) {\n\t\tk = ''+keys[i++];\n\t\tif (k === '__proto__' || k === 'constructor' || k === 'prototype') break;\n\t\tt = t[k] = (i === l) ? val : (typeof(x=t[k])===typeof(keys)) ? x : (keys[i]*0 !== 0 || !!~(''+keys[i]).indexOf('.')) ? {} : [];\n\t}\n}\n"],"names":[],"mappings":"AAAO,SAAS,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE;AACrC,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;AACpC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;AACf,EAAE,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;AAClB,EAAE,IAAI,CAAC,KAAK,WAAW,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,KAAK,WAAW,EAAE;AACrE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE;AAChI,CAAC;AACD;;;;","x_google_ignoreList":[0]}
|