@maoyugames/phaser-framework 1.0.6 → 1.0.7

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/cli/index.js CHANGED
@@ -475,6 +475,8 @@ function renderTikTokHtml(cfg, scriptSrc) {
475
475
  const initTag = sdkUrl ? `<script>
476
476
  window.TTMinis = TTMinis;
477
477
  TTMinis.game.init({ clientKey: "${escapeAttr(clientKey)}" });
478
+ try { TTMinis.game.setLoadingProgress({ progress: 100 }); } catch (e) {}
479
+ try { TTMinis.game.setLoadingProgress(function () {}, { progress: 100 }); } catch (e) {}
478
480
  </script>` : "";
479
481
  return `<!doctype html>
480
482
  <html lang="en">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maoyugames/phaser-framework",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "多平台 Phaser 游戏框架:业务/底层分离,HTTP/WebSocket/KCP,Web/TikTok/微信/Facebook/App 隔离打包",
5
5
  "type": "module",
6
6
  "license": "MIT",