@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.
@@ -547,11 +547,8 @@ class ApiClient {
547
547
  return this.tokenManager.getValidToken();
548
548
  }
549
549
  async getDefaultHeaders() {
550
- // Get headers from execution context first
551
- const contextHeaders = this.executionContext.getHeaders();
552
550
  const token = await this.getValidToken();
553
551
  return {
554
- ...contextHeaders,
555
552
  'Authorization': `Bearer ${token}`,
556
553
  'Content-Type': CONTENT_TYPES.JSON,
557
554
  ...this.defaultHeaders,
@@ -1735,7 +1732,7 @@ class BpmnHelpers {
1735
1732
  // Connection string placeholder that will be replaced during build
1736
1733
  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";
1737
1734
  // SDK Version placeholder
1738
- const SDK_VERSION = "1.1.3";
1735
+ const SDK_VERSION = "1.2.0";
1739
1736
  const VERSION = "Version";
1740
1737
  const SERVICE = "Service";
1741
1738
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -545,11 +545,8 @@ class ApiClient {
545
545
  return this.tokenManager.getValidToken();
546
546
  }
547
547
  async getDefaultHeaders() {
548
- // Get headers from execution context first
549
- const contextHeaders = this.executionContext.getHeaders();
550
548
  const token = await this.getValidToken();
551
549
  return {
552
- ...contextHeaders,
553
550
  'Authorization': `Bearer ${token}`,
554
551
  'Content-Type': CONTENT_TYPES.JSON,
555
552
  ...this.defaultHeaders,
@@ -1733,7 +1730,7 @@ class BpmnHelpers {
1733
1730
  // Connection string placeholder that will be replaced during build
1734
1731
  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";
1735
1732
  // SDK Version placeholder
1736
- const SDK_VERSION = "1.1.3";
1733
+ const SDK_VERSION = "1.2.0";
1737
1734
  const VERSION = "Version";
1738
1735
  const SERVICE = "Service";
1739
1736
  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,
@@ -1715,7 +1712,7 @@ const PROCESS_ENDPOINTS = {
1715
1712
  // Connection string placeholder that will be replaced during build
1716
1713
  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";
1717
1714
  // SDK Version placeholder
1718
- const SDK_VERSION = "1.1.3";
1715
+ const SDK_VERSION = "1.2.0";
1719
1716
  const VERSION = "Version";
1720
1717
  const SERVICE = "Service";
1721
1718
  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,
@@ -1713,7 +1710,7 @@ const PROCESS_ENDPOINTS = {
1713
1710
  // Connection string placeholder that will be replaced during build
1714
1711
  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";
1715
1712
  // SDK Version placeholder
1716
- const SDK_VERSION = "1.1.3";
1713
+ const SDK_VERSION = "1.2.0";
1717
1714
  const VERSION = "Version";
1718
1715
  const SERVICE = "Service";
1719
1716
  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,
@@ -1679,7 +1676,7 @@ const QueueMap = {
1679
1676
  // Connection string placeholder that will be replaced during build
1680
1677
  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";
1681
1678
  // SDK Version placeholder
1682
- const SDK_VERSION = "1.1.3";
1679
+ const SDK_VERSION = "1.2.0";
1683
1680
  const VERSION = "Version";
1684
1681
  const SERVICE = "Service";
1685
1682
  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,
@@ -1677,7 +1674,7 @@ const QueueMap = {
1677
1674
  // Connection string placeholder that will be replaced during build
1678
1675
  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";
1679
1676
  // SDK Version placeholder
1680
- const SDK_VERSION = "1.1.3";
1677
+ const SDK_VERSION = "1.2.0";
1681
1678
  const VERSION = "Version";
1682
1679
  const SERVICE = "Service";
1683
1680
  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,
@@ -1905,7 +1902,7 @@ const TASK_ENDPOINTS = {
1905
1902
  // Connection string placeholder that will be replaced during build
1906
1903
  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";
1907
1904
  // SDK Version placeholder
1908
- const SDK_VERSION = "1.1.3";
1905
+ const SDK_VERSION = "1.2.0";
1909
1906
  const VERSION = "Version";
1910
1907
  const SERVICE = "Service";
1911
1908
  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,
@@ -1903,7 +1900,7 @@ const TASK_ENDPOINTS = {
1903
1900
  // Connection string placeholder that will be replaced during build
1904
1901
  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";
1905
1902
  // SDK Version placeholder
1906
- const SDK_VERSION = "1.1.3";
1903
+ const SDK_VERSION = "1.2.0";
1907
1904
  const VERSION = "Version";
1908
1905
  const SERVICE = "Service";
1909
1906
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/uipath-typescript",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "description": "UiPath TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -187,4 +187,4 @@
187
187
  "workspaces": [
188
188
  "packages/*"
189
189
  ]
190
- }
190
+ }