@azure/eventgrid 4.13.0-beta.1 → 4.13.0-beta.2

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 CHANGED
@@ -8424,7 +8424,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
8424
8424
  const defaults = {
8425
8425
  requestContentType: "application/json; charset=utf-8"
8426
8426
  };
8427
- const packageDetails = `azsdk-js-eventgrid/4.13.0-beta.1`;
8427
+ const packageDetails = `azsdk-js-eventgrid/4.13.0-beta.2`;
8428
8428
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
8429
8429
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
8430
8430
  : `${packageDetails}`;
@@ -8578,7 +8578,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
8578
8578
  const tracingClient = coreTracing.createTracingClient({
8579
8579
  namespace: "Microsoft.Messaging.EventGrid",
8580
8580
  packageName: "@azure/event-grid",
8581
- packageVersion: "4.13.0-beta.1",
8581
+ packageVersion: "4.13.0-beta.2",
8582
8582
  });
8583
8583
 
8584
8584
  // Copyright (c) Microsoft Corporation.
@@ -9157,7 +9157,7 @@ class EventGridClient {
9157
9157
  publishCloudEvents(events, topicName, options = { requestOptions: {} }) {
9158
9158
  const eventsWireModel = [];
9159
9159
  for (const individualevent of events) {
9160
- eventsWireModel.concat(convertCloudEventToModelType(individualevent));
9160
+ eventsWireModel.push(convertCloudEventToModelType(individualevent));
9161
9161
  }
9162
9162
  return this._client.publishCloudEvents(eventsWireModel, topicName, options);
9163
9163
  }