@momo2555/koppeliajs 0.0.136 → 0.0.137

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/index.d.ts CHANGED
@@ -10,6 +10,6 @@ import { Device } from "./scripts/device.js";
10
10
  import { Play } from "./scripts/play.js";
11
11
  import { Resident } from "./scripts/resident.js";
12
12
  import { updateRoute, routeType } from './stores/routeStore.js';
13
- import { audioManager } from '.,/stores/audioManager.js';
13
+ import { audioManager, AudioManager } from '.,/stores/audioManager.js';
14
14
  export { KBase, GrowableElement, Button, ResizableText };
15
- export { updateRoute, routeType, Koppelia, Console, Message, Device, Play, audioManager, Resident };
15
+ export { updateRoute, routeType, Koppelia, Console, Message, Device, Play, audioManager, Resident, AudioManager };
package/dist/index.js CHANGED
@@ -11,6 +11,6 @@ import { Device } from "./scripts/device.js";
11
11
  import { Play } from "./scripts/play.js";
12
12
  import { Resident } from "./scripts/resident.js";
13
13
  import { updateRoute, routeType } from './stores/routeStore.js';
14
- import { audioManager } from '.,/stores/audioManager.js';
14
+ import { audioManager, AudioManager } from '.,/stores/audioManager.js';
15
15
  export { KBase, GrowableElement, Button, ResizableText }; // Compoenents
16
- export { updateRoute, routeType, Koppelia, Console, Message, Device, Play, audioManager, Resident }; // libraries and stores
16
+ export { updateRoute, routeType, Koppelia, Console, Message, Device, Play, audioManager, Resident, AudioManager }; // libraries and store
@@ -1,4 +1,4 @@
1
- declare class AudioManager {
1
+ export declare class AudioManager {
2
2
  private players;
3
3
  /**
4
4
  * Play an audio by id (creates it if doesn't exist)
@@ -26,4 +26,3 @@ declare class AudioManager {
26
26
  isPlaying(id: string): boolean;
27
27
  }
28
28
  export declare const audioManager: import("svelte/store").Writable<AudioManager>;
29
- export {};
@@ -27,7 +27,7 @@ class AudioInstance {
27
27
  return this.id;
28
28
  }
29
29
  }
30
- class AudioManager {
30
+ export class AudioManager {
31
31
  players = new Map();
32
32
  /**
33
33
  * Play an audio by id (creates it if doesn't exist)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.136",
3
+ "version": "0.0.137",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",