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 ADDED
@@ -0,0 +1 @@
1
+ * @webbergreg
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  function gotExperience(data) {
99
- videoNode.src = data.output.videos['mp4_720'].url;
99
+ videoNode.src = data.output.videos[0].url;
100
100
  }
101
101
 
102
102
  //Validate the two inputs in the inputs field, enable the submit button if they are filled out
@@ -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 = 'bdc8ca2e-6c68-4c37-8396-bae2c65964d9';
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.0.0 */
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.0.0";
17244
+ exports.version = "3.1.0";
17245
17245
  var printVersion = function () {
17246
- console.log("%cPowered By%c Imposium%c v".concat("3.0.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;');
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