@azure/eventgrid 5.9.1-alpha.20250108.1 → 5.9.1-alpha.20250110.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/README.md +14 -14
- package/package.json +4 -4
package/README.md
CHANGED
@@ -12,8 +12,8 @@ Key links:
|
|
12
12
|
|
13
13
|
- [Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventgrid/eventgrid/)
|
14
14
|
- [Package (NPM)](https://www.npmjs.com/package/@azure/eventgrid)
|
15
|
-
- [API reference documentation](https://
|
16
|
-
- [Product documentation](https://
|
15
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/eventgrid/)
|
16
|
+
- [Product documentation](https://learn.microsoft.com/azure/event-grid/)
|
17
17
|
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid/samples)
|
18
18
|
|
19
19
|
## Getting started
|
@@ -78,7 +78,7 @@ const { EventGridPublisherClient, AzureKeyCredential } = require("@azure/eventgr
|
|
78
78
|
const client = new EventGridPublisherClient(
|
79
79
|
"<endpoint>",
|
80
80
|
"<endpoint schema>",
|
81
|
-
new AzureKeyCredential("<Access Key>")
|
81
|
+
new AzureKeyCredential("<Access Key>"),
|
82
82
|
);
|
83
83
|
```
|
84
84
|
|
@@ -92,7 +92,7 @@ const { EventGridPublisherClient, AzureSASCredential } = require("@azure/eventgr
|
|
92
92
|
const client = new EventGridPublisherClient(
|
93
93
|
"<endpoint>",
|
94
94
|
"<endpoint schema>",
|
95
|
-
new AzureSASCredential("<SAS Token>")
|
95
|
+
new AzureSASCredential("<SAS Token>"),
|
96
96
|
);
|
97
97
|
```
|
98
98
|
|
@@ -105,7 +105,7 @@ const { generateSharedAccessSignature, AzureKeyCredential } = require("@azure/ev
|
|
105
105
|
const token = generateSharedAccessSignature(
|
106
106
|
"<endpoint>",
|
107
107
|
new AzureKeyCredential("<API key>"),
|
108
|
-
new Date("2020-01-01T00:00:00")
|
108
|
+
new Date("2020-01-01T00:00:00"),
|
109
109
|
);
|
110
110
|
```
|
111
111
|
|
@@ -126,7 +126,7 @@ const { DefaultAzureCredential } = require("@azure/identity");
|
|
126
126
|
const client = new EventGridPublisherClient(
|
127
127
|
"<endpoint>",
|
128
128
|
"<endpoint schema>",
|
129
|
-
new DefaultAzureCredential()
|
129
|
+
new DefaultAzureCredential(),
|
130
130
|
);
|
131
131
|
```
|
132
132
|
|
@@ -146,7 +146,7 @@ If your topic is configured to use the Event Grid Schema, set "EventGrid" as the
|
|
146
146
|
const client = new EventGridPublisherClient(
|
147
147
|
"<endpoint>",
|
148
148
|
"EventGrid",
|
149
|
-
new AzureKeyCredential("<API Key>")
|
149
|
+
new AzureKeyCredential("<API Key>"),
|
150
150
|
);
|
151
151
|
```
|
152
152
|
|
@@ -156,7 +156,7 @@ If your topic is configured to use the Cloud Event Schema, set "CloudEvent" as t
|
|
156
156
|
const client = new EventGridPublisherClient(
|
157
157
|
"<endpoint>",
|
158
158
|
"CloudEvent",
|
159
|
-
new AzureKeyCredential("<API Key>")
|
159
|
+
new AzureKeyCredential("<API Key>"),
|
160
160
|
);
|
161
161
|
```
|
162
162
|
|
@@ -166,7 +166,7 @@ If your topic is configured to use a Custom Event Schema, set "Custom" as the sc
|
|
166
166
|
const client = new EventGridPublisherClient(
|
167
167
|
"<endpoint>",
|
168
168
|
"Custom",
|
169
|
-
new AzureKeyCredential("<API Key>")
|
169
|
+
new AzureKeyCredential("<API Key>"),
|
170
170
|
);
|
171
171
|
```
|
172
172
|
|
@@ -209,7 +209,7 @@ const { EventGridPublisherClient, AzureKeyCredential } = require("@azure/eventgr
|
|
209
209
|
const client = new EventGridPublisherClient(
|
210
210
|
"<endpoint>",
|
211
211
|
"EventGrid",
|
212
|
-
new AzureKeyCredential("<API key>")
|
212
|
+
new AzureKeyCredential("<API key>"),
|
213
213
|
);
|
214
214
|
|
215
215
|
await client.send([
|
@@ -234,7 +234,7 @@ const { EventGridPublisherClient, AzureKeyCredential } = require("@azure/eventgr
|
|
234
234
|
const client = new EventGridPublisherClient(
|
235
235
|
"<endpoint>",
|
236
236
|
"EventGrid",
|
237
|
-
new AzureKeyCredential("<API key>")
|
237
|
+
new AzureKeyCredential("<API key>"),
|
238
238
|
);
|
239
239
|
|
240
240
|
await client.send([
|
@@ -316,10 +316,10 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
316
316
|
|
317
317
|

|
318
318
|
|
319
|
-
[azure_cli]: https://
|
319
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
320
320
|
[azure_sub]: https://azure.microsoft.com/free/
|
321
|
-
[event_grid]: https://
|
321
|
+
[event_grid]: https://learn.microsoft.com/azure/event-grid
|
322
322
|
[azure_portal]: https://portal.azure.com
|
323
323
|
[azure-core-tracing-github]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-tracing
|
324
324
|
[cloud-events-distributed-tracing-spec]: https://github.com/cloudevents/spec/blob/v1.0.1/extensions/distributed-tracing.md
|
325
|
-
[eventgrid-on-kubernetes-using-azure-arc]: https://
|
325
|
+
[eventgrid-on-kubernetes-using-azure-arc]: https://learn.microsoft.com/azure/event-grid/kubernetes/
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "client",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "An isomorphic client library for the Azure Event Grid service.",
|
6
|
-
"version": "5.9.1-alpha.
|
6
|
+
"version": "5.9.1-alpha.20250110.1",
|
7
7
|
"keywords": [
|
8
8
|
"node",
|
9
9
|
"azure",
|
@@ -36,9 +36,9 @@
|
|
36
36
|
"azure-event-grid"
|
37
37
|
],
|
38
38
|
"requiredResources": {
|
39
|
-
"Azure Event Grid Custom Topic, configured to use the Event Grid Schema": "https://
|
40
|
-
"Azure Event Grid Custom Topic, configured to use the Cloud Event 1.0 Schema": "https://
|
41
|
-
"Azure Service Bus Queue": "https://
|
39
|
+
"Azure Event Grid Custom Topic, configured to use the Event Grid Schema": "https://learn.microsoft.com/azure/event-grid/scripts/event-grid-cli-create-custom-topic",
|
40
|
+
"Azure Event Grid Custom Topic, configured to use the Cloud Event 1.0 Schema": "https://learn.microsoft.com/azure/event-grid/scripts/event-grid-cli-create-custom-topic",
|
41
|
+
"Azure Service Bus Queue": "https://learn.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal"
|
42
42
|
}
|
43
43
|
},
|
44
44
|
"//metadata": {
|