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

@speechkit/speechkit-audio-player-v2

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@speechkit/speechkit-audio-player-v2 - npm Package Compare versions

Comparing version 0.0.1-rc1 to 0.0.1-rc10

dist/cjs/helpers-d8e83266.js

3

dist/module/index.js

@@ -1,2 +0,1 @@

import{p}from"./app-df850208.js";const e={player:p};window.SpeechKit=e;export default e;
//# sourceMappingURL=index.js.map
import{p as o,S as s}from"./sdk-b0ff829d.js";const t={player:o,sdk:s};window.SpeechKit=t;const e=s;export default t;export{e as SpeechKitSdk};

@@ -1,2 +0,1 @@

import{c as a,a as e,E as n,p as t,m as s,b as i,d as r,e as c,n as u,s as o,f as p}from"./app-df850208.js";const l=(a="")=>a.split("."),d=a=>l("playback."+a),f=a=>l("app."+a),m=a((a,n)=>e(n,a.getState())),g={player:async a=>{const e=(n=(n={})||Object.create(null),{on:function(a,e){(n[a]||(n[a]=[])).push(e)},off:function(a,e){n[a]&&n[a].splice(n[a].indexOf(e)>>>0,1)},emit:function(a,e){(n[a]||[]).slice().map((function(a){a(e)})),(n["*"]||[]).slice().map((function(n){n(a,e)}))}});var n;await t(s(a,{sdkEnabled:!0,events:e}));const l=i.create(),{dispatch:g}=l,y=m(l);return{play(){g(r())},pause(){g(c())},paused:()=>u(y(d("isPlay"))),currentTime:()=>y(d("currentTime")),duration:()=>y(d("duration")),remainingTime(){return this.duration()-this.currentTime()},changeLang(){const a=y(f("language"));return g(o({language:"en_GB"===a?"fr_FR":"en_GB"})),y(f("language"))},destroy(){g(p()),i.destroy()},events:e}},Events:n};window.SpeechKit=g;export default g;
//# sourceMappingURL=sdk.js.map
export{S as default}from"./sdk-b0ff829d.js";
{
"name": "@speechkit/speechkit-audio-player-v2",
"description": "A library that can be used for playing podcasts from https://speechkit.io.",
"version": "0.0.1-rc1",
"version": "0.0.1-rc10",
"main": "dist/module/index.js",
"esmodules": "dist/module",
"browser": "dist/module/index.js",
"jsdelivr": "dist/module/index.js",
"esmodules": "dist/esm/index.js",
"module": "dist/cjs/index.js",
"repository": "https://github.com/SpeechKit/speechkit-audio-player-v2",
"author": "speechkit.io",
"homepage": "https://player.speechkit.io/",
"license": "MIT",
"private": false,
"files": [
"dist"
]
"dist/module/",
"dist/cjs/",
"dist/esm/"
],
"directories": {
"lib": "dist/cjs"
},
"dependencies": {
"memoize-one": "^5.1.1",
"mitt": "^1.2.0",
"redux": "^4.0.5",
"redux-act": "^1.8.0",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"hls.js": "^0.13.2",
"js-cookie": "^2.2.1",
"uuid": "^8.1.0"
}
}
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