@uipath/integrationservice-sdk 0.9.1 → 1.0.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 (2) hide show
  1. package/dist/index.js +49 -151
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -30178,7 +30178,7 @@ var require_coreipc = __commonJS((exports, module) => {
30178
30178
  if (S(n3))
30179
30179
  return r3;
30180
30180
  for (var i3 = function(e6) {
30181
- var t5 = T(e6, o2);
30181
+ var t5 = C(e6, o2);
30182
30182
  if (!k(t5))
30183
30183
  throw new TypeError;
30184
30184
  var r4 = t5.call(e6);
@@ -30241,7 +30241,7 @@ var require_coreipc = __commonJS((exports, module) => {
30241
30241
  case 5:
30242
30242
  return e5;
30243
30243
  }
30244
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
30244
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
30245
30245
  if (o3 !== undefined) {
30246
30246
  var i3 = o3.call(e5, r3);
30247
30247
  if (j(i3))
@@ -30278,10 +30278,10 @@ var require_coreipc = __commonJS((exports, module) => {
30278
30278
  function k(e5) {
30279
30279
  return typeof e5 == "function";
30280
30280
  }
30281
- function C(e5) {
30281
+ function T(e5) {
30282
30282
  return typeof e5 == "function";
30283
30283
  }
30284
- function T(e5, t4) {
30284
+ function C(e5, t4) {
30285
30285
  var r3 = e5[t4];
30286
30286
  if (r3 != null) {
30287
30287
  if (!k(r3))
@@ -30316,13 +30316,13 @@ var require_coreipc = __commonJS((exports, module) => {
30316
30316
  if (S(r3)) {
30317
30317
  if (!M(e5))
30318
30318
  throw new TypeError;
30319
- if (!C(t4))
30319
+ if (!T(t4))
30320
30320
  throw new TypeError;
30321
30321
  return function(e6, t5) {
30322
30322
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
30323
30323
  var n4 = (0, e6[r4])(t5);
30324
30324
  if (!S(n4) && !P(n4)) {
30325
- if (!C(n4))
30325
+ if (!T(n4))
30326
30326
  throw new TypeError;
30327
30327
  t5 = n4;
30328
30328
  }
@@ -30532,13 +30532,13 @@ var require_coreipc = __commonJS((exports, module) => {
30532
30532
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
30533
30533
  return k.EmptyError;
30534
30534
  } });
30535
- var C = r(7628);
30535
+ var T = r(7628);
30536
30536
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
30537
- return C.NotFoundError;
30537
+ return T.NotFoundError;
30538
30538
  } });
30539
- var T = r(740);
30539
+ var C = r(740);
30540
30540
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
30541
- return T.ObjectUnsubscribedError;
30541
+ return C.ObjectUnsubscribedError;
30542
30542
  } });
30543
30543
  var A = r(6968);
30544
30544
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -30748,13 +30748,13 @@ var require_coreipc = __commonJS((exports, module) => {
30748
30748
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
30749
30749
  return ke.debounceTime;
30750
30750
  } });
30751
- var Ce = r(6204);
30751
+ var Te = r(6204);
30752
30752
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
30753
- return Ce.defaultIfEmpty;
30753
+ return Te.defaultIfEmpty;
30754
30754
  } });
30755
- var Te = r(7752);
30755
+ var Ce = r(7752);
30756
30756
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
30757
- return Te.delay;
30757
+ return Ce.delay;
30758
30758
  } });
30759
30759
  var Ae = r(7532);
30760
30760
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -30964,13 +30964,13 @@ var require_coreipc = __commonJS((exports, module) => {
30964
30964
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
30965
30965
  return kt.share;
30966
30966
  } });
30967
- var Ct = r(4980);
30967
+ var Tt = r(4980);
30968
30968
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
30969
- return Ct.shareReplay;
30969
+ return Tt.shareReplay;
30970
30970
  } });
30971
- var Tt = r(1400);
30971
+ var Ct = r(1400);
30972
30972
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
30973
- return Tt.single;
30973
+ return Ct.single;
30974
30974
  } });
30975
30975
  var At = r(7516);
30976
30976
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -36670,24 +36670,12 @@ var require_coreipc = __commonJS((exports, module) => {
36670
36670
  static create() {
36671
36671
  return new r;
36672
36672
  }
36673
- get(e3) {
36674
- return this._map.get(e3);
36675
- }
36676
36673
  getOrCreateValue(e3, t3) {
36677
36674
  if (this._map.has(e3))
36678
36675
  return this._map.get(e3);
36679
36676
  let r2 = t3(e3);
36680
36677
  return this._map.set(e3, r2), r2;
36681
36678
  }
36682
- delete(e3) {
36683
- return this._map.delete(e3);
36684
- }
36685
- values() {
36686
- return this._map.values();
36687
- }
36688
- clear() {
36689
- this._map.clear();
36690
- }
36691
36679
  }
36692
36680
  t2.Dictionary = r;
36693
36681
  }, 4444: function(e2, t2, r) {
@@ -38060,61 +38048,25 @@ Object name: '${e3}'.`), t3;
38060
38048
  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);
38061
38049
  }, 1816: (e2, t2) => {
38062
38050
  Object.defineProperty(t2, "__esModule", { value: true });
38063
- }, 5284: function(e2, t2, r) {
38064
- var n = this && this.__awaiter || function(e3, t3, r2, n2) {
38065
- return new (r2 || (r2 = Promise))(function(o2, i3) {
38066
- function s2(e4) {
38067
- try {
38068
- c2(n2.next(e4));
38069
- } catch (e5) {
38070
- i3(e5);
38071
- }
38072
- }
38073
- function a2(e4) {
38074
- try {
38075
- c2(n2.throw(e4));
38076
- } catch (e5) {
38077
- i3(e5);
38078
- }
38079
- }
38080
- function c2(e4) {
38081
- var t4;
38082
- e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
38083
- e5(t4);
38084
- })).then(s2, a2);
38085
- }
38086
- c2((n2 = n2.apply(e3, t3 || [])).next());
38087
- });
38088
- };
38051
+ }, 5284: (e2, t2, r) => {
38089
38052
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
38090
- const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
38053
+ const n = r(5188), o = r(3212), i2 = r(4104), s = r(2760), a = r(9100);
38091
38054
  t2.IpcCoreBase = class {
38092
38055
  constructor() {
38093
38056
  this._db = new Map;
38094
38057
  }
38095
38058
  };
38096
38059
 
38097
- class u {
38060
+ class c {
38098
38061
  constructor(e3, t3, r2) {
38099
- 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;
38062
+ 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;
38100
38063
  }
38101
38064
  getAddress(e3) {
38102
38065
  const t3 = new this.addressBuilder;
38103
38066
  return e3(t3), t3.assertAddress();
38104
38067
  }
38105
- disposeChannel(e3) {
38106
- return n(this, undefined, undefined, function* () {
38107
- const t3 = this.getAddress(e3);
38108
- yield this.wire.disposeChannel(t3.key);
38109
- });
38110
- }
38111
- disposeAllChannels() {
38112
- return n(this, undefined, undefined, function* () {
38113
- yield this.wire.disposeAllChannels();
38114
- });
38115
- }
38116
38068
  }
38117
- t2.IpcBaseImpl = u, function(e3) {
38069
+ t2.IpcBaseImpl = c, function(e3) {
38118
38070
  e3.ProxySource = class {
38119
38071
  constructor(e4) {
38120
38072
  this._serviceProvider = e4;
@@ -38130,7 +38082,7 @@ Object name: '${e3}'.`), t3;
38130
38082
  this._serviceProvider = e4, this._address = t4;
38131
38083
  }
38132
38084
  withService(e4) {
38133
- const t4 = new s.ProxyId(e4, this._address);
38085
+ const t4 = new i2.ProxyId(e4, this._address);
38134
38086
  return this._serviceProvider.proxySource.resolve(t4);
38135
38087
  }
38136
38088
  }
@@ -38152,27 +38104,27 @@ Object name: '${e3}'.`), t3;
38152
38104
  this._ipc = e4, this._address = t4;
38153
38105
  }
38154
38106
  setConnectHelper(e4) {
38155
- (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
38107
+ (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
38156
38108
  }
38157
38109
  forAnyService() {
38158
- return new n2(this._ipc, this._address);
38110
+ return new o2(this._ipc, this._address);
38159
38111
  }
38160
38112
  forService(e4) {
38161
- return new n2(this._ipc, this._address, e4);
38113
+ return new o2(this._ipc, this._address, e4);
38162
38114
  }
38163
38115
  }
38164
38116
  e3.ConfigurationWithAddress = r2;
38165
38117
 
38166
- class n2 {
38118
+ class o2 {
38167
38119
  constructor(e4, t4, r3) {
38168
38120
  this._ipc = e4, this._address = t4, this._service = r3;
38169
38121
  }
38170
38122
  setRequestTimeout(e4) {
38171
- (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);
38123
+ (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);
38172
38124
  }
38173
38125
  }
38174
- e3.ConfigurationWithAddressService = n2;
38175
- }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
38126
+ e3.ConfigurationWithAddressService = o2;
38127
+ }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
38176
38128
  }, 3552: (e2, t2) => {
38177
38129
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
38178
38130
  constructor(e3, t3, r, n) {
@@ -38245,13 +38197,7 @@ Object name: '${e3}'.`), t3;
38245
38197
  }
38246
38198
  disposeAsync() {
38247
38199
  return n(this, undefined, undefined, function* () {
38248
- this._ctsLoop.cancel();
38249
- try {
38250
- yield this._loop;
38251
- } catch (e3) {
38252
- e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
38253
- }
38254
- this._stream.dispose();
38200
+ this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
38255
38201
  });
38256
38202
  }
38257
38203
  static toMessageTypeString(e3) {
@@ -38436,8 +38382,8 @@ ${e3.Data}`);
38436
38382
  static create(e3, t3, r2, n2, o2, i3) {
38437
38383
  return new a(e3, t3, r2, n2, o2, i3);
38438
38384
  }
38439
- constructor(e3, t3, r2, n2, s2, c) {
38440
- this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
38385
+ constructor(e3, t3, r2, n2, o2, s2) {
38386
+ this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
38441
38387
  constructor(e4) {
38442
38388
  this._owner = e4;
38443
38389
  }
@@ -38450,8 +38396,8 @@ ${e3.Data}`);
38450
38396
  complete() {
38451
38397
  this._owner.dispatchNetworkComplete();
38452
38398
  }
38453
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
38454
- o.Trace.traceErrorNoThrow(this.disposeAsync());
38399
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
38400
+ this.disposeAsync();
38455
38401
  });
38456
38402
  }
38457
38403
  disposeAsync() {
@@ -38690,12 +38636,6 @@ ${e3.Data}`);
38690
38636
  complete() {}
38691
38637
  }(this);
38692
38638
  }
38693
- disposeAsync() {
38694
- return n(this, undefined, undefined, function* () {
38695
- const e3 = this._latestChannel;
38696
- this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
38697
- });
38698
- }
38699
38639
  invokeMethod(e3, t3, r2) {
38700
38640
  return n(this, undefined, undefined, function* () {
38701
38641
  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);
@@ -38850,55 +38790,18 @@ ${e3.Data}`);
38850
38790
  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];
38851
38791
  }
38852
38792
  };
38853
- }, 4156: function(e2, t2, r) {
38854
- var n = this && this.__awaiter || function(e3, t3, r2, n2) {
38855
- return new (r2 || (r2 = Promise))(function(o2, i3) {
38856
- function s2(e4) {
38857
- try {
38858
- c(n2.next(e4));
38859
- } catch (e5) {
38860
- i3(e5);
38861
- }
38862
- }
38863
- function a(e4) {
38864
- try {
38865
- c(n2.throw(e4));
38866
- } catch (e5) {
38867
- i3(e5);
38868
- }
38869
- }
38870
- function c(e4) {
38871
- var t4;
38872
- e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
38873
- e5(t4);
38874
- })).then(s2, a);
38875
- }
38876
- c((n2 = n2.apply(e3, t3 || [])).next());
38877
- });
38878
- };
38793
+ }, 4156: (e2, t2, r) => {
38879
38794
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
38880
- const o = r(3212), i2 = r(4104), s = r(5188);
38795
+ const n = r(3212), o = r(4104), i2 = r(5188);
38881
38796
  t2.Wire = class {
38882
38797
  invokeMethod(e3, t3, r2) {
38883
38798
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
38884
38799
  }
38885
- constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
38886
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
38800
+ constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
38801
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i2.Dictionary;
38887
38802
  }
38888
38803
  getOrCreateChannelManager(e3) {
38889
- return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
38890
- }
38891
- disposeChannel(e3) {
38892
- return n(this, undefined, undefined, function* () {
38893
- const t3 = this._map.get(e3);
38894
- t3 && (this._map.delete(e3), yield t3.disposeAsync());
38895
- });
38896
- }
38897
- disposeAllChannels() {
38898
- return n(this, undefined, undefined, function* () {
38899
- const e3 = [...this._map.values()];
38900
- this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
38901
- });
38804
+ return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
38902
38805
  }
38903
38806
  };
38904
38807
  }, 4104: function(e2, t2, r) {
@@ -39861,7 +39764,7 @@ ${e3.Data}`);
39861
39764
  }
39862
39765
  };
39863
39766
  }, 5144: (e2, t2, r) => {
39864
- 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~]+$/;
39767
+ 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~]+$/;
39865
39768
 
39866
39769
  class A extends n {
39867
39770
  constructor(e3, t3, r2) {
@@ -39984,7 +39887,7 @@ ${e3.Data}`);
39984
39887
  let g2, O2;
39985
39888
  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) {
39986
39889
  for (const e4 of r2) {
39987
- if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
39890
+ if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
39988
39891
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
39989
39892
  m2.add(e4);
39990
39893
  }
@@ -40083,7 +39986,7 @@ ${e3.Data}`);
40083
39986
  const r3 = x(t3).length;
40084
39987
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
40085
39988
  }
40086
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
39989
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
40087
39990
  }
40088
39991
  function W(e3, t3) {
40089
39992
  const r2 = this[O];
@@ -40129,7 +40032,7 @@ ${e3.Data}`);
40129
40032
  const e3 = this[O];
40130
40033
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
40131
40034
  }
40132
- 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) => {
40035
+ 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) => {
40133
40036
  Object.defineProperty(A.prototype, e3, { enumerable: true });
40134
40037
  }), ["open", "error", "close", "message"].forEach((e3) => {
40135
40038
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -46446,13 +46349,11 @@ var require_handle_consent_code_message = __commonJS((exports) => {
46446
46349
  var coreipc_1 = require_coreipc();
46447
46350
 
46448
46351
  class HandleConsentCodeMessage extends coreipc_1.Message {
46449
- constructor(Accept, Domain, ConsentCode, SignInUrl) {
46352
+ constructor(Accept, Domain, ConsentCode) {
46450
46353
  super();
46451
46354
  this.Accept = Accept;
46452
46355
  this.Domain = Domain;
46453
46356
  this.ConsentCode = ConsentCode;
46454
- this.SignInUrl = SignInUrl;
46455
- this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
46456
46357
  }
46457
46358
  }
46458
46359
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -47225,8 +47126,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
47225
47126
  constructor(_consentCodeServices) {
47226
47127
  this._consentCodeServices = _consentCodeServices;
47227
47128
  }
47228
- HandleConsentCode(accept, domain2, consentCode, signInUrl) {
47229
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
47129
+ HandleConsentCode(accept, domain2, consentCode) {
47130
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
47230
47131
  }
47231
47132
  IsDomainAllowed(domain2) {
47232
47133
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -47366,10 +47267,7 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
47366
47267
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
47367
47268
  }
47368
47269
  CloseAsync() {
47369
- return __awaiter(this, undefined, undefined, function* () {
47370
- yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
47371
- yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
47372
- });
47270
+ return __awaiter(this, undefined, undefined, function* () {});
47373
47271
  }
47374
47272
  get RobotStatusChanged() {
47375
47273
  return this._robotStatusChanged;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/integrationservice-sdk",
3
- "version": "0.9.1",
3
+ "version": "1.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/UiPath/cli.git",
@@ -34,11 +34,11 @@
34
34
  "test:coverage": "vitest run --coverage"
35
35
  },
36
36
  "devDependencies": {
37
- "@uipath/auth": "0.9.1",
37
+ "@uipath/auth": "0.9.0",
38
38
  "@openapitools/openapi-generator-cli": "^2.31.1",
39
39
  "@types/node": "^25.5.0",
40
40
  "typescript": "^5",
41
41
  "uuid": "^14.0.0"
42
42
  },
43
- "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
43
+ "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
44
44
  }