authscape 1.0.702 → 1.0.704

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/index.js CHANGED
@@ -2366,7 +2366,7 @@ var FileUploader = exports.FileUploader = function FileUploader(_ref) {
2366
2366
  Object.defineProperty(exports, "__esModule", {
2367
2367
  value: true
2368
2368
  });
2369
- exports["default"] = GDPRConsentDialog;
2369
+ exports.GDPRConsentDialog = void 0;
2370
2370
  var _react = _interopRequireWildcard(require("react"));
2371
2371
  var _material = require("@mui/material");
2372
2372
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -2383,7 +2383,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2383
2383
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
2384
2384
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
2385
2385
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
2386
- function GDPRConsentDialog(_ref) {
2386
+ var GDPRConsentDialog = exports.GDPRConsentDialog = function GDPRConsentDialog(_ref) {
2387
2387
  var onAccept = _ref.onAccept,
2388
2388
  onReject = _ref.onReject,
2389
2389
  _ref$enableAnalytics = _ref.enableAnalytics,
@@ -2568,7 +2568,7 @@ function GDPRConsentDialog(_ref) {
2568
2568
  return setCustomize(false);
2569
2569
  }
2570
2570
  }, "Cancel")))));
2571
- }
2571
+ };
2572
2572
  "use strict";
2573
2573
 
2574
2574
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.702",
3
+ "version": "1.0.704",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,13 +9,13 @@ import {
9
9
  Collapse,
10
10
  } from "@mui/material";
11
11
 
12
- export default function GDPRConsentDialog({
12
+ export const GDPRConsentDialog = ({
13
13
  onAccept,
14
14
  onReject,
15
15
  enableAnalytics = true,
16
16
  enableMarketing = true,
17
17
  additionalPrivacyFeatures = []
18
- }) {
18
+ }) => {
19
19
  const initialPreferences = {
20
20
  necessary: true,
21
21
  analytics: enableAnalytics,