@azure/eventgrid 5.6.0-alpha.20240826.1 → 5.6.0-alpha.20240829.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/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist-esm/src/cloudEventDistrubtedTracingEnricherPolicy.js +1 -1
- package/dist-esm/src/cloudEventDistrubtedTracingEnricherPolicy.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/consumer.js +1 -1
- package/dist-esm/src/consumer.js.map +1 -1
- package/dist-esm/src/cryptoHelpers.browser.js +1 -1
- package/dist-esm/src/cryptoHelpers.browser.js.map +1 -1
- package/dist-esm/src/cryptoHelpers.js +1 -1
- package/dist-esm/src/cryptoHelpers.js.map +1 -1
- package/dist-esm/src/eventGridAuthenticationPolicy.js +1 -1
- package/dist-esm/src/eventGridAuthenticationPolicy.js.map +1 -1
- package/dist-esm/src/eventGridClient.js +1 -1
- package/dist-esm/src/eventGridClient.js.map +1 -1
- package/dist-esm/src/generateSharedAccessSignature.js +1 -1
- package/dist-esm/src/generateSharedAccessSignature.js.map +1 -1
- package/dist-esm/src/index.js +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/logger.js +1 -1
- package/dist-esm/src/logger.js.map +1 -1
- package/dist-esm/src/models.js +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/predicates.js +1 -1
- package/dist-esm/src/predicates.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/dist-esm/src/util.js +1 -1
- package/dist-esm/src/util.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
|
|
30
30
|
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
31
31
|
|
32
32
|
// Copyright (c) Microsoft Corporation.
|
33
|
-
// Licensed under the MIT
|
33
|
+
// Licensed under the MIT License.
|
34
34
|
/**
|
35
35
|
* Stringifies a Date object in the format expected by the Event Grid service, for use in a Shared Access Signiture.
|
36
36
|
*
|
@@ -139,7 +139,7 @@ function validateOptionalStringProperties(o, propertyNames) {
|
|
139
139
|
}
|
140
140
|
|
141
141
|
// Copyright (c) Microsoft Corporation.
|
142
|
-
// Licensed under the MIT
|
142
|
+
// Licensed under the MIT License.
|
143
143
|
/**
|
144
144
|
* The name of the header to include when a Shared Key is used for authentication.
|
145
145
|
*/
|
@@ -172,12 +172,12 @@ function eventGridCredentialPolicy(credential) {
|
|
172
172
|
}
|
173
173
|
|
174
174
|
// Copyright (c) Microsoft Corporation.
|
175
|
-
// Licensed under the MIT
|
175
|
+
// Licensed under the MIT License.
|
176
176
|
const DEFAULT_API_VERSION = "2018-01-01";
|
177
177
|
const DEFAULT_EVENTGRID_SCOPE = "https://eventgrid.azure.net/.default";
|
178
178
|
|
179
179
|
// Copyright (c) Microsoft Corporation.
|
180
|
-
// Licensed under the MIT
|
180
|
+
// Licensed under the MIT License.
|
181
181
|
/**
|
182
182
|
* Property names defined by the CloudEvents 1.0 specification, these may not be reused as the names of extension properties.
|
183
183
|
*/
|
@@ -10657,7 +10657,7 @@ const publishCustomEventEventsOperationSpec = {
|
|
10657
10657
|
};
|
10658
10658
|
|
10659
10659
|
// Copyright (c) Microsoft Corporation.
|
10660
|
-
// Licensed under the MIT
|
10660
|
+
// Licensed under the MIT License.
|
10661
10661
|
const CloudEventBatchContentType = "application/cloudevents-batch+json; charset=utf-8";
|
10662
10662
|
const TraceParentHeaderName = "traceparent";
|
10663
10663
|
const TraceStateHeaderName = "tracestate";
|
@@ -10710,7 +10710,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
|
|
10710
10710
|
}
|
10711
10711
|
|
10712
10712
|
// Copyright (c) Microsoft Corporation.
|
10713
|
-
// Licensed under the MIT
|
10713
|
+
// Licensed under the MIT License.
|
10714
10714
|
/**
|
10715
10715
|
* A tracing client to handle spans.
|
10716
10716
|
* @internal
|
@@ -10722,7 +10722,7 @@ const tracingClient = coreTracing.createTracingClient({
|
|
10722
10722
|
});
|
10723
10723
|
|
10724
10724
|
// Copyright (c) Microsoft Corporation.
|
10725
|
-
// Licensed under the MIT
|
10725
|
+
// Licensed under the MIT License.
|
10726
10726
|
/**
|
10727
10727
|
* Client class for publishing events to the Event Grid Service.
|
10728
10728
|
*/
|
@@ -10837,7 +10837,7 @@ function convertCloudEventToModelType(event) {
|
|
10837
10837
|
}
|
10838
10838
|
|
10839
10839
|
// Copyright (c) Microsoft Corporation.
|
10840
|
-
// Licensed under the MIT
|
10840
|
+
// Licensed under the MIT License.
|
10841
10841
|
/**
|
10842
10842
|
* @internal
|
10843
10843
|
*/
|
@@ -10847,7 +10847,7 @@ async function sha256Hmac(secret, stringToSign) {
|
|
10847
10847
|
}
|
10848
10848
|
|
10849
10849
|
// Copyright (c) Microsoft Corporation.
|
10850
|
-
// Licensed under the MIT
|
10850
|
+
// Licensed under the MIT License.
|
10851
10851
|
/**
|
10852
10852
|
* Generate a shared access signature, which allows a client to send events to an Event Grid Topic or Domain for a limited period of time. This
|
10853
10853
|
* function may only be called when the EventGridPublisherClient was constructed with a KeyCredential instance.
|
@@ -10864,7 +10864,7 @@ async function generateSharedAccessSignature(endpointUrl, credential, expiresOnU
|
|
10864
10864
|
}
|
10865
10865
|
|
10866
10866
|
// Copyright (c) Microsoft Corporation.
|
10867
|
-
// Licensed under the MIT
|
10867
|
+
// Licensed under the MIT License.
|
10868
10868
|
const serializer = coreClient.createSerializer();
|
10869
10869
|
/**
|
10870
10870
|
* EventGridDeserializer is used to aid in processing events delivered by EventGrid. It can deserialize a JSON encoded payload
|
@@ -10944,7 +10944,7 @@ class EventGridDeserializer {
|
|
10944
10944
|
}
|
10945
10945
|
|
10946
10946
|
// Copyright (c) Microsoft Corporation.
|
10947
|
-
// Licensed under the MIT
|
10947
|
+
// Licensed under the MIT License.
|
10948
10948
|
/**
|
10949
10949
|
* isCloudEventLike returns "true" when the event is a CloudEvent
|
10950
10950
|
*
|