angry-pixel 2.1.1 → 2.1.2
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/lib/index.cjs.js +1 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1641,6 +1641,7 @@ declare class AssetManager {
|
|
|
1641
1641
|
*/
|
|
1642
1642
|
getJson<T = Record<string, any>>(name: string): T;
|
|
1643
1643
|
private createAsset;
|
|
1644
|
+
private deleteAssetIfExists;
|
|
1644
1645
|
}
|
|
1645
1646
|
|
|
1646
1647
|
/**
|
|
@@ -2022,6 +2023,7 @@ declare class AudioPlayer {
|
|
|
2022
2023
|
/** @internal */
|
|
2023
2024
|
_currentAudioSource: HTMLAudioElement;
|
|
2024
2025
|
_playPromisePendind: boolean;
|
|
2026
|
+
_playAfterUserInput: boolean;
|
|
2025
2027
|
constructor(options?: Partial<AudioPlayerOptions>);
|
|
2026
2028
|
/**
|
|
2027
2029
|
* Play the audio source.
|