valtech-components 4.0.407 → 4.0.408

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.
@@ -20,6 +20,8 @@ export declare class RetroAudioService {
20
20
  readonly musicVolume: import("@angular/core").WritableSignal<number>;
21
21
  readonly sfxVolume: import("@angular/core").WritableSignal<number>;
22
22
  private readonly sampleCache;
23
+ private readonly bufferCache;
24
+ private readonly bufferPreloads;
23
25
  constructor();
24
26
  setEnabled(value: boolean): void;
25
27
  setMusicEnabled(value: boolean): void;
@@ -49,6 +51,7 @@ export declare class RetroAudioService {
49
51
  private chessimalsPowerFallback;
50
52
  private playChessimalsPowerSample;
51
53
  private playSample;
54
+ private playBufferedSample;
52
55
  chessimalsVictory(): void;
53
56
  chessimalsDefeat(): void;
54
57
  private chessimalsVictoryFallback;
@@ -60,6 +63,7 @@ export declare class RetroAudioService {
60
63
  private writeSetting;
61
64
  private normalizeVolume;
62
65
  private preloadSample;
66
+ private preloadSampleBuffer;
63
67
  private migrateChessimalsAudioDefaults;
64
68
  private canPlayMusic;
65
69
  private canPlaySfx;
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "4.0.407";
5
+ export declare const VERSION = "4.0.408";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "4.0.407",
3
+ "version": "4.0.408",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"