@upandgo/react-scorm-container
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -165,3 +165,3 @@ import { createRef, createElement, Component } from 'react'; | ||
var relativeUrl = content.manifest.resources[0].resource[0].$.href; | ||
var endUrl = "" + imsmanifestUrl.replace("imsmanifest.xml", "") + relativeUrl.replace("./", ""); | ||
var endUrl = "" + imsmanifestUrl.replace("imsmanifest.xml", "" + relativeUrl.replace("./", "")); | ||
return endUrl; | ||
@@ -168,0 +168,0 @@ }; |
@@ -169,3 +169,3 @@ 'use strict'; | ||
var relativeUrl = content.manifest.resources[0].resource[0].$.href; | ||
var endUrl = "" + imsmanifestUrl.replace("imsmanifest.xml", "") + relativeUrl.replace("./", ""); | ||
var endUrl = "" + imsmanifestUrl.replace("imsmanifest.xml", "" + relativeUrl.replace("./", "")); | ||
return endUrl; | ||
@@ -172,0 +172,0 @@ }; |
{ | ||
"name": "@upandgo/react-scorm-container", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A React component acting as a LMS, listening to SCORM API events and reacting to SCORM API call.", | ||
@@ -5,0 +5,0 @@ "author": "Sangrene", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
94277
3