imposium-js-sdk 3.0.0 → 3.1.0
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.
- package/CODEOWNERS +1 -0
- package/examples/web/custom-player.html +1 -1
- package/examples/web/landing-page.html +1 -1
- package/lib/imposium.js +4 -4
- package/lib/imposium.js.map +1 -1
- package/lib/imposium.min.js +1 -1
- package/lib/imposium.min.js.LICENSE.txt +1 -1
- package/lib/imposium.min.js.map +1 -1
- package/package.json +1 -1
package/CODEOWNERS
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* @webbergreg
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<script type = "text/javascript">
|
|
25
25
|
|
|
26
26
|
//NOTE: PULL THIS EXPERIENCE ID FROM THE URL, this is hardcoded for sample purposes only
|
|
27
|
-
var experienceID = '
|
|
27
|
+
var experienceID = 'b8144874-ecc4-443d-f66e-00de89a19272';
|
|
28
28
|
|
|
29
29
|
//Store all required HTML refs
|
|
30
30
|
var videoNode = document.getElementById('dynamic-video');
|
package/lib/imposium.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! IMPOSIUM-JS-SDK | Version 3.
|
|
1
|
+
/*! IMPOSIUM-JS-SDK | Version 3.1.0 */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory();
|
|
@@ -16614,7 +16614,7 @@ var API = /** @class */ (function () {
|
|
|
16614
16614
|
*/
|
|
16615
16615
|
this.get = function (experienceId) {
|
|
16616
16616
|
return new Promise(function (resolve, reject) {
|
|
16617
|
-
_this.http.get("/experience/".concat(experienceId, "?r=").concat(Math.random()))
|
|
16617
|
+
_this.http.get("/story/".concat(_this.storyId, "/experience/").concat(experienceId, "?r=").concat(Math.random()))
|
|
16618
16618
|
.then(function (res) {
|
|
16619
16619
|
resolve(res.data);
|
|
16620
16620
|
})
|
|
@@ -17241,9 +17241,9 @@ exports.inventoryToFormData = inventoryToFormData;
|
|
|
17241
17241
|
|
|
17242
17242
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17243
17243
|
exports.printVersion = exports.version = void 0;
|
|
17244
|
-
exports.version = "3.
|
|
17244
|
+
exports.version = "3.1.0";
|
|
17245
17245
|
var printVersion = function () {
|
|
17246
|
-
console.log("%cPowered By%c Imposium%c v".concat("3.
|
|
17246
|
+
console.log("%cPowered By%c Imposium%c v".concat("3.1.0", "%c https://imposium.com"), 'text-transform: uppercase; padding: 5px 0px 5px 5px; background-color: black; color: white;', 'text-transform: uppercase; padding: 5px 0px 5px 0px; background-color: black; color: #a1b83a;', 'padding: 5px 5px 5px 0px; background-color: black; color: white;', 'padding: 5px 5px 5px 0px;');
|
|
17247
17247
|
};
|
|
17248
17248
|
exports.printVersion = printVersion;
|
|
17249
17249
|
|