@momo2555/koppeliajs 0.0.126 → 0.0.127

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.
@@ -149,7 +149,6 @@ export class Koppelia {
149
149
  getCuurentPlayRequest.setRequest("getCurrentPlay");
150
150
  getCuurentPlayRequest.setDestination(PeerType.MASTER, "");
151
151
  this._console.sendMessage(getCuurentPlayRequest, (response) => {
152
- console.log(response.toObject());
153
152
  let playData = response.getParam("play", {});
154
153
  let playId = response.getParam("playId", "");
155
154
  let play = new Play(this._console, playId, playData);
@@ -26,7 +26,7 @@ export class Play {
26
26
  }
27
27
  }
28
28
  getPlayMediaPath(mediaName) {
29
- return `game/${this._playGameId}/play/${this._playId}/${mediaName}`;
29
+ return `media/game/${this._playGameId}/play/${this._playId}/${mediaName}`;
30
30
  }
31
31
  getMediaLink(mediaName) {
32
32
  let mediaPath = this.getPlayMediaPath(mediaName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",