@uipath/authz-commands 1.207.0-preview.398 → 1.207.0-preview.399

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -3913,8 +3913,10 @@ var TENANT_SELECTION_CODES = new Set([
3913
3913
  // ../../common/src/singleton.ts
3914
3914
  var PREFIX = "@uipath/common/";
3915
3915
  var _g = globalThis;
3916
- function singleton(ctorOrName) {
3917
- const name = typeof ctorOrName === "string" ? ctorOrName : ctorOrName.name;
3916
+ function singleton(name) {
3917
+ if (typeof name !== "string") {
3918
+ throw new TypeError("singleton() takes a string name. A class name is not stable across bundles.");
3919
+ }
3918
3920
  const key = Symbol.for(PREFIX + name);
3919
3921
  return {
3920
3922
  get(fallback) {
@@ -6493,7 +6495,7 @@ class SimpleLogger {
6493
6495
  }
6494
6496
  };
6495
6497
  }
6496
- var loggerSingleton = singleton(SimpleLogger);
6498
+ var loggerSingleton = singleton("SimpleLogger");
6497
6499
  var logger = SimpleLogger.getInstance();
6498
6500
  function getLogFilePath() {
6499
6501
  return logger.getLogFilePath();
@@ -12309,4 +12311,4 @@ export {
12309
12311
  registerCommands
12310
12312
  };
12311
12313
 
12312
- //# debugId=20260C55CB94BB6F64756E2164756E21
12314
+ //# debugId=1BD8F08C5C0238D864756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/authz-commands",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.207.0-preview.398",
5
+ "version": "1.207.0-preview.399",
6
6
  "description": "Admin CLI commands for the UiPath Authorization service. Library composed by admin-tool, not a standalone CLI tool.",
7
7
  "private": false,
8
8
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "a0f838bbdaa7d49be71733c6525657d97e0b85d6"
29
+ "gitHead": "040ed6e68e4b6e5268c0efc17f67d7309de8c630"
30
30
  }