@auth0/auth0-spa-js 1.22.1 → 1.22.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/auth0-spa-js.development.js +162 -105
- package/dist/auth0-spa-js.development.js.map +1 -1
- package/dist/auth0-spa-js.production.esm.js +1 -1
- package/dist/auth0-spa-js.production.esm.js.map +1 -1
- package/dist/auth0-spa-js.production.js +1 -1
- package/dist/auth0-spa-js.production.js.map +1 -1
- package/dist/lib/auth0-spa-js.cjs.js +165 -105
- package/dist/lib/auth0-spa-js.cjs.js.map +1 -1
- package/dist/typings/Auth0Client.d.ts +7 -0
- package/dist/typings/storage.d.ts +2 -2
- package/dist/typings/version.d.ts +1 -1
- package/package.json +4 -6
- package/src/Auth0Client.ts +27 -3
- package/src/storage.ts +20 -7
- package/src/version.ts +1 -1
|
@@ -321,20 +321,20 @@ var classofRaw = function(it) {
|
|
|
321
321
|
return stringSlice$3(toString$1(it), 8, -1);
|
|
322
322
|
};
|
|
323
323
|
|
|
324
|
-
var Object$
|
|
324
|
+
var $Object$4 = Object;
|
|
325
325
|
|
|
326
326
|
var split = functionUncurryThis("".split);
|
|
327
327
|
|
|
328
328
|
var indexedObject = fails((function() {
|
|
329
|
-
return
|
|
329
|
+
return !$Object$4("z").propertyIsEnumerable(0);
|
|
330
330
|
})) ? function(it) {
|
|
331
|
-
return classofRaw(it) == "String" ? split(it, "") : Object$
|
|
332
|
-
} : Object$
|
|
331
|
+
return classofRaw(it) == "String" ? split(it, "") : $Object$4(it);
|
|
332
|
+
} : $Object$4;
|
|
333
333
|
|
|
334
|
-
var TypeError$
|
|
334
|
+
var $TypeError$c = TypeError;
|
|
335
335
|
|
|
336
336
|
var requireObjectCoercible = function(it) {
|
|
337
|
-
if (it == undefined) throw TypeError$
|
|
337
|
+
if (it == undefined) throw $TypeError$c("Can't call method on " + it);
|
|
338
338
|
return it;
|
|
339
339
|
};
|
|
340
340
|
|
|
@@ -394,30 +394,30 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails((function() {
|
|
|
394
394
|
|
|
395
395
|
var useSymbolAsUid = nativeSymbol && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
396
396
|
|
|
397
|
-
var Object$
|
|
397
|
+
var $Object$3 = Object;
|
|
398
398
|
|
|
399
399
|
var isSymbol = useSymbolAsUid ? function(it) {
|
|
400
400
|
return typeof it == "symbol";
|
|
401
401
|
} : function(it) {
|
|
402
402
|
var $Symbol = getBuiltIn("Symbol");
|
|
403
|
-
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$
|
|
403
|
+
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$3(it));
|
|
404
404
|
};
|
|
405
405
|
|
|
406
|
-
var String$
|
|
406
|
+
var $String$3 = String;
|
|
407
407
|
|
|
408
408
|
var tryToString = function(argument) {
|
|
409
409
|
try {
|
|
410
|
-
return String$
|
|
410
|
+
return $String$3(argument);
|
|
411
411
|
} catch (error) {
|
|
412
412
|
return "Object";
|
|
413
413
|
}
|
|
414
414
|
};
|
|
415
415
|
|
|
416
|
-
var TypeError$
|
|
416
|
+
var $TypeError$b = TypeError;
|
|
417
417
|
|
|
418
418
|
var aCallable = function(argument) {
|
|
419
419
|
if (isCallable(argument)) return argument;
|
|
420
|
-
throw TypeError$
|
|
420
|
+
throw $TypeError$b(tryToString(argument) + " is not a function");
|
|
421
421
|
};
|
|
422
422
|
|
|
423
423
|
var getMethod = function(V, P) {
|
|
@@ -425,14 +425,14 @@ var getMethod = function(V, P) {
|
|
|
425
425
|
return func == null ? undefined : aCallable(func);
|
|
426
426
|
};
|
|
427
427
|
|
|
428
|
-
var TypeError$
|
|
428
|
+
var $TypeError$a = TypeError;
|
|
429
429
|
|
|
430
430
|
var ordinaryToPrimitive = function(input, pref) {
|
|
431
431
|
var fn, val;
|
|
432
432
|
if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
433
433
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
434
434
|
if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
435
|
-
throw TypeError$
|
|
435
|
+
throw $TypeError$a("Can't convert object to primitive value");
|
|
436
436
|
};
|
|
437
437
|
|
|
438
438
|
var defineProperty$7 = Object.defineProperty;
|
|
@@ -460,18 +460,18 @@ var shared = createCommonjsModule((function(module) {
|
|
|
460
460
|
(module.exports = function(key, value) {
|
|
461
461
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
462
462
|
})("versions", []).push({
|
|
463
|
-
version: "3.
|
|
463
|
+
version: "3.24.0",
|
|
464
464
|
mode: "global",
|
|
465
465
|
copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)",
|
|
466
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
|
466
|
+
license: "https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",
|
|
467
467
|
source: "https://github.com/zloirock/core-js"
|
|
468
468
|
});
|
|
469
469
|
}));
|
|
470
470
|
|
|
471
|
-
var Object$
|
|
471
|
+
var $Object$2 = Object;
|
|
472
472
|
|
|
473
473
|
var toObject = function(argument) {
|
|
474
|
-
return Object$
|
|
474
|
+
return $Object$2(requireObjectCoercible(argument));
|
|
475
475
|
};
|
|
476
476
|
|
|
477
477
|
var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
@@ -512,7 +512,7 @@ var wellKnownSymbol = function(name) {
|
|
|
512
512
|
return WellKnownSymbolsStore$1[name];
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
-
var TypeError$
|
|
515
|
+
var $TypeError$9 = TypeError;
|
|
516
516
|
|
|
517
517
|
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
|
|
518
518
|
|
|
@@ -524,7 +524,7 @@ var toPrimitive = function(input, pref) {
|
|
|
524
524
|
if (pref === undefined) pref = "default";
|
|
525
525
|
result = functionCall(exoticToPrim, input, pref);
|
|
526
526
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
527
|
-
throw TypeError$
|
|
527
|
+
throw $TypeError$9("Can't convert object to primitive value");
|
|
528
528
|
}
|
|
529
529
|
if (pref === undefined) pref = "number";
|
|
530
530
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -573,16 +573,16 @@ var v8PrototypeDefineBug = descriptors && fails((function() {
|
|
|
573
573
|
}).prototype != 42;
|
|
574
574
|
}));
|
|
575
575
|
|
|
576
|
-
var String$
|
|
576
|
+
var $String$2 = String;
|
|
577
577
|
|
|
578
|
-
var TypeError$
|
|
578
|
+
var $TypeError$8 = TypeError;
|
|
579
579
|
|
|
580
580
|
var anObject = function(argument) {
|
|
581
581
|
if (isObject(argument)) return argument;
|
|
582
|
-
throw TypeError$
|
|
582
|
+
throw $TypeError$8($String$2(argument) + " is not an object");
|
|
583
583
|
};
|
|
584
584
|
|
|
585
|
-
var TypeError$
|
|
585
|
+
var $TypeError$7 = TypeError;
|
|
586
586
|
|
|
587
587
|
var $defineProperty$1 = Object.defineProperty;
|
|
588
588
|
|
|
@@ -617,7 +617,7 @@ var f$5 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
617
617
|
if (ie8DomDefine) try {
|
|
618
618
|
return $defineProperty$1(O, P, Attributes);
|
|
619
619
|
} catch (error) {}
|
|
620
|
-
if ("get" in Attributes || "set" in Attributes) throw TypeError$
|
|
620
|
+
if ("get" in Attributes || "set" in Attributes) throw $TypeError$7("Accessors not supported");
|
|
621
621
|
if ("value" in Attributes) O[P] = Attributes.value;
|
|
622
622
|
return O;
|
|
623
623
|
};
|
|
@@ -673,7 +673,7 @@ var hiddenKeys$1 = {};
|
|
|
673
673
|
|
|
674
674
|
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
|
|
675
675
|
|
|
676
|
-
var TypeError$
|
|
676
|
+
var TypeError$3 = global_1.TypeError;
|
|
677
677
|
|
|
678
678
|
var WeakMap = global_1.WeakMap;
|
|
679
679
|
|
|
@@ -687,7 +687,7 @@ var getterFor = function(TYPE) {
|
|
|
687
687
|
return function(it) {
|
|
688
688
|
var state;
|
|
689
689
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
690
|
-
throw TypeError$
|
|
690
|
+
throw TypeError$3("Incompatible receiver, " + TYPE + " required");
|
|
691
691
|
}
|
|
692
692
|
return state;
|
|
693
693
|
};
|
|
@@ -699,7 +699,7 @@ if (nativeWeakMap || sharedStore.state) {
|
|
|
699
699
|
var wmhas = functionUncurryThis(store.has);
|
|
700
700
|
var wmset = functionUncurryThis(store.set);
|
|
701
701
|
set = function(it, metadata) {
|
|
702
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
702
|
+
if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
703
703
|
metadata.facade = it;
|
|
704
704
|
wmset(store, it, metadata);
|
|
705
705
|
return metadata;
|
|
@@ -714,7 +714,7 @@ if (nativeWeakMap || sharedStore.state) {
|
|
|
714
714
|
var STATE = sharedKey("state");
|
|
715
715
|
hiddenKeys$1[STATE] = true;
|
|
716
716
|
set = function(it, metadata) {
|
|
717
|
-
if (hasOwnProperty_1(it, STATE)) throw new TypeError$
|
|
717
|
+
if (hasOwnProperty_1(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
718
718
|
metadata.facade = it;
|
|
719
719
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
720
720
|
return metadata;
|
|
@@ -753,23 +753,23 @@ var makeBuiltIn_1 = createCommonjsModule((function(module) {
|
|
|
753
753
|
if (options && options.getter) name = "get " + name;
|
|
754
754
|
if (options && options.setter) name = "set " + name;
|
|
755
755
|
if (!hasOwnProperty_1(value, "name") || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {
|
|
756
|
-
defineProperty(value, "name", {
|
|
756
|
+
if (descriptors) defineProperty(value, "name", {
|
|
757
757
|
value: name,
|
|
758
758
|
configurable: true
|
|
759
|
-
});
|
|
759
|
+
}); else value.name = name;
|
|
760
760
|
}
|
|
761
761
|
if (CONFIGURABLE_LENGTH && options && hasOwnProperty_1(options, "arity") && value.length !== options.arity) {
|
|
762
762
|
defineProperty(value, "length", {
|
|
763
763
|
value: options.arity
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
|
-
|
|
767
|
-
if (
|
|
768
|
-
defineProperty(value, "prototype", {
|
|
766
|
+
try {
|
|
767
|
+
if (options && hasOwnProperty_1(options, "constructor") && options.constructor) {
|
|
768
|
+
if (descriptors) defineProperty(value, "prototype", {
|
|
769
769
|
writable: false
|
|
770
770
|
});
|
|
771
|
-
}
|
|
772
|
-
}
|
|
771
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
772
|
+
} catch (error) {}
|
|
773
773
|
var state = enforceInternalState(value);
|
|
774
774
|
if (!hasOwnProperty_1(state, "source")) {
|
|
775
775
|
state.source = TEMPLATE.join(typeof name == "string" ? name : "");
|
|
@@ -789,8 +789,15 @@ var defineBuiltIn = function(O, key, value, options) {
|
|
|
789
789
|
if (options.global) {
|
|
790
790
|
if (simple) O[key] = value; else defineGlobalProperty(key, value);
|
|
791
791
|
} else {
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
try {
|
|
793
|
+
if (!options.unsafe) delete O[key]; else if (O[key]) simple = true;
|
|
794
|
+
} catch (error) {}
|
|
795
|
+
if (simple) O[key] = value; else objectDefineProperty.f(O, key, {
|
|
796
|
+
value: value,
|
|
797
|
+
enumerable: false,
|
|
798
|
+
configurable: !options.nonConfigurable,
|
|
799
|
+
writable: !options.nonWritable
|
|
800
|
+
});
|
|
794
801
|
}
|
|
795
802
|
return O;
|
|
796
803
|
};
|
|
@@ -964,7 +971,7 @@ var toStringTagSupport = String(test) === "[object z]";
|
|
|
964
971
|
|
|
965
972
|
var TO_STRING_TAG$2 = wellKnownSymbol("toStringTag");
|
|
966
973
|
|
|
967
|
-
var Object$
|
|
974
|
+
var $Object$1 = Object;
|
|
968
975
|
|
|
969
976
|
var CORRECT_ARGUMENTS = classofRaw(function() {
|
|
970
977
|
return arguments;
|
|
@@ -978,14 +985,14 @@ var tryGet = function(it, key) {
|
|
|
978
985
|
|
|
979
986
|
var classof = toStringTagSupport ? classofRaw : function(it) {
|
|
980
987
|
var O, tag, result;
|
|
981
|
-
return it === undefined ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = Object$
|
|
988
|
+
return it === undefined ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && isCallable(O.callee) ? "Arguments" : result;
|
|
982
989
|
};
|
|
983
990
|
|
|
984
|
-
var String$
|
|
991
|
+
var $String$1 = String;
|
|
985
992
|
|
|
986
993
|
var toString_1 = function(argument) {
|
|
987
994
|
if (classof(argument) === "Symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
988
|
-
return String$
|
|
995
|
+
return $String$1(argument);
|
|
989
996
|
};
|
|
990
997
|
|
|
991
998
|
var MATCH$1 = wellKnownSymbol("match");
|
|
@@ -995,11 +1002,11 @@ var isRegexp = function(it) {
|
|
|
995
1002
|
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classofRaw(it) == "RegExp");
|
|
996
1003
|
};
|
|
997
1004
|
|
|
998
|
-
var TypeError$
|
|
1005
|
+
var $TypeError$6 = TypeError;
|
|
999
1006
|
|
|
1000
1007
|
var notARegexp = function(it) {
|
|
1001
1008
|
if (isRegexp(it)) {
|
|
1002
|
-
throw TypeError$
|
|
1009
|
+
throw $TypeError$6("The method doesn't accept regular expressions");
|
|
1003
1010
|
}
|
|
1004
1011
|
return it;
|
|
1005
1012
|
};
|
|
@@ -1058,6 +1065,15 @@ var isArray$1 = Array.isArray || function isArray(argument) {
|
|
|
1058
1065
|
return classofRaw(argument) == "Array";
|
|
1059
1066
|
};
|
|
1060
1067
|
|
|
1068
|
+
var $TypeError$5 = TypeError;
|
|
1069
|
+
|
|
1070
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1071
|
+
|
|
1072
|
+
var doesNotExceedSafeInteger = function(it) {
|
|
1073
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError$5("Maximum allowed index exceeded");
|
|
1074
|
+
return it;
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1061
1077
|
var createProperty = function(object, key, value) {
|
|
1062
1078
|
var propertyKey = toPropertyKey(key);
|
|
1063
1079
|
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value;
|
|
@@ -1111,18 +1127,18 @@ var isConstructor = !construct || fails((function() {
|
|
|
1111
1127
|
|
|
1112
1128
|
var SPECIES$3 = wellKnownSymbol("species");
|
|
1113
1129
|
|
|
1114
|
-
var Array$
|
|
1130
|
+
var $Array$2 = Array;
|
|
1115
1131
|
|
|
1116
1132
|
var arraySpeciesConstructor = function(originalArray) {
|
|
1117
1133
|
var C;
|
|
1118
1134
|
if (isArray$1(originalArray)) {
|
|
1119
1135
|
C = originalArray.constructor;
|
|
1120
|
-
if (isConstructor(C) && (C === Array$
|
|
1136
|
+
if (isConstructor(C) && (C === $Array$2 || isArray$1(C.prototype))) C = undefined; else if (isObject(C)) {
|
|
1121
1137
|
C = C[SPECIES$3];
|
|
1122
1138
|
if (C === null) C = undefined;
|
|
1123
1139
|
}
|
|
1124
1140
|
}
|
|
1125
|
-
return C === undefined ? Array$
|
|
1141
|
+
return C === undefined ? $Array$2 : C;
|
|
1126
1142
|
};
|
|
1127
1143
|
|
|
1128
1144
|
var arraySpeciesCreate = function(originalArray, length) {
|
|
@@ -1146,12 +1162,6 @@ var arrayMethodHasSpeciesSupport = function(METHOD_NAME) {
|
|
|
1146
1162
|
|
|
1147
1163
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol("isConcatSpreadable");
|
|
1148
1164
|
|
|
1149
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
1150
|
-
|
|
1151
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = "Maximum allowed index exceeded";
|
|
1152
|
-
|
|
1153
|
-
var TypeError$8 = global_1.TypeError;
|
|
1154
|
-
|
|
1155
1165
|
var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails((function() {
|
|
1156
1166
|
var array = [];
|
|
1157
1167
|
array[IS_CONCAT_SPREADABLE] = false;
|
|
@@ -1183,10 +1193,10 @@ _export({
|
|
|
1183
1193
|
E = i === -1 ? O : arguments[i];
|
|
1184
1194
|
if (isConcatSpreadable(E)) {
|
|
1185
1195
|
len = lengthOfArrayLike(E);
|
|
1186
|
-
|
|
1196
|
+
doesNotExceedSafeInteger(n + len);
|
|
1187
1197
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
1188
1198
|
} else {
|
|
1189
|
-
|
|
1199
|
+
doesNotExceedSafeInteger(n + 1);
|
|
1190
1200
|
createProperty(A, n++, E);
|
|
1191
1201
|
}
|
|
1192
1202
|
}
|
|
@@ -1289,7 +1299,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1289
1299
|
return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
|
|
1290
1300
|
};
|
|
1291
1301
|
|
|
1292
|
-
var Array$
|
|
1302
|
+
var $Array$1 = Array;
|
|
1293
1303
|
|
|
1294
1304
|
var max = Math.max;
|
|
1295
1305
|
|
|
@@ -1297,7 +1307,7 @@ var arraySliceSimple = function(O, start, end) {
|
|
|
1297
1307
|
var length = lengthOfArrayLike(O);
|
|
1298
1308
|
var k = toAbsoluteIndex(start, length);
|
|
1299
1309
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
1300
|
-
var result = Array$
|
|
1310
|
+
var result = $Array$1(max(fin - k, 0));
|
|
1301
1311
|
for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
1302
1312
|
result.length = n;
|
|
1303
1313
|
return result;
|
|
@@ -1446,7 +1456,7 @@ var PROTOTYPE = "prototype";
|
|
|
1446
1456
|
|
|
1447
1457
|
var setInternalState$3 = internalState.set;
|
|
1448
1458
|
|
|
1449
|
-
var getInternalState$
|
|
1459
|
+
var getInternalState$3 = internalState.getterFor(SYMBOL);
|
|
1450
1460
|
|
|
1451
1461
|
var ObjectPrototype$2 = Object[PROTOTYPE];
|
|
1452
1462
|
|
|
@@ -1454,7 +1464,7 @@ var $Symbol = global_1.Symbol;
|
|
|
1454
1464
|
|
|
1455
1465
|
var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE];
|
|
1456
1466
|
|
|
1457
|
-
var TypeError$
|
|
1467
|
+
var TypeError$2 = global_1.TypeError;
|
|
1458
1468
|
|
|
1459
1469
|
var QObject = global_1.QObject;
|
|
1460
1470
|
|
|
@@ -1579,7 +1589,7 @@ var $getOwnPropertySymbols = function(O) {
|
|
|
1579
1589
|
|
|
1580
1590
|
if (!nativeSymbol) {
|
|
1581
1591
|
$Symbol = function Symbol() {
|
|
1582
|
-
if (objectIsPrototypeOf(SymbolPrototype$1, this)) throw TypeError$
|
|
1592
|
+
if (objectIsPrototypeOf(SymbolPrototype$1, this)) throw TypeError$2("Symbol is not a constructor");
|
|
1583
1593
|
var description = !arguments.length || arguments[0] === undefined ? undefined : toString_1(arguments[0]);
|
|
1584
1594
|
var tag = uid(description);
|
|
1585
1595
|
var setter = function(value) {
|
|
@@ -1595,7 +1605,7 @@ if (!nativeSymbol) {
|
|
|
1595
1605
|
};
|
|
1596
1606
|
SymbolPrototype$1 = $Symbol[PROTOTYPE];
|
|
1597
1607
|
defineBuiltIn(SymbolPrototype$1, "toString", (function toString() {
|
|
1598
|
-
return getInternalState$
|
|
1608
|
+
return getInternalState$3(this).tag;
|
|
1599
1609
|
}));
|
|
1600
1610
|
defineBuiltIn($Symbol, "withoutSetter", (function(description) {
|
|
1601
1611
|
return wrap(uid(description), description);
|
|
@@ -1613,7 +1623,7 @@ if (!nativeSymbol) {
|
|
|
1613
1623
|
nativeDefineProperty(SymbolPrototype$1, "description", {
|
|
1614
1624
|
configurable: true,
|
|
1615
1625
|
get: function description() {
|
|
1616
|
-
return getInternalState$
|
|
1626
|
+
return getInternalState$3(this).description;
|
|
1617
1627
|
}
|
|
1618
1628
|
});
|
|
1619
1629
|
{
|
|
@@ -1920,18 +1930,18 @@ var correctPrototypeGetter = !fails((function() {
|
|
|
1920
1930
|
|
|
1921
1931
|
var IE_PROTO = sharedKey("IE_PROTO");
|
|
1922
1932
|
|
|
1923
|
-
var Object
|
|
1933
|
+
var $Object = Object;
|
|
1924
1934
|
|
|
1925
|
-
var ObjectPrototype$1 = Object
|
|
1935
|
+
var ObjectPrototype$1 = $Object.prototype;
|
|
1926
1936
|
|
|
1927
|
-
var objectGetPrototypeOf = correctPrototypeGetter ? Object
|
|
1937
|
+
var objectGetPrototypeOf = correctPrototypeGetter ? $Object.getPrototypeOf : function(O) {
|
|
1928
1938
|
var object = toObject(O);
|
|
1929
1939
|
if (hasOwnProperty_1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1930
1940
|
var constructor = object.constructor;
|
|
1931
1941
|
if (isCallable(constructor) && object instanceof constructor) {
|
|
1932
1942
|
return constructor.prototype;
|
|
1933
1943
|
}
|
|
1934
|
-
return object instanceof Object
|
|
1944
|
+
return object instanceof $Object ? ObjectPrototype$1 : null;
|
|
1935
1945
|
};
|
|
1936
1946
|
|
|
1937
1947
|
var ITERATOR$4 = wellKnownSymbol("iterator");
|
|
@@ -1984,13 +1994,13 @@ var createIteratorConstructor = function(IteratorConstructor, NAME, next, ENUMER
|
|
|
1984
1994
|
return IteratorConstructor;
|
|
1985
1995
|
};
|
|
1986
1996
|
|
|
1987
|
-
var String
|
|
1997
|
+
var $String = String;
|
|
1988
1998
|
|
|
1989
|
-
var TypeError$
|
|
1999
|
+
var $TypeError$4 = TypeError;
|
|
1990
2000
|
|
|
1991
2001
|
var aPossiblePrototype = function(argument) {
|
|
1992
2002
|
if (typeof argument == "object" || isCallable(argument)) return argument;
|
|
1993
|
-
throw TypeError$
|
|
2003
|
+
throw $TypeError$4("Can't set " + $String(argument) + " as a prototype");
|
|
1994
2004
|
};
|
|
1995
2005
|
|
|
1996
2006
|
var objectSetPrototypeOf = Object.setPrototypeOf || ("__proto__" in {} ? function() {
|
|
@@ -2116,7 +2126,7 @@ var STRING_ITERATOR = "String Iterator";
|
|
|
2116
2126
|
|
|
2117
2127
|
var setInternalState$2 = internalState.set;
|
|
2118
2128
|
|
|
2119
|
-
var getInternalState$
|
|
2129
|
+
var getInternalState$2 = internalState.getterFor(STRING_ITERATOR);
|
|
2120
2130
|
|
|
2121
2131
|
defineIterator(String, "String", (function(iterated) {
|
|
2122
2132
|
setInternalState$2(this, {
|
|
@@ -2125,7 +2135,7 @@ defineIterator(String, "String", (function(iterated) {
|
|
|
2125
2135
|
index: 0
|
|
2126
2136
|
});
|
|
2127
2137
|
}), (function next() {
|
|
2128
|
-
var state = getInternalState$
|
|
2138
|
+
var state = getInternalState$2(this);
|
|
2129
2139
|
var string = state.string;
|
|
2130
2140
|
var index = state.index;
|
|
2131
2141
|
var point;
|
|
@@ -2183,15 +2193,15 @@ var getIteratorMethod = function(it) {
|
|
|
2183
2193
|
if (it != undefined) return getMethod(it, ITERATOR$1) || getMethod(it, "@@iterator") || iterators[classof(it)];
|
|
2184
2194
|
};
|
|
2185
2195
|
|
|
2186
|
-
var TypeError$
|
|
2196
|
+
var $TypeError$3 = TypeError;
|
|
2187
2197
|
|
|
2188
2198
|
var getIterator = function(argument, usingIterator) {
|
|
2189
2199
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
2190
2200
|
if (aCallable(iteratorMethod)) return anObject(functionCall(iteratorMethod, argument));
|
|
2191
|
-
throw TypeError$
|
|
2201
|
+
throw $TypeError$3(tryToString(argument) + " is not iterable");
|
|
2192
2202
|
};
|
|
2193
2203
|
|
|
2194
|
-
var Array
|
|
2204
|
+
var $Array = Array;
|
|
2195
2205
|
|
|
2196
2206
|
var arrayFrom = function from(arrayLike) {
|
|
2197
2207
|
var O = toObject(arrayLike);
|
|
@@ -2203,7 +2213,7 @@ var arrayFrom = function from(arrayLike) {
|
|
|
2203
2213
|
var iteratorMethod = getIteratorMethod(O);
|
|
2204
2214
|
var index = 0;
|
|
2205
2215
|
var length, result, step, iterator, next, value;
|
|
2206
|
-
if (iteratorMethod && !(this
|
|
2216
|
+
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
2207
2217
|
iterator = getIterator(O, iteratorMethod);
|
|
2208
2218
|
next = iterator.next;
|
|
2209
2219
|
result = IS_CONSTRUCTOR ? new this : [];
|
|
@@ -2213,7 +2223,7 @@ var arrayFrom = function from(arrayLike) {
|
|
|
2213
2223
|
}
|
|
2214
2224
|
} else {
|
|
2215
2225
|
length = lengthOfArrayLike(O);
|
|
2216
|
-
result = IS_CONSTRUCTOR ? new this(length) : Array
|
|
2226
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
|
2217
2227
|
for (;length > index; index++) {
|
|
2218
2228
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
2219
2229
|
createProperty(result, index, value);
|
|
@@ -2284,6 +2294,10 @@ var arrayBufferNative = typeof ArrayBuffer != "undefined" && typeof DataView !=
|
|
|
2284
2294
|
|
|
2285
2295
|
var defineProperty$3 = objectDefineProperty.f;
|
|
2286
2296
|
|
|
2297
|
+
var enforceInternalState = internalState.enforce;
|
|
2298
|
+
|
|
2299
|
+
var getInternalState$1 = internalState.get;
|
|
2300
|
+
|
|
2287
2301
|
var Int8Array$1 = global_1.Int8Array;
|
|
2288
2302
|
|
|
2289
2303
|
var Int8ArrayPrototype = Int8Array$1 && Int8Array$1.prototype;
|
|
@@ -2298,13 +2312,13 @@ var TypedArrayPrototype = Int8ArrayPrototype && objectGetPrototypeOf(Int8ArrayPr
|
|
|
2298
2312
|
|
|
2299
2313
|
var ObjectPrototype = Object.prototype;
|
|
2300
2314
|
|
|
2301
|
-
var TypeError$
|
|
2315
|
+
var TypeError$1 = global_1.TypeError;
|
|
2302
2316
|
|
|
2303
2317
|
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
|
|
2304
2318
|
|
|
2305
2319
|
var TYPED_ARRAY_TAG = uid("TYPED_ARRAY_TAG");
|
|
2306
2320
|
|
|
2307
|
-
var TYPED_ARRAY_CONSTRUCTOR
|
|
2321
|
+
var TYPED_ARRAY_CONSTRUCTOR = "TypedArrayConstructor";
|
|
2308
2322
|
|
|
2309
2323
|
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== "Opera";
|
|
2310
2324
|
|
|
@@ -2335,6 +2349,13 @@ var isView = function isView(it) {
|
|
|
2335
2349
|
return klass === "DataView" || hasOwnProperty_1(TypedArrayConstructorsList, klass) || hasOwnProperty_1(BigIntArrayConstructorsList, klass);
|
|
2336
2350
|
};
|
|
2337
2351
|
|
|
2352
|
+
var getTypedArrayConstructor$1 = function(it) {
|
|
2353
|
+
var proto = objectGetPrototypeOf(it);
|
|
2354
|
+
if (!isObject(proto)) return;
|
|
2355
|
+
var state = getInternalState$1(proto);
|
|
2356
|
+
return state && hasOwnProperty_1(state, TYPED_ARRAY_CONSTRUCTOR) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$1(proto);
|
|
2357
|
+
};
|
|
2358
|
+
|
|
2338
2359
|
var isTypedArray = function(it) {
|
|
2339
2360
|
if (!isObject(it)) return false;
|
|
2340
2361
|
var klass = classof(it);
|
|
@@ -2343,12 +2364,12 @@ var isTypedArray = function(it) {
|
|
|
2343
2364
|
|
|
2344
2365
|
var aTypedArray$1 = function(it) {
|
|
2345
2366
|
if (isTypedArray(it)) return it;
|
|
2346
|
-
throw TypeError$
|
|
2367
|
+
throw TypeError$1("Target is not a typed array");
|
|
2347
2368
|
};
|
|
2348
2369
|
|
|
2349
2370
|
var aTypedArrayConstructor$1 = function(C) {
|
|
2350
2371
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
2351
|
-
throw TypeError$
|
|
2372
|
+
throw TypeError$1(tryToString(C) + " is not a typed array constructor");
|
|
2352
2373
|
};
|
|
2353
2374
|
|
|
2354
2375
|
var exportTypedArrayMethod$1 = function(KEY, property, forced, options) {
|
|
@@ -2395,18 +2416,18 @@ var exportTypedArrayStaticMethod = function(KEY, property, forced) {
|
|
|
2395
2416
|
for (NAME in TypedArrayConstructorsList) {
|
|
2396
2417
|
Constructor = global_1[NAME];
|
|
2397
2418
|
Prototype = Constructor && Constructor.prototype;
|
|
2398
|
-
if (Prototype)
|
|
2419
|
+
if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; else NATIVE_ARRAY_BUFFER_VIEWS = false;
|
|
2399
2420
|
}
|
|
2400
2421
|
|
|
2401
2422
|
for (NAME in BigIntArrayConstructorsList) {
|
|
2402
2423
|
Constructor = global_1[NAME];
|
|
2403
2424
|
Prototype = Constructor && Constructor.prototype;
|
|
2404
|
-
if (Prototype)
|
|
2425
|
+
if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
|
|
2405
2426
|
}
|
|
2406
2427
|
|
|
2407
2428
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
2408
2429
|
TypedArray = function TypedArray() {
|
|
2409
|
-
throw TypeError$
|
|
2430
|
+
throw TypeError$1("Incorrect invocation");
|
|
2410
2431
|
};
|
|
2411
2432
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
2412
2433
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -2438,23 +2459,23 @@ if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG)) {
|
|
|
2438
2459
|
|
|
2439
2460
|
var arrayBufferViewCore = {
|
|
2440
2461
|
NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
|
|
2441
|
-
TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR$1,
|
|
2442
2462
|
TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
|
|
2443
2463
|
aTypedArray: aTypedArray$1,
|
|
2444
2464
|
aTypedArrayConstructor: aTypedArrayConstructor$1,
|
|
2445
2465
|
exportTypedArrayMethod: exportTypedArrayMethod$1,
|
|
2446
2466
|
exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
|
|
2467
|
+
getTypedArrayConstructor: getTypedArrayConstructor$1,
|
|
2447
2468
|
isView: isView,
|
|
2448
2469
|
isTypedArray: isTypedArray,
|
|
2449
2470
|
TypedArray: TypedArray,
|
|
2450
2471
|
TypedArrayPrototype: TypedArrayPrototype
|
|
2451
2472
|
};
|
|
2452
2473
|
|
|
2453
|
-
var TypeError$
|
|
2474
|
+
var $TypeError$2 = TypeError;
|
|
2454
2475
|
|
|
2455
2476
|
var aConstructor = function(argument) {
|
|
2456
2477
|
if (isConstructor(argument)) return argument;
|
|
2457
|
-
throw TypeError$
|
|
2478
|
+
throw $TypeError$2(tryToString(argument) + " is not a constructor");
|
|
2458
2479
|
};
|
|
2459
2480
|
|
|
2460
2481
|
var SPECIES$1 = wellKnownSymbol("species");
|
|
@@ -2465,12 +2486,12 @@ var speciesConstructor = function(O, defaultConstructor) {
|
|
|
2465
2486
|
return C === undefined || (S = anObject(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
|
|
2466
2487
|
};
|
|
2467
2488
|
|
|
2468
|
-
var TYPED_ARRAY_CONSTRUCTOR = arrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;
|
|
2469
|
-
|
|
2470
2489
|
var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor;
|
|
2471
2490
|
|
|
2491
|
+
var getTypedArrayConstructor = arrayBufferViewCore.getTypedArrayConstructor;
|
|
2492
|
+
|
|
2472
2493
|
var typedArraySpeciesConstructor = function(originalArray) {
|
|
2473
|
-
return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray
|
|
2494
|
+
return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));
|
|
2474
2495
|
};
|
|
2475
2496
|
|
|
2476
2497
|
var aTypedArray = arrayBufferViewCore.aTypedArray;
|
|
@@ -2700,7 +2721,7 @@ internalMetadata.getWeakData;
|
|
|
2700
2721
|
|
|
2701
2722
|
internalMetadata.onFreeze;
|
|
2702
2723
|
|
|
2703
|
-
var TypeError$
|
|
2724
|
+
var $TypeError$1 = TypeError;
|
|
2704
2725
|
|
|
2705
2726
|
var Result = function(stopped, result) {
|
|
2706
2727
|
this.stopped = stopped;
|
|
@@ -2712,6 +2733,7 @@ var ResultPrototype = Result.prototype;
|
|
|
2712
2733
|
var iterate = function(iterable, unboundFunction, options) {
|
|
2713
2734
|
var that = options && options.that;
|
|
2714
2735
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2736
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
2715
2737
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
2716
2738
|
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
2717
2739
|
var fn = functionBindContext(unboundFunction, that);
|
|
@@ -2727,11 +2749,13 @@ var iterate = function(iterable, unboundFunction, options) {
|
|
|
2727
2749
|
}
|
|
2728
2750
|
return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2729
2751
|
};
|
|
2730
|
-
if (
|
|
2752
|
+
if (IS_RECORD) {
|
|
2753
|
+
iterator = iterable.iterator;
|
|
2754
|
+
} else if (IS_ITERATOR) {
|
|
2731
2755
|
iterator = iterable;
|
|
2732
2756
|
} else {
|
|
2733
2757
|
iterFn = getIteratorMethod(iterable);
|
|
2734
|
-
if (!iterFn) throw TypeError$
|
|
2758
|
+
if (!iterFn) throw $TypeError$1(tryToString(iterable) + " is not iterable");
|
|
2735
2759
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2736
2760
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
2737
2761
|
result = callFn(iterable[index]);
|
|
@@ -2741,7 +2765,7 @@ var iterate = function(iterable, unboundFunction, options) {
|
|
|
2741
2765
|
}
|
|
2742
2766
|
iterator = getIterator(iterable, iterFn);
|
|
2743
2767
|
}
|
|
2744
|
-
next = iterator.next;
|
|
2768
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
2745
2769
|
while (!(step = functionCall(next, iterator)).done) {
|
|
2746
2770
|
try {
|
|
2747
2771
|
result = callFn(step.value);
|
|
@@ -2753,11 +2777,11 @@ var iterate = function(iterable, unboundFunction, options) {
|
|
|
2753
2777
|
return new Result(false);
|
|
2754
2778
|
};
|
|
2755
2779
|
|
|
2756
|
-
var TypeError
|
|
2780
|
+
var $TypeError = TypeError;
|
|
2757
2781
|
|
|
2758
2782
|
var anInstance = function(it, Prototype) {
|
|
2759
2783
|
if (objectIsPrototypeOf(Prototype, it)) return it;
|
|
2760
|
-
throw TypeError
|
|
2784
|
+
throw $TypeError("Incorrect invocation");
|
|
2761
2785
|
};
|
|
2762
2786
|
|
|
2763
2787
|
var inheritIfRequired = function($this, dummy, Wrapper) {
|
|
@@ -3590,7 +3614,7 @@ if (typeof globalNS["Promise"] !== "function") {
|
|
|
3590
3614
|
})(typeof self !== "undefined" ? self : commonjsGlobal);
|
|
3591
3615
|
}));
|
|
3592
3616
|
|
|
3593
|
-
var version = "1.22.
|
|
3617
|
+
var version = "1.22.4";
|
|
3594
3618
|
|
|
3595
3619
|
var DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
|
|
3596
3620
|
|
|
@@ -4558,8 +4582,12 @@ var CookieStorage = {
|
|
|
4558
4582
|
}
|
|
4559
4583
|
Cookies__namespace.set(key, JSON.stringify(value), cookieAttributes);
|
|
4560
4584
|
},
|
|
4561
|
-
remove: function(key) {
|
|
4562
|
-
|
|
4585
|
+
remove: function(key, options) {
|
|
4586
|
+
var cookieAttributes = {};
|
|
4587
|
+
if (options === null || options === void 0 ? void 0 : options.cookieDomain) {
|
|
4588
|
+
cookieAttributes.domain = options.cookieDomain;
|
|
4589
|
+
}
|
|
4590
|
+
Cookies__namespace.remove(key, cookieAttributes);
|
|
4563
4591
|
}
|
|
4564
4592
|
};
|
|
4565
4593
|
|
|
@@ -4586,9 +4614,14 @@ var CookieStorageWithLegacySameSite = {
|
|
|
4586
4614
|
Cookies__namespace.set("".concat(LEGACY_PREFIX).concat(key), JSON.stringify(value), cookieAttributes);
|
|
4587
4615
|
CookieStorage.save(key, value, options);
|
|
4588
4616
|
},
|
|
4589
|
-
remove: function(key) {
|
|
4590
|
-
|
|
4591
|
-
|
|
4617
|
+
remove: function(key, options) {
|
|
4618
|
+
var cookieAttributes = {};
|
|
4619
|
+
if (options === null || options === void 0 ? void 0 : options.cookieDomain) {
|
|
4620
|
+
cookieAttributes.domain = options.cookieDomain;
|
|
4621
|
+
}
|
|
4622
|
+
Cookies__namespace.remove(key, cookieAttributes);
|
|
4623
|
+
CookieStorage.remove(key, options);
|
|
4624
|
+
CookieStorage.remove("".concat(LEGACY_PREFIX).concat(key), options);
|
|
4592
4625
|
}
|
|
4593
4626
|
};
|
|
4594
4627
|
|
|
@@ -4822,24 +4855,43 @@ var getCustomInitialOptions = function(options) {
|
|
|
4822
4855
|
options.auth0Client;
|
|
4823
4856
|
options.authorizeTimeoutInSeconds;
|
|
4824
4857
|
options.cacheLocation;
|
|
4858
|
+
options.cache;
|
|
4825
4859
|
options.client_id;
|
|
4826
4860
|
options.domain;
|
|
4827
4861
|
options.issuer;
|
|
4828
4862
|
options.leeway;
|
|
4829
4863
|
options.max_age;
|
|
4864
|
+
options.nowProvider;
|
|
4830
4865
|
options.redirect_uri;
|
|
4831
4866
|
options.scope;
|
|
4832
4867
|
options.useRefreshTokens;
|
|
4868
|
+
options.useRefreshTokensFallback;
|
|
4833
4869
|
options.useCookiesForTransactions;
|
|
4834
4870
|
options.useFormData;
|
|
4835
|
-
var customParams = __rest(options, [ "advancedOptions", "audience", "auth0Client", "authorizeTimeoutInSeconds", "cacheLocation", "client_id", "domain", "issuer", "leeway", "max_age", "redirect_uri", "scope", "useRefreshTokens", "useCookiesForTransactions", "useFormData" ]);
|
|
4871
|
+
var customParams = __rest(options, [ "advancedOptions", "audience", "auth0Client", "authorizeTimeoutInSeconds", "cacheLocation", "cache", "client_id", "domain", "issuer", "leeway", "max_age", "nowProvider", "redirect_uri", "scope", "useRefreshTokens", "useRefreshTokensFallback", "useCookiesForTransactions", "useFormData" ]);
|
|
4836
4872
|
return customParams;
|
|
4837
4873
|
};
|
|
4838
4874
|
|
|
4839
4875
|
var Auth0Client = function() {
|
|
4840
4876
|
function Auth0Client(options) {
|
|
4877
|
+
var _this = this;
|
|
4841
4878
|
var _a, _b;
|
|
4842
4879
|
this.options = options;
|
|
4880
|
+
this._releaseLockOnPageHide = function() {
|
|
4881
|
+
return __awaiter(_this, void 0, void 0, (function() {
|
|
4882
|
+
return __generator(this, (function(_a) {
|
|
4883
|
+
switch (_a.label) {
|
|
4884
|
+
case 0:
|
|
4885
|
+
return [ 4, lock.releaseLock(GET_TOKEN_SILENTLY_LOCK_KEY) ];
|
|
4886
|
+
|
|
4887
|
+
case 1:
|
|
4888
|
+
_a.sent();
|
|
4889
|
+
window.removeEventListener("pagehide", this._releaseLockOnPageHide);
|
|
4890
|
+
return [ 2 ];
|
|
4891
|
+
}
|
|
4892
|
+
}));
|
|
4893
|
+
}));
|
|
4894
|
+
};
|
|
4843
4895
|
typeof window !== "undefined" && validateCrypto();
|
|
4844
4896
|
if (options.cache && options.cacheLocation) {
|
|
4845
4897
|
console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`.");
|
|
@@ -4948,7 +5000,9 @@ var Auth0Client = function() {
|
|
|
4948
5000
|
cookieDomain: this.options.cookieDomain
|
|
4949
5001
|
});
|
|
4950
5002
|
} else {
|
|
4951
|
-
this.cookieStorage.remove(this.orgHintCookieName
|
|
5003
|
+
this.cookieStorage.remove(this.orgHintCookieName, {
|
|
5004
|
+
cookieDomain: this.options.cookieDomain
|
|
5005
|
+
});
|
|
4952
5006
|
}
|
|
4953
5007
|
};
|
|
4954
5008
|
Auth0Client.prototype.buildAuthorizeUrl = function(options) {
|
|
@@ -5306,6 +5360,7 @@ var Auth0Client = function() {
|
|
|
5306
5360
|
|
|
5307
5361
|
case 4:
|
|
5308
5362
|
_b.trys.push([ 4, , 12, 14 ]);
|
|
5363
|
+
window.addEventListener("pagehide", this._releaseLockOnPageHide);
|
|
5309
5364
|
if (!!ignoreCache) return [ 3, 6 ];
|
|
5310
5365
|
return [ 4, this._getEntryFromCache({
|
|
5311
5366
|
scope: getTokenOptions.scope,
|
|
@@ -5367,6 +5422,7 @@ var Auth0Client = function() {
|
|
|
5367
5422
|
|
|
5368
5423
|
case 13:
|
|
5369
5424
|
_b.sent();
|
|
5425
|
+
window.removeEventListener("pagehide", this._releaseLockOnPageHide);
|
|
5370
5426
|
return [ 7 ];
|
|
5371
5427
|
|
|
5372
5428
|
case 14:
|
|
@@ -5452,8 +5508,12 @@ var Auth0Client = function() {
|
|
|
5452
5508
|
throw new Error("It is invalid to set both the `federated` and `localOnly` options to `true`");
|
|
5453
5509
|
}
|
|
5454
5510
|
var postCacheClear = function() {
|
|
5455
|
-
_this.cookieStorage.remove(_this.orgHintCookieName
|
|
5456
|
-
|
|
5511
|
+
_this.cookieStorage.remove(_this.orgHintCookieName, {
|
|
5512
|
+
cookieDomain: _this.options.cookieDomain
|
|
5513
|
+
});
|
|
5514
|
+
_this.cookieStorage.remove(_this.isAuthenticatedCookieName, {
|
|
5515
|
+
cookieDomain: _this.options.cookieDomain
|
|
5516
|
+
});
|
|
5457
5517
|
if (localOnly) {
|
|
5458
5518
|
return;
|
|
5459
5519
|
}
|