diff --git a/index.d.ts b/index.d.ts index 9d52912..5b72f4c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -21,6 +21,8 @@ declare module "react-native-sound-player" { loadSoundFile: (name: string, type: string) => void; playUrl: (url: string) => void; loadUrl: (url: string) => void; + playAsset: (asset: number) => void; + loadAsset: (asset: number) => void; /** @deprecated please use addEventListener*/ onFinishedPlaying: (callback: (success: boolean) => unknown) => void; /** @deprecated please use addEventListener*/ diff --git a/package.json b/package.json index d08db28..afa9da8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-sound-player", - "version": "0.14.2", + "version": "0.14.3", "description": "Play or stream audio files in ReactNative on iOS/Android", "main": "index.js", "types": "index.d.ts",