auth0-lock 12.2.0 → 12.3.1
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/.github/dependabot.yml +12 -0
- package/.github/workflows/publish.yml +89 -42
- package/.github/workflows/snyk.yml +1 -1
- package/.github/workflows/test.yml +9 -17
- package/.shiprc +1 -1
- package/CHANGELOG.md +12 -0
- package/DEVELOPMENT.md +8 -8
- package/Makefile +22 -0
- package/README.md +1 -1
- package/lib/__tests__/connection/database/actions.js +3 -3
- package/lib/__tests__/connection/database/index.js +3 -3
- package/lib/__tests__/connection/database/login_pane.js +2 -2
- package/lib/__tests__/connection/database/password_reset_confirmation.js +2 -2
- package/lib/__tests__/connection/database/signed_up_confirmation.js +2 -2
- package/lib/__tests__/connection/enterprise/actions.js +3 -3
- package/lib/__tests__/connection/enterprise/hrd_pane.js +3 -3
- package/lib/__tests__/connection/enterprise/hrd_screen.js +3 -3
- package/lib/__tests__/connection/enterprise/quick_auth_screen.js +2 -2
- package/lib/__tests__/connection/passwordless/ask_vcode.js +3 -3
- package/lib/__tests__/connection/passwordless/email_sent_confirmation.js +2 -2
- package/lib/__tests__/core/actions.js +3 -3
- package/lib/__tests__/core/remote_data.js +4 -4
- package/lib/__tests__/core/signed_in_confirmation.js +2 -2
- package/lib/__tests__/core/sso/last_login_screen.js +1 -1
- package/lib/__tests__/core/tenant.js +1 -1
- package/lib/__tests__/core/web_api.js +3 -3
- package/lib/__tests__/engine/classic.js +3 -3
- package/lib/__tests__/field/captcha/arkose.js +29 -0
- package/lib/__tests__/field/captcha/friendlyCaptcha.js +17 -47
- package/lib/__tests__/field/captcha/hcaptcha.js +17 -47
- package/lib/__tests__/field/captcha/recaptcha_enterprise.js +17 -47
- package/lib/__tests__/field/captcha/recaptchav2.js +17 -47
- package/lib/__tests__/field/captcha.js +30 -1
- package/lib/__tests__/field/field.js +1 -1
- package/lib/__tests__/i18n.js +3 -3
- package/lib/__tests__/testUtils.js +10 -17
- package/lib/__tests__/ui/box/chrome.js +3 -3
- package/lib/__tests__/ui/box/confirmation_pane.js +2 -2
- package/lib/avatar.js +4 -5
- package/lib/connection/captcha.js +3 -3
- package/lib/connection/database/actions.js +3 -3
- package/lib/connection/database/index.js +3 -3
- package/lib/connection/database/login_pane.js +4 -5
- package/lib/connection/database/login_sign_up_tabs.js +4 -5
- package/lib/connection/database/mfa_pane.js +2 -3
- package/lib/connection/database/password_reset_confirmation.js +4 -5
- package/lib/connection/database/reset_password.js +4 -5
- package/lib/connection/database/reset_password_pane.js +4 -5
- package/lib/connection/database/sign_up_terms.js +1 -2
- package/lib/connection/database/signed_up_confirmation.js +4 -5
- package/lib/connection/enterprise/actions.js +5 -5
- package/lib/connection/enterprise/hrd_pane.js +4 -5
- package/lib/connection/enterprise/hrd_screen.js +4 -5
- package/lib/connection/enterprise/kerberos_screen.js +4 -5
- package/lib/connection/enterprise/quick_auth_screen.js +4 -5
- package/lib/connection/enterprise/single_sign_on_notice.js +1 -2
- package/lib/connection/enterprise.js +6 -6
- package/lib/connection/passwordless/actions.js +5 -5
- package/lib/connection/passwordless/ask_vcode.js +2 -3
- package/lib/connection/passwordless/email_sent_confirmation.js +4 -5
- package/lib/connection/passwordless/index.js +3 -3
- package/lib/connection/social/index.js +4 -5
- package/lib/core/actions.js +5 -5
- package/lib/core/client/index.js +5 -5
- package/lib/core/client/settings.js +3 -3
- package/lib/core/error_screen.js +4 -5
- package/lib/core/index.js +7 -11
- package/lib/core/loading_screen.js +4 -5
- package/lib/core/pane_separator.js +1 -2
- package/lib/core/remote_data.js +3 -3
- package/lib/core/screen.js +4 -5
- package/lib/core/signed_in_confirmation.js +4 -5
- package/lib/core/sso/last_login_screen.js +4 -5
- package/lib/core/tenant/index.js +5 -5
- package/lib/core/tenant/settings.js +3 -3
- package/lib/core/web_api/helper.js +4 -5
- package/lib/core/web_api/p2_api.js +6 -9
- package/lib/core/web_api.js +2 -3
- package/lib/core.js +5 -6
- package/lib/engine/classic/login.js +4 -5
- package/lib/engine/classic/mfa_login_screen.js +4 -5
- package/lib/engine/classic/sign_up_pane.js +4 -5
- package/lib/engine/classic/sign_up_screen.js +4 -5
- package/lib/engine/classic.js +6 -6
- package/lib/engine/passwordless/social_or_email_login_screen.js +4 -5
- package/lib/engine/passwordless/social_or_phone_number_login_screen.js +4 -5
- package/lib/engine/passwordless.js +4 -5
- package/lib/field/captcha/captcha_pane.js +5 -5
- package/lib/field/captcha/third_party_captcha.js +129 -47
- package/lib/field/custom_input.js +4 -5
- package/lib/field/email/email_pane.js +4 -5
- package/lib/field/email.js +3 -3
- package/lib/field/index.js +3 -3
- package/lib/field/mfa-code/mfa_code_pane.js +4 -5
- package/lib/field/option_selection_pane.js +1 -2
- package/lib/field/password/password_pane.js +4 -5
- package/lib/field/phone-number/locations.js +1 -2
- package/lib/field/phone-number/phone_number_pane.js +5 -7
- package/lib/field/social/event.js +3 -3
- package/lib/field/social/social_buttons_pane.js +4 -5
- package/lib/field/username/username_pane.js +4 -5
- package/lib/field/vcode/vcode_pane.js +4 -5
- package/lib/i18n/af.js +1 -2
- package/lib/i18n/ar.js +1 -2
- package/lib/i18n/az.js +1 -2
- package/lib/i18n/bg.js +1 -2
- package/lib/i18n/ca.js +1 -2
- package/lib/i18n/cs.js +1 -2
- package/lib/i18n/da.js +1 -2
- package/lib/i18n/de.js +1 -2
- package/lib/i18n/el.js +1 -2
- package/lib/i18n/en.js +1 -2
- package/lib/i18n/es.js +1 -2
- package/lib/i18n/et.js +1 -2
- package/lib/i18n/fa.js +1 -2
- package/lib/i18n/fi.js +1 -2
- package/lib/i18n/fr.js +1 -2
- package/lib/i18n/he.js +1 -2
- package/lib/i18n/hr.js +1 -2
- package/lib/i18n/hu.js +1 -2
- package/lib/i18n/id.js +1 -2
- package/lib/i18n/it.js +1 -2
- package/lib/i18n/ja.js +1 -2
- package/lib/i18n/ko.js +1 -2
- package/lib/i18n/lt.js +1 -2
- package/lib/i18n/lv.js +1 -2
- package/lib/i18n/ms.js +1 -2
- package/lib/i18n/nb.js +1 -2
- package/lib/i18n/nl.js +1 -2
- package/lib/i18n/nn.js +1 -2
- package/lib/i18n/no.js +1 -2
- package/lib/i18n/pl.js +1 -2
- package/lib/i18n/pt-br.js +1 -2
- package/lib/i18n/pt.js +1 -2
- package/lib/i18n/ro.js +1 -2
- package/lib/i18n/ru.js +1 -2
- package/lib/i18n/sk.js +1 -2
- package/lib/i18n/sl.js +1 -2
- package/lib/i18n/sr.js +1 -2
- package/lib/i18n/sv.js +1 -2
- package/lib/i18n/tr.js +1 -2
- package/lib/i18n/ua.js +1 -2
- package/lib/i18n/uk.js +1 -2
- package/lib/i18n/vi.js +1 -2
- package/lib/i18n/zh-tw.js +1 -2
- package/lib/i18n/zh.js +1 -2
- package/lib/i18n.js +4 -4
- package/lib/index.js +3 -6
- package/lib/lock.js +5 -6
- package/lib/passwordless.js +5 -6
- package/lib/quick-auth/actions.js +5 -5
- package/lib/sync.js +5 -7
- package/lib/ui/box/button.js +2 -4
- package/lib/ui/box/chrome.js +4 -5
- package/lib/ui/box/confirmation_pane.js +4 -5
- package/lib/ui/box/container.js +5 -7
- package/lib/ui/box/global_message.js +2 -3
- package/lib/ui/box/header.js +2 -3
- package/lib/ui/box/multisize_slide.js +2 -3
- package/lib/ui/box/success_pane.js +1 -2
- package/lib/ui/box.js +3 -5
- package/lib/ui/button/auth_button.js +1 -2
- package/lib/ui/input/captcha_input.js +2 -3
- package/lib/ui/input/checkbox_input.js +2 -3
- package/lib/ui/input/email_input.js +2 -3
- package/lib/ui/input/input_wrap.js +2 -3
- package/lib/ui/input/location_input.js +3 -5
- package/lib/ui/input/mfa_code_input.js +2 -3
- package/lib/ui/input/password/password_strength.js +2 -3
- package/lib/ui/input/password_input.js +5 -7
- package/lib/ui/input/phone_number_input.js +2 -3
- package/lib/ui/input/select_input.js +2 -3
- package/lib/ui/input/text_input.js +2 -3
- package/lib/ui/input/username_input.js +2 -3
- package/lib/ui/input/vcode_input.js +2 -3
- package/lib/ui/list.js +4 -5
- package/lib/ui/pane/quick_auth_pane.js +1 -2
- package/lib/utils/atom.js +1 -1
- package/lib/utils/cache.js +2 -3
- package/lib/utils/data_utils.js +1 -1
- package/lib/utils/format.js +1 -1
- package/lib/utils/jsonp_utils.js +2 -3
- package/package.json +3 -3
package/lib/core/tenant/index.js
CHANGED
|
@@ -12,17 +12,17 @@ var _auth0PasswordPolicies = _interopRequireDefault(require("auth0-password-poli
|
|
|
12
12
|
var _data_utils = require("../../utils/data_utils");
|
|
13
13
|
var l = _interopRequireWildcard(require("../index"));
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
function _getRequireWildcardCache(
|
|
16
|
-
function _interopRequireWildcard(
|
|
17
|
-
function _typeof(
|
|
15
|
+
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); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
|
+
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); }
|
|
18
18
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
19
19
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20
20
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
21
21
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
22
22
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
23
23
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
24
|
-
function ownKeys(
|
|
25
|
-
function _objectSpread(
|
|
24
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26
26
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
27
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
28
28
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
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); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -9,8 +9,8 @@ exports.syncTenantSettingsSuccess = syncTenantSettingsSuccess;
|
|
|
9
9
|
var _cdn_utils = require("../../utils/cdn_utils");
|
|
10
10
|
var l = _interopRequireWildcard(require("../index"));
|
|
11
11
|
var _index2 = require("./index");
|
|
12
|
-
function _getRequireWildcardCache(
|
|
13
|
-
function _interopRequireWildcard(
|
|
12
|
+
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); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
14
|
function fetchTenantSettings(tenantBaseUrl, cb) {
|
|
15
15
|
(0, _cdn_utils.load)({
|
|
16
16
|
method: 'setTenant',
|
|
@@ -10,7 +10,7 @@ exports.normalizeError = normalizeError;
|
|
|
10
10
|
exports.trimAuthParams = trimAuthParams;
|
|
11
11
|
exports.webAuthOverrides = webAuthOverrides;
|
|
12
12
|
var _excluded = ["popup"];
|
|
13
|
-
function _typeof(
|
|
13
|
+
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); }
|
|
14
14
|
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
15
15
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -120,10 +120,9 @@ function normalizeError(error, domain) {
|
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
if (error.code === 'invalid_captcha') {
|
|
123
|
-
|
|
124
|
-
return _ref = {
|
|
123
|
+
return _defineProperty(_defineProperty({
|
|
125
124
|
code: 'invalid_captcha'
|
|
126
|
-
},
|
|
125
|
+
}, "code", 'invalid_captcha'), "description", error.description);
|
|
127
126
|
}
|
|
128
127
|
var result = {
|
|
129
128
|
error: error.code ? error.code : error.statusCode || error.error,
|
|
@@ -170,5 +169,5 @@ function trimAuthParams() {
|
|
|
170
169
|
return p;
|
|
171
170
|
}
|
|
172
171
|
function getVersion() {
|
|
173
|
-
return "12.
|
|
172
|
+
return "12.3.1";
|
|
174
173
|
}
|
|
@@ -9,9 +9,9 @@ var _qs = _interopRequireDefault(require("qs"));
|
|
|
9
9
|
var _cordovaAuth0PluginMin = _interopRequireDefault(require("auth0-js/dist/cordova-auth0-plugin.min.js"));
|
|
10
10
|
var _helper = require("./helper");
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _typeof(
|
|
13
|
-
function ownKeys(
|
|
14
|
-
function _objectSpread(
|
|
12
|
+
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); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
16
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
17
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
@@ -73,9 +73,8 @@ var Auth0APIClient = /*#__PURE__*/function () {
|
|
|
73
73
|
auth0Client = _qs$parse.auth0Client;
|
|
74
74
|
var ulpTelemetry = auth0Client && JSON.parse(atob(auth0Client));
|
|
75
75
|
if (this.isUniversalLogin && ulpTelemetry) {
|
|
76
|
-
var _objectSpread2;
|
|
77
76
|
telemetry = _objectSpread(_objectSpread({}, ulpTelemetry), {}, {
|
|
78
|
-
env: _objectSpread(_objectSpread({}, ulpTelemetry.env), {}, (
|
|
77
|
+
env: _objectSpread(_objectSpread({}, ulpTelemetry.env), {}, _defineProperty(_defineProperty({}, 'lock.js-ulp', (0, _helper.getVersion)()), 'auth0.js-ulp', _auth0Js.default.version.raw))
|
|
79
78
|
});
|
|
80
79
|
}
|
|
81
80
|
if (this.isUniversalLogin && !ulpTelemetry) {
|
|
@@ -86,9 +85,8 @@ var Auth0APIClient = /*#__PURE__*/function () {
|
|
|
86
85
|
};
|
|
87
86
|
}
|
|
88
87
|
if (!this.isUniversalLogin && telemetryOverride) {
|
|
89
|
-
var _objectSpread3;
|
|
90
88
|
telemetry = _objectSpread(_objectSpread({}, telemetryOverride), {}, {
|
|
91
|
-
env: _objectSpread(_objectSpread({}, telemetryOverride.env), {}, (
|
|
89
|
+
env: _objectSpread(_objectSpread({}, telemetryOverride.env), {}, _defineProperty(_defineProperty({}, 'lock.js', (0, _helper.getVersion)()), 'auth0.js', _auth0Js.default.version.raw))
|
|
92
90
|
});
|
|
93
91
|
}
|
|
94
92
|
if (!telemetry) {
|
|
@@ -213,5 +211,4 @@ var Auth0APIClient = /*#__PURE__*/function () {
|
|
|
213
211
|
}]);
|
|
214
212
|
return Auth0APIClient;
|
|
215
213
|
}();
|
|
216
|
-
var _default = Auth0APIClient;
|
|
217
|
-
exports.default = _default;
|
|
214
|
+
var _default = exports.default = Auth0APIClient;
|
package/lib/core/web_api.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _p2_api = _interopRequireDefault(require("./web_api/p2_api"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
-
function _typeof(
|
|
9
|
+
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); }
|
|
10
10
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
11
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
12
12
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -113,5 +113,4 @@ var Auth0WebAPI = /*#__PURE__*/function () {
|
|
|
113
113
|
}]);
|
|
114
114
|
return Auth0WebAPI;
|
|
115
115
|
}();
|
|
116
|
-
var _default = new Auth0WebAPI();
|
|
117
|
-
exports.default = _default;
|
|
116
|
+
var _default = exports.default = new Auth0WebAPI();
|