@roster-lock/match-agent 0.2.0 → 0.3.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.
Files changed (45) hide show
  1. package/client/dist/assets/{index-DeYshswm.js → index-CX6eCHuc.js} +47 -47
  2. package/client/dist/index.html +1 -1
  3. package/client/node_modules/.vite/deps/@rjsf_core.js +95 -95
  4. package/client/node_modules/.vite/deps/@rjsf_validator-ajv8.js +4 -3
  5. package/client/node_modules/.vite/deps/@roster-lock_ts-client.js +25 -25
  6. package/client/node_modules/.vite/deps/@roster-lock_types.js +2 -1
  7. package/client/node_modules/.vite/deps/@roster-lock_utils.js +2 -1
  8. package/client/node_modules/.vite/deps/_metadata.json +27 -27
  9. package/client/node_modules/.vite/deps/{chunk-4D2L7OBZ.js → chunk-3IRPLLFB.js} +498 -501
  10. package/client/node_modules/.vite/deps/{chunk-4D2L7OBZ.js.map → chunk-3IRPLLFB.js.map} +1 -1
  11. package/client/node_modules/.vite/deps/{chunk-I55GDNGV.js → chunk-7DRNB6P7.js} +5 -5
  12. package/client/node_modules/.vite/deps/{chunk-NE7PXY4V.js → chunk-CKYX73LL.js} +99 -98
  13. package/client/node_modules/.vite/deps/{chunk-NE7PXY4V.js.map → chunk-CKYX73LL.js.map} +3 -3
  14. package/client/node_modules/.vite/deps/{chunk-IIDO6PKU.js → chunk-EDVVVQBR.js} +97 -97
  15. package/client/node_modules/.vite/deps/{chunk-IIDO6PKU.js.map → chunk-EDVVVQBR.js.map} +1 -1
  16. package/client/node_modules/.vite/deps/{chunk-77TXW5ZT.js → chunk-FFVS6IUX.js} +6 -6
  17. package/client/node_modules/.vite/deps/{chunk-5KLROPUR.js → chunk-G44QLPFQ.js} +6 -6
  18. package/client/node_modules/.vite/deps/chunk-WMTNK64S.js +1 -0
  19. package/client/node_modules/.vite/deps/react-dom.js +3 -2
  20. package/client/node_modules/.vite/deps/react-dom_client.js +12 -12
  21. package/client/node_modules/.vite/deps/react-dom_client.js.map +1 -1
  22. package/client/node_modules/.vite/deps/react-router-dom.js +42 -9
  23. package/client/node_modules/.vite/deps/react.js +2 -1
  24. package/client/node_modules/.vite/deps/react_jsx-dev-runtime.js +5 -5
  25. package/client/node_modules/.vite/deps/react_jsx-runtime.js +3 -2
  26. package/client/src/api/matchAgent.ts +15 -0
  27. package/client/src/bridge/hostBridge.ts +24 -5
  28. package/client/src/components/InstallGameLauncherLightbox.tsx +27 -14
  29. package/client/src/pages/MatchMaking/index.tsx +8 -4
  30. package/client/tsconfig.tsbuildinfo +1 -1
  31. package/dist/handle-room/version-1/game-launcher.js +17 -1
  32. package/dist/handle-room/version-1/game-launcher.js.map +1 -1
  33. package/dist/handle-room/version-1/index.js +1 -0
  34. package/dist/handle-room/version-1/index.js.map +1 -1
  35. package/package.json +12 -10
  36. package/src/handle-room/version-1/game-launcher.ts +24 -0
  37. package/src/handle-room/version-1/index.ts +3 -2
  38. package/tests/integration/helpers/relayHarness.ts +24 -0
  39. package/tests/integration/piece-ensure-ws.test.ts +1 -1
  40. package/tests/integration/relay-protocol.test.ts +100 -0
  41. package/tests/integration/sync-dl.test.ts +1 -1
  42. package/client/node_modules/.vite/deps_temp_ab51ebe9/package.json +0 -3
  43. /package/client/node_modules/.vite/deps/{chunk-I55GDNGV.js.map → chunk-7DRNB6P7.js.map} +0 -0
  44. /package/client/node_modules/.vite/deps/{chunk-77TXW5ZT.js.map → chunk-FFVS6IUX.js.map} +0 -0
  45. /package/client/node_modules/.vite/deps/{chunk-5KLROPUR.js.map → chunk-G44QLPFQ.js.map} +0 -0
@@ -2,12 +2,13 @@ import {
2
2
  createPrecompiledValidator,
3
3
  customizeValidator,
4
4
  lib_default
5
- } from "./chunk-4D2L7OBZ.js";
6
- import "./chunk-5KLROPUR.js";
7
- import "./chunk-I55GDNGV.js";
5
+ } from "./chunk-3IRPLLFB.js";
6
+ import "./chunk-G44QLPFQ.js";
7
+ import "./chunk-7DRNB6P7.js";
8
8
  import "./chunk-WMTNK64S.js";
9
9
  export {
10
10
  createPrecompiledValidator,
11
11
  customizeValidator,
12
12
  lib_default as default
13
13
  };
14
+ //# sourceMappingURL=@rjsf_validator-ajv8.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-NE7PXY4V.js";
3
+ } from "./chunk-CKYX73LL.js";
4
4
  import {
5
5
  require_dist as require_dist2
6
- } from "./chunk-IIDO6PKU.js";
6
+ } from "./chunk-EDVVVQBR.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __esm,
@@ -12,9 +12,9 @@ import {
12
12
  __toCommonJS
13
13
  } from "./chunk-WMTNK64S.js";
14
14
 
15
- // ../../client/typescript/dist/constants/match-agent.js
15
+ // ../../../client/typescript/dist/constants/match-agent.js
16
16
  var require_match_agent = __commonJS({
17
- "../../client/typescript/dist/constants/match-agent.js"(exports) {
17
+ "../../../client/typescript/dist/constants/match-agent.js"(exports) {
18
18
  "use strict";
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
20
  exports.ROSTERLOCK_MATCH_AGENT_URL = void 0;
@@ -22,9 +22,9 @@ var require_match_agent = __commonJS({
22
22
  }
23
23
  });
24
24
 
25
- // ../../client/typescript/dist/utils/fetch.js
25
+ // ../../../client/typescript/dist/utils/fetch.js
26
26
  var require_fetch = __commonJS({
27
- "../../client/typescript/dist/utils/fetch.js"(exports) {
27
+ "../../../client/typescript/dist/utils/fetch.js"(exports) {
28
28
  "use strict";
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  exports.HTTPError = void 0;
@@ -67,14 +67,14 @@ var require_fetch = __commonJS({
67
67
  }
68
68
  });
69
69
 
70
- // ../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6_/node_modules/isomorphic-ws/browser.js
70
+ // ../../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6_/node_modules/isomorphic-ws/browser.js
71
71
  var browser_exports = {};
72
72
  __export(browser_exports, {
73
73
  default: () => browser_default
74
74
  });
75
75
  var ws, browser_default;
76
76
  var init_browser = __esm({
77
- "../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6_/node_modules/isomorphic-ws/browser.js"() {
77
+ "../../../node_modules/.pnpm/isomorphic-ws@5.0.0_ws@8.21.3_bufferutil@4.1.0_utf-8-validate@6.0.6_/node_modules/isomorphic-ws/browser.js"() {
78
78
  ws = null;
79
79
  if (typeof WebSocket !== "undefined") {
80
80
  ws = WebSocket;
@@ -91,9 +91,9 @@ var init_browser = __esm({
91
91
  }
92
92
  });
93
93
 
94
- // ../../client/typescript/dist/v1/select.js
94
+ // ../../../client/typescript/dist/v1/select.js
95
95
  var require_select = __commonJS({
96
- "../../client/typescript/dist/v1/select.js"(exports) {
96
+ "../../../client/typescript/dist/v1/select.js"(exports) {
97
97
  "use strict";
98
98
  var __importDefault = exports && exports.__importDefault || function(mod) {
99
99
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -177,9 +177,9 @@ var require_select = __commonJS({
177
177
  }
178
178
  });
179
179
 
180
- // ../../client/typescript/dist/v1/sync-dl.ws.js
180
+ // ../../../client/typescript/dist/v1/sync-dl.ws.js
181
181
  var require_sync_dl_ws = __commonJS({
182
- "../../client/typescript/dist/v1/sync-dl.ws.js"(exports) {
182
+ "../../../client/typescript/dist/v1/sync-dl.ws.js"(exports) {
183
183
  "use strict";
184
184
  var __importDefault = exports && exports.__importDefault || function(mod) {
185
185
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -233,9 +233,9 @@ var require_sync_dl_ws = __commonJS({
233
233
  }
234
234
  });
235
235
 
236
- // ../../client/typescript/dist/v1/sync-dl.http.js
236
+ // ../../../client/typescript/dist/v1/sync-dl.http.js
237
237
  var require_sync_dl_http = __commonJS({
238
- "../../client/typescript/dist/v1/sync-dl.http.js"(exports) {
238
+ "../../../client/typescript/dist/v1/sync-dl.http.js"(exports) {
239
239
  "use strict";
240
240
  Object.defineProperty(exports, "__esModule", { value: true });
241
241
  exports.syncDownloadOverHTTP = syncDownloadOverHTTP;
@@ -267,9 +267,9 @@ var require_sync_dl_http = __commonJS({
267
267
  }
268
268
  });
269
269
 
270
- // ../../client/typescript/dist/v1/get-users.js
270
+ // ../../../client/typescript/dist/v1/get-users.js
271
271
  var require_get_users = __commonJS({
272
- "../../client/typescript/dist/v1/get-users.js"(exports) {
272
+ "../../../client/typescript/dist/v1/get-users.js"(exports) {
273
273
  "use strict";
274
274
  Object.defineProperty(exports, "__esModule", { value: true });
275
275
  exports.getMachines = getMachines;
@@ -303,9 +303,9 @@ var require_get_users = __commonJS({
303
303
  }
304
304
  });
305
305
 
306
- // ../../client/typescript/dist/v1/file-routes.js
306
+ // ../../../client/typescript/dist/v1/file-routes.js
307
307
  var require_file_routes = __commonJS({
308
- "../../client/typescript/dist/v1/file-routes.js"(exports) {
308
+ "../../../client/typescript/dist/v1/file-routes.js"(exports) {
309
309
  "use strict";
310
310
  Object.defineProperty(exports, "__esModule", { value: true });
311
311
  exports.getPiece = getPiece;
@@ -354,9 +354,9 @@ var require_file_routes = __commonJS({
354
354
  }
355
355
  });
356
356
 
357
- // ../../client/typescript/dist/utils/keys.js
357
+ // ../../../client/typescript/dist/utils/keys.js
358
358
  var require_keys = __commonJS({
359
- "../../client/typescript/dist/utils/keys.js"(exports) {
359
+ "../../../client/typescript/dist/utils/keys.js"(exports) {
360
360
  "use strict";
361
361
  Object.defineProperty(exports, "__esModule", { value: true });
362
362
  exports.generateKeyPair = generateKeyPair;
@@ -368,10 +368,10 @@ var require_keys = __commonJS({
368
368
  }
369
369
  });
370
370
 
371
- // ../../client/typescript/dist/index.js
371
+ // ../../../client/typescript/dist/index.js
372
372
  var require_dist3 = __commonJS({
373
- "../../client/typescript/dist/index.js"(exports) {
374
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
373
+ "../../../client/typescript/dist/index.js"(exports) {
374
+ var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
375
375
  if (k2 === void 0) k2 = k;
376
376
  var desc = Object.getOwnPropertyDescriptor(m, k);
377
377
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
@@ -380,10 +380,10 @@ var require_dist3 = __commonJS({
380
380
  } };
381
381
  }
382
382
  Object.defineProperty(o, k2, desc);
383
- }) : (function(o, m, k, k2) {
383
+ } : function(o, m, k, k2) {
384
384
  if (k2 === void 0) k2 = k;
385
385
  o[k2] = m[k];
386
- }));
386
+ });
387
387
  var __exportStar = exports && exports.__exportStar || function(m, exports2) {
388
388
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
389
389
  };
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-NE7PXY4V.js";
3
+ } from "./chunk-CKYX73LL.js";
4
4
  import "./chunk-WMTNK64S.js";
5
5
  export default require_dist();
6
+ //# sourceMappingURL=@roster-lock_types.js.map
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-IIDO6PKU.js";
3
+ } from "./chunk-EDVVVQBR.js";
4
4
  import "./chunk-WMTNK64S.js";
5
5
  export default require_dist();
6
+ //# sourceMappingURL=@roster-lock_utils.js.map
@@ -1,94 +1,94 @@
1
1
  {
2
- "hash": "08a7f4e1",
3
- "configHash": "e88d872d",
4
- "lockfileHash": "025ce3b0",
5
- "browserHash": "d7956408",
2
+ "hash": "1ff2810e",
3
+ "configHash": "2f646aa8",
4
+ "lockfileHash": "e24cb53f",
5
+ "browserHash": "77c31d2f",
6
6
  "optimized": {
7
7
  "@roster-lock/ts-client": {
8
8
  "src": "../../../../../../client/typescript/dist/index.js",
9
9
  "file": "@roster-lock_ts-client.js",
10
- "fileHash": "1fa3417a",
10
+ "fileHash": "2f0acac0",
11
11
  "needsInterop": true
12
12
  },
13
13
  "@roster-lock/types": {
14
14
  "src": "../../../../../types/dist/index.js",
15
15
  "file": "@roster-lock_types.js",
16
- "fileHash": "7ee72bfe",
16
+ "fileHash": "170bf596",
17
17
  "needsInterop": true
18
18
  },
19
19
  "@roster-lock/utils": {
20
20
  "src": "../../../../../utils/dist/index.js",
21
21
  "file": "@roster-lock_utils.js",
22
- "fileHash": "4a0b7ece",
22
+ "fileHash": "61dc3ee9",
23
23
  "needsInterop": true
24
24
  },
25
25
  "react": {
26
26
  "src": "../../../../../../node_modules/.pnpm/react@19.2.7/node_modules/react/index.js",
27
27
  "file": "react.js",
28
- "fileHash": "90bf0268",
28
+ "fileHash": "1b2dc329",
29
29
  "needsInterop": true
30
30
  },
31
31
  "react-dom": {
32
32
  "src": "../../../../../../node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/index.js",
33
33
  "file": "react-dom.js",
34
- "fileHash": "8c5321ec",
34
+ "fileHash": "7f18183d",
35
35
  "needsInterop": true
36
36
  },
37
37
  "react/jsx-dev-runtime": {
38
38
  "src": "../../../../../../node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-dev-runtime.js",
39
39
  "file": "react_jsx-dev-runtime.js",
40
- "fileHash": "2cdc5b26",
40
+ "fileHash": "03d3f50e",
41
41
  "needsInterop": true
42
42
  },
43
43
  "react/jsx-runtime": {
44
44
  "src": "../../../../../../node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js",
45
45
  "file": "react_jsx-runtime.js",
46
- "fileHash": "72a326f8",
46
+ "fileHash": "87ff3835",
47
47
  "needsInterop": true
48
48
  },
49
49
  "@rjsf/core": {
50
50
  "src": "../../../../../../node_modules/.pnpm/@rjsf+core@6.8.0_@rjsf+utils@6.8.0_react@19.2.7__react@19.2.7_vue@3.5.40_typescript@7.0.2_/node_modules/@rjsf/core/lib/index.js",
51
51
  "file": "@rjsf_core.js",
52
- "fileHash": "029fe7e3",
52
+ "fileHash": "0c647b5b",
53
53
  "needsInterop": false
54
54
  },
55
55
  "@rjsf/validator-ajv8": {
56
56
  "src": "../../../../../../node_modules/.pnpm/@rjsf+validator-ajv8@6.8.0_@rjsf+utils@6.8.0_react@19.2.7_/node_modules/@rjsf/validator-ajv8/lib/index.js",
57
57
  "file": "@rjsf_validator-ajv8.js",
58
- "fileHash": "6ea123a4",
58
+ "fileHash": "f8c06cfa",
59
59
  "needsInterop": false
60
60
  },
61
61
  "react-dom/client": {
62
62
  "src": "../../../../../../node_modules/.pnpm/react-dom@19.2.7_react@19.2.7/node_modules/react-dom/client.js",
63
63
  "file": "react-dom_client.js",
64
- "fileHash": "3864da38",
64
+ "fileHash": "e75c8fae",
65
65
  "needsInterop": true
66
66
  },
67
67
  "react-router-dom": {
68
68
  "src": "../../../../../../node_modules/.pnpm/react-router-dom@7.18.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router-dom/dist/index.mjs",
69
69
  "file": "react-router-dom.js",
70
- "fileHash": "a6578d6b",
70
+ "fileHash": "9a3261a3",
71
71
  "needsInterop": false
72
72
  }
73
73
  },
74
74
  "chunks": {
75
- "chunk-NE7PXY4V": {
76
- "file": "chunk-NE7PXY4V.js"
75
+ "chunk-CKYX73LL": {
76
+ "file": "chunk-CKYX73LL.js"
77
77
  },
78
- "chunk-IIDO6PKU": {
79
- "file": "chunk-IIDO6PKU.js"
78
+ "chunk-EDVVVQBR": {
79
+ "file": "chunk-EDVVVQBR.js"
80
80
  },
81
- "chunk-77TXW5ZT": {
82
- "file": "chunk-77TXW5ZT.js"
81
+ "chunk-FFVS6IUX": {
82
+ "file": "chunk-FFVS6IUX.js"
83
83
  },
84
- "chunk-4D2L7OBZ": {
85
- "file": "chunk-4D2L7OBZ.js"
84
+ "chunk-3IRPLLFB": {
85
+ "file": "chunk-3IRPLLFB.js"
86
86
  },
87
- "chunk-5KLROPUR": {
88
- "file": "chunk-5KLROPUR.js"
87
+ "chunk-G44QLPFQ": {
88
+ "file": "chunk-G44QLPFQ.js"
89
89
  },
90
- "chunk-I55GDNGV": {
91
- "file": "chunk-I55GDNGV.js"
90
+ "chunk-7DRNB6P7": {
91
+ "file": "chunk-7DRNB6P7.js"
92
92
  },
93
93
  "chunk-WMTNK64S": {
94
94
  "file": "chunk-WMTNK64S.js"