@uipath/data-fabric-tool 0.9.0 → 0.9.1

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 (3) hide show
  1. package/dist/index.js +152 -50
  2. package/dist/tool.js +152 -50
  3. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -16473,7 +16473,7 @@ var require_coreipc = __commonJS((exports, module) => {
16473
16473
  if (S(n3))
16474
16474
  return r3;
16475
16475
  for (var i3 = function(e6) {
16476
- var t5 = C(e6, o2);
16476
+ var t5 = T(e6, o2);
16477
16477
  if (!k(t5))
16478
16478
  throw new TypeError;
16479
16479
  var r4 = t5.call(e6);
@@ -16536,7 +16536,7 @@ var require_coreipc = __commonJS((exports, module) => {
16536
16536
  case 5:
16537
16537
  return e5;
16538
16538
  }
16539
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
16539
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
16540
16540
  if (o3 !== undefined) {
16541
16541
  var i3 = o3.call(e5, r3);
16542
16542
  if (j(i3))
@@ -16573,10 +16573,10 @@ var require_coreipc = __commonJS((exports, module) => {
16573
16573
  function k(e5) {
16574
16574
  return typeof e5 == "function";
16575
16575
  }
16576
- function T(e5) {
16576
+ function C(e5) {
16577
16577
  return typeof e5 == "function";
16578
16578
  }
16579
- function C(e5, t4) {
16579
+ function T(e5, t4) {
16580
16580
  var r3 = e5[t4];
16581
16581
  if (r3 != null) {
16582
16582
  if (!k(r3))
@@ -16611,13 +16611,13 @@ var require_coreipc = __commonJS((exports, module) => {
16611
16611
  if (S(r3)) {
16612
16612
  if (!M(e5))
16613
16613
  throw new TypeError;
16614
- if (!T(t4))
16614
+ if (!C(t4))
16615
16615
  throw new TypeError;
16616
16616
  return function(e6, t5) {
16617
16617
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
16618
16618
  var n4 = (0, e6[r4])(t5);
16619
16619
  if (!S(n4) && !P(n4)) {
16620
- if (!T(n4))
16620
+ if (!C(n4))
16621
16621
  throw new TypeError;
16622
16622
  t5 = n4;
16623
16623
  }
@@ -16827,13 +16827,13 @@ var require_coreipc = __commonJS((exports, module) => {
16827
16827
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
16828
16828
  return k.EmptyError;
16829
16829
  } });
16830
- var T = r(7628);
16830
+ var C = r(7628);
16831
16831
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
16832
- return T.NotFoundError;
16832
+ return C.NotFoundError;
16833
16833
  } });
16834
- var C = r(740);
16834
+ var T = r(740);
16835
16835
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
16836
- return C.ObjectUnsubscribedError;
16836
+ return T.ObjectUnsubscribedError;
16837
16837
  } });
16838
16838
  var A = r(6968);
16839
16839
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -17043,13 +17043,13 @@ var require_coreipc = __commonJS((exports, module) => {
17043
17043
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
17044
17044
  return ke.debounceTime;
17045
17045
  } });
17046
- var Te = r(6204);
17046
+ var Ce = r(6204);
17047
17047
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
17048
- return Te.defaultIfEmpty;
17048
+ return Ce.defaultIfEmpty;
17049
17049
  } });
17050
- var Ce = r(7752);
17050
+ var Te = r(7752);
17051
17051
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
17052
- return Ce.delay;
17052
+ return Te.delay;
17053
17053
  } });
17054
17054
  var Ae = r(7532);
17055
17055
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -17259,13 +17259,13 @@ var require_coreipc = __commonJS((exports, module) => {
17259
17259
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
17260
17260
  return kt.share;
17261
17261
  } });
17262
- var Tt = r(4980);
17262
+ var Ct = r(4980);
17263
17263
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
17264
- return Tt.shareReplay;
17264
+ return Ct.shareReplay;
17265
17265
  } });
17266
- var Ct = r(1400);
17266
+ var Tt = r(1400);
17267
17267
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
17268
- return Ct.single;
17268
+ return Tt.single;
17269
17269
  } });
17270
17270
  var At = r(7516);
17271
17271
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -22965,12 +22965,24 @@ var require_coreipc = __commonJS((exports, module) => {
22965
22965
  static create() {
22966
22966
  return new r;
22967
22967
  }
22968
+ get(e3) {
22969
+ return this._map.get(e3);
22970
+ }
22968
22971
  getOrCreateValue(e3, t3) {
22969
22972
  if (this._map.has(e3))
22970
22973
  return this._map.get(e3);
22971
22974
  let r2 = t3(e3);
22972
22975
  return this._map.set(e3, r2), r2;
22973
22976
  }
22977
+ delete(e3) {
22978
+ return this._map.delete(e3);
22979
+ }
22980
+ values() {
22981
+ return this._map.values();
22982
+ }
22983
+ clear() {
22984
+ this._map.clear();
22985
+ }
22974
22986
  }
22975
22987
  t2.Dictionary = r;
22976
22988
  }, 4444: function(e2, t2, r) {
@@ -24343,25 +24355,61 @@ Object name: '${e3}'.`), t3;
24343
24355
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
24344
24356
  }, 1816: (e2, t2) => {
24345
24357
  Object.defineProperty(t2, "__esModule", { value: true });
24346
- }, 5284: (e2, t2, r) => {
24358
+ }, 5284: function(e2, t2, r) {
24359
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
24360
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
24361
+ function s2(e4) {
24362
+ try {
24363
+ c2(n2.next(e4));
24364
+ } catch (e5) {
24365
+ i3(e5);
24366
+ }
24367
+ }
24368
+ function a2(e4) {
24369
+ try {
24370
+ c2(n2.throw(e4));
24371
+ } catch (e5) {
24372
+ i3(e5);
24373
+ }
24374
+ }
24375
+ function c2(e4) {
24376
+ var t4;
24377
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
24378
+ e5(t4);
24379
+ })).then(s2, a2);
24380
+ }
24381
+ c2((n2 = n2.apply(e3, t3 || [])).next());
24382
+ });
24383
+ };
24347
24384
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
24348
- const n = r(5188), o = r(3212), i2 = r(4104), s = r(2760), a = r(9100);
24385
+ const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
24349
24386
  t2.IpcCoreBase = class {
24350
24387
  constructor() {
24351
24388
  this._db = new Map;
24352
24389
  }
24353
24390
  };
24354
24391
 
24355
- class c {
24392
+ class u {
24356
24393
  constructor(e3, t3, r2) {
24357
- this.addressBuilder = e3, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i2.ProxySource(this), this.dispatchProxies = new i2.DispatchProxyClassStore, this.wire = new i2.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i2.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
24394
+ this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
24358
24395
  }
24359
24396
  getAddress(e3) {
24360
24397
  const t3 = new this.addressBuilder;
24361
24398
  return e3(t3), t3.assertAddress();
24362
24399
  }
24400
+ disposeChannel(e3) {
24401
+ return n(this, undefined, undefined, function* () {
24402
+ const t3 = this.getAddress(e3);
24403
+ yield this.wire.disposeChannel(t3.key);
24404
+ });
24405
+ }
24406
+ disposeAllChannels() {
24407
+ return n(this, undefined, undefined, function* () {
24408
+ yield this.wire.disposeAllChannels();
24409
+ });
24410
+ }
24363
24411
  }
24364
- t2.IpcBaseImpl = c, function(e3) {
24412
+ t2.IpcBaseImpl = u, function(e3) {
24365
24413
  e3.ProxySource = class {
24366
24414
  constructor(e4) {
24367
24415
  this._serviceProvider = e4;
@@ -24377,7 +24425,7 @@ Object name: '${e3}'.`), t3;
24377
24425
  this._serviceProvider = e4, this._address = t4;
24378
24426
  }
24379
24427
  withService(e4) {
24380
- const t4 = new i2.ProxyId(e4, this._address);
24428
+ const t4 = new s.ProxyId(e4, this._address);
24381
24429
  return this._serviceProvider.proxySource.resolve(t4);
24382
24430
  }
24383
24431
  }
@@ -24399,27 +24447,27 @@ Object name: '${e3}'.`), t3;
24399
24447
  this._ipc = e4, this._address = t4;
24400
24448
  }
24401
24449
  setConnectHelper(e4) {
24402
- (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
24450
+ (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
24403
24451
  }
24404
24452
  forAnyService() {
24405
- return new o2(this._ipc, this._address);
24453
+ return new n2(this._ipc, this._address);
24406
24454
  }
24407
24455
  forService(e4) {
24408
- return new o2(this._ipc, this._address, e4);
24456
+ return new n2(this._ipc, this._address, e4);
24409
24457
  }
24410
24458
  }
24411
24459
  e3.ConfigurationWithAddress = r2;
24412
24460
 
24413
- class o2 {
24461
+ class n2 {
24414
24462
  constructor(e4, t4, r3) {
24415
24463
  this._ipc = e4, this._address = t4, this._service = r3;
24416
24464
  }
24417
24465
  setRequestTimeout(e4) {
24418
- (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
24466
+ (0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
24419
24467
  }
24420
24468
  }
24421
- e3.ConfigurationWithAddressService = o2;
24422
- }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
24469
+ e3.ConfigurationWithAddressService = n2;
24470
+ }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
24423
24471
  }, 3552: (e2, t2) => {
24424
24472
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
24425
24473
  constructor(e3, t3, r, n) {
@@ -24492,7 +24540,13 @@ Object name: '${e3}'.`), t3;
24492
24540
  }
24493
24541
  disposeAsync() {
24494
24542
  return n(this, undefined, undefined, function* () {
24495
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
24543
+ this._ctsLoop.cancel();
24544
+ try {
24545
+ yield this._loop;
24546
+ } catch (e3) {
24547
+ e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
24548
+ }
24549
+ this._stream.dispose();
24496
24550
  });
24497
24551
  }
24498
24552
  static toMessageTypeString(e3) {
@@ -24677,8 +24731,8 @@ ${e3.Data}`);
24677
24731
  static create(e3, t3, r2, n2, o2, i3) {
24678
24732
  return new a(e3, t3, r2, n2, o2, i3);
24679
24733
  }
24680
- constructor(e3, t3, r2, n2, o2, s2) {
24681
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
24734
+ constructor(e3, t3, r2, n2, s2, c) {
24735
+ this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
24682
24736
  constructor(e4) {
24683
24737
  this._owner = e4;
24684
24738
  }
@@ -24691,8 +24745,8 @@ ${e3.Data}`);
24691
24745
  complete() {
24692
24746
  this._owner.dispatchNetworkComplete();
24693
24747
  }
24694
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
24695
- this.disposeAsync();
24748
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
24749
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
24696
24750
  });
24697
24751
  }
24698
24752
  disposeAsync() {
@@ -24931,6 +24985,12 @@ ${e3.Data}`);
24931
24985
  complete() {}
24932
24986
  }(this);
24933
24987
  }
24988
+ disposeAsync() {
24989
+ return n(this, undefined, undefined, function* () {
24990
+ const e3 = this._latestChannel;
24991
+ this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
24992
+ });
24993
+ }
24934
24994
  invokeMethod(e3, t3, r2) {
24935
24995
  return n(this, undefined, undefined, function* () {
24936
24996
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
@@ -25085,18 +25145,55 @@ ${e3.Data}`);
25085
25145
  return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
25086
25146
  }
25087
25147
  };
25088
- }, 4156: (e2, t2, r) => {
25148
+ }, 4156: function(e2, t2, r) {
25149
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
25150
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
25151
+ function s2(e4) {
25152
+ try {
25153
+ c(n2.next(e4));
25154
+ } catch (e5) {
25155
+ i3(e5);
25156
+ }
25157
+ }
25158
+ function a(e4) {
25159
+ try {
25160
+ c(n2.throw(e4));
25161
+ } catch (e5) {
25162
+ i3(e5);
25163
+ }
25164
+ }
25165
+ function c(e4) {
25166
+ var t4;
25167
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
25168
+ e5(t4);
25169
+ })).then(s2, a);
25170
+ }
25171
+ c((n2 = n2.apply(e3, t3 || [])).next());
25172
+ });
25173
+ };
25089
25174
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
25090
- const n = r(3212), o = r(4104), i2 = r(5188);
25175
+ const o = r(3212), i2 = r(4104), s = r(5188);
25091
25176
  t2.Wire = class {
25092
25177
  invokeMethod(e3, t3, r2) {
25093
25178
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
25094
25179
  }
25095
- constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
25096
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i2.Dictionary;
25180
+ constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
25181
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
25097
25182
  }
25098
25183
  getOrCreateChannelManager(e3) {
25099
- return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
25184
+ return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
25185
+ }
25186
+ disposeChannel(e3) {
25187
+ return n(this, undefined, undefined, function* () {
25188
+ const t3 = this._map.get(e3);
25189
+ t3 && (this._map.delete(e3), yield t3.disposeAsync());
25190
+ });
25191
+ }
25192
+ disposeAllChannels() {
25193
+ return n(this, undefined, undefined, function* () {
25194
+ const e3 = [...this._map.values()];
25195
+ this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
25196
+ });
25100
25197
  }
25101
25198
  };
25102
25199
  }, 4104: function(e2, t2, r) {
@@ -26059,7 +26156,7 @@ ${e3.Data}`);
26059
26156
  }
26060
26157
  };
26061
26158
  }, 5144: (e2, t2, r) => {
26062
- const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
26159
+ const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
26063
26160
 
26064
26161
  class A extends n {
26065
26162
  constructor(e3, t3, r2) {
@@ -26182,7 +26279,7 @@ ${e3.Data}`);
26182
26279
  let g2, O2;
26183
26280
  if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
26184
26281
  for (const e4 of r2) {
26185
- if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
26282
+ if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
26186
26283
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
26187
26284
  m2.add(e4);
26188
26285
  }
@@ -26281,7 +26378,7 @@ ${e3.Data}`);
26281
26378
  const r3 = x(t3).length;
26282
26379
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
26283
26380
  }
26284
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
26381
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
26285
26382
  }
26286
26383
  function W(e3, t3) {
26287
26384
  const r2 = this[O];
@@ -26327,7 +26424,7 @@ ${e3.Data}`);
26327
26424
  const e3 = this[O];
26328
26425
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
26329
26426
  }
26330
- Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
26427
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
26331
26428
  Object.defineProperty(A.prototype, e3, { enumerable: true });
26332
26429
  }), ["open", "error", "close", "message"].forEach((e3) => {
26333
26430
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -33004,11 +33101,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
33004
33101
  var coreipc_1 = require_coreipc();
33005
33102
 
33006
33103
  class HandleConsentCodeMessage extends coreipc_1.Message {
33007
- constructor(Accept, Domain, ConsentCode) {
33104
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
33008
33105
  super();
33009
33106
  this.Accept = Accept;
33010
33107
  this.Domain = Domain;
33011
33108
  this.ConsentCode = ConsentCode;
33109
+ this.SignInUrl = SignInUrl;
33110
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
33012
33111
  }
33013
33112
  }
33014
33113
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -33809,8 +33908,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
33809
33908
  constructor(_consentCodeServices) {
33810
33909
  this._consentCodeServices = _consentCodeServices;
33811
33910
  }
33812
- HandleConsentCode(accept, domain2, consentCode) {
33813
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
33911
+ HandleConsentCode(accept, domain2, consentCode, signInUrl) {
33912
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
33814
33913
  }
33815
33914
  IsDomainAllowed(domain2) {
33816
33915
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -33952,7 +34051,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
33952
34051
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
33953
34052
  }
33954
34053
  CloseAsync() {
33955
- return __awaiter(this, undefined, undefined, function* () {});
34054
+ return __awaiter(this, undefined, undefined, function* () {
34055
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
34056
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
34057
+ });
33956
34058
  }
33957
34059
  get RobotStatusChanged() {
33958
34060
  return this._robotStatusChanged;
@@ -34225,7 +34327,7 @@ var {
34225
34327
  // package.json
34226
34328
  var package_default = {
34227
34329
  name: "@uipath/data-fabric-tool",
34228
- version: "0.9.0",
34330
+ version: "0.9.1",
34229
34331
  description: "Manage Data Fabric entities and records.",
34230
34332
  type: "module",
34231
34333
  main: "./dist/tool.js",
package/dist/tool.js CHANGED
@@ -16471,7 +16471,7 @@ var require_coreipc = __commonJS((exports, module) => {
16471
16471
  if (S(n3))
16472
16472
  return r3;
16473
16473
  for (var i3 = function(e6) {
16474
- var t5 = C(e6, o2);
16474
+ var t5 = T(e6, o2);
16475
16475
  if (!k(t5))
16476
16476
  throw new TypeError;
16477
16477
  var r4 = t5.call(e6);
@@ -16534,7 +16534,7 @@ var require_coreipc = __commonJS((exports, module) => {
16534
16534
  case 5:
16535
16535
  return e5;
16536
16536
  }
16537
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
16537
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
16538
16538
  if (o3 !== undefined) {
16539
16539
  var i3 = o3.call(e5, r3);
16540
16540
  if (j(i3))
@@ -16571,10 +16571,10 @@ var require_coreipc = __commonJS((exports, module) => {
16571
16571
  function k(e5) {
16572
16572
  return typeof e5 == "function";
16573
16573
  }
16574
- function T(e5) {
16574
+ function C(e5) {
16575
16575
  return typeof e5 == "function";
16576
16576
  }
16577
- function C(e5, t4) {
16577
+ function T(e5, t4) {
16578
16578
  var r3 = e5[t4];
16579
16579
  if (r3 != null) {
16580
16580
  if (!k(r3))
@@ -16609,13 +16609,13 @@ var require_coreipc = __commonJS((exports, module) => {
16609
16609
  if (S(r3)) {
16610
16610
  if (!M(e5))
16611
16611
  throw new TypeError;
16612
- if (!T(t4))
16612
+ if (!C(t4))
16613
16613
  throw new TypeError;
16614
16614
  return function(e6, t5) {
16615
16615
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
16616
16616
  var n4 = (0, e6[r4])(t5);
16617
16617
  if (!S(n4) && !P(n4)) {
16618
- if (!T(n4))
16618
+ if (!C(n4))
16619
16619
  throw new TypeError;
16620
16620
  t5 = n4;
16621
16621
  }
@@ -16825,13 +16825,13 @@ var require_coreipc = __commonJS((exports, module) => {
16825
16825
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
16826
16826
  return k.EmptyError;
16827
16827
  } });
16828
- var T = r(7628);
16828
+ var C = r(7628);
16829
16829
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
16830
- return T.NotFoundError;
16830
+ return C.NotFoundError;
16831
16831
  } });
16832
- var C = r(740);
16832
+ var T = r(740);
16833
16833
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
16834
- return C.ObjectUnsubscribedError;
16834
+ return T.ObjectUnsubscribedError;
16835
16835
  } });
16836
16836
  var A = r(6968);
16837
16837
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -17041,13 +17041,13 @@ var require_coreipc = __commonJS((exports, module) => {
17041
17041
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
17042
17042
  return ke.debounceTime;
17043
17043
  } });
17044
- var Te = r(6204);
17044
+ var Ce = r(6204);
17045
17045
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
17046
- return Te.defaultIfEmpty;
17046
+ return Ce.defaultIfEmpty;
17047
17047
  } });
17048
- var Ce = r(7752);
17048
+ var Te = r(7752);
17049
17049
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
17050
- return Ce.delay;
17050
+ return Te.delay;
17051
17051
  } });
17052
17052
  var Ae = r(7532);
17053
17053
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -17257,13 +17257,13 @@ var require_coreipc = __commonJS((exports, module) => {
17257
17257
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
17258
17258
  return kt.share;
17259
17259
  } });
17260
- var Tt = r(4980);
17260
+ var Ct = r(4980);
17261
17261
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
17262
- return Tt.shareReplay;
17262
+ return Ct.shareReplay;
17263
17263
  } });
17264
- var Ct = r(1400);
17264
+ var Tt = r(1400);
17265
17265
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
17266
- return Ct.single;
17266
+ return Tt.single;
17267
17267
  } });
17268
17268
  var At = r(7516);
17269
17269
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -22963,12 +22963,24 @@ var require_coreipc = __commonJS((exports, module) => {
22963
22963
  static create() {
22964
22964
  return new r;
22965
22965
  }
22966
+ get(e3) {
22967
+ return this._map.get(e3);
22968
+ }
22966
22969
  getOrCreateValue(e3, t3) {
22967
22970
  if (this._map.has(e3))
22968
22971
  return this._map.get(e3);
22969
22972
  let r2 = t3(e3);
22970
22973
  return this._map.set(e3, r2), r2;
22971
22974
  }
22975
+ delete(e3) {
22976
+ return this._map.delete(e3);
22977
+ }
22978
+ values() {
22979
+ return this._map.values();
22980
+ }
22981
+ clear() {
22982
+ this._map.clear();
22983
+ }
22972
22984
  }
22973
22985
  t2.Dictionary = r;
22974
22986
  }, 4444: function(e2, t2, r) {
@@ -24341,25 +24353,61 @@ Object name: '${e3}'.`), t3;
24341
24353
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
24342
24354
  }, 1816: (e2, t2) => {
24343
24355
  Object.defineProperty(t2, "__esModule", { value: true });
24344
- }, 5284: (e2, t2, r) => {
24356
+ }, 5284: function(e2, t2, r) {
24357
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
24358
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
24359
+ function s2(e4) {
24360
+ try {
24361
+ c2(n2.next(e4));
24362
+ } catch (e5) {
24363
+ i3(e5);
24364
+ }
24365
+ }
24366
+ function a2(e4) {
24367
+ try {
24368
+ c2(n2.throw(e4));
24369
+ } catch (e5) {
24370
+ i3(e5);
24371
+ }
24372
+ }
24373
+ function c2(e4) {
24374
+ var t4;
24375
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
24376
+ e5(t4);
24377
+ })).then(s2, a2);
24378
+ }
24379
+ c2((n2 = n2.apply(e3, t3 || [])).next());
24380
+ });
24381
+ };
24345
24382
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
24346
- const n = r(5188), o = r(3212), i2 = r(4104), s = r(2760), a = r(9100);
24383
+ const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
24347
24384
  t2.IpcCoreBase = class {
24348
24385
  constructor() {
24349
24386
  this._db = new Map;
24350
24387
  }
24351
24388
  };
24352
24389
 
24353
- class c {
24390
+ class u {
24354
24391
  constructor(e3, t3, r2) {
24355
- this.addressBuilder = e3, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i2.ProxySource(this), this.dispatchProxies = new i2.DispatchProxyClassStore, this.wire = new i2.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i2.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
24392
+ this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
24356
24393
  }
24357
24394
  getAddress(e3) {
24358
24395
  const t3 = new this.addressBuilder;
24359
24396
  return e3(t3), t3.assertAddress();
24360
24397
  }
24398
+ disposeChannel(e3) {
24399
+ return n(this, undefined, undefined, function* () {
24400
+ const t3 = this.getAddress(e3);
24401
+ yield this.wire.disposeChannel(t3.key);
24402
+ });
24403
+ }
24404
+ disposeAllChannels() {
24405
+ return n(this, undefined, undefined, function* () {
24406
+ yield this.wire.disposeAllChannels();
24407
+ });
24408
+ }
24361
24409
  }
24362
- t2.IpcBaseImpl = c, function(e3) {
24410
+ t2.IpcBaseImpl = u, function(e3) {
24363
24411
  e3.ProxySource = class {
24364
24412
  constructor(e4) {
24365
24413
  this._serviceProvider = e4;
@@ -24375,7 +24423,7 @@ Object name: '${e3}'.`), t3;
24375
24423
  this._serviceProvider = e4, this._address = t4;
24376
24424
  }
24377
24425
  withService(e4) {
24378
- const t4 = new i2.ProxyId(e4, this._address);
24426
+ const t4 = new s.ProxyId(e4, this._address);
24379
24427
  return this._serviceProvider.proxySource.resolve(t4);
24380
24428
  }
24381
24429
  }
@@ -24397,27 +24445,27 @@ Object name: '${e3}'.`), t3;
24397
24445
  this._ipc = e4, this._address = t4;
24398
24446
  }
24399
24447
  setConnectHelper(e4) {
24400
- (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
24448
+ (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
24401
24449
  }
24402
24450
  forAnyService() {
24403
- return new o2(this._ipc, this._address);
24451
+ return new n2(this._ipc, this._address);
24404
24452
  }
24405
24453
  forService(e4) {
24406
- return new o2(this._ipc, this._address, e4);
24454
+ return new n2(this._ipc, this._address, e4);
24407
24455
  }
24408
24456
  }
24409
24457
  e3.ConfigurationWithAddress = r2;
24410
24458
 
24411
- class o2 {
24459
+ class n2 {
24412
24460
  constructor(e4, t4, r3) {
24413
24461
  this._ipc = e4, this._address = t4, this._service = r3;
24414
24462
  }
24415
24463
  setRequestTimeout(e4) {
24416
- (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
24464
+ (0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
24417
24465
  }
24418
24466
  }
24419
- e3.ConfigurationWithAddressService = o2;
24420
- }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
24467
+ e3.ConfigurationWithAddressService = n2;
24468
+ }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
24421
24469
  }, 3552: (e2, t2) => {
24422
24470
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
24423
24471
  constructor(e3, t3, r, n) {
@@ -24490,7 +24538,13 @@ Object name: '${e3}'.`), t3;
24490
24538
  }
24491
24539
  disposeAsync() {
24492
24540
  return n(this, undefined, undefined, function* () {
24493
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
24541
+ this._ctsLoop.cancel();
24542
+ try {
24543
+ yield this._loop;
24544
+ } catch (e3) {
24545
+ e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
24546
+ }
24547
+ this._stream.dispose();
24494
24548
  });
24495
24549
  }
24496
24550
  static toMessageTypeString(e3) {
@@ -24675,8 +24729,8 @@ ${e3.Data}`);
24675
24729
  static create(e3, t3, r2, n2, o2, i3) {
24676
24730
  return new a(e3, t3, r2, n2, o2, i3);
24677
24731
  }
24678
- constructor(e3, t3, r2, n2, o2, s2) {
24679
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
24732
+ constructor(e3, t3, r2, n2, s2, c) {
24733
+ this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
24680
24734
  constructor(e4) {
24681
24735
  this._owner = e4;
24682
24736
  }
@@ -24689,8 +24743,8 @@ ${e3.Data}`);
24689
24743
  complete() {
24690
24744
  this._owner.dispatchNetworkComplete();
24691
24745
  }
24692
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
24693
- this.disposeAsync();
24746
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
24747
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
24694
24748
  });
24695
24749
  }
24696
24750
  disposeAsync() {
@@ -24929,6 +24983,12 @@ ${e3.Data}`);
24929
24983
  complete() {}
24930
24984
  }(this);
24931
24985
  }
24986
+ disposeAsync() {
24987
+ return n(this, undefined, undefined, function* () {
24988
+ const e3 = this._latestChannel;
24989
+ this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
24990
+ });
24991
+ }
24932
24992
  invokeMethod(e3, t3, r2) {
24933
24993
  return n(this, undefined, undefined, function* () {
24934
24994
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
@@ -25083,18 +25143,55 @@ ${e3.Data}`);
25083
25143
  return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
25084
25144
  }
25085
25145
  };
25086
- }, 4156: (e2, t2, r) => {
25146
+ }, 4156: function(e2, t2, r) {
25147
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
25148
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
25149
+ function s2(e4) {
25150
+ try {
25151
+ c(n2.next(e4));
25152
+ } catch (e5) {
25153
+ i3(e5);
25154
+ }
25155
+ }
25156
+ function a(e4) {
25157
+ try {
25158
+ c(n2.throw(e4));
25159
+ } catch (e5) {
25160
+ i3(e5);
25161
+ }
25162
+ }
25163
+ function c(e4) {
25164
+ var t4;
25165
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
25166
+ e5(t4);
25167
+ })).then(s2, a);
25168
+ }
25169
+ c((n2 = n2.apply(e3, t3 || [])).next());
25170
+ });
25171
+ };
25087
25172
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
25088
- const n = r(3212), o = r(4104), i2 = r(5188);
25173
+ const o = r(3212), i2 = r(4104), s = r(5188);
25089
25174
  t2.Wire = class {
25090
25175
  invokeMethod(e3, t3, r2) {
25091
25176
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
25092
25177
  }
25093
- constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
25094
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i2.Dictionary;
25178
+ constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
25179
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
25095
25180
  }
25096
25181
  getOrCreateChannelManager(e3) {
25097
- return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
25182
+ return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
25183
+ }
25184
+ disposeChannel(e3) {
25185
+ return n(this, undefined, undefined, function* () {
25186
+ const t3 = this._map.get(e3);
25187
+ t3 && (this._map.delete(e3), yield t3.disposeAsync());
25188
+ });
25189
+ }
25190
+ disposeAllChannels() {
25191
+ return n(this, undefined, undefined, function* () {
25192
+ const e3 = [...this._map.values()];
25193
+ this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
25194
+ });
25098
25195
  }
25099
25196
  };
25100
25197
  }, 4104: function(e2, t2, r) {
@@ -26057,7 +26154,7 @@ ${e3.Data}`);
26057
26154
  }
26058
26155
  };
26059
26156
  }, 5144: (e2, t2, r) => {
26060
- const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
26157
+ const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
26061
26158
 
26062
26159
  class A extends n {
26063
26160
  constructor(e3, t3, r2) {
@@ -26180,7 +26277,7 @@ ${e3.Data}`);
26180
26277
  let g2, O2;
26181
26278
  if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
26182
26279
  for (const e4 of r2) {
26183
- if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
26280
+ if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
26184
26281
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
26185
26282
  m2.add(e4);
26186
26283
  }
@@ -26279,7 +26376,7 @@ ${e3.Data}`);
26279
26376
  const r3 = x(t3).length;
26280
26377
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
26281
26378
  }
26282
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
26379
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
26283
26380
  }
26284
26381
  function W(e3, t3) {
26285
26382
  const r2 = this[O];
@@ -26325,7 +26422,7 @@ ${e3.Data}`);
26325
26422
  const e3 = this[O];
26326
26423
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
26327
26424
  }
26328
- Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
26425
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
26329
26426
  Object.defineProperty(A.prototype, e3, { enumerable: true });
26330
26427
  }), ["open", "error", "close", "message"].forEach((e3) => {
26331
26428
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -33002,11 +33099,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
33002
33099
  var coreipc_1 = require_coreipc();
33003
33100
 
33004
33101
  class HandleConsentCodeMessage extends coreipc_1.Message {
33005
- constructor(Accept, Domain, ConsentCode) {
33102
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
33006
33103
  super();
33007
33104
  this.Accept = Accept;
33008
33105
  this.Domain = Domain;
33009
33106
  this.ConsentCode = ConsentCode;
33107
+ this.SignInUrl = SignInUrl;
33108
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
33010
33109
  }
33011
33110
  }
33012
33111
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -33807,8 +33906,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
33807
33906
  constructor(_consentCodeServices) {
33808
33907
  this._consentCodeServices = _consentCodeServices;
33809
33908
  }
33810
- HandleConsentCode(accept, domain2, consentCode) {
33811
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
33909
+ HandleConsentCode(accept, domain2, consentCode, signInUrl) {
33910
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
33812
33911
  }
33813
33912
  IsDomainAllowed(domain2) {
33814
33913
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -33950,7 +34049,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
33950
34049
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
33951
34050
  }
33952
34051
  CloseAsync() {
33953
- return __awaiter(this, undefined, undefined, function* () {});
34052
+ return __awaiter(this, undefined, undefined, function* () {
34053
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
34054
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
34055
+ });
33954
34056
  }
33955
34057
  get RobotStatusChanged() {
33956
34058
  return this._robotStatusChanged;
@@ -34207,7 +34309,7 @@ var require_dist = __commonJS((exports) => {
34207
34309
  // package.json
34208
34310
  var package_default = {
34209
34311
  name: "@uipath/data-fabric-tool",
34210
- version: "0.9.0",
34312
+ version: "0.9.1",
34211
34313
  description: "Manage Data Fabric entities and records.",
34212
34314
  type: "module",
34213
34315
  main: "./dist/tool.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/data-fabric-tool",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Manage Data Fabric entities and records.",
5
5
  "type": "module",
6
6
  "main": "./dist/tool.js",
@@ -20,9 +20,9 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "commander": "^14.0.3",
23
- "@uipath/common": "0.9.0",
24
- "@uipath/auth": "0.9.0",
25
- "@uipath/filesystem": "0.9.0",
23
+ "@uipath/common": "0.9.1",
24
+ "@uipath/auth": "0.9.1",
25
+ "@uipath/filesystem": "0.9.1",
26
26
  "@uipath/uipath-typescript": "^1.3.1",
27
27
  "@types/node": "^25.5.0",
28
28
  "typescript": "^5"
@@ -30,5 +30,5 @@
30
30
  "publishConfig": {
31
31
  "registry": "https://registry.npmjs.org/"
32
32
  },
33
- "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
33
+ "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
34
34
  }