few-ticket-widget 1.0.7 → 1.0.8

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.
@@ -10,24 +10,19 @@ var TicketWidget = function TicketWidget(_ref) {
10
10
  width = _ref$width === void 0 ? '100%' : _ref$width,
11
11
  _ref$height = _ref.height,
12
12
  height = _ref$height === void 0 ? 700 : _ref$height,
13
- _ref$baseUrl = _ref.baseUrl,
14
- baseUrl = _ref$baseUrl === void 0 ? 'https://fewticket.com' : _ref$baseUrl;
13
+ baseUrl = _ref.baseUrl;
15
14
  var iframeURL = "".concat(baseUrl, "/checkout/").concat(encodeURIComponent(eventSlug), "?theme=").concat(encodeURIComponent(theme));
16
15
  return /*#__PURE__*/React.createElement("div", {
17
16
  style: {
18
17
  width: width,
19
- border: '1px solid #e5e5e5',
20
- borderRadius: '8px',
21
- overflow: 'hidden'
18
+ height: height
22
19
  }
23
20
  }, /*#__PURE__*/React.createElement("iframe", {
24
21
  src: iframeURL,
25
- style: {
26
- width: '100%',
27
- height: height,
28
- border: '0'
29
- },
30
- allow: "payment"
22
+ width: "100%",
23
+ height: "100%",
24
+ frameBorder: "0",
25
+ allowFullScreen: true
31
26
  }));
32
27
  };
33
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "few-ticket-widget",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "dist/react-ticket-widget.js",
5
5
  "files": [
6
6
  "dist"