Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web-audio-api-player

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-audio-api-player - npm Package Compare versions

Comparing version 4.0.2 to 4.1.0

dist/index.min.js

8

dist/library/audio.d.ts

@@ -35,6 +35,2 @@ import { typePlayerModes } from './core';

}
interface IMediaElementAudioSourceNode extends MediaElementAudioSourceNode {
onended: IOnEnded;
loop: boolean;
}
export interface IChangeVolumeOptions {

@@ -69,3 +65,3 @@ volume: number;

createMediaElementSourceNode(sourceNodeOptions: IMediaElementAudioSourceOptions, sound: ISound): Promise<void>;
connectSourceNodeToGraphNodes(sourceNode: AudioBufferSourceNode | IMediaElementAudioSourceNode): void;
connectSourceNodeToGraphNodes(sourceNode: AudioBufferSourceNode | MediaElementAudioSourceNode): void;
destroySourceNode(sound: ISound): void;

@@ -80,2 +76,2 @@ changeVolume({ volume, sound, forceUpdateUserVolume }: IChangeVolumeOptions): number;

}
export { PlayerAudio, IAudioGraph, IAudioOptions, IAudioBufferSourceOptions, IMediaElementAudioSourceOptions, IMediaElementAudioSourceNode };
export { PlayerAudio, IAudioGraph, IAudioOptions, IAudioBufferSourceOptions, IMediaElementAudioSourceOptions };
{
"name": "web-audio-api-player",
"version": "4.0.2",
"version": "4.1.0",
"description": "web audio api player",

@@ -27,3 +27,3 @@ "keywords": [

"license": "MIT",
"author": "chrisweb <chris963@gmail.com> (https://chris.lu)",
"author": "chrisweb (https://chris.lu)",
"files": [

@@ -43,11 +43,12 @@ "dist"

"devDependencies": {
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
"eslint": "8.36.0",
"eslint-plugin-import": "2.27.5",
"rollup": "3.19.1",
"rollup-plugin-typescript2": "0.34.1",
"typescript": "5.0.2"
"@rollup/plugin-terser": "0.4.3",
"@typescript-eslint/eslint-plugin": "6.2.0",
"@typescript-eslint/parser": "6.2.0",
"eslint": "8.46.0",
"eslint-plugin-import": "2.28.0",
"rollup": "3.27.0",
"rollup-plugin-typescript2": "0.35.0",
"typescript": "5.1.6"
},
"type": "module"
}
}

@@ -131,9 +131,9 @@ [![npm version](https://img.shields.io/npm/v/web-audio-api-player.svg?style=flat)](https://www.npmjs.com/package/web-audio-api-player)

you should first open a ticket and explain what fix or improvement you want to provide on the [github issues page](https://github.com/chrisweb/web-audio-api-player/issues) of this project (remember the github ticket number you will need it for the commit message later on)
if you wish to contribute to this project, please first open a [ticket in the github issues page of this project](https://github.com/chrisweb/web-audio-api-player/issues) and explain briefly what fix or improvement you want to provide (remember the github ticket number you will need it for the commit message later on)
go the [github page of this project](https://github.com/chrisweb/web-audio-api-player) and hit the fork button
follow the instructions in the previous section ["development: build"](#development-build), but instead of cloning this projects repository, clone your own fork of the project
follow the instructions in the previous section ["development: build"](#development-build), but instead of cloning this projects repository, clone **your own fork** of the project to get a local copy that you can edit in your IDE (VSCode)
`git clone git@github.com:YOUR_USERNAME/web-audio-api-player.git`
`git clone https://github.com/YOUR_GITHUB_USER/web-audio-api-player.git`

@@ -144,3 +144,3 @@ when you are done coding, commit your local changes (if your commit is related to a ticket start your commit message with the "#TICKER_NUMBER", this will "link" the commit to the ticket)

now open your forks github URL in your browser and hit the pull request button
now go to the github page of your fork and hit the pull request button

@@ -147,0 +147,0 @@ ## examples

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc