@nsshunt/stsoauth2plugin 0.1.45 → 0.1.48

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.
@@ -470,8 +470,8 @@ var common = setup;
470
470
  r2 = exports.storage.getItem("debug");
471
471
  } catch (error2) {
472
472
  }
473
- if (!r2 && typeof process !== "undefined" && "env" in process) {
474
- r2 = { "DEPLOYMENT_BASEPATH": "/opt/runner", "DOTNET_NOLOGO": "1", "USER": "runner", "npm_config_always_auth": "", "npm_config_user_agent": "npm/8.12.1 node/v18.4.0 linux x64 workspaces/false ci/github-actions", "CI": "true", "GITHUB_ENV": "/home/runner/work/_temp/_runner_file_commands/set_env_34b1064d-5ae8-4b2d-8294-09349b56a235", "PIPX_HOME": "/opt/pipx", "npm_node_execpath": "/opt/hostedtoolcache/node/18.4.0/x64/bin/node", "JAVA_HOME_8_X64": "/usr/lib/jvm/temurin-8-jdk-amd64", "NODE_AUTH_TOKEN": "XXXXX-XXXXX-XXXXX-XXXXX", "SHLVL": "1", "npm_config_noproxy": "", "HOME": "/home/runner", "RUNNER_TEMP": "/home/runner/work/_temp", "GITHUB_EVENT_PATH": "/home/runner/work/_temp/_github_workflow/event.json", "npm_package_json": "/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json", "JAVA_HOME_11_X64": "/usr/lib/jvm/temurin-11-jdk-amd64", "PIPX_BIN_DIR": "/opt/pipx_bin", "GRAALVM_11_ROOT": "/usr/local/graalvm/graalvm-ce-java11-22.1.0", "GITHUB_REPOSITORY_OWNER": "nsshunt", "GRADLE_HOME": "/usr/share/gradle-7.4.2", "HOMEBREW_PREFIX": "/home/linuxbrew/.linuxbrew", "ANDROID_NDK_LATEST_HOME": "/usr/local/lib/android/sdk/ndk/24.0.8215888", "GITHUB_RETENTION_DAYS": "90", "POWERSHELL_DISTRIBUTION_CHANNEL": "GitHub-Actions-ubuntu20", "AZURE_EXTENSION_DIR": "/opt/az/azcliextensions", "GITHUB_HEAD_REF": "", "npm_config_local_prefix": "/home/runner/work/stsoauth2plugin/stsoauth2plugin", "GITHUB_GRAPHQL_URL": "https://api.github.com/graphql", "COLOR": "0", "NVM_DIR": "/home/runner/.nvm", "npm_config_metrics_registry": "https://registry.npmjs.org/", "DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1", "JAVA_HOME_17_X64": "/usr/lib/jvm/temurin-17-jdk-amd64", "ImageVersion": "20220614.0", "RUNNER_OS": "Linux", "GITHUB_API_URL": "https://api.github.com", "SWIFT_PATH": "/usr/share/swift/usr/bin", "RUNNER_USER": "runner", "CHROMEWEBDRIVER": "/usr/local/share/chrome_driver", "JOURNAL_STREAM": "8:22878", "GITHUB_WORKFLOW": "Node.js Package", "_": "/opt/hostedtoolcache/node/18.4.0/x64/bin/npm", "npm_config_prefix": "/opt/hostedtoolcache/node/18.4.0/x64", "GITHUB_RUN_ID": "2512213731", "GOROOT_1_16_X64": "/opt/hostedtoolcache/go/1.16.15/x64", "npm_config_cache": "/home/runner/.npm", "GOROOT_1_17_X64": "/opt/hostedtoolcache/go/1.17.11/x64", "GITHUB_REF_TYPE": "branch", "BOOTSTRAP_HASKELL_NONINTERACTIVE": "1", "GITHUB_BASE_REF": "", "ImageOS": "ubuntu20", "PERFLOG_LOCATION_SETTING": "RUNNER_PERFLOG", "GOROOT_1_18_X64": "/opt/hostedtoolcache/go/1.18.3/x64", "GITHUB_ACTION_REPOSITORY": "", "npm_config_node_gyp": "/opt/hostedtoolcache/node/18.4.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", "PATH": "/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.4.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.4.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "ANT_HOME": "/usr/share/ant", "DOTNET_MULTILEVEL_LOOKUP": "0", "RUNNER_TRACKING_ID": "github_e70dc710-549e-495d-b096-58c13987d81e", "INVOCATION_ID": "c65158496e0645d889a96836482843c3", "HOMEBREW_CELLAR": "/home/linuxbrew/.linuxbrew/Cellar", "NPM_CONFIG_USERCONFIG": "/home/runner/work/_temp/.npmrc", "RUNNER_TOOL_CACHE": "/opt/hostedtoolcache", "NODE": "/opt/hostedtoolcache/node/18.4.0/x64/bin/node", "npm_package_name": "@nsshunt/stsoauth2plugin", "GITHUB_ACTION": "__run_2", "GITHUB_RUN_NUMBER": "63", "RUNNER_ARCH": "X64", "AGENT_TOOLSDIRECTORY": "/opt/hostedtoolcache", "LANG": "C.UTF-8", "VCPKG_INSTALLATION_ROOT": "/usr/local/share/vcpkg", "CONDA": "/usr/share/miniconda", "RUNNER_NAME": "Hosted Agent", "XDG_CONFIG_HOME": "/home/runner/.config", "GITHUB_REF_NAME": "main", "GITHUB_REPOSITORY": "nsshunt/stsoauth2plugin", "npm_lifecycle_script": "tsc && vite build", "ANDROID_NDK_ROOT": "/usr/local/lib/android/sdk/ndk-bundle", "GITHUB_ACTION_REF": "", "DEBIAN_FRONTEND": "noninteractive", "GITHUB_ACTIONS": "true", "npm_package_version": "0.1.45", "npm_lifecycle_event": "build", "GITHUB_REF_PROTECTED": "false", "GITHUB_WORKSPACE": "/home/runner/work/stsoauth2plugin/stsoauth2plugin", "ACCEPT_EULA": "Y", "GITHUB_JOB": "publish-npm", "RUNNER_PERFLOG": "/home/runner/perflog", "GITHUB_SHA": "8005c55cfdd43ddeb4f7617beb685d6e679b1aae", "GITHUB_RUN_ATTEMPT": "1", "GITHUB_REF": "refs/heads/main", "GITHUB_ACTOR": "nsshunt", "ANDROID_SDK_ROOT": "/usr/local/lib/android/sdk", "LEIN_HOME": "/usr/local/lib/lein", "npm_config_globalconfig": "/opt/hostedtoolcache/node/18.4.0/x64/etc/npmrc", "npm_config_init_module": "/home/runner/.npm-init.js", "GITHUB_PATH": "/home/runner/work/_temp/_runner_file_commands/add_path_34b1064d-5ae8-4b2d-8294-09349b56a235", "JAVA_HOME": "/usr/lib/jvm/temurin-11-jdk-amd64", "PWD": "/home/runner/work/stsoauth2plugin/stsoauth2plugin", "RUNNER_WORKSPACE": "/home/runner/work/stsoauth2plugin", "npm_execpath": "/opt/hostedtoolcache/node/18.4.0/x64/lib/node_modules/npm/bin/npm-cli.js", "HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS": "3650", "GITHUB_EVENT_NAME": "push", "HOMEBREW_NO_AUTO_UPDATE": "1", "ANDROID_HOME": "/usr/local/lib/android/sdk", "GITHUB_SERVER_URL": "https://github.com", "GECKOWEBDRIVER": "/usr/local/share/gecko_driver", "LEIN_JAR": "/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar", "npm_config_global_prefix": "/opt/hostedtoolcache/node/18.4.0/x64", "HOMEBREW_REPOSITORY": "/home/linuxbrew/.linuxbrew/Homebrew", "npm_command": "run-script", "SGX_AESM_ADDR": "1", "CHROME_BIN": "/usr/bin/google-chrome", "SELENIUM_JAR_PATH": "/usr/share/java/selenium-server.jar", "ANDROID_NDK_HOME": "/usr/local/lib/android/sdk/ndk-bundle", "GITHUB_STEP_SUMMARY": "/home/runner/work/_temp/_runner_file_commands/step_summary_34b1064d-5ae8-4b2d-8294-09349b56a235", "INIT_CWD": "/home/runner/work/stsoauth2plugin/stsoauth2plugin", "EDITOR": "vi", "NODE_ENV": "production" }.DEBUG;
473
+ if (!r2 && typeof {} !== "undefined" && "env" in {}) {
474
+ r2 = {}.env.DEBUG;
475
475
  }
476
476
  return r2;
477
477
  }
@@ -3557,7 +3557,7 @@ var uri_all = { exports: {} };
3557
3557
  var regexNonASCII = /[^\0-\x7E]/;
3558
3558
  var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g;
3559
3559
  var errors2 = {
3560
- "overflow": "Overflow: input needs wider integers to process",
3560
+ "overflow": "Overflow: input needs wider integers to {}",
3561
3561
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3562
3562
  "invalid-input": "Invalid input"
3563
3563
  };
@@ -4506,7 +4506,7 @@ uri$1.default = uri;
4506
4506
  jsonPointers: "Deprecated jsPropertySyntax can be used instead.",
4507
4507
  extendRefs: "Deprecated ignoreKeywordsWithRef can be used instead.",
4508
4508
  missingRefs: "Pass empty schema with $id that should be ignored to ajv.addSchema.",
4509
- processCode: "Use option `code: {process: (code, schemaEnv: object) => string}`",
4509
+ processCode: "Use option `code: {{}: (code, schemaEnv: object) => string}`",
4510
4510
  sourceCode: "Use option `code: {source: true}`",
4511
4511
  strictDefaults: "It is default now, see option `strict`.",
4512
4512
  strictKeywords: "It is default now, see option `strict`.",
@@ -7036,7 +7036,7 @@ function remove(name, attributes) {
7036
7036
  set(name, "", __assign(__assign({}, attributes), { expires: -1 }));
7037
7037
  }
7038
7038
  var remove_1 = remove;
7039
- const debug$2 = Debug(`proc:${0}:storage.ts`);
7039
+ const debug$2 = Debug(`proc:${{}.pid}:storage.ts`);
7040
7040
  var ClientStorageType = /* @__PURE__ */ ((ClientStorageType2) => {
7041
7041
  ClientStorageType2["LOCAL_STORAGE"] = "LocalStorage";
7042
7042
  ClientStorageType2["SESSION_STORAGE"] = "SessionStorage";
@@ -7218,7 +7218,12 @@ function o(e2, r2) {
7218
7218
  }
7219
7219
  }
7220
7220
  n.prototype = new Error(), n.prototype.name = "InvalidTokenError";
7221
- const debug$1 = Debug(`proc:${0}:stsoauth2manager.ts`);
7221
+ const debug$1 = Debug(`proc:${{}.pid}:stsoauth2manager.ts`);
7222
+ const StsOauth2LauncherFactor = () => {
7223
+ return new Worker("/assets/stsoauth2launcher.d4f1da70.js", {
7224
+ type: "module"
7225
+ });
7226
+ };
7222
7227
  class STSOAuth2Manager {
7223
7228
  constructor(app, options) {
7224
7229
  __privateAdd(this, _storageManager, void 0);
@@ -7483,7 +7488,7 @@ class STSOAuth2Manager {
7483
7488
  __privateSet(this, _aic, app.config.globalProperties.$sts.aic.PrimaryPublishInstrumentController);
7484
7489
  __privateSet(this, _router, app.config.globalProperties.$router);
7485
7490
  __privateSet(this, _transactionStore, new ClientStorageFactory({ clientStorageType: ClientStorageType.SESSION_STORAGE }).GetStorage());
7486
- __privateSet(this, _worker, __privateGet(this, _options).workerFactory());
7491
+ __privateSet(this, _worker, StsOauth2LauncherFactor());
7487
7492
  __privateGet(this, _worker).onmessage = (data2) => {
7488
7493
  console.log(`this.#worker.onmessage = [${data2}]`);
7489
7494
  };
@@ -8254,7 +8259,7 @@ function getDefaultAdapter() {
8254
8259
  var adapter;
8255
8260
  if (typeof XMLHttpRequest !== "undefined") {
8256
8261
  adapter = xhr;
8257
- } else if (typeof process !== "undefined" && Object.prototype.toString.call(process) === "[object process]") {
8262
+ } else if (typeof {} !== "undefined" && Object.prototype.toString.call({}) === "[object {}]") {
8258
8263
  adapter = xhr;
8259
8264
  }
8260
8265
  return adapter;
@@ -11947,7 +11952,7 @@ instrumentUtils.StopInstruments = StopInstruments;
11947
11952
  __exportStar(instrumentGauge, exports);
11948
11953
  __exportStar(instrumentObject, exports);
11949
11954
  })(dist);
11950
- const debug = Debug(`proc:${0}:stsoauth2worker.ts`);
11955
+ const debug = Debug(`proc:${{}.pid}:stsoauth2worker.ts`);
11951
11956
  class STSOAuth2Worker {
11952
11957
  constructor(workerPort, options) {
11953
11958
  __privateAdd(this, _clientSessionStore, void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsoauth2plugin",
3
- "version": "0.1.45",
3
+ "version": "0.1.48",
4
4
  "description": "STS OAuth2 VUE Plugin",
5
5
  "files": [
6
6
  "dist",
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stsoauth2launcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stsoauth2launcher.d.ts","sourceRoot":"","sources":["../src/stsoauth2launcher.ts"],"names":[],"mappings":""}
@@ -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,EACyB,MAAM,kBAAkB,CAAA;AAW1E,qBAAa,gBAAgB;;gBAkBhB,GAAG,KAAA,EAAE,OAAO,EAAE,wBAAwB;IA6RlD,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"}
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;AAmBlG,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"}