@uipath/uipath-typescript 1.1.3 → 1.2.0

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.
@@ -546,11 +546,8 @@ class ApiClient {
546
546
  return this.tokenManager.getValidToken();
547
547
  }
548
548
  async getDefaultHeaders() {
549
- // Get headers from execution context first
550
- const contextHeaders = this.executionContext.getHeaders();
551
549
  const token = await this.getValidToken();
552
550
  return {
553
- ...contextHeaders,
554
551
  'Authorization': `Bearer ${token}`,
555
552
  'Content-Type': CONTENT_TYPES.JSON,
556
553
  ...this.defaultHeaders,
@@ -1678,7 +1675,7 @@ const AssetMap = {
1678
1675
  // Connection string placeholder that will be replaced during build
1679
1676
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
1680
1677
  // SDK Version placeholder
1681
- const SDK_VERSION = "1.1.3";
1678
+ const SDK_VERSION = "1.2.0";
1682
1679
  const VERSION = "Version";
1683
1680
  const SERVICE = "Service";
1684
1681
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -544,11 +544,8 @@ class ApiClient {
544
544
  return this.tokenManager.getValidToken();
545
545
  }
546
546
  async getDefaultHeaders() {
547
- // Get headers from execution context first
548
- const contextHeaders = this.executionContext.getHeaders();
549
547
  const token = await this.getValidToken();
550
548
  return {
551
- ...contextHeaders,
552
549
  'Authorization': `Bearer ${token}`,
553
550
  'Content-Type': CONTENT_TYPES.JSON,
554
551
  ...this.defaultHeaders,
@@ -1676,7 +1673,7 @@ const AssetMap = {
1676
1673
  // Connection string placeholder that will be replaced during build
1677
1674
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
1678
1675
  // SDK Version placeholder
1679
- const SDK_VERSION = "1.1.3";
1676
+ const SDK_VERSION = "1.2.0";
1680
1677
  const VERSION = "Version";
1681
1678
  const SERVICE = "Service";
1682
1679
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -546,11 +546,8 @@ class ApiClient {
546
546
  return this.tokenManager.getValidToken();
547
547
  }
548
548
  async getDefaultHeaders() {
549
- // Get headers from execution context first
550
- const contextHeaders = this.executionContext.getHeaders();
551
549
  const token = await this.getValidToken();
552
550
  return {
553
- ...contextHeaders,
554
551
  'Authorization': `Bearer ${token}`,
555
552
  'Content-Type': CONTENT_TYPES.JSON,
556
553
  ...this.defaultHeaders,
@@ -1725,7 +1722,7 @@ const BucketMap = {
1725
1722
  // Connection string placeholder that will be replaced during build
1726
1723
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
1727
1724
  // SDK Version placeholder
1728
- const SDK_VERSION = "1.1.3";
1725
+ const SDK_VERSION = "1.2.0";
1729
1726
  const VERSION = "Version";
1730
1727
  const SERVICE = "Service";
1731
1728
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -544,11 +544,8 @@ class ApiClient {
544
544
  return this.tokenManager.getValidToken();
545
545
  }
546
546
  async getDefaultHeaders() {
547
- // Get headers from execution context first
548
- const contextHeaders = this.executionContext.getHeaders();
549
547
  const token = await this.getValidToken();
550
548
  return {
551
- ...contextHeaders,
552
549
  'Authorization': `Bearer ${token}`,
553
550
  'Content-Type': CONTENT_TYPES.JSON,
554
551
  ...this.defaultHeaders,
@@ -1723,7 +1720,7 @@ const BucketMap = {
1723
1720
  // Connection string placeholder that will be replaced during build
1724
1721
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
1725
1722
  // SDK Version placeholder
1726
- const SDK_VERSION = "1.1.3";
1723
+ const SDK_VERSION = "1.2.0";
1727
1724
  const VERSION = "Version";
1728
1725
  const SERVICE = "Service";
1729
1726
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -559,11 +559,8 @@ class ApiClient {
559
559
  return this.tokenManager.getValidToken();
560
560
  }
561
561
  async getDefaultHeaders() {
562
- // Get headers from execution context first
563
- const contextHeaders = this.executionContext.getHeaders();
564
562
  const token = await this.getValidToken();
565
563
  return {
566
- ...contextHeaders,
567
564
  'Authorization': `Bearer ${token}`,
568
565
  'Content-Type': CONTENT_TYPES.JSON,
569
566
  ...this.defaultHeaders,
@@ -1833,7 +1830,7 @@ const MAESTRO_ENDPOINTS = {
1833
1830
  // Connection string placeholder that will be replaced during build
1834
1831
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
1835
1832
  // SDK Version placeholder
1836
- const SDK_VERSION = "1.1.3";
1833
+ const SDK_VERSION = "1.2.0";
1837
1834
  const VERSION = "Version";
1838
1835
  const SERVICE = "Service";
1839
1836
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -557,11 +557,8 @@ class ApiClient {
557
557
  return this.tokenManager.getValidToken();
558
558
  }
559
559
  async getDefaultHeaders() {
560
- // Get headers from execution context first
561
- const contextHeaders = this.executionContext.getHeaders();
562
560
  const token = await this.getValidToken();
563
561
  return {
564
- ...contextHeaders,
565
562
  'Authorization': `Bearer ${token}`,
566
563
  'Content-Type': CONTENT_TYPES.JSON,
567
564
  ...this.defaultHeaders,
@@ -1831,7 +1828,7 @@ const MAESTRO_ENDPOINTS = {
1831
1828
  // Connection string placeholder that will be replaced during build
1832
1829
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
1833
1830
  // SDK Version placeholder
1834
- const SDK_VERSION = "1.1.3";
1831
+ const SDK_VERSION = "1.2.0";
1835
1832
  const VERSION = "Version";
1836
1833
  const SERVICE = "Service";
1837
1834
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -51,7 +51,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
51
51
  // Connection string placeholder that will be replaced during build
52
52
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
53
53
  // SDK Version placeholder
54
- const SDK_VERSION = "1.1.3";
54
+ const SDK_VERSION = "1.2.0";
55
55
  const VERSION = "Version";
56
56
  const SERVICE = "Service";
57
57
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -829,11 +829,8 @@ class ApiClient {
829
829
  return this.tokenManager.getValidToken();
830
830
  }
831
831
  async getDefaultHeaders() {
832
- // Get headers from execution context first
833
- const contextHeaders = this.executionContext.getHeaders();
834
832
  const token = await this.getValidToken();
835
833
  return {
836
- ...contextHeaders,
837
834
  'Authorization': `Bearer ${token}`,
838
835
  'Content-Type': CONTENT_TYPES.JSON,
839
836
  ...this.defaultHeaders,
@@ -49,7 +49,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
49
49
  // Connection string placeholder that will be replaced during build
50
50
  const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
51
51
  // SDK Version placeholder
52
- const SDK_VERSION = "1.1.3";
52
+ const SDK_VERSION = "1.2.0";
53
53
  const VERSION = "Version";
54
54
  const SERVICE = "Service";
55
55
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -827,11 +827,8 @@ class ApiClient {
827
827
  return this.tokenManager.getValidToken();
828
828
  }
829
829
  async getDefaultHeaders() {
830
- // Get headers from execution context first
831
- const contextHeaders = this.executionContext.getHeaders();
832
830
  const token = await this.getValidToken();
833
831
  return {
834
- ...contextHeaders,
835
832
  'Authorization': `Bearer ${token}`,
836
833
  'Content-Type': CONTENT_TYPES.JSON,
837
834
  ...this.defaultHeaders,