@ms-cloudpack/telemetry 0.12.7 → 0.12.9
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/NOTICE.txt +8 -8
- package/dist/{chunk-CQ67U475.js → chunk-NRKVYR6D.js} +91 -80
- package/dist/{customerSDKStats-HZG4O57K.js → customerSDKStats-BX4VB26M.js} +2 -2
- package/dist/{httpSender-IBZSAY2T.js → httpSender-D4MLB6CM.js} +1 -1
- package/dist/index.js +1 -3
- package/dist/{statsbeatExporter-FPYAC37F.js → statsbeatExporter-DRFXBPI2.js} +1 -1
- package/package.json +3 -3
package/NOTICE.txt
CHANGED
|
@@ -4,7 +4,7 @@ This package incorporates material as listed below or described in the code.
|
|
|
4
4
|
|
|
5
5
|
----
|
|
6
6
|
|
|
7
|
-
@azure-rest/core-client 2.
|
|
7
|
+
@azure-rest/core-client 2.9.0 - MIT
|
|
8
8
|
https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-rest/
|
|
9
9
|
|
|
10
10
|
Author: Microsoft Corporation
|
|
@@ -178,7 +178,7 @@ SOFTWARE.
|
|
|
178
178
|
|
|
179
179
|
----
|
|
180
180
|
|
|
181
|
-
@azure/logger 1.
|
|
181
|
+
@azure/logger 1.4.0 - MIT
|
|
182
182
|
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger/README.md
|
|
183
183
|
|
|
184
184
|
Author: Microsoft Corporation
|
|
@@ -1989,7 +1989,7 @@ Apache License
|
|
|
1989
1989
|
|
|
1990
1990
|
----
|
|
1991
1991
|
|
|
1992
|
-
@typespec/ts-http-runtime 0.3.
|
|
1992
|
+
@typespec/ts-http-runtime 0.3.9 - MIT
|
|
1993
1993
|
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/ts-http-runtime/README.md
|
|
1994
1994
|
|
|
1995
1995
|
Author: Microsoft Corporation
|
|
@@ -2023,7 +2023,7 @@ https://github.com/yarnpkg/yarn/blob/master/packages/lockfile
|
|
|
2023
2023
|
|
|
2024
2024
|
----
|
|
2025
2025
|
|
|
2026
|
-
acorn 8.
|
|
2026
|
+
acorn 8.19.0 - MIT
|
|
2027
2027
|
https://github.com/acornjs/acorn
|
|
2028
2028
|
|
|
2029
2029
|
Maintainers:
|
|
@@ -2243,7 +2243,7 @@ SOFTWARE.
|
|
|
2243
2243
|
|
|
2244
2244
|
----
|
|
2245
2245
|
|
|
2246
|
-
fastq 1.20.
|
|
2246
|
+
fastq 1.20.3 - ISC
|
|
2247
2247
|
https://github.com/mcollina/fastq#readme
|
|
2248
2248
|
|
|
2249
2249
|
Author: Matteo Collina <hello@matteocollina.com>
|
|
@@ -2622,7 +2622,7 @@ IN THE SOFTWARE.
|
|
|
2622
2622
|
|
|
2623
2623
|
----
|
|
2624
2624
|
|
|
2625
|
-
is-core-module 2.
|
|
2625
|
+
is-core-module 2.17.0 - MIT
|
|
2626
2626
|
https://github.com/inspect-js/is-core-module
|
|
2627
2627
|
|
|
2628
2628
|
Author: Jordan Harband <ljharb@gmail.com>
|
|
@@ -3110,7 +3110,7 @@ THE SOFTWARE.
|
|
|
3110
3110
|
|
|
3111
3111
|
----
|
|
3112
3112
|
|
|
3113
|
-
picomatch 4.0.
|
|
3113
|
+
picomatch 4.0.7 - MIT
|
|
3114
3114
|
https://github.com/micromatch/picomatch
|
|
3115
3115
|
|
|
3116
3116
|
Author: Jon Schlinkert (https://github.com/jonschlinkert)
|
|
@@ -3196,7 +3196,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
3196
3196
|
|
|
3197
3197
|
----
|
|
3198
3198
|
|
|
3199
|
-
resolve 1.22.
|
|
3199
|
+
resolve 1.22.13 - MIT
|
|
3200
3200
|
https://github.com/browserify/resolve
|
|
3201
3201
|
|
|
3202
3202
|
Author: James Halliday <mail@substack.net> (http://substack.net)
|
|
@@ -141,9 +141,9 @@ var require_package = __commonJS({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
|
|
144
|
-
// ../../node_modules/.store/debug-virtual-
|
|
144
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/common.js
|
|
145
145
|
var require_common = __commonJS({
|
|
146
|
-
"../../node_modules/.store/debug-virtual-
|
|
146
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/common.js"(exports, module) {
|
|
147
147
|
function setup(env) {
|
|
148
148
|
createDebug.debug = createDebug;
|
|
149
149
|
createDebug.default = createDebug;
|
|
@@ -329,9 +329,9 @@ var require_common = __commonJS({
|
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
// ../../node_modules/.store/debug-virtual-
|
|
332
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/browser.js
|
|
333
333
|
var require_browser = __commonJS({
|
|
334
|
-
"../../node_modules/.store/debug-virtual-
|
|
334
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/browser.js"(exports, module) {
|
|
335
335
|
exports.formatArgs = formatArgs;
|
|
336
336
|
exports.save = save;
|
|
337
337
|
exports.load = load;
|
|
@@ -635,9 +635,9 @@ var require_package3 = __commonJS({
|
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
// ../../node_modules/.store/debug-virtual-
|
|
638
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/node.js
|
|
639
639
|
var require_node = __commonJS({
|
|
640
|
-
"../../node_modules/.store/debug-virtual-
|
|
640
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/node.js"(exports, module) {
|
|
641
641
|
var tty = __require("tty");
|
|
642
642
|
var util2 = __require("util");
|
|
643
643
|
exports.init = init;
|
|
@@ -816,9 +816,9 @@ var require_node = __commonJS({
|
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
// ../../node_modules/.store/debug-virtual-
|
|
819
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/index.js
|
|
820
820
|
var require_src = __commonJS({
|
|
821
|
-
"../../node_modules/.store/debug-virtual-
|
|
821
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/index.js"(exports, module) {
|
|
822
822
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
823
823
|
module.exports = require_browser();
|
|
824
824
|
} else {
|
|
@@ -9891,7 +9891,7 @@ var require_src4 = __commonJS({
|
|
|
9891
9891
|
init_esm();
|
|
9892
9892
|
import url from "node:url";
|
|
9893
9893
|
|
|
9894
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9894
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/abort-controller/AbortError.js
|
|
9895
9895
|
var AbortError = class extends Error {
|
|
9896
9896
|
static {
|
|
9897
9897
|
__name(this, "AbortError");
|
|
@@ -9902,7 +9902,7 @@ var AbortError = class extends Error {
|
|
|
9902
9902
|
}
|
|
9903
9903
|
};
|
|
9904
9904
|
|
|
9905
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9905
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/logger/log.js
|
|
9906
9906
|
import { EOL } from "node:os";
|
|
9907
9907
|
import util from "node:util";
|
|
9908
9908
|
import process2 from "node:process";
|
|
@@ -9911,7 +9911,7 @@ function log(message, ...args) {
|
|
|
9911
9911
|
}
|
|
9912
9912
|
__name(log, "log");
|
|
9913
9913
|
|
|
9914
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9914
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/env.js
|
|
9915
9915
|
import process3 from "node:process";
|
|
9916
9916
|
function getEnvironmentVariable(name) {
|
|
9917
9917
|
return process3.env[name];
|
|
@@ -9925,7 +9925,7 @@ var isDeno = typeof process3.versions.deno === "string" && process3.versions.den
|
|
|
9925
9925
|
var isBun = typeof process3.versions.bun === "string" && process3.versions.bun.length > 0;
|
|
9926
9926
|
var isNodeLike = true;
|
|
9927
9927
|
|
|
9928
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9928
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/logger/debug.js
|
|
9929
9929
|
var debugEnvVariable = getEnvironmentVariable("DEBUG");
|
|
9930
9930
|
var enabledString;
|
|
9931
9931
|
var enabledNamespaces = [];
|
|
@@ -10091,7 +10091,7 @@ function extend(namespace) {
|
|
|
10091
10091
|
__name(extend, "extend");
|
|
10092
10092
|
var debug_default = debugObj;
|
|
10093
10093
|
|
|
10094
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10094
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/logger/logger.js
|
|
10095
10095
|
var TYPESPEC_RUNTIME_LOG_LEVELS = ["verbose", "info", "warning", "error"];
|
|
10096
10096
|
var levelMap = {
|
|
10097
10097
|
verbose: 400,
|
|
@@ -10188,7 +10188,7 @@ function createClientLogger(namespace) {
|
|
|
10188
10188
|
}
|
|
10189
10189
|
__name(createClientLogger, "createClientLogger");
|
|
10190
10190
|
|
|
10191
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10191
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/httpHeaders.js
|
|
10192
10192
|
function normalizeName(name) {
|
|
10193
10193
|
return name.toLowerCase();
|
|
10194
10194
|
}
|
|
@@ -10281,13 +10281,13 @@ function createHttpHeaders(rawHeaders) {
|
|
|
10281
10281
|
}
|
|
10282
10282
|
__name(createHttpHeaders, "createHttpHeaders");
|
|
10283
10283
|
|
|
10284
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10284
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/uuidUtils.js
|
|
10285
10285
|
function randomUUID() {
|
|
10286
10286
|
return globalThis.crypto.randomUUID();
|
|
10287
10287
|
}
|
|
10288
10288
|
__name(randomUUID, "randomUUID");
|
|
10289
10289
|
|
|
10290
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10290
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/pipelineRequest.js
|
|
10291
10291
|
var PipelineRequestImpl = class {
|
|
10292
10292
|
static {
|
|
10293
10293
|
__name(this, "PipelineRequestImpl");
|
|
@@ -10338,7 +10338,7 @@ function createPipelineRequest(options) {
|
|
|
10338
10338
|
}
|
|
10339
10339
|
__name(createPipelineRequest, "createPipelineRequest");
|
|
10340
10340
|
|
|
10341
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10341
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/pipeline.js
|
|
10342
10342
|
var ValidPhaseNames = /* @__PURE__ */ new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
|
|
10343
10343
|
var HttpPipeline = class _HttpPipeline {
|
|
10344
10344
|
static {
|
|
@@ -10527,13 +10527,13 @@ function createEmptyPipeline() {
|
|
|
10527
10527
|
}
|
|
10528
10528
|
__name(createEmptyPipeline, "createEmptyPipeline");
|
|
10529
10529
|
|
|
10530
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10530
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/object.js
|
|
10531
10531
|
function isObject(input) {
|
|
10532
10532
|
return typeof input === "object" && input !== null && !Array.isArray(input) && !(input instanceof RegExp) && !(input instanceof Date);
|
|
10533
10533
|
}
|
|
10534
10534
|
__name(isObject, "isObject");
|
|
10535
10535
|
|
|
10536
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10536
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/error.js
|
|
10537
10537
|
function isError(e) {
|
|
10538
10538
|
if (isObject(e)) {
|
|
10539
10539
|
const hasName = typeof e.name === "string";
|
|
@@ -10544,11 +10544,11 @@ function isError(e) {
|
|
|
10544
10544
|
}
|
|
10545
10545
|
__name(isError, "isError");
|
|
10546
10546
|
|
|
10547
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10547
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/inspect.js
|
|
10548
10548
|
import { inspect } from "node:util";
|
|
10549
10549
|
var custom = inspect.custom;
|
|
10550
10550
|
|
|
10551
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10551
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/sanitizer.js
|
|
10552
10552
|
var RedactedString = "REDACTED";
|
|
10553
10553
|
var defaultAllowedHeaderNames = [
|
|
10554
10554
|
"x-ms-client-request-id",
|
|
@@ -10687,7 +10687,7 @@ var Sanitizer = class {
|
|
|
10687
10687
|
}
|
|
10688
10688
|
};
|
|
10689
10689
|
|
|
10690
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10690
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/restError.js
|
|
10691
10691
|
var errorSanitizer = new Sanitizer();
|
|
10692
10692
|
var RestError = class _RestError extends Error {
|
|
10693
10693
|
static {
|
|
@@ -10759,7 +10759,7 @@ function isRestError(e) {
|
|
|
10759
10759
|
}
|
|
10760
10760
|
__name(isRestError, "isRestError");
|
|
10761
10761
|
|
|
10762
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10762
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/bytesEncoding.js
|
|
10763
10763
|
function uint8ArrayToString(bytes, format) {
|
|
10764
10764
|
return Buffer.from(bytes).toString(format);
|
|
10765
10765
|
}
|
|
@@ -10769,16 +10769,16 @@ function stringToUint8Array(value, format) {
|
|
|
10769
10769
|
}
|
|
10770
10770
|
__name(stringToUint8Array, "stringToUint8Array");
|
|
10771
10771
|
|
|
10772
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10772
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/nodeHttpClient.js
|
|
10773
10773
|
import http from "node:http";
|
|
10774
10774
|
import https from "node:https";
|
|
10775
10775
|
import zlib from "node:zlib";
|
|
10776
10776
|
import { Transform } from "node:stream";
|
|
10777
10777
|
|
|
10778
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10778
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/log.js
|
|
10779
10779
|
var logger = createClientLogger("ts-http-runtime");
|
|
10780
10780
|
|
|
10781
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10781
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/nodeHttpClient.js
|
|
10782
10782
|
var DEFAULT_TLS_SETTINGS = {};
|
|
10783
10783
|
function isReadableStream(body) {
|
|
10784
10784
|
return body && typeof body.pipe === "function";
|
|
@@ -10884,9 +10884,6 @@ var NodeHttpClient = class {
|
|
|
10884
10884
|
body = uploadReportStream;
|
|
10885
10885
|
}
|
|
10886
10886
|
const res = await this.makeRequest(request, abortController, body);
|
|
10887
|
-
if (timeoutId !== void 0) {
|
|
10888
|
-
clearTimeout(timeoutId);
|
|
10889
|
-
}
|
|
10890
10887
|
const headers = getResponseHeaders(res);
|
|
10891
10888
|
const status = res.statusCode ?? 0;
|
|
10892
10889
|
const response = {
|
|
@@ -10918,6 +10915,9 @@ var NodeHttpClient = class {
|
|
|
10918
10915
|
}
|
|
10919
10916
|
return response;
|
|
10920
10917
|
} finally {
|
|
10918
|
+
if (timeoutId !== void 0) {
|
|
10919
|
+
clearTimeout(timeoutId);
|
|
10920
|
+
}
|
|
10921
10921
|
if (request.abortSignal && abortListener) {
|
|
10922
10922
|
let uploadStreamDone = Promise.resolve();
|
|
10923
10923
|
if (isReadableStream(body)) {
|
|
@@ -11085,13 +11085,13 @@ function createNodeHttpClient() {
|
|
|
11085
11085
|
}
|
|
11086
11086
|
__name(createNodeHttpClient, "createNodeHttpClient");
|
|
11087
11087
|
|
|
11088
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11088
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/defaultHttpClient.js
|
|
11089
11089
|
function createDefaultHttpClient() {
|
|
11090
11090
|
return createNodeHttpClient();
|
|
11091
11091
|
}
|
|
11092
11092
|
__name(createDefaultHttpClient, "createDefaultHttpClient");
|
|
11093
11093
|
|
|
11094
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11094
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/logPolicy.js
|
|
11095
11095
|
var logPolicyName = "logPolicy";
|
|
11096
11096
|
function logPolicy(options = {}) {
|
|
11097
11097
|
const logger4 = options.logger ?? logger.info;
|
|
@@ -11115,7 +11115,7 @@ function logPolicy(options = {}) {
|
|
|
11115
11115
|
}
|
|
11116
11116
|
__name(logPolicy, "logPolicy");
|
|
11117
11117
|
|
|
11118
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11118
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/userAgentPlatform.js
|
|
11119
11119
|
import os from "node:os";
|
|
11120
11120
|
import process4 from "node:process";
|
|
11121
11121
|
function getHeaderName() {
|
|
@@ -11136,11 +11136,11 @@ async function setPlatformSpecificData(map) {
|
|
|
11136
11136
|
}
|
|
11137
11137
|
__name(setPlatformSpecificData, "setPlatformSpecificData");
|
|
11138
11138
|
|
|
11139
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11140
|
-
var SDK_VERSION = "0.3.
|
|
11139
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/constants.js
|
|
11140
|
+
var SDK_VERSION = "0.3.9";
|
|
11141
11141
|
var DEFAULT_RETRY_POLICY_COUNT = 3;
|
|
11142
11142
|
|
|
11143
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11143
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/userAgent.js
|
|
11144
11144
|
function getUserAgentString(telemetryInfo) {
|
|
11145
11145
|
const parts = [];
|
|
11146
11146
|
for (const [key, value] of telemetryInfo) {
|
|
@@ -11164,7 +11164,7 @@ async function getUserAgentValue(prefix) {
|
|
|
11164
11164
|
}
|
|
11165
11165
|
__name(getUserAgentValue, "getUserAgentValue");
|
|
11166
11166
|
|
|
11167
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11167
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/userAgentPolicy.js
|
|
11168
11168
|
var UserAgentHeaderName = getUserAgentHeaderName();
|
|
11169
11169
|
var userAgentPolicyName = "userAgentPolicy";
|
|
11170
11170
|
function userAgentPolicy(options = {}) {
|
|
@@ -11181,7 +11181,7 @@ function userAgentPolicy(options = {}) {
|
|
|
11181
11181
|
}
|
|
11182
11182
|
__name(userAgentPolicy, "userAgentPolicy");
|
|
11183
11183
|
|
|
11184
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11184
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/random.js
|
|
11185
11185
|
function getRandomIntegerInclusive(min, max) {
|
|
11186
11186
|
min = Math.ceil(min);
|
|
11187
11187
|
max = Math.floor(max);
|
|
@@ -11190,7 +11190,7 @@ function getRandomIntegerInclusive(min, max) {
|
|
|
11190
11190
|
}
|
|
11191
11191
|
__name(getRandomIntegerInclusive, "getRandomIntegerInclusive");
|
|
11192
11192
|
|
|
11193
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11193
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/delay.js
|
|
11194
11194
|
function calculateRetryDelay(retryAttempt, config) {
|
|
11195
11195
|
const exponentialDelay = config.retryDelayInMs * Math.pow(2, retryAttempt);
|
|
11196
11196
|
const clampedDelay = Math.min(config.maxRetryDelayInMs, exponentialDelay);
|
|
@@ -11199,7 +11199,7 @@ function calculateRetryDelay(retryAttempt, config) {
|
|
|
11199
11199
|
}
|
|
11200
11200
|
__name(calculateRetryDelay, "calculateRetryDelay");
|
|
11201
11201
|
|
|
11202
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11202
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/helpers.js
|
|
11203
11203
|
var StandardAbortMessage = "The operation was aborted.";
|
|
11204
11204
|
function delay(delayInMs, value, options) {
|
|
11205
11205
|
return new Promise((resolve, reject) => {
|
|
@@ -11244,7 +11244,7 @@ function parseHeaderValueAsNumber(response, headerName) {
|
|
|
11244
11244
|
}
|
|
11245
11245
|
__name(parseHeaderValueAsNumber, "parseHeaderValueAsNumber");
|
|
11246
11246
|
|
|
11247
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11247
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
|
|
11248
11248
|
var RetryAfterHeader = "Retry-After";
|
|
11249
11249
|
var AllRetryAfterHeaders = ["retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader];
|
|
11250
11250
|
function getRetryAfterInMs(response) {
|
|
@@ -11289,7 +11289,7 @@ function throttlingRetryStrategy() {
|
|
|
11289
11289
|
}
|
|
11290
11290
|
__name(throttlingRetryStrategy, "throttlingRetryStrategy");
|
|
11291
11291
|
|
|
11292
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11292
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
|
|
11293
11293
|
var DEFAULT_CLIENT_RETRY_INTERVAL = 1e3;
|
|
11294
11294
|
var DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1e3 * 64;
|
|
11295
11295
|
function exponentialRetryStrategy(options = {}) {
|
|
@@ -11329,7 +11329,7 @@ function isSystemError(err) {
|
|
|
11329
11329
|
}
|
|
11330
11330
|
__name(isSystemError, "isSystemError");
|
|
11331
11331
|
|
|
11332
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11332
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/retryPolicy.js
|
|
11333
11333
|
var retryPolicyLogger = createClientLogger("ts-http-runtime retryPolicy");
|
|
11334
11334
|
var retryPolicyName = "retryPolicy";
|
|
11335
11335
|
function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }) {
|
|
@@ -11342,7 +11342,6 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
11342
11342
|
let retryCount = -1;
|
|
11343
11343
|
retryRequest: while (true) {
|
|
11344
11344
|
retryCount += 1;
|
|
11345
|
-
response = void 0;
|
|
11346
11345
|
responseError = void 0;
|
|
11347
11346
|
try {
|
|
11348
11347
|
logger4.info(`Retry ${retryCount}: Attempting to send request`, request.requestId);
|
|
@@ -11414,7 +11413,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
11414
11413
|
}
|
|
11415
11414
|
__name(retryPolicy, "retryPolicy");
|
|
11416
11415
|
|
|
11417
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11416
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/defaultRetryPolicy.js
|
|
11418
11417
|
var defaultRetryPolicyName = "defaultRetryPolicy";
|
|
11419
11418
|
function defaultRetryPolicy(options = {}) {
|
|
11420
11419
|
return {
|
|
@@ -11426,7 +11425,7 @@ function defaultRetryPolicy(options = {}) {
|
|
|
11426
11425
|
}
|
|
11427
11426
|
__name(defaultRetryPolicy, "defaultRetryPolicy");
|
|
11428
11427
|
|
|
11429
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11428
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/formData.js
|
|
11430
11429
|
function convertBodyToFormDataMap(body) {
|
|
11431
11430
|
if (typeof FormData !== "undefined" && body instanceof FormData) {
|
|
11432
11431
|
const formDataMap = {};
|
|
@@ -11444,7 +11443,7 @@ function convertBodyToFormDataMap(body) {
|
|
|
11444
11443
|
}
|
|
11445
11444
|
__name(convertBodyToFormDataMap, "convertBodyToFormDataMap");
|
|
11446
11445
|
|
|
11447
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11446
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/formDataPolicy.js
|
|
11448
11447
|
var formDataPolicyName = "formDataPolicy";
|
|
11449
11448
|
function formDataPolicy() {
|
|
11450
11449
|
return {
|
|
@@ -11517,7 +11516,7 @@ async function prepareFormData(formData, request) {
|
|
|
11517
11516
|
}
|
|
11518
11517
|
__name(prepareFormData, "prepareFormData");
|
|
11519
11518
|
|
|
11520
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11519
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/agentPolicy.js
|
|
11521
11520
|
var agentPolicyName = "agentPolicy";
|
|
11522
11521
|
function agentPolicy(agent) {
|
|
11523
11522
|
return {
|
|
@@ -11532,7 +11531,7 @@ function agentPolicy(agent) {
|
|
|
11532
11531
|
}
|
|
11533
11532
|
__name(agentPolicy, "agentPolicy");
|
|
11534
11533
|
|
|
11535
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11534
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/tlsPolicy.js
|
|
11536
11535
|
var tlsPolicyName = "tlsPolicy";
|
|
11537
11536
|
function tlsPolicy(tlsSettings) {
|
|
11538
11537
|
return {
|
|
@@ -11547,7 +11546,7 @@ function tlsPolicy(tlsSettings) {
|
|
|
11547
11546
|
}
|
|
11548
11547
|
__name(tlsPolicy, "tlsPolicy");
|
|
11549
11548
|
|
|
11550
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11549
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/proxyPolicy.js
|
|
11551
11550
|
var import_https_proxy_agent = __toESM(require_dist2(), 1);
|
|
11552
11551
|
var import_http_proxy_agent = __toESM(require_dist3(), 1);
|
|
11553
11552
|
var HTTPS_PROXY = "HTTPS_PROXY";
|
|
@@ -11678,7 +11677,7 @@ function proxyPolicy(proxySettings, options) {
|
|
|
11678
11677
|
}
|
|
11679
11678
|
__name(proxyPolicy, "proxyPolicy");
|
|
11680
11679
|
|
|
11681
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11680
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/decompressResponsePolicy.js
|
|
11682
11681
|
var decompressResponsePolicyName = "decompressResponsePolicy";
|
|
11683
11682
|
function decompressResponsePolicy() {
|
|
11684
11683
|
return {
|
|
@@ -11693,7 +11692,7 @@ function decompressResponsePolicy() {
|
|
|
11693
11692
|
}
|
|
11694
11693
|
__name(decompressResponsePolicy, "decompressResponsePolicy");
|
|
11695
11694
|
|
|
11696
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11695
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/redirectPolicy.js
|
|
11697
11696
|
var redirectPolicyName = "redirectPolicy";
|
|
11698
11697
|
var allowedRedirect = ["GET", "HEAD"];
|
|
11699
11698
|
function redirectPolicy(options = {}) {
|
|
@@ -11733,7 +11732,7 @@ async function handleRedirect(next, response, maxRetries, allowCrossOriginRedire
|
|
|
11733
11732
|
}
|
|
11734
11733
|
__name(handleRedirect, "handleRedirect");
|
|
11735
11734
|
|
|
11736
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11735
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/platformPolicies.js
|
|
11737
11736
|
function addPlatformPolicies(pipeline, options) {
|
|
11738
11737
|
if (options.agent) {
|
|
11739
11738
|
pipeline.addPolicy(agentPolicy(options.agent));
|
|
@@ -11747,7 +11746,7 @@ function addPlatformPolicies(pipeline, options) {
|
|
|
11747
11746
|
}
|
|
11748
11747
|
__name(addPlatformPolicies, "addPlatformPolicies");
|
|
11749
11748
|
|
|
11750
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11749
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/typeGuards-node.js
|
|
11751
11750
|
import { Readable } from "stream";
|
|
11752
11751
|
function isNodeReadableStream(x) {
|
|
11753
11752
|
return x instanceof Readable;
|
|
@@ -11758,7 +11757,7 @@ function isWebReadableStream(x) {
|
|
|
11758
11757
|
}
|
|
11759
11758
|
__name(isWebReadableStream, "isWebReadableStream");
|
|
11760
11759
|
|
|
11761
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11760
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/typeGuards.js
|
|
11762
11761
|
function isBinaryBody(body) {
|
|
11763
11762
|
return body !== void 0 && (body instanceof Uint8Array || isReadableStream2(body) || typeof body === "function" || body instanceof Blob);
|
|
11764
11763
|
}
|
|
@@ -11772,7 +11771,7 @@ function isBlob(x) {
|
|
|
11772
11771
|
}
|
|
11773
11772
|
__name(isBlob, "isBlob");
|
|
11774
11773
|
|
|
11775
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11774
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/concat.js
|
|
11776
11775
|
import { Readable as Readable2 } from "stream";
|
|
11777
11776
|
async function* streamAsyncIterator() {
|
|
11778
11777
|
const reader = this.getReader();
|
|
@@ -11831,7 +11830,7 @@ async function concat(sources) {
|
|
|
11831
11830
|
}
|
|
11832
11831
|
__name(concat, "concat");
|
|
11833
11832
|
|
|
11834
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11833
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/multipartPolicy.js
|
|
11835
11834
|
function generateBoundary() {
|
|
11836
11835
|
return `----AzSDKFormBoundary${randomUUID()}`;
|
|
11837
11836
|
}
|
|
@@ -11935,7 +11934,7 @@ function multipartPolicy() {
|
|
|
11935
11934
|
}
|
|
11936
11935
|
__name(multipartPolicy, "multipartPolicy");
|
|
11937
11936
|
|
|
11938
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11937
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/createPipelineFromOptions.js
|
|
11939
11938
|
function createPipelineFromOptions(options) {
|
|
11940
11939
|
const pipeline = createEmptyPipeline();
|
|
11941
11940
|
addPlatformPolicies(pipeline, options);
|
|
@@ -11948,7 +11947,7 @@ function createPipelineFromOptions(options) {
|
|
|
11948
11947
|
}
|
|
11949
11948
|
__name(createPipelineFromOptions, "createPipelineFromOptions");
|
|
11950
11949
|
|
|
11951
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11950
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/apiVersionPolicy.js
|
|
11952
11951
|
var apiVersionPolicyName = "ApiVersionPolicy";
|
|
11953
11952
|
function apiVersionPolicy(options) {
|
|
11954
11953
|
return {
|
|
@@ -11964,7 +11963,7 @@ function apiVersionPolicy(options) {
|
|
|
11964
11963
|
}
|
|
11965
11964
|
__name(apiVersionPolicy, "apiVersionPolicy");
|
|
11966
11965
|
|
|
11967
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11966
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/auth/credentials.js
|
|
11968
11967
|
function isOAuth2TokenCredential(credential) {
|
|
11969
11968
|
return "getOAuth2Token" in credential;
|
|
11970
11969
|
}
|
|
@@ -11982,7 +11981,7 @@ function isApiKeyCredential(credential) {
|
|
|
11982
11981
|
}
|
|
11983
11982
|
__name(isApiKeyCredential, "isApiKeyCredential");
|
|
11984
11983
|
|
|
11985
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11984
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/checkInsecureConnection.js
|
|
11986
11985
|
var insecureConnectionWarningEmmitted = false;
|
|
11987
11986
|
function allowInsecureConnection(request, options) {
|
|
11988
11987
|
if (options.allowInsecureConnection && request.allowInsecureConnection) {
|
|
@@ -12014,7 +12013,7 @@ function ensureSecureConnection(request, options) {
|
|
|
12014
12013
|
}
|
|
12015
12014
|
__name(ensureSecureConnection, "ensureSecureConnection");
|
|
12016
12015
|
|
|
12017
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12016
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/apiKeyAuthenticationPolicy.js
|
|
12018
12017
|
var apiKeyAuthenticationPolicyName = "apiKeyAuthenticationPolicy";
|
|
12019
12018
|
function apiKeyAuthenticationPolicy(options) {
|
|
12020
12019
|
return {
|
|
@@ -12035,7 +12034,7 @@ function apiKeyAuthenticationPolicy(options) {
|
|
|
12035
12034
|
}
|
|
12036
12035
|
__name(apiKeyAuthenticationPolicy, "apiKeyAuthenticationPolicy");
|
|
12037
12036
|
|
|
12038
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12037
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/basicAuthenticationPolicy.js
|
|
12039
12038
|
var basicAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
12040
12039
|
function basicAuthenticationPolicy(options) {
|
|
12041
12040
|
return {
|
|
@@ -12055,7 +12054,7 @@ function basicAuthenticationPolicy(options) {
|
|
|
12055
12054
|
}
|
|
12056
12055
|
__name(basicAuthenticationPolicy, "basicAuthenticationPolicy");
|
|
12057
12056
|
|
|
12058
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12057
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/bearerAuthenticationPolicy.js
|
|
12059
12058
|
var bearerAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
12060
12059
|
function bearerAuthenticationPolicy(options) {
|
|
12061
12060
|
return {
|
|
@@ -12076,7 +12075,7 @@ function bearerAuthenticationPolicy(options) {
|
|
|
12076
12075
|
}
|
|
12077
12076
|
__name(bearerAuthenticationPolicy, "bearerAuthenticationPolicy");
|
|
12078
12077
|
|
|
12079
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12078
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/oauth2AuthenticationPolicy.js
|
|
12080
12079
|
var oauth2AuthenticationPolicyName = "oauth2AuthenticationPolicy";
|
|
12081
12080
|
function oauth2AuthenticationPolicy(options) {
|
|
12082
12081
|
return {
|
|
@@ -12097,7 +12096,7 @@ function oauth2AuthenticationPolicy(options) {
|
|
|
12097
12096
|
}
|
|
12098
12097
|
__name(oauth2AuthenticationPolicy, "oauth2AuthenticationPolicy");
|
|
12099
12098
|
|
|
12100
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12099
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/clientHelpers.js
|
|
12101
12100
|
var cachedHttpClient;
|
|
12102
12101
|
function createDefaultPipeline(options = {}) {
|
|
12103
12102
|
const pipeline = createPipelineFromOptions(options);
|
|
@@ -12125,7 +12124,7 @@ function getCachedDefaultHttpsClient() {
|
|
|
12125
12124
|
}
|
|
12126
12125
|
__name(getCachedDefaultHttpsClient, "getCachedDefaultHttpsClient");
|
|
12127
12126
|
|
|
12128
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12127
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/multipart.js
|
|
12129
12128
|
function getHeaderValue(descriptor, headerName) {
|
|
12130
12129
|
if (descriptor.headers) {
|
|
12131
12130
|
const actualHeaderName = Object.keys(descriptor.headers).find((x) => x.toLowerCase() === headerName.toLowerCase());
|
|
@@ -12233,7 +12232,7 @@ function buildMultipartBody(parts) {
|
|
|
12233
12232
|
}
|
|
12234
12233
|
__name(buildMultipartBody, "buildMultipartBody");
|
|
12235
12234
|
|
|
12236
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12235
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/sendRequest.js
|
|
12237
12236
|
async function sendRequest(method, url2, pipeline, options = {}, customHttpClient) {
|
|
12238
12237
|
const httpClient = customHttpClient ?? getCachedDefaultHttpsClient();
|
|
12239
12238
|
const request = buildPipelineRequest(method, url2, options);
|
|
@@ -12393,7 +12392,7 @@ function createParseError(response, err) {
|
|
|
12393
12392
|
}
|
|
12394
12393
|
__name(createParseError, "createParseError");
|
|
12395
12394
|
|
|
12396
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12395
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/urlHelpers.js
|
|
12397
12396
|
function isQueryParameterWithOptions(x) {
|
|
12398
12397
|
if (typeof x !== "object" || x === null || !Object.hasOwn(x, "value")) {
|
|
12399
12398
|
return false;
|
|
@@ -12592,7 +12591,7 @@ function replaceAll(value, searchValue, replaceValue) {
|
|
|
12592
12591
|
}
|
|
12593
12592
|
__name(replaceAll, "replaceAll");
|
|
12594
12593
|
|
|
12595
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12594
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/getClient.js
|
|
12596
12595
|
function getClient(endpoint, clientOptions = {}) {
|
|
12597
12596
|
const pipeline = clientOptions.pipeline ?? createDefaultPipeline(clientOptions);
|
|
12598
12597
|
if (clientOptions.additionalPolicies?.length) {
|
|
@@ -12666,7 +12665,7 @@ function buildOperation(method, url2, pipeline, options, allowInsecureConnection
|
|
|
12666
12665
|
}
|
|
12667
12666
|
__name(buildOperation, "buildOperation");
|
|
12668
12667
|
|
|
12669
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12668
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/operationOptionHelpers.js
|
|
12670
12669
|
function operationOptionsToRequestParameters(options) {
|
|
12671
12670
|
return {
|
|
12672
12671
|
allowInsecureConnection: options.requestOptions?.allowInsecureConnection,
|
|
@@ -12681,7 +12680,7 @@ function operationOptionsToRequestParameters(options) {
|
|
|
12681
12680
|
}
|
|
12682
12681
|
__name(operationOptionsToRequestParameters, "operationOptionsToRequestParameters");
|
|
12683
12682
|
|
|
12684
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12683
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/restError.js
|
|
12685
12684
|
function createRestError(messageOrResponse, response) {
|
|
12686
12685
|
const resp = typeof messageOrResponse === "string" ? response : messageOrResponse;
|
|
12687
12686
|
const internalError = resp.body?.error ?? resp.body;
|
|
@@ -12715,7 +12714,7 @@ function createEmptyPipeline2() {
|
|
|
12715
12714
|
}
|
|
12716
12715
|
__name(createEmptyPipeline2, "createEmptyPipeline");
|
|
12717
12716
|
|
|
12718
|
-
// ../../node_modules/.store/@azure-logger-npm-1.
|
|
12717
|
+
// ../../node_modules/.store/@azure-logger-npm-1.4.0-3b48f7b49f/package/dist/esm/index.js
|
|
12719
12718
|
var context3 = createLoggerContext({
|
|
12720
12719
|
logLevelEnvVarName: "AZURE_LOG_LEVEL",
|
|
12721
12720
|
namespace: "azure"
|
|
@@ -13677,7 +13676,7 @@ __name(getCaeChallengeClaims, "getCaeChallengeClaims");
|
|
|
13677
13676
|
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/logger.js
|
|
13678
13677
|
var logger3 = createClientLogger2("monitor-opentelemetry-exporter");
|
|
13679
13678
|
|
|
13680
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13679
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/restError.js
|
|
13681
13680
|
function createRestError2(messageOrResponse, response) {
|
|
13682
13681
|
if (typeof messageOrResponse === "string") {
|
|
13683
13682
|
return createRestError(messageOrResponse, response);
|
|
@@ -13700,7 +13699,7 @@ function isTokenCredential(credential) {
|
|
|
13700
13699
|
}
|
|
13701
13700
|
__name(isTokenCredential, "isTokenCredential");
|
|
13702
13701
|
|
|
13703
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13702
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/apiVersionPolicy.js
|
|
13704
13703
|
var apiVersionPolicyName2 = "ApiVersionPolicy";
|
|
13705
13704
|
function apiVersionPolicy2(options) {
|
|
13706
13705
|
return {
|
|
@@ -13716,7 +13715,7 @@ function apiVersionPolicy2(options) {
|
|
|
13716
13715
|
}
|
|
13717
13716
|
__name(apiVersionPolicy2, "apiVersionPolicy");
|
|
13718
13717
|
|
|
13719
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13718
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/keyCredentialAuthenticationPolicy.js
|
|
13720
13719
|
var keyCredentialAuthenticationPolicyName = "keyCredentialAuthenticationPolicy";
|
|
13721
13720
|
function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
13722
13721
|
return {
|
|
@@ -13729,7 +13728,7 @@ function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
|
13729
13728
|
}
|
|
13730
13729
|
__name(keyCredentialAuthenticationPolicy, "keyCredentialAuthenticationPolicy");
|
|
13731
13730
|
|
|
13732
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13731
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/clientHelpers.js
|
|
13733
13732
|
function addCredentialPipelinePolicy(pipeline, endpoint, options = {}) {
|
|
13734
13733
|
const { credential, clientOptions } = options;
|
|
13735
13734
|
if (!credential) {
|
|
@@ -13762,17 +13761,29 @@ function isKeyCredential2(credential) {
|
|
|
13762
13761
|
}
|
|
13763
13762
|
__name(isKeyCredential2, "isKeyCredential");
|
|
13764
13763
|
|
|
13765
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13764
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/operationOptionHelpers.js
|
|
13766
13765
|
function operationOptionsToRequestParameters2(options) {
|
|
13766
|
+
const compatibilityOptions = options;
|
|
13767
13767
|
const tspRequestParameters = operationOptionsToRequestParameters(options);
|
|
13768
13768
|
return {
|
|
13769
13769
|
...tspRequestParameters,
|
|
13770
|
+
headers: mergeHeaders(compatibilityOptions.requestOptions?.customHeaders, tspRequestParameters.headers),
|
|
13770
13771
|
tracingOptions: options.tracingOptions
|
|
13771
13772
|
};
|
|
13772
13773
|
}
|
|
13773
13774
|
__name(operationOptionsToRequestParameters2, "operationOptionsToRequestParameters");
|
|
13775
|
+
function mergeHeaders(...headerSets) {
|
|
13776
|
+
const headers = /* @__PURE__ */ new Map();
|
|
13777
|
+
for (const headerSet of headerSets) {
|
|
13778
|
+
for (const [name, value] of Object.entries(headerSet ?? {})) {
|
|
13779
|
+
headers.set(name.toLowerCase(), value);
|
|
13780
|
+
}
|
|
13781
|
+
}
|
|
13782
|
+
return Object.fromEntries(headers);
|
|
13783
|
+
}
|
|
13784
|
+
__name(mergeHeaders, "mergeHeaders");
|
|
13774
13785
|
|
|
13775
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13786
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/getClient.js
|
|
13776
13787
|
function wrapRequestParameters(parameters) {
|
|
13777
13788
|
if (parameters.onResponse) {
|
|
13778
13789
|
return {
|
|
@@ -16304,7 +16315,7 @@ var AzureMonitorStatsbeatExporter = class extends AzureMonitorBaseExporter {
|
|
|
16304
16315
|
*/
|
|
16305
16316
|
async _getSender() {
|
|
16306
16317
|
if (!this._sender) {
|
|
16307
|
-
const { HttpSender: HttpSender2 } = await import("./httpSender-
|
|
16318
|
+
const { HttpSender: HttpSender2 } = await import("./httpSender-D4MLB6CM.js");
|
|
16308
16319
|
this._sender = new HttpSender2(this._senderOptions);
|
|
16309
16320
|
}
|
|
16310
16321
|
return this._sender;
|
|
@@ -16871,7 +16882,7 @@ var BaseSender = class {
|
|
|
16871
16882
|
}
|
|
16872
16883
|
}
|
|
16873
16884
|
if (!this.customerSDKStatsMetrics) {
|
|
16874
|
-
import("./customerSDKStats-
|
|
16885
|
+
import("./customerSDKStats-BX4VB26M.js").then((module) => module.CustomerSDKStatsMetrics.getInstance({
|
|
16875
16886
|
instrumentationKey: options.instrumentationKey,
|
|
16876
16887
|
endpointUrl: options.endpointUrl,
|
|
16877
16888
|
disableOfflineStorage: this.disableOfflineStorage,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getAttachType,
|
|
21
21
|
packageVersion,
|
|
22
22
|
require_src3 as require_src
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NRKVYR6D.js";
|
|
24
24
|
import {
|
|
25
25
|
__name,
|
|
26
26
|
__toESM,
|
|
@@ -89,7 +89,7 @@ var CustomerSDKStatsMetrics = class _CustomerSDKStatsMetrics extends StatsbeatMe
|
|
|
89
89
|
*/
|
|
90
90
|
static async getInstance(options) {
|
|
91
91
|
if (!_CustomerSDKStatsMetrics._instance) {
|
|
92
|
-
const { AzureMonitorStatsbeatExporter } = await import("./statsbeatExporter-
|
|
92
|
+
const { AzureMonitorStatsbeatExporter } = await import("./statsbeatExporter-DRFXBPI2.js");
|
|
93
93
|
const customerStatsExporterConfig = {
|
|
94
94
|
connectionString: `InstrumentationKey=${options.instrumentationKey};IngestionEndpoint=${options.endpointUrl}`
|
|
95
95
|
};
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
require_src2,
|
|
23
23
|
shouldCreateResourceMetric,
|
|
24
24
|
spanEventsToEnvelopes
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NRKVYR6D.js";
|
|
26
26
|
import {
|
|
27
27
|
DiagConsoleLogger,
|
|
28
28
|
DiagLogLevel,
|
|
@@ -3862,8 +3862,6 @@ var environmentInfo = Object.freeze({
|
|
|
3862
3862
|
programFiles: process.env.ProgramFiles
|
|
3863
3863
|
}) : void 0,
|
|
3864
3864
|
cloudpack: Object.freeze({
|
|
3865
|
-
/** Whether cloudpack sync is enabled (default true) */
|
|
3866
|
-
isSyncEnabled: getEnvBoolean("CLOUDPACK_SYNC") ?? true,
|
|
3867
3865
|
/** Custom telemetry connection string */
|
|
3868
3866
|
telemetryConnectionString: process.env.CLOUDPACK_TELEMETRY_CONNECTION_STRING,
|
|
3869
3867
|
/** External correlation ID used to correlate telemetry across different services */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/telemetry",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.9",
|
|
4
4
|
"description": "Helpers for reporting telemetry in Cloudpack.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@azure/monitor-opentelemetry-exporter": "1.0.0-beta.43",
|
|
28
|
-
"@ms-cloudpack/environment": "^0.
|
|
28
|
+
"@ms-cloudpack/environment": "^0.2.0",
|
|
29
29
|
"@ms-cloudpack/eslint-plugin-internal": "^0.0.1",
|
|
30
|
-
"@ms-cloudpack/package-utilities": "^
|
|
30
|
+
"@ms-cloudpack/package-utilities": "^14.0.0",
|
|
31
31
|
"@ms-cloudpack/scripts": "^0.0.1",
|
|
32
32
|
"@opentelemetry/api": "1.9.1",
|
|
33
33
|
"@opentelemetry/context-async-hooks": "2.8.0",
|