@nsshunt/stsoauth2plugin 1.0.24 → 1.0.26
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/stsoauth2plugin.mjs +1 -4
- package/dist/stsoauth2plugin.mjs.map +1 -1
- package/dist/stsoauth2plugin.umd.js +7 -10
- package/dist/stsoauth2plugin.umd.js.map +1 -1
- package/package.json +14 -14
- package/types/Utils/CryptoUtils.d.ts.map +1 -1
- package/types/Utils/QueryParams.d.ts +1 -0
- package/types/Utils/QueryParams.d.ts.map +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/stsoauth2manager.d.ts.map +1 -1
package/dist/stsoauth2plugin.mjs
CHANGED
|
@@ -55,10 +55,7 @@ function getAugmentedNamespace(n2) {
|
|
|
55
55
|
if (typeof f == "function") {
|
|
56
56
|
var a = function a2() {
|
|
57
57
|
if (this instanceof a2) {
|
|
58
|
-
|
|
59
|
-
args.push.apply(args, arguments);
|
|
60
|
-
var Ctor = Function.bind.apply(f, args);
|
|
61
|
-
return new Ctor();
|
|
58
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
62
59
|
}
|
|
63
60
|
return f.apply(this, arguments);
|
|
64
61
|
};
|