@lightspeed/online-payments-sdk 0.1.2 → 0.1.4

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/dist/cjs/index.js CHANGED
@@ -40,7 +40,7 @@ exports.mountLightspeedPayments = void 0;
40
40
  var frameMessenger_1 = require("./frameMessenger");
41
41
  var getContentHostname = function () {
42
42
  var _a, _b;
43
- return ((_b = (_a = process.env.OVERRIDE_IFRAME_CONTENT_HOSTNAME) !== null && _a !== void 0 ? _a : process.env.IFRAME_CONTENT_HOSTNAME) !== null && _b !== void 0 ? _b : '');
43
+ return ((_b = (_a = process.env.OVERRIDE_IFRAME_CONTENT_HOSTNAME) !== null && _a !== void 0 ? _a : process.env.IFRAME_CONTENT_HOSTNAME) !== null && _b !== void 0 ? _b : 'https://online-payment-widgets.lspay.lightspeed.app');
44
44
  };
45
45
  function createOnlinePaymentsInterface(messenger) {
46
46
  var _this = this;
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  import { FrameMessenger } from './frameMessenger';
38
38
  var getContentHostname = function () {
39
39
  var _a, _b;
40
- return ((_b = (_a = process.env.OVERRIDE_IFRAME_CONTENT_HOSTNAME) !== null && _a !== void 0 ? _a : process.env.IFRAME_CONTENT_HOSTNAME) !== null && _b !== void 0 ? _b : '');
40
+ return ((_b = (_a = process.env.OVERRIDE_IFRAME_CONTENT_HOSTNAME) !== null && _a !== void 0 ? _a : process.env.IFRAME_CONTENT_HOSTNAME) !== null && _b !== void 0 ? _b : 'https://online-payment-widgets.lspay.lightspeed.app');
41
41
  };
42
42
  function createOnlinePaymentsInterface(messenger) {
43
43
  var _this = this;
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@lightspeed/online-payments-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Process online-payments with Lightspeed Payments",
5
- "type": "module",
6
5
  "author": "Lightspeed Commerce Inc.",
7
6
  "license": "SEE LICENSE IN LICENSE.md",
8
7
  "main": "dist/cjs/index.js",