@textadventures/quest-viva-wasmplayer 6.0.0-beta.53 → 6.0.0-beta.54

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.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  export const config = /*json-start*/{
2
2
  "mainAssemblyName": "WasmPlayer.dll",
3
3
  "resources": {
4
- "hash": "sha256-i28HRX5D12FYIiR5T1lkKOBtVS0+VZLtD+0alKKJqX8=",
4
+ "hash": "sha256-5cq5g7MZKJ1JEm8jAxN1rd/Uv5u9y74voP1ybmoknOE=",
5
5
  "jsModuleNative": [
6
6
  {
7
7
  "name": "dotnet.native.js"
@@ -939,27 +939,27 @@ export const config = /*json-start*/{
939
939
  {
940
940
  "virtualPath": "Common.wasm",
941
941
  "name": "Common.wasm",
942
- "hash": "sha256-lS3frHVQKJ1mEXD6AE12qvftff9uTjZfoDQbUnkA07k="
942
+ "hash": "sha256-bj8O3TJgh8ziYWGJ18JuDFIIf47Ibi37q9OhyudqaAk="
943
943
  },
944
944
  {
945
945
  "virtualPath": "Engine.wasm",
946
946
  "name": "Engine.wasm",
947
- "hash": "sha256-LC/TVCPou1F2+6z+5eJtXkwUOlvOJKRD0szDCpASe9E="
947
+ "hash": "sha256-rlAN07CKbCPu2io3tiPyklX2jsQm9OIswjquANPI8Po="
948
948
  },
949
949
  {
950
950
  "virtualPath": "Legacy.wasm",
951
951
  "name": "Legacy.wasm",
952
- "hash": "sha256-kCgeuYkMygM8I194a4G8RGDLhZWQelQIy/+hPkngB44="
952
+ "hash": "sha256-7rkk+x0+0B7tX1iLFNlDouuOlJB9+duKsMs/p+SlKDI="
953
953
  },
954
954
  {
955
955
  "virtualPath": "PlayerCore.wasm",
956
956
  "name": "PlayerCore.wasm",
957
- "hash": "sha256-nTX+ZcDycaWzvLek9s1bieBFrfeuMbj2Zxl4N/ezkkY="
957
+ "hash": "sha256-zZUzZiAVmrSjQw/RMNtUSMsuglZzn7JIJjHoGMfLqpE="
958
958
  },
959
959
  {
960
960
  "virtualPath": "WasmPlayer.wasm",
961
961
  "name": "WasmPlayer.wasm",
962
- "hash": "sha256-meYYa32xBvd3kth6f14ybupbqq2GU+mtdl9lmGJ1R80="
962
+ "hash": "sha256-c4kt0ud9LiOx/55yoSnCmgfmmGaBlxkYLNF5d+Bh/7c="
963
963
  }
964
964
  ],
965
965
  "assembly": []
package/index.html CHANGED
@@ -36,7 +36,7 @@
36
36
  <script type="text/javascript" src="playercore.js"></script>
37
37
  <script type="text/javascript" src="player.js"></script>
38
38
  <script type="text/javascript" src="lib/paper.js"></script>
39
- <script>window.QuestVivaVersion = "6.0.0-beta.53";</script>
39
+ <script>window.QuestVivaVersion = "6.0.0-beta.54";</script>
40
40
  <script type="text/javascript" src="wasm-player.js"></script>
41
41
  </head>
42
42
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textadventures/quest-viva-wasmplayer",
3
- "version": "6.0.0-beta.53",
3
+ "version": "6.0.0-beta.54",
4
4
  "private": false,
5
5
  "description": "Quest Viva WasmPlayer runtime (browser-WASM text adventure player), published for CDN-linked single-file game exports.",
6
6
  "license": "MIT",
package/player.js CHANGED
@@ -223,6 +223,15 @@ function addExternalScript(url) {
223
223
  });
224
224
  }
225
225
 
226
+ // The "write log to file" feature itself was removed from Core.aslx (#1924) - a game authored
227
+ // since then has no way to call this. But an already-published game's own inlined Log function
228
+ // may still call JS.WriteToLog(text) when its game.writelogtofile flag is set, and that has to
229
+ // keep working regardless of what Core.aslx currently offers. See Core Library Semantics in
230
+ // CLAUDE.md.
231
+ function WriteToLog(data) {
232
+ // Do nothing.
233
+ }
234
+
226
235
  function WriteToTranscript(data) {
227
236
  if (noTranscript) {
228
237
  // Do nothing.
package/playercore.js CHANGED
@@ -1206,6 +1206,10 @@ function AddYouTube(id) {
1206
1206
  addText(embedHTML);
1207
1207
  }
1208
1208
 
1209
+ // ShowVimeo itself was removed from Core.aslx (no longer offered to newly-authored/saved
1210
+ // games), but this is the shared runtime, not something frozen per-game - an already-published
1211
+ // game's own inlined ShowVimeo function still calls JS.AddVimeo directly, so this has to keep
1212
+ // working regardless of what Core.aslx currently offers. See Core Library Semantics in CLAUDE.md.
1209
1213
  function AddVimeo(id) {
1210
1214
  var url = "https://player.vimeo.com/video/" + id + "?autoplay=1";
1211
1215
  var embedHTML = "<iframe sandbox=\"allow-same-origin allow-scripts allow-popups\" src=\"" + url + "\" width=\"500\" height=\"281\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>";