@azure/digital-twins-core 1.1.0-alpha.20220322.1 → 1.1.0-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,16 +1,13 @@
1
1
  # Release History
2
2
 
3
- ## 1.1.0 (unreleased)
3
+ ## 1.1.0-beta.1 (2022-04-04)
4
4
 
5
5
  ### Features Added
6
6
 
7
7
  - With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
8
8
  - Updated our internal core package dependencies to their latest versions in order to add support for Opentelemetry 1.0.0 which is compatible with the latest versions of our other client libraries.
9
9
  - Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
10
-
11
- ### Breaking Changes
12
-
13
- ### Key Bugs Fixed
10
+ - Added support for [property sourceTime](https://docs.microsoft.com/azure/digital-twins/how-to-manage-twin#update-a-propertys-sourcetime).
14
11
 
15
12
  ## 1.0.3 (2021-01-15)
16
13
 
package/dist/index.js CHANGED
@@ -560,7 +560,7 @@ const tracestate = {
560
560
  const apiVersion = {
561
561
  parameterPath: "apiVersion",
562
562
  mapper: {
563
- defaultValue: "2020-10-31",
563
+ defaultValue: "2021-06-30-preview",
564
564
  isConstant: true,
565
565
  serializedName: "api-version",
566
566
  type: {
@@ -1872,7 +1872,7 @@ const listNextOperationSpec = {
1872
1872
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1873
1873
  */
1874
1874
  const packageName = "@azure/digital-twins-core";
1875
- const packageVersion = "1.1.0";
1875
+ const packageVersion = "1.1.0-beta.1";
1876
1876
  class AzureDigitalTwinsAPIContext extends coreHttp__namespace.ServiceClient {
1877
1877
  /**
1878
1878
  * Initializes a new instance of the AzureDigitalTwinsAPIContext class.
@@ -1894,7 +1894,7 @@ class AzureDigitalTwinsAPIContext extends coreHttp__namespace.ServiceClient {
1894
1894
  // Assigning values to Constant parameters
1895
1895
  this.$host =
1896
1896
  options.$host || "https://digitaltwins-name.digitaltwins.azure.net";
1897
- this.apiVersion = options.apiVersion || "2020-10-31";
1897
+ this.apiVersion = options.apiVersion || "2021-06-30-preview";
1898
1898
  }
1899
1899
  }
1900
1900
 
@@ -1936,7 +1936,7 @@ const createSpan = coreTracing.createSpanFunction({
1936
1936
  const logger = logger$1.createClientLogger("azure-digitaltwins-core");
1937
1937
 
1938
1938
  // Copyright (c) Microsoft Corporation.
1939
- const SDK_VERSION = "1.1.0";
1939
+ const SDK_VERSION = "1.1.0-beta.1";
1940
1940
  const DEFAULT_DIGITALTWINS_SCOPE = "https://digitaltwins.azure.net/.default";
1941
1941
  /**
1942
1942
  * Client for Azure IoT DigitalTwins API.