@nsshunt/stsoauth2plugin 0.1.49 → 0.1.50
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.
|
@@ -7219,8 +7219,10 @@ function o(e2, r2) {
|
|
|
7219
7219
|
}
|
|
7220
7220
|
n.prototype = new Error(), n.prototype.name = "InvalidTokenError";
|
|
7221
7221
|
const debug$1 = Debug(`proc:${{}.pid}:stsoauth2manager.ts`);
|
|
7222
|
+
const fstr = "import { STSOAuth2Worker } from './stsoauth2worker';onmessage = function(d){new STSOAuth2Worker(d.data.workerPort, d.data.options);}";
|
|
7223
|
+
const blob = new Blob([fstr], { type: "application/javascript" });
|
|
7222
7224
|
const StsOauth2LauncherFactor = () => {
|
|
7223
|
-
return new Worker(
|
|
7225
|
+
return new Worker(URL.createObjectURL(blob), {
|
|
7224
7226
|
type: "module"
|
|
7225
7227
|
});
|
|
7226
7228
|
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stsoauth2manager.d.ts","sourceRoot":"","sources":["../src/stsoauth2manager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAuB,MAAM,mBAAmB,CAAC;AAKpE,OAAO,EACN,wBAAwB,EACiD,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"stsoauth2manager.d.ts","sourceRoot":"","sources":["../src/stsoauth2manager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAuB,MAAM,mBAAmB,CAAC;AAKpE,OAAO,EACN,wBAAwB,EACiD,MAAM,kBAAkB,CAAA;AA+BlG,qBAAa,gBAAgB;;gBAkBhB,GAAG,KAAA,EAAE,OAAO,EAAE,wBAAwB;IA+RlD,cAAc,QAAY,QAAQ,OAAO,CAAC,CAQzC;IAED,SAAS,QAAa,QAAQ,IAAI,CAAC,CASlC;IAED,cAAc,cAAqB,UAAU,KAAG,QAAQ,OAAO,CAAC,CAoB/D;IAED,MAAM,QAAa,QAAQ,OAAO,CAAC,CAQlC;CACD"}
|