@auth0/auth0-spa-js 1.22.1 → 1.22.2
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 +111 -92
- 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 +114 -92
- package/dist/lib/auth0-spa-js.cjs.js.map +1 -1
- package/dist/typings/version.d.ts +1 -1
- package/package.json +3 -4
- package/src/Auth0Client.ts +3 -0
- package/src/version.ts +1 -1
|
@@ -256,16 +256,16 @@
|
|
|
256
256
|
var classofRaw = function(it) {
|
|
257
257
|
return stringSlice$3(toString$1(it), 8, -1);
|
|
258
258
|
};
|
|
259
|
-
var Object$
|
|
259
|
+
var $Object$4 = Object;
|
|
260
260
|
var split = functionUncurryThis("".split);
|
|
261
261
|
var indexedObject = fails((function() {
|
|
262
|
-
return
|
|
262
|
+
return !$Object$4("z").propertyIsEnumerable(0);
|
|
263
263
|
})) ? function(it) {
|
|
264
|
-
return classofRaw(it) == "String" ? split(it, "") : Object$
|
|
265
|
-
} : Object$
|
|
266
|
-
var TypeError$
|
|
264
|
+
return classofRaw(it) == "String" ? split(it, "") : $Object$4(it);
|
|
265
|
+
} : $Object$4;
|
|
266
|
+
var $TypeError$c = TypeError;
|
|
267
267
|
var requireObjectCoercible = function(it) {
|
|
268
|
-
if (it == undefined) throw TypeError$
|
|
268
|
+
if (it == undefined) throw $TypeError$c("Can't call method on " + it);
|
|
269
269
|
return it;
|
|
270
270
|
};
|
|
271
271
|
var toIndexedObject = function(it) {
|
|
@@ -307,37 +307,37 @@
|
|
|
307
307
|
return !String(symbol) || !(Object(symbol) instanceof Symbol) || !Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
308
308
|
}));
|
|
309
309
|
var useSymbolAsUid = nativeSymbol && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
310
|
-
var Object$
|
|
310
|
+
var $Object$3 = Object;
|
|
311
311
|
var isSymbol = useSymbolAsUid ? function(it) {
|
|
312
312
|
return typeof it == "symbol";
|
|
313
313
|
} : function(it) {
|
|
314
314
|
var $Symbol = getBuiltIn("Symbol");
|
|
315
|
-
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, Object$
|
|
315
|
+
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$3(it));
|
|
316
316
|
};
|
|
317
|
-
var String$
|
|
317
|
+
var $String$3 = String;
|
|
318
318
|
var tryToString = function(argument) {
|
|
319
319
|
try {
|
|
320
|
-
return String$
|
|
320
|
+
return $String$3(argument);
|
|
321
321
|
} catch (error) {
|
|
322
322
|
return "Object";
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
|
-
var TypeError$
|
|
325
|
+
var $TypeError$b = TypeError;
|
|
326
326
|
var aCallable = function(argument) {
|
|
327
327
|
if (isCallable(argument)) return argument;
|
|
328
|
-
throw TypeError$
|
|
328
|
+
throw $TypeError$b(tryToString(argument) + " is not a function");
|
|
329
329
|
};
|
|
330
330
|
var getMethod = function(V, P) {
|
|
331
331
|
var func = V[P];
|
|
332
332
|
return func == null ? undefined : aCallable(func);
|
|
333
333
|
};
|
|
334
|
-
var TypeError$
|
|
334
|
+
var $TypeError$a = TypeError;
|
|
335
335
|
var ordinaryToPrimitive = function(input, pref) {
|
|
336
336
|
var fn, val;
|
|
337
337
|
if (pref === "string" && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
338
338
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
339
339
|
if (pref !== "string" && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
340
|
-
throw TypeError$
|
|
340
|
+
throw $TypeError$a("Can't convert object to primitive value");
|
|
341
341
|
};
|
|
342
342
|
var defineProperty$7 = Object.defineProperty;
|
|
343
343
|
var defineGlobalProperty = function(key, value) {
|
|
@@ -359,16 +359,16 @@
|
|
|
359
359
|
(module.exports = function(key, value) {
|
|
360
360
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
361
361
|
})("versions", []).push({
|
|
362
|
-
version: "3.
|
|
362
|
+
version: "3.23.2",
|
|
363
363
|
mode: "global",
|
|
364
364
|
copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)",
|
|
365
|
-
license: "https://github.com/zloirock/core-js/blob/v3.
|
|
365
|
+
license: "https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE",
|
|
366
366
|
source: "https://github.com/zloirock/core-js"
|
|
367
367
|
});
|
|
368
368
|
}));
|
|
369
|
-
var Object$
|
|
369
|
+
var $Object$2 = Object;
|
|
370
370
|
var toObject = function(argument) {
|
|
371
|
-
return Object$
|
|
371
|
+
return $Object$2(requireObjectCoercible(argument));
|
|
372
372
|
};
|
|
373
373
|
var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
374
374
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
}
|
|
398
398
|
return WellKnownSymbolsStore$1[name];
|
|
399
399
|
};
|
|
400
|
-
var TypeError$
|
|
400
|
+
var $TypeError$9 = TypeError;
|
|
401
401
|
var TO_PRIMITIVE = wellKnownSymbol("toPrimitive");
|
|
402
402
|
var toPrimitive = function(input, pref) {
|
|
403
403
|
if (!isObject(input) || isSymbol(input)) return input;
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
if (pref === undefined) pref = "default";
|
|
408
408
|
result = functionCall(exoticToPrim, input, pref);
|
|
409
409
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
410
|
-
throw TypeError$
|
|
410
|
+
throw $TypeError$9("Can't convert object to primitive value");
|
|
411
411
|
}
|
|
412
412
|
if (pref === undefined) pref = "number";
|
|
413
413
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -446,13 +446,13 @@
|
|
|
446
446
|
writable: false
|
|
447
447
|
}).prototype != 42;
|
|
448
448
|
}));
|
|
449
|
-
var String$
|
|
450
|
-
var TypeError$
|
|
449
|
+
var $String$2 = String;
|
|
450
|
+
var $TypeError$8 = TypeError;
|
|
451
451
|
var anObject = function(argument) {
|
|
452
452
|
if (isObject(argument)) return argument;
|
|
453
|
-
throw TypeError$
|
|
453
|
+
throw $TypeError$8($String$2(argument) + " is not an object");
|
|
454
454
|
};
|
|
455
|
-
var TypeError$
|
|
455
|
+
var $TypeError$7 = TypeError;
|
|
456
456
|
var $defineProperty$1 = Object.defineProperty;
|
|
457
457
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
458
458
|
var ENUMERABLE = "enumerable";
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
if (ie8DomDefine) try {
|
|
482
482
|
return $defineProperty$1(O, P, Attributes);
|
|
483
483
|
} catch (error) {}
|
|
484
|
-
if ("get" in Attributes || "set" in Attributes) throw TypeError$
|
|
484
|
+
if ("get" in Attributes || "set" in Attributes) throw $TypeError$7("Accessors not supported");
|
|
485
485
|
if ("value" in Attributes) O[P] = Attributes.value;
|
|
486
486
|
return O;
|
|
487
487
|
};
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
};
|
|
520
520
|
var hiddenKeys$1 = {};
|
|
521
521
|
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
|
|
522
|
-
var TypeError$
|
|
522
|
+
var TypeError$3 = global_1.TypeError;
|
|
523
523
|
var WeakMap = global_1.WeakMap;
|
|
524
524
|
var set, get, has;
|
|
525
525
|
var enforce = function(it) {
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
return function(it) {
|
|
530
530
|
var state;
|
|
531
531
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
532
|
-
throw TypeError$
|
|
532
|
+
throw TypeError$3("Incompatible receiver, " + TYPE + " required");
|
|
533
533
|
}
|
|
534
534
|
return state;
|
|
535
535
|
};
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
var wmhas = functionUncurryThis(store.has);
|
|
541
541
|
var wmset = functionUncurryThis(store.set);
|
|
542
542
|
set = function(it, metadata) {
|
|
543
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
543
|
+
if (wmhas(store, it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
544
544
|
metadata.facade = it;
|
|
545
545
|
wmset(store, it, metadata);
|
|
546
546
|
return metadata;
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
var STATE = sharedKey("state");
|
|
556
556
|
hiddenKeys$1[STATE] = true;
|
|
557
557
|
set = function(it, metadata) {
|
|
558
|
-
if (hasOwnProperty_1(it, STATE)) throw new TypeError$
|
|
558
|
+
if (hasOwnProperty_1(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
559
559
|
metadata.facade = it;
|
|
560
560
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
561
561
|
return metadata;
|
|
@@ -602,13 +602,13 @@
|
|
|
602
602
|
value: options.arity
|
|
603
603
|
});
|
|
604
604
|
}
|
|
605
|
-
|
|
606
|
-
if (
|
|
607
|
-
defineProperty(value, "prototype", {
|
|
605
|
+
try {
|
|
606
|
+
if (options && hasOwnProperty_1(options, "constructor") && options.constructor) {
|
|
607
|
+
if (descriptors) defineProperty(value, "prototype", {
|
|
608
608
|
writable: false
|
|
609
609
|
});
|
|
610
|
-
}
|
|
611
|
-
}
|
|
610
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
611
|
+
} catch (error) {}
|
|
612
612
|
var state = enforceInternalState(value);
|
|
613
613
|
if (!hasOwnProperty_1(state, "source")) {
|
|
614
614
|
state.source = TEMPLATE.join(typeof name == "string" ? name : "");
|
|
@@ -628,7 +628,12 @@
|
|
|
628
628
|
if (simple) O[key] = value; else defineGlobalProperty(key, value);
|
|
629
629
|
} else {
|
|
630
630
|
if (!options.unsafe) delete O[key]; else if (O[key]) simple = true;
|
|
631
|
-
if (simple) O[key] = value; else
|
|
631
|
+
if (simple) O[key] = value; else objectDefineProperty.f(O, key, {
|
|
632
|
+
value: value,
|
|
633
|
+
enumerable: false,
|
|
634
|
+
configurable: !options.nonConfigurable,
|
|
635
|
+
writable: !options.nonWritable
|
|
636
|
+
});
|
|
632
637
|
}
|
|
633
638
|
return O;
|
|
634
639
|
};
|
|
@@ -763,7 +768,7 @@
|
|
|
763
768
|
test[TO_STRING_TAG$3] = "z";
|
|
764
769
|
var toStringTagSupport = String(test) === "[object z]";
|
|
765
770
|
var TO_STRING_TAG$2 = wellKnownSymbol("toStringTag");
|
|
766
|
-
var Object$
|
|
771
|
+
var $Object$1 = Object;
|
|
767
772
|
var CORRECT_ARGUMENTS = classofRaw(function() {
|
|
768
773
|
return arguments;
|
|
769
774
|
}()) == "Arguments";
|
|
@@ -774,22 +779,22 @@
|
|
|
774
779
|
};
|
|
775
780
|
var classof = toStringTagSupport ? classofRaw : function(it) {
|
|
776
781
|
var O, tag, result;
|
|
777
|
-
return it === undefined ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = Object$
|
|
782
|
+
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;
|
|
778
783
|
};
|
|
779
|
-
var String$
|
|
784
|
+
var $String$1 = String;
|
|
780
785
|
var toString_1 = function(argument) {
|
|
781
786
|
if (classof(argument) === "Symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
782
|
-
return String$
|
|
787
|
+
return $String$1(argument);
|
|
783
788
|
};
|
|
784
789
|
var MATCH$1 = wellKnownSymbol("match");
|
|
785
790
|
var isRegexp = function(it) {
|
|
786
791
|
var isRegExp;
|
|
787
792
|
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classofRaw(it) == "RegExp");
|
|
788
793
|
};
|
|
789
|
-
var TypeError$
|
|
794
|
+
var $TypeError$6 = TypeError;
|
|
790
795
|
var notARegexp = function(it) {
|
|
791
796
|
if (isRegexp(it)) {
|
|
792
|
-
throw TypeError$
|
|
797
|
+
throw $TypeError$6("The method doesn't accept regular expressions");
|
|
793
798
|
}
|
|
794
799
|
return it;
|
|
795
800
|
};
|
|
@@ -835,6 +840,12 @@
|
|
|
835
840
|
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
836
841
|
return classofRaw(argument) == "Array";
|
|
837
842
|
};
|
|
843
|
+
var $TypeError$5 = TypeError;
|
|
844
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
845
|
+
var doesNotExceedSafeInteger = function(it) {
|
|
846
|
+
if (it > MAX_SAFE_INTEGER) throw $TypeError$5("Maximum allowed index exceeded");
|
|
847
|
+
return it;
|
|
848
|
+
};
|
|
838
849
|
var createProperty = function(object, key, value) {
|
|
839
850
|
var propertyKey = toPropertyKey(key);
|
|
840
851
|
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value;
|
|
@@ -876,17 +887,17 @@
|
|
|
876
887
|
})) || called;
|
|
877
888
|
})) ? isConstructorLegacy : isConstructorModern;
|
|
878
889
|
var SPECIES$3 = wellKnownSymbol("species");
|
|
879
|
-
var Array$
|
|
890
|
+
var $Array$2 = Array;
|
|
880
891
|
var arraySpeciesConstructor = function(originalArray) {
|
|
881
892
|
var C;
|
|
882
893
|
if (isArray$1(originalArray)) {
|
|
883
894
|
C = originalArray.constructor;
|
|
884
|
-
if (isConstructor(C) && (C === Array$
|
|
895
|
+
if (isConstructor(C) && (C === $Array$2 || isArray$1(C.prototype))) C = undefined; else if (isObject(C)) {
|
|
885
896
|
C = C[SPECIES$3];
|
|
886
897
|
if (C === null) C = undefined;
|
|
887
898
|
}
|
|
888
899
|
}
|
|
889
|
-
return C === undefined ? Array$
|
|
900
|
+
return C === undefined ? $Array$2 : C;
|
|
890
901
|
};
|
|
891
902
|
var arraySpeciesCreate = function(originalArray, length) {
|
|
892
903
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
@@ -905,9 +916,6 @@
|
|
|
905
916
|
}));
|
|
906
917
|
};
|
|
907
918
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol("isConcatSpreadable");
|
|
908
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
909
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = "Maximum allowed index exceeded";
|
|
910
|
-
var TypeError$8 = global_1.TypeError;
|
|
911
919
|
var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails((function() {
|
|
912
920
|
var array = [];
|
|
913
921
|
array[IS_CONCAT_SPREADABLE] = false;
|
|
@@ -935,10 +943,10 @@
|
|
|
935
943
|
E = i === -1 ? O : arguments[i];
|
|
936
944
|
if (isConcatSpreadable(E)) {
|
|
937
945
|
len = lengthOfArrayLike(E);
|
|
938
|
-
|
|
946
|
+
doesNotExceedSafeInteger(n + len);
|
|
939
947
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
940
948
|
} else {
|
|
941
|
-
|
|
949
|
+
doesNotExceedSafeInteger(n + 1);
|
|
942
950
|
createProperty(A, n++, E);
|
|
943
951
|
}
|
|
944
952
|
}
|
|
@@ -1021,13 +1029,13 @@
|
|
|
1021
1029
|
} else result = NullProtoObject();
|
|
1022
1030
|
return Properties === undefined ? result : objectDefineProperties.f(result, Properties);
|
|
1023
1031
|
};
|
|
1024
|
-
var Array$
|
|
1032
|
+
var $Array$1 = Array;
|
|
1025
1033
|
var max = Math.max;
|
|
1026
1034
|
var arraySliceSimple = function(O, start, end) {
|
|
1027
1035
|
var length = lengthOfArrayLike(O);
|
|
1028
1036
|
var k = toAbsoluteIndex(start, length);
|
|
1029
1037
|
var fin = toAbsoluteIndex(end === undefined ? length : end, length);
|
|
1030
|
-
var result = Array$
|
|
1038
|
+
var result = $Array$1(max(fin - k, 0));
|
|
1031
1039
|
for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
|
|
1032
1040
|
result.length = n;
|
|
1033
1041
|
return result;
|
|
@@ -1151,11 +1159,11 @@
|
|
|
1151
1159
|
var SYMBOL = "Symbol";
|
|
1152
1160
|
var PROTOTYPE = "prototype";
|
|
1153
1161
|
var setInternalState$3 = internalState.set;
|
|
1154
|
-
var getInternalState$
|
|
1162
|
+
var getInternalState$3 = internalState.getterFor(SYMBOL);
|
|
1155
1163
|
var ObjectPrototype$2 = Object[PROTOTYPE];
|
|
1156
1164
|
var $Symbol = global_1.Symbol;
|
|
1157
1165
|
var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE];
|
|
1158
|
-
var TypeError$
|
|
1166
|
+
var TypeError$2 = global_1.TypeError;
|
|
1159
1167
|
var QObject = global_1.QObject;
|
|
1160
1168
|
var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1161
1169
|
var nativeDefineProperty = objectDefineProperty.f;
|
|
@@ -1260,7 +1268,7 @@
|
|
|
1260
1268
|
};
|
|
1261
1269
|
if (!nativeSymbol) {
|
|
1262
1270
|
$Symbol = function Symbol() {
|
|
1263
|
-
if (objectIsPrototypeOf(SymbolPrototype$1, this)) throw TypeError$
|
|
1271
|
+
if (objectIsPrototypeOf(SymbolPrototype$1, this)) throw TypeError$2("Symbol is not a constructor");
|
|
1264
1272
|
var description = !arguments.length || arguments[0] === undefined ? undefined : toString_1(arguments[0]);
|
|
1265
1273
|
var tag = uid(description);
|
|
1266
1274
|
var setter = function(value) {
|
|
@@ -1276,7 +1284,7 @@
|
|
|
1276
1284
|
};
|
|
1277
1285
|
SymbolPrototype$1 = $Symbol[PROTOTYPE];
|
|
1278
1286
|
defineBuiltIn(SymbolPrototype$1, "toString", (function toString() {
|
|
1279
|
-
return getInternalState$
|
|
1287
|
+
return getInternalState$3(this).tag;
|
|
1280
1288
|
}));
|
|
1281
1289
|
defineBuiltIn($Symbol, "withoutSetter", (function(description) {
|
|
1282
1290
|
return wrap(uid(description), description);
|
|
@@ -1294,7 +1302,7 @@
|
|
|
1294
1302
|
nativeDefineProperty(SymbolPrototype$1, "description", {
|
|
1295
1303
|
configurable: true,
|
|
1296
1304
|
get: function description() {
|
|
1297
|
-
return getInternalState$
|
|
1305
|
+
return getInternalState$3(this).description;
|
|
1298
1306
|
}
|
|
1299
1307
|
});
|
|
1300
1308
|
{
|
|
@@ -1534,16 +1542,16 @@
|
|
|
1534
1542
|
return Object.getPrototypeOf(new F) !== F.prototype;
|
|
1535
1543
|
}));
|
|
1536
1544
|
var IE_PROTO = sharedKey("IE_PROTO");
|
|
1537
|
-
var Object
|
|
1538
|
-
var ObjectPrototype$1 = Object
|
|
1539
|
-
var objectGetPrototypeOf = correctPrototypeGetter ? Object
|
|
1545
|
+
var $Object = Object;
|
|
1546
|
+
var ObjectPrototype$1 = $Object.prototype;
|
|
1547
|
+
var objectGetPrototypeOf = correctPrototypeGetter ? $Object.getPrototypeOf : function(O) {
|
|
1540
1548
|
var object = toObject(O);
|
|
1541
1549
|
if (hasOwnProperty_1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1542
1550
|
var constructor = object.constructor;
|
|
1543
1551
|
if (isCallable(constructor) && object instanceof constructor) {
|
|
1544
1552
|
return constructor.prototype;
|
|
1545
1553
|
}
|
|
1546
|
-
return object instanceof Object
|
|
1554
|
+
return object instanceof $Object ? ObjectPrototype$1 : null;
|
|
1547
1555
|
};
|
|
1548
1556
|
var ITERATOR$4 = wellKnownSymbol("iterator");
|
|
1549
1557
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
@@ -1583,11 +1591,11 @@
|
|
|
1583
1591
|
iterators[TO_STRING_TAG] = returnThis$1;
|
|
1584
1592
|
return IteratorConstructor;
|
|
1585
1593
|
};
|
|
1586
|
-
var String
|
|
1587
|
-
var TypeError$
|
|
1594
|
+
var $String = String;
|
|
1595
|
+
var $TypeError$4 = TypeError;
|
|
1588
1596
|
var aPossiblePrototype = function(argument) {
|
|
1589
1597
|
if (typeof argument == "object" || isCallable(argument)) return argument;
|
|
1590
|
-
throw TypeError$
|
|
1598
|
+
throw $TypeError$4("Can't set " + $String(argument) + " as a prototype");
|
|
1591
1599
|
};
|
|
1592
1600
|
var objectSetPrototypeOf = Object.setPrototypeOf || ("__proto__" in {} ? function() {
|
|
1593
1601
|
var CORRECT_SETTER = false;
|
|
@@ -1698,7 +1706,7 @@
|
|
|
1698
1706
|
var charAt = stringMultibyte.charAt;
|
|
1699
1707
|
var STRING_ITERATOR = "String Iterator";
|
|
1700
1708
|
var setInternalState$2 = internalState.set;
|
|
1701
|
-
var getInternalState$
|
|
1709
|
+
var getInternalState$2 = internalState.getterFor(STRING_ITERATOR);
|
|
1702
1710
|
defineIterator(String, "String", (function(iterated) {
|
|
1703
1711
|
setInternalState$2(this, {
|
|
1704
1712
|
type: STRING_ITERATOR,
|
|
@@ -1706,7 +1714,7 @@
|
|
|
1706
1714
|
index: 0
|
|
1707
1715
|
});
|
|
1708
1716
|
}), (function next() {
|
|
1709
|
-
var state = getInternalState$
|
|
1717
|
+
var state = getInternalState$2(this);
|
|
1710
1718
|
var string = state.string;
|
|
1711
1719
|
var index = state.index;
|
|
1712
1720
|
var point;
|
|
@@ -1756,13 +1764,13 @@
|
|
|
1756
1764
|
var getIteratorMethod = function(it) {
|
|
1757
1765
|
if (it != undefined) return getMethod(it, ITERATOR$1) || getMethod(it, "@@iterator") || iterators[classof(it)];
|
|
1758
1766
|
};
|
|
1759
|
-
var TypeError$
|
|
1767
|
+
var $TypeError$3 = TypeError;
|
|
1760
1768
|
var getIterator = function(argument, usingIterator) {
|
|
1761
1769
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
1762
1770
|
if (aCallable(iteratorMethod)) return anObject(functionCall(iteratorMethod, argument));
|
|
1763
|
-
throw TypeError$
|
|
1771
|
+
throw $TypeError$3(tryToString(argument) + " is not iterable");
|
|
1764
1772
|
};
|
|
1765
|
-
var Array
|
|
1773
|
+
var $Array = Array;
|
|
1766
1774
|
var arrayFrom = function from(arrayLike) {
|
|
1767
1775
|
var O = toObject(arrayLike);
|
|
1768
1776
|
var IS_CONSTRUCTOR = isConstructor(this);
|
|
@@ -1773,7 +1781,7 @@
|
|
|
1773
1781
|
var iteratorMethod = getIteratorMethod(O);
|
|
1774
1782
|
var index = 0;
|
|
1775
1783
|
var length, result, step, iterator, next, value;
|
|
1776
|
-
if (iteratorMethod && !(this
|
|
1784
|
+
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
1777
1785
|
iterator = getIterator(O, iteratorMethod);
|
|
1778
1786
|
next = iterator.next;
|
|
1779
1787
|
result = IS_CONSTRUCTOR ? new this : [];
|
|
@@ -1783,7 +1791,7 @@
|
|
|
1783
1791
|
}
|
|
1784
1792
|
} else {
|
|
1785
1793
|
length = lengthOfArrayLike(O);
|
|
1786
|
-
result = IS_CONSTRUCTOR ? new this(length) : Array
|
|
1794
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
|
1787
1795
|
for (;length > index; index++) {
|
|
1788
1796
|
value = mapping ? mapfn(O[index], index) : O[index];
|
|
1789
1797
|
createProperty(result, index, value);
|
|
@@ -1844,6 +1852,8 @@
|
|
|
1844
1852
|
path.Array.from;
|
|
1845
1853
|
var arrayBufferNative = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined";
|
|
1846
1854
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1855
|
+
var enforceInternalState = internalState.enforce;
|
|
1856
|
+
var getInternalState$1 = internalState.get;
|
|
1847
1857
|
var Int8Array$1 = global_1.Int8Array;
|
|
1848
1858
|
var Int8ArrayPrototype = Int8Array$1 && Int8Array$1.prototype;
|
|
1849
1859
|
var Uint8ClampedArray = global_1.Uint8ClampedArray;
|
|
@@ -1851,10 +1861,10 @@
|
|
|
1851
1861
|
var TypedArray = Int8Array$1 && objectGetPrototypeOf(Int8Array$1);
|
|
1852
1862
|
var TypedArrayPrototype = Int8ArrayPrototype && objectGetPrototypeOf(Int8ArrayPrototype);
|
|
1853
1863
|
var ObjectPrototype = Object.prototype;
|
|
1854
|
-
var TypeError$
|
|
1864
|
+
var TypeError$1 = global_1.TypeError;
|
|
1855
1865
|
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
|
|
1856
1866
|
var TYPED_ARRAY_TAG = uid("TYPED_ARRAY_TAG");
|
|
1857
|
-
var TYPED_ARRAY_CONSTRUCTOR
|
|
1867
|
+
var TYPED_ARRAY_CONSTRUCTOR = "TypedArrayConstructor";
|
|
1858
1868
|
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== "Opera";
|
|
1859
1869
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
1860
1870
|
var NAME, Constructor, Prototype;
|
|
@@ -1878,6 +1888,12 @@
|
|
|
1878
1888
|
var klass = classof(it);
|
|
1879
1889
|
return klass === "DataView" || hasOwnProperty_1(TypedArrayConstructorsList, klass) || hasOwnProperty_1(BigIntArrayConstructorsList, klass);
|
|
1880
1890
|
};
|
|
1891
|
+
var getTypedArrayConstructor$1 = function(it) {
|
|
1892
|
+
var proto = objectGetPrototypeOf(it);
|
|
1893
|
+
if (!isObject(proto)) return;
|
|
1894
|
+
var state = getInternalState$1(proto);
|
|
1895
|
+
return state && hasOwnProperty_1(state, TYPED_ARRAY_CONSTRUCTOR) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$1(proto);
|
|
1896
|
+
};
|
|
1881
1897
|
var isTypedArray = function(it) {
|
|
1882
1898
|
if (!isObject(it)) return false;
|
|
1883
1899
|
var klass = classof(it);
|
|
@@ -1885,11 +1901,11 @@
|
|
|
1885
1901
|
};
|
|
1886
1902
|
var aTypedArray$1 = function(it) {
|
|
1887
1903
|
if (isTypedArray(it)) return it;
|
|
1888
|
-
throw TypeError$
|
|
1904
|
+
throw TypeError$1("Target is not a typed array");
|
|
1889
1905
|
};
|
|
1890
1906
|
var aTypedArrayConstructor$1 = function(C) {
|
|
1891
1907
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
1892
|
-
throw TypeError$
|
|
1908
|
+
throw TypeError$1(tryToString(C) + " is not a typed array constructor");
|
|
1893
1909
|
};
|
|
1894
1910
|
var exportTypedArrayMethod$1 = function(KEY, property, forced, options) {
|
|
1895
1911
|
if (!descriptors) return;
|
|
@@ -1933,16 +1949,16 @@
|
|
|
1933
1949
|
for (NAME in TypedArrayConstructorsList) {
|
|
1934
1950
|
Constructor = global_1[NAME];
|
|
1935
1951
|
Prototype = Constructor && Constructor.prototype;
|
|
1936
|
-
if (Prototype)
|
|
1952
|
+
if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; else NATIVE_ARRAY_BUFFER_VIEWS = false;
|
|
1937
1953
|
}
|
|
1938
1954
|
for (NAME in BigIntArrayConstructorsList) {
|
|
1939
1955
|
Constructor = global_1[NAME];
|
|
1940
1956
|
Prototype = Constructor && Constructor.prototype;
|
|
1941
|
-
if (Prototype)
|
|
1957
|
+
if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
|
|
1942
1958
|
}
|
|
1943
1959
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
1944
1960
|
TypedArray = function TypedArray() {
|
|
1945
|
-
throw TypeError$
|
|
1961
|
+
throw TypeError$1("Incorrect invocation");
|
|
1946
1962
|
};
|
|
1947
1963
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
1948
1964
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -1970,21 +1986,21 @@
|
|
|
1970
1986
|
}
|
|
1971
1987
|
var arrayBufferViewCore = {
|
|
1972
1988
|
NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
|
|
1973
|
-
TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR$1,
|
|
1974
1989
|
TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
|
|
1975
1990
|
aTypedArray: aTypedArray$1,
|
|
1976
1991
|
aTypedArrayConstructor: aTypedArrayConstructor$1,
|
|
1977
1992
|
exportTypedArrayMethod: exportTypedArrayMethod$1,
|
|
1978
1993
|
exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
|
|
1994
|
+
getTypedArrayConstructor: getTypedArrayConstructor$1,
|
|
1979
1995
|
isView: isView,
|
|
1980
1996
|
isTypedArray: isTypedArray,
|
|
1981
1997
|
TypedArray: TypedArray,
|
|
1982
1998
|
TypedArrayPrototype: TypedArrayPrototype
|
|
1983
1999
|
};
|
|
1984
|
-
var TypeError$
|
|
2000
|
+
var $TypeError$2 = TypeError;
|
|
1985
2001
|
var aConstructor = function(argument) {
|
|
1986
2002
|
if (isConstructor(argument)) return argument;
|
|
1987
|
-
throw TypeError$
|
|
2003
|
+
throw $TypeError$2(tryToString(argument) + " is not a constructor");
|
|
1988
2004
|
};
|
|
1989
2005
|
var SPECIES$1 = wellKnownSymbol("species");
|
|
1990
2006
|
var speciesConstructor = function(O, defaultConstructor) {
|
|
@@ -1992,10 +2008,10 @@
|
|
|
1992
2008
|
var S;
|
|
1993
2009
|
return C === undefined || (S = anObject(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
|
|
1994
2010
|
};
|
|
1995
|
-
var TYPED_ARRAY_CONSTRUCTOR = arrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;
|
|
1996
2011
|
var aTypedArrayConstructor = arrayBufferViewCore.aTypedArrayConstructor;
|
|
2012
|
+
var getTypedArrayConstructor = arrayBufferViewCore.getTypedArrayConstructor;
|
|
1997
2013
|
var typedArraySpeciesConstructor = function(originalArray) {
|
|
1998
|
-
return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray
|
|
2014
|
+
return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));
|
|
1999
2015
|
};
|
|
2000
2016
|
var aTypedArray = arrayBufferViewCore.aTypedArray;
|
|
2001
2017
|
var exportTypedArrayMethod = arrayBufferViewCore.exportTypedArrayMethod;
|
|
@@ -2187,7 +2203,7 @@
|
|
|
2187
2203
|
internalMetadata.fastKey;
|
|
2188
2204
|
internalMetadata.getWeakData;
|
|
2189
2205
|
internalMetadata.onFreeze;
|
|
2190
|
-
var TypeError$
|
|
2206
|
+
var $TypeError$1 = TypeError;
|
|
2191
2207
|
var Result = function(stopped, result) {
|
|
2192
2208
|
this.stopped = stopped;
|
|
2193
2209
|
this.result = result;
|
|
@@ -2215,7 +2231,7 @@
|
|
|
2215
2231
|
iterator = iterable;
|
|
2216
2232
|
} else {
|
|
2217
2233
|
iterFn = getIteratorMethod(iterable);
|
|
2218
|
-
if (!iterFn) throw TypeError$
|
|
2234
|
+
if (!iterFn) throw $TypeError$1(tryToString(iterable) + " is not iterable");
|
|
2219
2235
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2220
2236
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
2221
2237
|
result = callFn(iterable[index]);
|
|
@@ -2236,10 +2252,10 @@
|
|
|
2236
2252
|
}
|
|
2237
2253
|
return new Result(false);
|
|
2238
2254
|
};
|
|
2239
|
-
var TypeError
|
|
2255
|
+
var $TypeError = TypeError;
|
|
2240
2256
|
var anInstance = function(it, Prototype) {
|
|
2241
2257
|
if (objectIsPrototypeOf(Prototype, it)) return it;
|
|
2242
|
-
throw TypeError
|
|
2258
|
+
throw $TypeError("Incorrect invocation");
|
|
2243
2259
|
};
|
|
2244
2260
|
var inheritIfRequired = function($this, dummy, Wrapper) {
|
|
2245
2261
|
var NewTarget, NewTargetPrototype;
|
|
@@ -2776,10 +2792,10 @@
|
|
|
2776
2792
|
return Buffer.from(a.buffer, a.byteOffset, a.byteLength).toString("utf-8");
|
|
2777
2793
|
}
|
|
2778
2794
|
function u(a) {
|
|
2779
|
-
var c = URL.createObjectURL(new Blob([ a ], {
|
|
2780
|
-
type: "text/plain;charset=UTF-8"
|
|
2781
|
-
}));
|
|
2782
2795
|
try {
|
|
2796
|
+
var c = URL.createObjectURL(new Blob([ a ], {
|
|
2797
|
+
type: "text/plain;charset=UTF-8"
|
|
2798
|
+
}));
|
|
2783
2799
|
var f = new XMLHttpRequest;
|
|
2784
2800
|
f.open("GET", c, !1);
|
|
2785
2801
|
f.send();
|
|
@@ -2787,7 +2803,7 @@
|
|
|
2787
2803
|
} catch (e) {
|
|
2788
2804
|
return q(a);
|
|
2789
2805
|
} finally {
|
|
2790
|
-
URL.revokeObjectURL(c);
|
|
2806
|
+
c && URL.revokeObjectURL(c);
|
|
2791
2807
|
}
|
|
2792
2808
|
}
|
|
2793
2809
|
function q(a) {
|
|
@@ -3591,7 +3607,7 @@
|
|
|
3591
3607
|
exports.default = SuperTokensLock;
|
|
3592
3608
|
}));
|
|
3593
3609
|
var Lock = unwrapExports(browserTabsLock);
|
|
3594
|
-
var version = "1.22.
|
|
3610
|
+
var version = "1.22.2";
|
|
3595
3611
|
var DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
|
|
3596
3612
|
var DEFAULT_POPUP_CONFIG_OPTIONS = {
|
|
3597
3613
|
timeoutInSeconds: DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS
|
|
@@ -4863,17 +4879,20 @@
|
|
|
4863
4879
|
options.auth0Client;
|
|
4864
4880
|
options.authorizeTimeoutInSeconds;
|
|
4865
4881
|
options.cacheLocation;
|
|
4882
|
+
options.cache;
|
|
4866
4883
|
options.client_id;
|
|
4867
4884
|
options.domain;
|
|
4868
4885
|
options.issuer;
|
|
4869
4886
|
options.leeway;
|
|
4870
4887
|
options.max_age;
|
|
4888
|
+
options.nowProvider;
|
|
4871
4889
|
options.redirect_uri;
|
|
4872
4890
|
options.scope;
|
|
4873
4891
|
options.useRefreshTokens;
|
|
4892
|
+
options.useRefreshTokensFallback;
|
|
4874
4893
|
options.useCookiesForTransactions;
|
|
4875
4894
|
options.useFormData;
|
|
4876
|
-
var customParams = __rest(options, [ "advancedOptions", "audience", "auth0Client", "authorizeTimeoutInSeconds", "cacheLocation", "client_id", "domain", "issuer", "leeway", "max_age", "redirect_uri", "scope", "useRefreshTokens", "useCookiesForTransactions", "useFormData" ]);
|
|
4895
|
+
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" ]);
|
|
4877
4896
|
return customParams;
|
|
4878
4897
|
};
|
|
4879
4898
|
var Auth0Client = function() {
|