@zaisma/game-server 1.12.0 → 1.14.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/bench/brand/favicon-32.png +0 -0
- package/bench/brand/favicon.ico +0 -0
- package/bench/brand/favicon.svg +1 -1
- package/bench/glass.js +8955 -757
- package/bin/local-play-runner.js +27 -1
- package/bin/local-play.js +25 -0
- package/bin/node-parts.js +5 -1
- package/bin/node.d.ts +10 -1
- package/bin/node.js +167 -36
- package/package.json +1 -1
- package/sdk/zaisma.d.ts +80 -8
- package/sdk/zaisma.js +77 -18
- package/src/chat.d.ts +9 -4
- package/src/chat.js +20 -4
- package/src/index.d.ts +2 -1
- package/src/index.js +2 -1
- package/src/internal.d.ts +1 -0
- package/src/internal.js +1 -0
- package/src/outside-players.d.ts +65 -0
- package/src/outside-players.js +162 -0
- package/src/pass.d.ts +7 -2
- package/src/pass.js +1 -1
- package/src/requests.d.ts +45 -4
- package/src/requests.js +15 -8
- package/src/room-calls.d.ts +16 -0
- package/src/room-calls.js +31 -1
- package/src/room.d.ts +155 -4
- package/src/room.js +137 -4
|
Binary file
|
package/bench/brand/favicon.ico
CHANGED
|
Binary file
|
package/bench/brand/favicon.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img" aria-label="Zaisma"><style>.light-back{fill:url(#favicon-light)}.grid{stroke:#F7931A}.face{fill:#2A2D35}.lit{fill:#A3AAB6}.shade{fill:#0B0C0F}@media (prefers-color-scheme:dark){.light-back{fill:url(#favicon-dark)}.grid{stroke:#A85A06;opacity:.85}.face{fill:#EAF0F7}.lit{fill:#FFFFFF}.shade{fill:#74839A}}</style><defs><linearGradient id="favicon-light" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#FFF7EE"/></linearGradient><linearGradient id="favicon-dark" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#050505"/><stop offset="1" stop-color="#120B03"/></linearGradient><clipPath id="favicon-tile"><rect width="100" height="100" rx="22.5"/></clipPath></defs><g clip-path="url(#favicon-tile)"><rect class="light-back" width="100" height="100"/><g class="grid" fill="none"><path d="M26.18,-5.61L29.88,-4.99M35.73,1.08L38.87,1.31M45.28,7.77L47.87,7.61M54.83,14.45L56.86,13.91M64.38,21.14L65.86,20.21M73.93,27.83L74.85,26.51M83.48,34.52L83.85,32.8M93.03,41.2L92.84,39.1M102.58,47.89L101.84,45.4" stroke-opacity="0.08" stroke-width="0.37"/><path d="M29.88,-4.99L33.35,-4.41M38.87,1.31L41.83,1.53M47.87,7.61L50.3,7.46M56.86,13.91L58.78,13.4M65.86,20.21L67.25,19.33M74.85,26.51L75.72,25.26M83.85,32.8L84.2,31.2M92.84,39.1L92.67,37.13M101.84,45.4L101.15,43.06" stroke-opacity="0.05" stroke-width="0.35"/><path d="M33.35,-4.41L36.63,-3.86M41.83,1.53L44.61,1.73M50.3,7.46L52.59,7.32M58.78,13.4L60.58,12.91M67.25,19.33L68.56,18.5M75.72,25.26L76.54,24.09M84.2,31.2L84.53,29.68M92.67,37.13L92.51,35.27M101.15,43.06L100.49,40.86" stroke-opacity="0.02" stroke-width="0.33"/><path d="M-9.26,-2.23L-3.38,-1.8M8.22,10.01L13.07,9.72M25.71,22.26L29.51,21.24M43.2,34.5L45.96,32.75M60.68,46.74L62.41,44.27M78.17,58.99L78.86,55.79M95.66,71.23L95.31,67.31" stroke-opacity="0.58" stroke-width="0.68"/><path d="M-3.38,-1.8L2.13,-1.39M13.07,9.72L17.61,9.44M29.51,21.24L33.08,20.28M45.96,32.75L48.56,31.12M62.41,44.27L64.04,41.95M78.86,55.79L79.51,52.79M95.31,67.31L94.99,63.63" stroke-opacity="0.52" stroke-width="0.64"/><path d="M2.13,-1.39L7.31,-1.01M17.61,9.44L21.87,9.18M33.08,20.28L36.43,19.38M48.56,31.12L51,29.58M64.04,41.95L65.56,39.78M79.51,52.79L80.12,49.97M94.99,63.63L94.69,60.17" stroke-opacity="0.47" stroke-width="0.6"/><path d="M7.31,-1.01L12.17,-0.66M21.87,9.18L25.87,8.94M36.43,19.38L39.58,18.54M51,29.58L53.29,28.14M65.56,39.78L66.99,37.73M80.12,49.97L80.7,47.33M94.69,60.17L94.4,56.93" stroke-opacity="0.42" stroke-width="0.57"/><path d="M12.17,-0.66L16.73,-0.32M25.87,8.94L29.63,8.71M39.58,18.54L42.53,17.75M53.29,28.14L55.43,26.78M66.99,37.73L68.33,35.82M80.7,47.33L81.24,44.85M94.4,56.93L94.14,53.88" stroke-opacity="0.36" stroke-width="0.53"/><path d="M16.73,-0.32L21.02,0M29.63,8.71L33.16,8.5M42.53,17.75L45.31,17M55.43,26.78L57.45,25.51M68.33,35.82L69.6,34.01M81.24,44.85L81.74,42.52M94.14,53.88L93.89,51.02" stroke-opacity="0.31" stroke-width="0.5"/><path d="M21.02,0L25.04,0.29M33.16,8.5L36.48,8.3M45.31,17L47.91,16.31M57.45,25.51L59.35,24.31M69.6,34.01L70.78,32.32M81.74,42.52L82.22,40.33M93.89,51.02L93.65,48.33" stroke-opacity="0.26" stroke-width="0.47"/><path d="M25.04,0.29L28.83,0.57M36.48,8.3L39.59,8.11M47.91,16.31L50.36,15.65M59.35,24.31L61.13,23.19M70.78,32.32L71.9,30.73M82.22,40.33L82.66,38.27M93.65,48.33L93.43,45.81M105.09,56.34L104.2,53.35" stroke-opacity="0.21" stroke-width="0.45"/><path d="M28.83,0.57L32.38,0.83M39.59,8.11L42.52,7.93M50.36,15.65L52.66,15.03M61.13,23.19L62.8,22.13M71.9,30.73L72.94,29.23M82.66,38.27L83.08,36.33M93.43,45.81L93.22,43.43M104.2,53.35L103.36,50.53" stroke-opacity="0.16" stroke-width="0.42"/><path d="M32.38,0.83L35.73,1.08M42.52,7.93L45.28,7.77M52.66,15.03L54.83,14.45M62.8,22.13L64.38,21.14M72.94,29.23L73.93,27.83M83.08,36.33L83.48,34.52M93.22,43.43L93.03,41.2M103.36,50.53L102.58,47.89" stroke-opacity="0.12" stroke-width="0.4"/><path d="M-8.32,11.01L-2.45,10.66M12.71,25.74L17.33,24.5M33.74,40.47L37.1,38.35M54.77,55.19L56.87,52.19M75.8,69.92L76.64,66.03M96.83,84.64L96.41,79.88" stroke-opacity="0.73" stroke-width="0.82"/><path d="M-2.45,10.66L3.06,10.32M17.33,24.5L21.65,23.34M37.1,38.35L40.25,36.36M56.87,52.19L58.84,49.38M76.64,66.03L77.43,62.4M96.41,79.88L96.02,75.42" stroke-opacity="0.68" stroke-width="0.77"/><path d="M3.06,10.32L8.22,10.01M21.65,23.34L25.71,22.26M40.25,36.36L43.2,34.5M58.84,49.38L60.68,46.74M77.43,62.4L78.17,58.99M96.02,75.42L95.66,71.23" stroke-opacity="0.63" stroke-width="0.73"/><path d="M-9.92,31.8L-3.29,30.03M17.28,50.85L22.1,47.8M44.48,69.89L47.49,65.58M71.67,88.93L72.88,83.36M98.87,107.98L98.27,101.14" stroke-opacity="0.92" stroke-width="1.06"/><path d="M-3.29,30.03L2.51,28.47M22.1,47.8L26.32,45.14M47.49,65.58L50.13,61.81M72.88,83.36L73.94,78.49M98.27,101.14L97.75,95.16" stroke-opacity="0.87" stroke-width="0.99"/><path d="M2.51,28.47L7.78,27.06M26.32,45.14L30.15,42.73M50.13,61.81L52.53,58.39M73.94,78.49L74.9,74.06M97.75,95.16L97.27,89.73" stroke-opacity="0.83" stroke-width="0.93"/><path d="M7.78,27.06L12.71,25.74M30.15,42.73L33.74,40.47M52.53,58.39L54.77,55.19M74.9,74.06L75.8,69.92M97.27,89.73L96.83,84.64" stroke-opacity="0.78" stroke-width="0.87"/><path d="M-11.59,69.05L-2.41,63.27L5.24,58.44L11.72,54.35M19.42,105.67L26.42,95.67L32.16,87.48L36.95,80.64L41,74.85M66.74,111.69L68.66,102.84L70.28,95.35M-1701.98,-1096.85L1738.18,1311.97" stroke-opacity="1" stroke-width="1.1"/><path d="M11.72,54.35L17.28,50.85M41,74.85L44.48,69.89M70.28,95.35L71.67,88.93" stroke-opacity="0.97" stroke-width="1.1"/><path d="M-1056.99,-700.21L1144.86,841.54" stroke-opacity="0.93" stroke-width="1.07"/><path d="M-753.44,-513.54L865.62,620.14" stroke-opacity="0.7" stroke-width="0.79"/><path d="M-576.95,-405L703.26,491.41" stroke-opacity="0.5" stroke-width="0.62"/><path d="M-461.54,-334.03L597.11,407.24" stroke-opacity="0.33" stroke-width="0.52"/><path d="M-380.19,-284L522.27,347.91" stroke-opacity="0.2" stroke-width="0.44"/><path d="M-319.76,-246.84L466.68,303.83" stroke-opacity="0.1" stroke-width="0.38"/><path d="M-273.09,-218.14L423.75,269.79" stroke-opacity="0.04" stroke-width="0.34"/></g><g transform="translate(9.691 6.64) scale(0.0185)"><polygon class="shade" points="4086,2962 4287,3779 4358,3999 4157,3182"/><polygon class="shade" points="4287,3779 ,3779 71,3999 4358,3999"/><polygon class="shade" points="3492,1012 1951,
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" role="img" aria-label="Zaisma"><style>.light-back{fill:url(#favicon-light)}.grid{stroke:#F7931A}.face{fill:#2A2D35}.lit{fill:#A3AAB6}.shade{fill:#0B0C0F}@media (prefers-color-scheme:dark){.light-back{fill:url(#favicon-dark)}.grid{stroke:#A85A06;opacity:.85}.face{fill:#EAF0F7}.lit{fill:#FFFFFF}.shade{fill:#74839A}}</style><defs><linearGradient id="favicon-light" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FFFFFF"/><stop offset="1" stop-color="#FFF7EE"/></linearGradient><linearGradient id="favicon-dark" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#050505"/><stop offset="1" stop-color="#120B03"/></linearGradient><clipPath id="favicon-tile"><rect width="100" height="100" rx="22.5"/></clipPath></defs><g clip-path="url(#favicon-tile)"><rect class="light-back" width="100" height="100"/><g class="grid" fill="none"><path d="M26.18,-5.61L29.88,-4.99M35.73,1.08L38.87,1.31M45.28,7.77L47.87,7.61M54.83,14.45L56.86,13.91M64.38,21.14L65.86,20.21M73.93,27.83L74.85,26.51M83.48,34.52L83.85,32.8M93.03,41.2L92.84,39.1M102.58,47.89L101.84,45.4" stroke-opacity="0.08" stroke-width="0.37"/><path d="M29.88,-4.99L33.35,-4.41M38.87,1.31L41.83,1.53M47.87,7.61L50.3,7.46M56.86,13.91L58.78,13.4M65.86,20.21L67.25,19.33M74.85,26.51L75.72,25.26M83.85,32.8L84.2,31.2M92.84,39.1L92.67,37.13M101.84,45.4L101.15,43.06" stroke-opacity="0.05" stroke-width="0.35"/><path d="M33.35,-4.41L36.63,-3.86M41.83,1.53L44.61,1.73M50.3,7.46L52.59,7.32M58.78,13.4L60.58,12.91M67.25,19.33L68.56,18.5M75.72,25.26L76.54,24.09M84.2,31.2L84.53,29.68M92.67,37.13L92.51,35.27M101.15,43.06L100.49,40.86" stroke-opacity="0.02" stroke-width="0.33"/><path d="M-9.26,-2.23L-3.38,-1.8M8.22,10.01L13.07,9.72M25.71,22.26L29.51,21.24M43.2,34.5L45.96,32.75M60.68,46.74L62.41,44.27M78.17,58.99L78.86,55.79M95.66,71.23L95.31,67.31" stroke-opacity="0.58" stroke-width="0.68"/><path d="M-3.38,-1.8L2.13,-1.39M13.07,9.72L17.61,9.44M29.51,21.24L33.08,20.28M45.96,32.75L48.56,31.12M62.41,44.27L64.04,41.95M78.86,55.79L79.51,52.79M95.31,67.31L94.99,63.63" stroke-opacity="0.52" stroke-width="0.64"/><path d="M2.13,-1.39L7.31,-1.01M17.61,9.44L21.87,9.18M33.08,20.28L36.43,19.38M48.56,31.12L51,29.58M64.04,41.95L65.56,39.78M79.51,52.79L80.12,49.97M94.99,63.63L94.69,60.17" stroke-opacity="0.47" stroke-width="0.6"/><path d="M7.31,-1.01L12.17,-0.66M21.87,9.18L25.87,8.94M36.43,19.38L39.58,18.54M51,29.58L53.29,28.14M65.56,39.78L66.99,37.73M80.12,49.97L80.7,47.33M94.69,60.17L94.4,56.93" stroke-opacity="0.42" stroke-width="0.57"/><path d="M12.17,-0.66L16.73,-0.32M25.87,8.94L29.63,8.71M39.58,18.54L42.53,17.75M53.29,28.14L55.43,26.78M66.99,37.73L68.33,35.82M80.7,47.33L81.24,44.85M94.4,56.93L94.14,53.88" stroke-opacity="0.36" stroke-width="0.53"/><path d="M16.73,-0.32L21.02,0M29.63,8.71L33.16,8.5M42.53,17.75L45.31,17M55.43,26.78L57.45,25.51M68.33,35.82L69.6,34.01M81.24,44.85L81.74,42.52M94.14,53.88L93.89,51.02" stroke-opacity="0.31" stroke-width="0.5"/><path d="M21.02,0L25.04,0.29M33.16,8.5L36.48,8.3M45.31,17L47.91,16.31M57.45,25.51L59.35,24.31M69.6,34.01L70.78,32.32M81.74,42.52L82.22,40.33M93.89,51.02L93.65,48.33" stroke-opacity="0.26" stroke-width="0.47"/><path d="M25.04,0.29L28.83,0.57M36.48,8.3L39.59,8.11M47.91,16.31L50.36,15.65M59.35,24.31L61.13,23.19M70.78,32.32L71.9,30.73M82.22,40.33L82.66,38.27M93.65,48.33L93.43,45.81M105.09,56.34L104.2,53.35" stroke-opacity="0.21" stroke-width="0.45"/><path d="M28.83,0.57L32.38,0.83M39.59,8.11L42.52,7.93M50.36,15.65L52.66,15.03M61.13,23.19L62.8,22.13M71.9,30.73L72.94,29.23M82.66,38.27L83.08,36.33M93.43,45.81L93.22,43.43M104.2,53.35L103.36,50.53" stroke-opacity="0.16" stroke-width="0.42"/><path d="M32.38,0.83L35.73,1.08M42.52,7.93L45.28,7.77M52.66,15.03L54.83,14.45M62.8,22.13L64.38,21.14M72.94,29.23L73.93,27.83M83.08,36.33L83.48,34.52M93.22,43.43L93.03,41.2M103.36,50.53L102.58,47.89" stroke-opacity="0.12" stroke-width="0.4"/><path d="M-8.32,11.01L-2.45,10.66M12.71,25.74L17.33,24.5M33.74,40.47L37.1,38.35M54.77,55.19L56.87,52.19M75.8,69.92L76.64,66.03M96.83,84.64L96.41,79.88" stroke-opacity="0.73" stroke-width="0.82"/><path d="M-2.45,10.66L3.06,10.32M17.33,24.5L21.65,23.34M37.1,38.35L40.25,36.36M56.87,52.19L58.84,49.38M76.64,66.03L77.43,62.4M96.41,79.88L96.02,75.42" stroke-opacity="0.68" stroke-width="0.77"/><path d="M3.06,10.32L8.22,10.01M21.65,23.34L25.71,22.26M40.25,36.36L43.2,34.5M58.84,49.38L60.68,46.74M77.43,62.4L78.17,58.99M96.02,75.42L95.66,71.23" stroke-opacity="0.63" stroke-width="0.73"/><path d="M-9.92,31.8L-3.29,30.03M17.28,50.85L22.1,47.8M44.48,69.89L47.49,65.58M71.67,88.93L72.88,83.36M98.87,107.98L98.27,101.14" stroke-opacity="0.92" stroke-width="1.06"/><path d="M-3.29,30.03L2.51,28.47M22.1,47.8L26.32,45.14M47.49,65.58L50.13,61.81M72.88,83.36L73.94,78.49M98.27,101.14L97.75,95.16" stroke-opacity="0.87" stroke-width="0.99"/><path d="M2.51,28.47L7.78,27.06M26.32,45.14L30.15,42.73M50.13,61.81L52.53,58.39M73.94,78.49L74.9,74.06M97.75,95.16L97.27,89.73" stroke-opacity="0.83" stroke-width="0.93"/><path d="M7.78,27.06L12.71,25.74M30.15,42.73L33.74,40.47M52.53,58.39L54.77,55.19M74.9,74.06L75.8,69.92M97.27,89.73L96.83,84.64" stroke-opacity="0.78" stroke-width="0.87"/><path d="M-11.59,69.05L-2.41,63.27L5.24,58.44L11.72,54.35M19.42,105.67L26.42,95.67L32.16,87.48L36.95,80.64L41,74.85M66.74,111.69L68.66,102.84L70.28,95.35M-1701.98,-1096.85L1738.18,1311.97" stroke-opacity="1" stroke-width="1.1"/><path d="M11.72,54.35L17.28,50.85M41,74.85L44.48,69.89M70.28,95.35L71.67,88.93" stroke-opacity="0.97" stroke-width="1.1"/><path d="M-1056.99,-700.21L1144.86,841.54" stroke-opacity="0.93" stroke-width="1.07"/><path d="M-753.44,-513.54L865.62,620.14" stroke-opacity="0.7" stroke-width="0.79"/><path d="M-576.95,-405L703.26,491.41" stroke-opacity="0.5" stroke-width="0.62"/><path d="M-461.54,-334.03L597.11,407.24" stroke-opacity="0.33" stroke-width="0.52"/><path d="M-380.19,-284L522.27,347.91" stroke-opacity="0.2" stroke-width="0.44"/><path d="M-319.76,-246.84L466.68,303.83" stroke-opacity="0.1" stroke-width="0.38"/><path d="M-273.09,-218.14L423.75,269.79" stroke-opacity="0.04" stroke-width="0.34"/></g><g transform="translate(9.691 6.64) scale(0.0185)"><polygon class="shade" points="4086,2962 4287,3779 4358,3999 4157,3182"/><polygon class="shade" points="4287,3779 0,3779 71,3999 4358,3999"/><polygon class="shade" points="3492,1012 1951,2720 2022,2940 3563,1232"/><polygon class="shade" points="1951,2720 472,3303 543,3523 2022,2940"/><polygon class="shade" points="2486,1242 1002,1242 1073,1462 2557,1462"/><polygon class="shade" points="3675,721 2486,1242 2557,1462 3746,941"/><polygon class="lit" points="1887,2962 4086,2962 3890,3212 1939,3212"/><polygon class="shade" points="4086,2962 4287,3779 3968,3529 3890,3212"/><polygon class="shade" points="4287,3779 0,3779 1208,3529 3968,3529"/><polygon class="lit" points="0,3779 1887,2962 1939,3212 1208,3529"/><polygon class="face" points="1939,3212 3890,3212 3968,3529 1208,3529"/><polygon class="lit" points="472,3303 2449,1427 2586,1642 1578,2598"/><polygon class="lit" points="2449,1427 3492,1012 2588,1641 2586,1642"/><polygon class="shade" points="3492,1012 1951,2720 1805,2509 2588,1641"/><polygon class="shade" points="1951,2720 472,3303 1578,2598 1805,2509"/><polygon class="face" points="1578,2598 2586,1642 2588,1641 1805,2509"/><polygon class="shade" points="2486,1242 1002,1242 1299,992 2434,992"/><polygon class="lit" points="1002,1242 1092,721 1303,971 1299,992"/><polygon class="lit" points="1092,721 3675,721 2481,971 1303,971"/><polygon class="shade" points="3675,721 2486,1242 2434,992 2481,971"/><polygon class="face" points="2434,992 1299,992 1303,971 2481,971"/></g></g></svg>
|