@eluvio/elv-player-js 2.1.7 → 2.1.9

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.
@@ -56,7 +56,7 @@ export const InitializeMuxMonitoring = async ({
56
56
  } catch (error) {}
57
57
  }
58
58
 
59
- let addressDigest = address;
59
+ let addressDigest = client.utils.FormatAddress(address);
60
60
  if(typeof crypto !== "undefined") {
61
61
  try {
62
62
  const encoder = new TextEncoder();
@@ -95,7 +95,6 @@ const Thumbnail = ({player, time, progress, videoState, visible}) => {
95
95
 
96
96
  const thumbnailImage = player.thumbnailHandler.ThumbnailImage(time);
97
97
 
98
- console.log(videoState, Time(time, videoState.duration))
99
98
  return (
100
99
  <div
101
100
  ref={setRef}
@@ -509,7 +508,7 @@ export const ContentVerificationMenu = ({player, Hide, className=""}) => {
509
508
  const menuRef = createRef();
510
509
  const [audit, setAudit] = useState();
511
510
  const [showDetails, setShowDetails] = useState(false);
512
- const [_, setLoaded] = useState(false);
511
+ const [, setLoaded] = useState(false);
513
512
 
514
513
  useEffect(() => {
515
514
  player.__LoadVerificationDetails()
@@ -1,6 +1,6 @@
1
1
  import TicketFormStyles from "../static/stylesheets/ticket-form.module.scss";
2
2
 
3
- import React, {useEffect, useState} from "react";
3
+ import {useEffect, useState} from "react";
4
4
  import {Spinner} from "./Components.jsx";
5
5
 
6
6
  const TicketForm = ({parameters, dimensions, onComplete}) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-player-js",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "description": "![Eluvio Logo](lib/static/images/Logo.png \"Eluvio Logo\")",
5
5
  "main": "dist/elv-player-js.es.js",
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "build-icons": "node lib/ui/BuildIcons.cjs",
18
18
  "lint": "npm run fix-scss ; npm run fix-js",
19
19
  "lint-show": "npm run lint-scss ; npm run lint-js",
20
- "lint-js": "eslint \"lib/**/*.js\"",
20
+ "lint-js": "eslint \"lib/**/*.js\" \"lib/**/*.jsx\"",
21
21
  "lint-scss": "npx stylelint \"lib/**/*.css\" \"lib/**/*.module.scss\"",
22
22
  "fix-js": "npm run lint-js -- --fix",
23
23
  "fix-scss": "npx stylelint --fix \"lib/**/*.css\" \"lib/**/*.module.scss\""