@azure/template-dpg 1.0.0-alpha.20260303.4 → 1.0.0-alpha.20260305.5

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.
@@ -69,3 +69,7 @@ class WidgetServiceClient {
69
69
  return (0, import_api.analyzeWidget)(this._client, id, options);
70
70
  }
71
71
  }
72
+ // Annotate the CommonJS export names for ESM import in node:
73
+ 0 && (module.exports = {
74
+ WidgetServiceClient
75
+ });
@@ -40,3 +40,7 @@ function createWidgetService(endpoint, credentialOrOptions, options = {}) {
40
40
  return (0, import_widgetServiceClient.default)(baseUrl, credentialOrOptions);
41
41
  }
42
42
  }
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ createWidgetService
46
+ });
@@ -23,3 +23,7 @@ module.exports = __toCommonJS(foo_exports);
23
23
  function foo() {
24
24
  console.log("foo");
25
25
  }
26
+ // Annotate the CommonJS export names for ESM import in node:
27
+ 0 && (module.exports = {
28
+ foo
29
+ });
@@ -28,3 +28,13 @@ __export(api_exports, {
28
28
  module.exports = __toCommonJS(api_exports);
29
29
  var import_operations = require("./operations.js");
30
30
  var import_WidgetServiceContext = require("./WidgetServiceContext.js");
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ analyzeWidget,
34
+ createWidget,
35
+ createWidgetService,
36
+ deleteWidget,
37
+ getWidget,
38
+ listWidgets,
39
+ updateWidget
40
+ });
@@ -175,3 +175,24 @@ async function _analyzeWidget(context, id, options = { requestOptions: {} }) {
175
175
  const result = await _analyzeWidgetSend(context, id, options);
176
176
  return _analyzeWidgetDeserialize(result);
177
177
  }
178
+ // Annotate the CommonJS export names for ESM import in node:
179
+ 0 && (module.exports = {
180
+ _analyzeWidgetDeserialize,
181
+ _analyzeWidgetSend,
182
+ _createWidgetDeserialize,
183
+ _createWidgetSend,
184
+ _deleteWidgetDeserialize,
185
+ _deleteWidgetSend,
186
+ _getWidgetDeserialize,
187
+ _getWidgetSend,
188
+ _listWidgetsDeserialize,
189
+ _listWidgetsSend,
190
+ _updateWidgetDeserialize,
191
+ _updateWidgetSend,
192
+ analyzeWidget,
193
+ createWidget,
194
+ deleteWidget,
195
+ getWidget,
196
+ listWidgets,
197
+ updateWidget
198
+ });
@@ -21,3 +21,7 @@ __export(src_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(src_exports);
23
23
  var import_WidgetServiceClient = require("./WidgetServiceClient.js");
24
+ // Annotate the CommonJS export names for ESM import in node:
25
+ 0 && (module.exports = {
26
+ WidgetServiceClient
27
+ });
@@ -22,3 +22,7 @@ __export(logger_exports, {
22
22
  module.exports = __toCommonJS(logger_exports);
23
23
  var import_logger = require("@azure/logger");
24
24
  const logger = (0, import_logger.createClientLogger)("widget");
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ logger
28
+ });
@@ -35,3 +35,8 @@ var import_widgetServiceClient = __toESM(require("./widgetServiceClient.js"));
35
35
  __reExport(rest_exports, require("./widgetServiceClient.js"), module.exports);
36
36
  __reExport(rest_exports, require("./isUnexpected.js"), module.exports);
37
37
  var rest_default = import_widgetServiceClient.default;
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ ...require("./widgetServiceClient.js"),
41
+ ...require("./isUnexpected.js")
42
+ });
@@ -76,3 +76,7 @@ function getPathFromMapKey(mapKey) {
76
76
  const pathStart = mapKey.indexOf("/");
77
77
  return mapKey.slice(pathStart);
78
78
  }
79
+ // Annotate the CommonJS export names for ESM import in node:
80
+ 0 && (module.exports = {
81
+ isUnexpected
82
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/template-dpg",
3
- "version": "1.0.0-alpha.20260303.4",
3
+ "version": "1.0.0-alpha.20260305.5",
4
4
  "description": "Widget Service",
5
5
  "sdk-type": "client",
6
6
  "main": "./dist/commonjs/index.js",
@@ -101,9 +101,9 @@
101
101
  "vitest": "^4.0.8",
102
102
  "@azure-tools/test-credential": "^2.1.2",
103
103
  "@azure-tools/test-recorder": "^4.1.1",
104
- "@azure/eslint-plugin-azure-sdk": "^3.0.0",
104
+ "@azure-tools/test-utils-vitest": "^2.0.1",
105
105
  "@azure/dev-tool": "^1.0.0",
106
- "@azure-tools/test-utils-vitest": "^2.0.1"
106
+ "@azure/eslint-plugin-azure-sdk": "^3.0.0"
107
107
  },
108
108
  "dependencies": {
109
109
  "@azure-rest/core-client": ">=2.5.2-alpha <2.5.2-alphb",