@dra2020/baseclient 1.0.118 → 1.0.120

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.
@@ -11443,7 +11443,7 @@ exports.IndexedArray = IndexedArray;
11443
11443
 
11444
11444
 
11445
11445
  Object.defineProperty(exports, "__esModule", ({ value: true }));
11446
- exports.wrapLon = exports.rad2deg = exports.deg2rad = exports.distance = exports.toRGBAIntensity = exports.toRGBA = exports.toHex = exports.hashObject = exports.hash = exports.percentString = exports.precisionRound = exports.deepAccum = exports.deepCopy = exports.shallowEqual = exports.shallowAssignImmutable = exports.shallowDelete = exports.shallowAssign = exports.shallowCopy = exports.textToHtml = exports.recentDate = exports.relativeDate = exports.prettyDate = exports.deepEqual = exports.partialEqual = exports.nthKey = exports.nthProperty = exports.countKeys = exports.isEmpty = exports.depthof = exports.sizeof = exports.createGuid = exports.Deadline = exports.MultiTimer = exports.Elapsed = exports.Now = void 0;
11446
+ exports.wrapLon = exports.rad2deg = exports.deg2rad = exports.distance = exports.toRGBAIntensity = exports.toRGBA = exports.toHex = exports.hashObject = exports.hash = exports.percentString = exports.precisionRound = exports.deepAccum = exports.deepCopy = exports.shallowEqual = exports.shallowAssignImmutable = exports.shallowDelete = exports.shallowAssign = exports.shallowCopy = exports.textToHtml = exports.recentDate = exports.relativeDate = exports.prettyDate = exports.deepEqual = exports.partialEqual = exports.nthKey = exports.nthProperty = exports.countKeys = exports.isEmpty = exports.depthof = exports.sizeof = exports.guidKey = exports.createKeyedGuid = exports.createGuid = exports.Deadline = exports.MultiTimer = exports.Elapsed = exports.Now = void 0;
11447
11447
  function Now() { return (new Date()).toJSON(); }
11448
11448
  exports.Now = Now;
11449
11449
  // polyfill
@@ -11542,6 +11542,17 @@ function createGuid() {
11542
11542
  });
11543
11543
  }
11544
11544
  exports.createGuid = createGuid;
11545
+ function createKeyedGuid(key) {
11546
+ return `xxxxxxxx-xxxx-${key}xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g, function (c) {
11547
+ var r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);
11548
+ return v.toString(16);
11549
+ });
11550
+ }
11551
+ exports.createKeyedGuid = createKeyedGuid;
11552
+ function guidKey(guid) {
11553
+ return guid.substr(14, 1); // See above
11554
+ }
11555
+ exports.guidKey = guidKey;
11545
11556
  function _sizeof(a, loops) {
11546
11557
  if (a === null || a === undefined)
11547
11558
  return 0;