@azure/eventgrid 5.7.0 → 5.8.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.
@@ -8,6 +8,6 @@ import { createTracingClient } from "@azure/core-tracing";
8
8
  export const tracingClient = createTracingClient({
9
9
  namespace: "Microsoft.Messaging.EventGrid",
10
10
  packageName: "@azure/event-grid",
11
- packageVersion: "5.7.0",
11
+ packageVersion: "5.8.0",
12
12
  });
13
13
  //# sourceMappingURL=tracing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,+BAA+B;IAC1C,WAAW,EAAE,mBAAmB;IAChC,cAAc,EAAE,OAAO;CACxB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\n/**\n * A tracing client to handle spans.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Messaging.EventGrid\",\n packageName: \"@azure/event-grid\",\n packageVersion: \"5.7.0\",\n});\n"]}
1
+ {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,+BAA+B;IAC1C,WAAW,EAAE,mBAAmB;IAChC,cAAc,EAAE,OAAO;CACxB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\n/**\n * A tracing client to handle spans.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Messaging.EventGrid\",\n packageName: \"@azure/event-grid\",\n packageVersion: \"5.8.0\",\n});\n"]}
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.7.0",
6
+ "version": "5.8.0",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",
@@ -64,29 +64,30 @@
64
64
  },
65
65
  "scripts": {
66
66
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
67
+ "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
67
68
  "build:browser": "tsc -p . && dev-tool run bundle",
68
69
  "build:node": "tsc -p . && dev-tool run bundle",
69
70
  "build:samples": "echo Obsolete",
70
71
  "build:test": "tsc -p . && dev-tool run bundle",
71
- "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
72
72
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
73
73
  "clean": "rimraf --glob dist dist-browser dist-esm dist-test temp types *.tgz *.log",
74
74
  "execute:samples": "dev-tool samples run samples-dev",
75
75
  "extract-api": "tsc -p . && dev-tool run extract-api",
76
76
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
77
77
  "generate:client": "autorest --typescript ./swagger/README.md && node ./scripts/setPathToEmpty.js",
78
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
78
79
  "integration-test:browser": "dev-tool run test:browser",
79
80
  "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 \"dist-esm/test/**/*.spec.js\"",
80
- "integration-test": "npm run integration-test:node && npm run integration-test:browser",
81
- "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
82
81
  "lint": "eslint package.json api-extractor.json README.md src test",
82
+ "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]",
83
83
  "pack": "npm pack 2>&1",
84
+ "test": "npm run clean && npm run build:test && npm run unit-test",
84
85
  "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
85
86
  "test:node": "npm run clean && npm run build:test && npm run unit-test:node",
86
- "test": "npm run clean && npm run build:test && npm run unit-test",
87
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
87
88
  "unit-test:browser": "dev-tool run test:browser",
88
89
  "unit-test:node": "dev-tool run test:node-tsx-ts -- --timeout 1200000 'test/**/*.spec.ts'",
89
- "unit-test": "npm run unit-test:node && npm run unit-test:browser"
90
+ "update-snippets": "echo skipped"
90
91
  },
91
92
  "sideEffects": false,
92
93
  "autoPublish": false,
@@ -100,13 +101,13 @@
100
101
  "uuid": "^8.3.0"
101
102
  },
102
103
  "devDependencies": {
104
+ "@azure-tools/test-credential": "^1.0.0",
105
+ "@azure-tools/test-recorder": "^3.0.0",
106
+ "@azure-tools/test-utils": "^1.0.1",
107
+ "@azure/core-util": "^1.9.0",
103
108
  "@azure/dev-tool": "^1.0.0",
104
109
  "@azure/eslint-plugin-azure-sdk": "^3.0.0",
105
110
  "@azure/service-bus": "^7.0.0",
106
- "@azure/core-util": "^1.9.0",
107
- "@azure-tools/test-utils": "^1.0.1",
108
- "@azure-tools/test-recorder": "^3.0.0",
109
- "@azure-tools/test-credential": "^1.0.0",
110
111
  "@microsoft/api-extractor": "^7.31.1",
111
112
  "@types/chai": "^4.1.6",
112
113
  "@types/chai-as-promised": "^7.1.0",
@@ -114,7 +115,6 @@
114
115
  "@types/node": "^18.0.0",
115
116
  "@types/sinon": "^17.0.0",
116
117
  "@types/uuid": "^8.0.0",
117
- "nyc": "^17.0.0",
118
118
  "chai": "^4.2.0",
119
119
  "chai-as-promised": "^7.1.1",
120
120
  "cross-env": "^7.0.2",
@@ -130,6 +130,7 @@
130
130
  "karma-mocha-reporter": "^2.2.5",
131
131
  "karma-sourcemap-loader": "^0.3.8",
132
132
  "mocha": "^10.0.0",
133
+ "nyc": "^17.0.0",
133
134
  "rimraf": "^5.0.5",
134
135
  "sinon": "^17.0.0",
135
136
  "source-map-support": "^0.5.9",
@@ -344,6 +344,8 @@ export declare interface AcsIncomingCallEventData {
344
344
  customContext: AcsIncomingCallCustomContext;
345
345
  /** Signed incoming call context. */
346
346
  incomingCallContext: string;
347
+ /** The communication identifier of the user on behalf of whom the call is made. */
348
+ onBehalfOfCallee: CommunicationIdentifierModel;
347
349
  /** CorrelationId (CallId). */
348
350
  correlationId: string;
349
351
  }
@@ -452,7 +454,7 @@ export declare interface AcsMessageInteractiveListReplyContent {
452
454
  listItemId: string;
453
455
  /** The title of the selected list item */
454
456
  title: string;
455
- /** The sescription of the selected row */
457
+ /** The description of the selected row */
456
458
  description: string;
457
459
  }
458
460