@azure-rest/load-testing 1.0.0 → 1.0.1-alpha.20230419.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.
@@ -15,7 +15,7 @@ function createClient(Endpoint, credentials, options = {}) {
15
15
  options = Object.assign(Object.assign({}, options), { credentials: {
16
16
  scopes: ["https://cnt-prod.loadtesting.azure.com/.default"],
17
17
  } });
18
- const userAgentInfo = `azsdk-js-load-testing-rest/1.0.0`;
18
+ const userAgentInfo = `azsdk-js-load-testing-rest/1.0.1`;
19
19
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
20
20
  ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
21
21
  : `${userAgentInfo}`;
@@ -1 +1 @@
1
- {"version":3,"file":"azureLoadTesting.js","sourceRoot":"","sources":["../../src/azureLoadTesting.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,yDAAmE;AAInE;;;;GAIG;AACH,SAAwB,YAAY,CAClC,QAAgB,EAChB,WAA4B,EAC5B,UAAyB,EAAE;;IAE3B,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,WAAW,QAAQ,EAAE,CAAC;IACzD,OAAO,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACxD,OAAO,mCACF,OAAO,KACV,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,iDAAiD,CAAC;SAC5D,GACF,CAAC;IAEF,MAAM,aAAa,GAAG,kCAAkC,CAAC;IACzD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,GACF,CAAC;IAEF,MAAM,MAAM,GAAG,IAAA,uBAAS,EAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAA2B,CAAC;IAElF,OAAO,MAAM,CAAC;AAChB,CAAC;AA7BD,+BA6BC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getClient, ClientOptions } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { AzureLoadTestingClient } from \"./clientDefinitions\";\n\n/**\n * Initialize a new instance of the class AzureLoadTestingClient class.\n * @param Endpoint type: string URL to perform data plane API operations on the resource.\n * @param credentials type: TokenCredential\n */\nexport default function createClient(\n Endpoint: string,\n credentials: TokenCredential,\n options: ClientOptions = {}\n): AzureLoadTestingClient {\n const baseUrl = options.baseUrl ?? `https://${Endpoint}`;\n options.apiVersion = options.apiVersion ?? \"2022-11-01\";\n options = {\n ...options,\n credentials: {\n scopes: [\"https://cnt-prod.loadtesting.azure.com/.default\"],\n },\n };\n\n const userAgentInfo = `azsdk-js-load-testing-rest/1.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n };\n\n const client = getClient(baseUrl, credentials, options) as AzureLoadTestingClient;\n\n return client;\n}\n"]}
1
+ {"version":3,"file":"azureLoadTesting.js","sourceRoot":"","sources":["../../src/azureLoadTesting.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,yDAAmE;AAInE;;;;GAIG;AACH,SAAwB,YAAY,CAClC,QAAgB,EAChB,WAA4B,EAC5B,UAAyB,EAAE;;IAE3B,MAAM,OAAO,GAAG,MAAA,OAAO,CAAC,OAAO,mCAAI,WAAW,QAAQ,EAAE,CAAC;IACzD,OAAO,CAAC,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACxD,OAAO,mCACF,OAAO,KACV,WAAW,EAAE;YACX,MAAM,EAAE,CAAC,iDAAiD,CAAC;SAC5D,GACF,CAAC;IAEF,MAAM,aAAa,GAAG,kCAAkC,CAAC;IACzD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,GACF,CAAC;IAEF,MAAM,MAAM,GAAG,IAAA,uBAAS,EAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAA2B,CAAC;IAElF,OAAO,MAAM,CAAC;AAChB,CAAC;AA7BD,+BA6BC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getClient, ClientOptions } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { AzureLoadTestingClient } from \"./clientDefinitions\";\n\n/**\n * Initialize a new instance of the class AzureLoadTestingClient class.\n * @param Endpoint type: string URL to perform data plane API operations on the resource.\n * @param credentials type: TokenCredential\n */\nexport default function createClient(\n Endpoint: string,\n credentials: TokenCredential,\n options: ClientOptions = {}\n): AzureLoadTestingClient {\n const baseUrl = options.baseUrl ?? `https://${Endpoint}`;\n options.apiVersion = options.apiVersion ?? \"2022-11-01\";\n options = {\n ...options,\n credentials: {\n scopes: [\"https://cnt-prod.loadtesting.azure.com/.default\"],\n },\n };\n\n const userAgentInfo = `azsdk-js-load-testing-rest/1.0.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n };\n\n const client = getClient(baseUrl, credentials, options) as AzureLoadTestingClient;\n\n return client;\n}\n"]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@azure-rest/load-testing",
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
- "version": "1.0.0",
5
+ "version": "1.0.1-alpha.20230419.1",
6
6
  "description": "This package contains Microsoft Azure LoadTestingClient client library.",
7
7
  "keywords": [
8
8
  "node",
@@ -85,8 +85,8 @@
85
85
  "@azure-tools/test-recorder": "^3.0.0",
86
86
  "@azure/identity": "^2.0.1",
87
87
  "@microsoft/api-extractor": "^7.31.1",
88
- "@azure/dev-tool": "^1.0.0",
89
- "@azure/eslint-plugin-azure-sdk": "^3.0.0",
88
+ "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
89
+ "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
90
90
  "@types/chai": "^4.2.8",
91
91
  "@types/mocha": "^7.0.2",
92
92
  "@types/node": "^14.0.0",
@@ -114,7 +114,7 @@
114
114
  "rimraf": "^3.0.0",
115
115
  "source-map-support": "^0.5.9",
116
116
  "uuid": "^9.0.0",
117
- "typescript": "~4.8.0"
117
+ "typescript": "~5.0.0"
118
118
  },
119
119
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md",
120
120
  "//metadata": {