@ms-cloudpack/telemetry 0.12.6 → 0.12.7
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 +15 -15
- package/dist/{chunk-75GF2GHM.js → chunk-CQ67U475.js} +139 -137
- package/dist/{customerSDKStats-7HOB5ILS.js → customerSDKStats-HZG4O57K.js} +2 -2
- package/dist/{httpSender-KZ6RCGP7.js → httpSender-IBZSAY2T.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{statsbeatExporter-QZUFYAJT.js → statsbeatExporter-FPYAC37F.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.8.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
|
|
@@ -33,14 +33,14 @@ SOFTWARE.
|
|
|
33
33
|
|
|
34
34
|
----
|
|
35
35
|
|
|
36
|
-
@azure/abort-controller 2.
|
|
36
|
+
@azure/abort-controller 2.2.0 - MIT
|
|
37
37
|
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller/README.md
|
|
38
38
|
|
|
39
39
|
Author: Microsoft Corporation
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
Copyright (c) Microsoft Corporation.
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
MIT License
|
|
44
44
|
|
|
45
45
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
46
46
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -52,7 +52,7 @@ furnished to do so, subject to the following conditions:
|
|
|
52
52
|
The above copyright notice and this permission notice shall be included in all
|
|
53
53
|
copies or substantial portions of the Software.
|
|
54
54
|
|
|
55
|
-
THE SOFTWARE IS PROVIDED
|
|
55
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
56
56
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
57
57
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
58
58
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
@@ -62,8 +62,8 @@ SOFTWARE.
|
|
|
62
62
|
|
|
63
63
|
----
|
|
64
64
|
|
|
65
|
-
@azure/core-auth 1.
|
|
66
|
-
https://github.com/Azure/azure-sdk-for-js/
|
|
65
|
+
@azure/core-auth 1.11.0 - MIT
|
|
66
|
+
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-auth/README.md
|
|
67
67
|
|
|
68
68
|
Author: Microsoft Corporation
|
|
69
69
|
|
|
@@ -91,7 +91,7 @@ SOFTWARE.
|
|
|
91
91
|
|
|
92
92
|
----
|
|
93
93
|
|
|
94
|
-
@azure/core-rest-pipeline 1.
|
|
94
|
+
@azure/core-rest-pipeline 1.25.0 - MIT
|
|
95
95
|
https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md
|
|
96
96
|
|
|
97
97
|
Author: Microsoft Corporation
|
|
@@ -120,7 +120,7 @@ SOFTWARE.
|
|
|
120
120
|
|
|
121
121
|
----
|
|
122
122
|
|
|
123
|
-
@azure/core-tracing 1.
|
|
123
|
+
@azure/core-tracing 1.4.0 - MIT
|
|
124
124
|
https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md
|
|
125
125
|
|
|
126
126
|
Author: Microsoft Corporation
|
|
@@ -149,7 +149,7 @@ SOFTWARE.
|
|
|
149
149
|
|
|
150
150
|
----
|
|
151
151
|
|
|
152
|
-
@azure/core-util 1.
|
|
152
|
+
@azure/core-util 1.14.0 - MIT
|
|
153
153
|
https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/
|
|
154
154
|
|
|
155
155
|
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.8 - 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.18.0 - MIT
|
|
2027
2027
|
https://github.com/acornjs/acorn
|
|
2028
2028
|
|
|
2029
2029
|
Maintainers:
|
|
@@ -2805,7 +2805,7 @@ THE SOFTWARE.
|
|
|
2805
2805
|
|
|
2806
2806
|
----
|
|
2807
2807
|
|
|
2808
|
-
js-yaml 4.2
|
|
2808
|
+
js-yaml 4.3.2 - MIT
|
|
2809
2809
|
https://github.com/nodeca/js-yaml
|
|
2810
2810
|
|
|
2811
2811
|
Author: Vladimir Zapparov <dervus.grim@gmail.com>
|
|
@@ -3110,7 +3110,7 @@ THE SOFTWARE.
|
|
|
3110
3110
|
|
|
3111
3111
|
----
|
|
3112
3112
|
|
|
3113
|
-
picomatch 4.0.
|
|
3113
|
+
picomatch 4.0.5 - MIT
|
|
3114
3114
|
https://github.com/micromatch/picomatch
|
|
3115
3115
|
|
|
3116
3116
|
Author: Jon Schlinkert (https://github.com/jonschlinkert)
|
|
@@ -3384,5 +3384,5 @@ THE SOFTWARE.
|
|
|
3384
3384
|
|
|
3385
3385
|
----
|
|
3386
3386
|
|
|
3387
|
-
workspace-tools 0.
|
|
3387
|
+
workspace-tools 0.42.2 - MIT
|
|
3388
3388
|
https://github.com/microsoft/lage
|
|
@@ -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-7f5d49c218/package/src/common.js
|
|
145
145
|
var require_common = __commonJS({
|
|
146
|
-
"../../node_modules/.store/debug-virtual-
|
|
146
|
+
"../../node_modules/.store/debug-virtual-7f5d49c218/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-7f5d49c218/package/src/browser.js
|
|
333
333
|
var require_browser = __commonJS({
|
|
334
|
-
"../../node_modules/.store/debug-virtual-
|
|
334
|
+
"../../node_modules/.store/debug-virtual-7f5d49c218/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-7f5d49c218/package/src/node.js
|
|
639
639
|
var require_node = __commonJS({
|
|
640
|
-
"../../node_modules/.store/debug-virtual-
|
|
640
|
+
"../../node_modules/.store/debug-virtual-7f5d49c218/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-7f5d49c218/package/src/index.js
|
|
820
820
|
var require_src = __commonJS({
|
|
821
|
-
"../../node_modules/.store/debug-virtual-
|
|
821
|
+
"../../node_modules/.store/debug-virtual-7f5d49c218/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 {
|
|
@@ -1450,9 +1450,9 @@ var require_dist3 = __commonJS({
|
|
|
1450
1450
|
}
|
|
1451
1451
|
});
|
|
1452
1452
|
|
|
1453
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
1454
|
-
var
|
|
1455
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
1453
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/commonjs/state-cjs.js
|
|
1454
|
+
var require_state_cjs = __commonJS({
|
|
1455
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/commonjs/state-cjs.js"(exports) {
|
|
1456
1456
|
"use strict";
|
|
1457
1457
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1458
1458
|
exports.state = void 0;
|
|
@@ -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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/package/dist/esm/util/uuidUtils.js
|
|
10285
10285
|
function randomUUID() {
|
|
10286
|
-
return crypto.randomUUID();
|
|
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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/package/dist/esm/nodeHttpClient.js
|
|
10782
10782
|
var DEFAULT_TLS_SETTINGS = {};
|
|
10783
10783
|
function isReadableStream(body) {
|
|
10784
10784
|
return body && typeof body.pipe === "function";
|
|
@@ -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.8-eee6dbdf87/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.8-eee6dbdf87/package/dist/esm/policies/logPolicy.js
|
|
11095
11095
|
var logPolicyName = "logPolicy";
|
|
11096
11096
|
function logPolicy(options = {}) {
|
|
11097
11097
|
const logger4 = options.logger ?? logger.info;
|
|
@@ -11108,14 +11108,14 @@ function logPolicy(options = {}) {
|
|
|
11108
11108
|
logger4(`Request: ${sanitizer.sanitize(request)}`);
|
|
11109
11109
|
const response = await next(request);
|
|
11110
11110
|
logger4(`Response status code: ${response.status}`);
|
|
11111
|
-
logger4(`Headers: ${sanitizer.sanitize(response.headers)}`);
|
|
11111
|
+
logger4(`Headers: ${sanitizer.sanitize({ headers: response.headers })}`);
|
|
11112
11112
|
return response;
|
|
11113
11113
|
}
|
|
11114
11114
|
};
|
|
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.8-eee6dbdf87/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.8-eee6dbdf87/package/dist/esm/constants.js
|
|
11140
|
+
var SDK_VERSION = "0.3.8";
|
|
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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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.8-eee6dbdf87/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 }) {
|
|
@@ -11414,7 +11414,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
11414
11414
|
}
|
|
11415
11415
|
__name(retryPolicy, "retryPolicy");
|
|
11416
11416
|
|
|
11417
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11417
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/defaultRetryPolicy.js
|
|
11418
11418
|
var defaultRetryPolicyName = "defaultRetryPolicy";
|
|
11419
11419
|
function defaultRetryPolicy(options = {}) {
|
|
11420
11420
|
return {
|
|
@@ -11426,7 +11426,7 @@ function defaultRetryPolicy(options = {}) {
|
|
|
11426
11426
|
}
|
|
11427
11427
|
__name(defaultRetryPolicy, "defaultRetryPolicy");
|
|
11428
11428
|
|
|
11429
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11429
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/formData.js
|
|
11430
11430
|
function convertBodyToFormDataMap(body) {
|
|
11431
11431
|
if (typeof FormData !== "undefined" && body instanceof FormData) {
|
|
11432
11432
|
const formDataMap = {};
|
|
@@ -11444,7 +11444,7 @@ function convertBodyToFormDataMap(body) {
|
|
|
11444
11444
|
}
|
|
11445
11445
|
__name(convertBodyToFormDataMap, "convertBodyToFormDataMap");
|
|
11446
11446
|
|
|
11447
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11447
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/formDataPolicy.js
|
|
11448
11448
|
var formDataPolicyName = "formDataPolicy";
|
|
11449
11449
|
function formDataPolicy() {
|
|
11450
11450
|
return {
|
|
@@ -11517,7 +11517,7 @@ async function prepareFormData(formData, request) {
|
|
|
11517
11517
|
}
|
|
11518
11518
|
__name(prepareFormData, "prepareFormData");
|
|
11519
11519
|
|
|
11520
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11520
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/agentPolicy.js
|
|
11521
11521
|
var agentPolicyName = "agentPolicy";
|
|
11522
11522
|
function agentPolicy(agent) {
|
|
11523
11523
|
return {
|
|
@@ -11532,7 +11532,7 @@ function agentPolicy(agent) {
|
|
|
11532
11532
|
}
|
|
11533
11533
|
__name(agentPolicy, "agentPolicy");
|
|
11534
11534
|
|
|
11535
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11535
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/tlsPolicy.js
|
|
11536
11536
|
var tlsPolicyName = "tlsPolicy";
|
|
11537
11537
|
function tlsPolicy(tlsSettings) {
|
|
11538
11538
|
return {
|
|
@@ -11547,7 +11547,7 @@ function tlsPolicy(tlsSettings) {
|
|
|
11547
11547
|
}
|
|
11548
11548
|
__name(tlsPolicy, "tlsPolicy");
|
|
11549
11549
|
|
|
11550
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11550
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/proxyPolicy.js
|
|
11551
11551
|
var import_https_proxy_agent = __toESM(require_dist2(), 1);
|
|
11552
11552
|
var import_http_proxy_agent = __toESM(require_dist3(), 1);
|
|
11553
11553
|
var HTTPS_PROXY = "HTTPS_PROXY";
|
|
@@ -11678,7 +11678,7 @@ function proxyPolicy(proxySettings, options) {
|
|
|
11678
11678
|
}
|
|
11679
11679
|
__name(proxyPolicy, "proxyPolicy");
|
|
11680
11680
|
|
|
11681
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11681
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/decompressResponsePolicy.js
|
|
11682
11682
|
var decompressResponsePolicyName = "decompressResponsePolicy";
|
|
11683
11683
|
function decompressResponsePolicy() {
|
|
11684
11684
|
return {
|
|
@@ -11693,7 +11693,7 @@ function decompressResponsePolicy() {
|
|
|
11693
11693
|
}
|
|
11694
11694
|
__name(decompressResponsePolicy, "decompressResponsePolicy");
|
|
11695
11695
|
|
|
11696
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11696
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/redirectPolicy.js
|
|
11697
11697
|
var redirectPolicyName = "redirectPolicy";
|
|
11698
11698
|
var allowedRedirect = ["GET", "HEAD"];
|
|
11699
11699
|
function redirectPolicy(options = {}) {
|
|
@@ -11733,7 +11733,7 @@ async function handleRedirect(next, response, maxRetries, allowCrossOriginRedire
|
|
|
11733
11733
|
}
|
|
11734
11734
|
__name(handleRedirect, "handleRedirect");
|
|
11735
11735
|
|
|
11736
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11736
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/platformPolicies.js
|
|
11737
11737
|
function addPlatformPolicies(pipeline, options) {
|
|
11738
11738
|
if (options.agent) {
|
|
11739
11739
|
pipeline.addPolicy(agentPolicy(options.agent));
|
|
@@ -11747,7 +11747,7 @@ function addPlatformPolicies(pipeline, options) {
|
|
|
11747
11747
|
}
|
|
11748
11748
|
__name(addPlatformPolicies, "addPlatformPolicies");
|
|
11749
11749
|
|
|
11750
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11750
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/util/typeGuards-node.js
|
|
11751
11751
|
import { Readable } from "stream";
|
|
11752
11752
|
function isNodeReadableStream(x) {
|
|
11753
11753
|
return x instanceof Readable;
|
|
@@ -11758,7 +11758,7 @@ function isWebReadableStream(x) {
|
|
|
11758
11758
|
}
|
|
11759
11759
|
__name(isWebReadableStream, "isWebReadableStream");
|
|
11760
11760
|
|
|
11761
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11761
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/util/typeGuards.js
|
|
11762
11762
|
function isBinaryBody(body) {
|
|
11763
11763
|
return body !== void 0 && (body instanceof Uint8Array || isReadableStream2(body) || typeof body === "function" || body instanceof Blob);
|
|
11764
11764
|
}
|
|
@@ -11772,7 +11772,7 @@ function isBlob(x) {
|
|
|
11772
11772
|
}
|
|
11773
11773
|
__name(isBlob, "isBlob");
|
|
11774
11774
|
|
|
11775
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11775
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/util/concat.js
|
|
11776
11776
|
import { Readable as Readable2 } from "stream";
|
|
11777
11777
|
async function* streamAsyncIterator() {
|
|
11778
11778
|
const reader = this.getReader();
|
|
@@ -11831,7 +11831,7 @@ async function concat(sources) {
|
|
|
11831
11831
|
}
|
|
11832
11832
|
__name(concat, "concat");
|
|
11833
11833
|
|
|
11834
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11834
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/multipartPolicy.js
|
|
11835
11835
|
function generateBoundary() {
|
|
11836
11836
|
return `----AzSDKFormBoundary${randomUUID()}`;
|
|
11837
11837
|
}
|
|
@@ -11935,7 +11935,7 @@ function multipartPolicy() {
|
|
|
11935
11935
|
}
|
|
11936
11936
|
__name(multipartPolicy, "multipartPolicy");
|
|
11937
11937
|
|
|
11938
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11938
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/createPipelineFromOptions.js
|
|
11939
11939
|
function createPipelineFromOptions(options) {
|
|
11940
11940
|
const pipeline = createEmptyPipeline();
|
|
11941
11941
|
addPlatformPolicies(pipeline, options);
|
|
@@ -11948,7 +11948,7 @@ function createPipelineFromOptions(options) {
|
|
|
11948
11948
|
}
|
|
11949
11949
|
__name(createPipelineFromOptions, "createPipelineFromOptions");
|
|
11950
11950
|
|
|
11951
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11951
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/apiVersionPolicy.js
|
|
11952
11952
|
var apiVersionPolicyName = "ApiVersionPolicy";
|
|
11953
11953
|
function apiVersionPolicy(options) {
|
|
11954
11954
|
return {
|
|
@@ -11964,7 +11964,7 @@ function apiVersionPolicy(options) {
|
|
|
11964
11964
|
}
|
|
11965
11965
|
__name(apiVersionPolicy, "apiVersionPolicy");
|
|
11966
11966
|
|
|
11967
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11967
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/auth/credentials.js
|
|
11968
11968
|
function isOAuth2TokenCredential(credential) {
|
|
11969
11969
|
return "getOAuth2Token" in credential;
|
|
11970
11970
|
}
|
|
@@ -11982,7 +11982,7 @@ function isApiKeyCredential(credential) {
|
|
|
11982
11982
|
}
|
|
11983
11983
|
__name(isApiKeyCredential, "isApiKeyCredential");
|
|
11984
11984
|
|
|
11985
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11985
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/auth/checkInsecureConnection.js
|
|
11986
11986
|
var insecureConnectionWarningEmmitted = false;
|
|
11987
11987
|
function allowInsecureConnection(request, options) {
|
|
11988
11988
|
if (options.allowInsecureConnection && request.allowInsecureConnection) {
|
|
@@ -12014,7 +12014,7 @@ function ensureSecureConnection(request, options) {
|
|
|
12014
12014
|
}
|
|
12015
12015
|
__name(ensureSecureConnection, "ensureSecureConnection");
|
|
12016
12016
|
|
|
12017
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12017
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/auth/apiKeyAuthenticationPolicy.js
|
|
12018
12018
|
var apiKeyAuthenticationPolicyName = "apiKeyAuthenticationPolicy";
|
|
12019
12019
|
function apiKeyAuthenticationPolicy(options) {
|
|
12020
12020
|
return {
|
|
@@ -12035,7 +12035,7 @@ function apiKeyAuthenticationPolicy(options) {
|
|
|
12035
12035
|
}
|
|
12036
12036
|
__name(apiKeyAuthenticationPolicy, "apiKeyAuthenticationPolicy");
|
|
12037
12037
|
|
|
12038
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12038
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/auth/basicAuthenticationPolicy.js
|
|
12039
12039
|
var basicAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
12040
12040
|
function basicAuthenticationPolicy(options) {
|
|
12041
12041
|
return {
|
|
@@ -12055,7 +12055,7 @@ function basicAuthenticationPolicy(options) {
|
|
|
12055
12055
|
}
|
|
12056
12056
|
__name(basicAuthenticationPolicy, "basicAuthenticationPolicy");
|
|
12057
12057
|
|
|
12058
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12058
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/auth/bearerAuthenticationPolicy.js
|
|
12059
12059
|
var bearerAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
12060
12060
|
function bearerAuthenticationPolicy(options) {
|
|
12061
12061
|
return {
|
|
@@ -12076,7 +12076,7 @@ function bearerAuthenticationPolicy(options) {
|
|
|
12076
12076
|
}
|
|
12077
12077
|
__name(bearerAuthenticationPolicy, "bearerAuthenticationPolicy");
|
|
12078
12078
|
|
|
12079
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12079
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/policies/auth/oauth2AuthenticationPolicy.js
|
|
12080
12080
|
var oauth2AuthenticationPolicyName = "oauth2AuthenticationPolicy";
|
|
12081
12081
|
function oauth2AuthenticationPolicy(options) {
|
|
12082
12082
|
return {
|
|
@@ -12097,7 +12097,7 @@ function oauth2AuthenticationPolicy(options) {
|
|
|
12097
12097
|
}
|
|
12098
12098
|
__name(oauth2AuthenticationPolicy, "oauth2AuthenticationPolicy");
|
|
12099
12099
|
|
|
12100
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12100
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/clientHelpers.js
|
|
12101
12101
|
var cachedHttpClient;
|
|
12102
12102
|
function createDefaultPipeline(options = {}) {
|
|
12103
12103
|
const pipeline = createPipelineFromOptions(options);
|
|
@@ -12125,7 +12125,7 @@ function getCachedDefaultHttpsClient() {
|
|
|
12125
12125
|
}
|
|
12126
12126
|
__name(getCachedDefaultHttpsClient, "getCachedDefaultHttpsClient");
|
|
12127
12127
|
|
|
12128
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12128
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/multipart.js
|
|
12129
12129
|
function getHeaderValue(descriptor, headerName) {
|
|
12130
12130
|
if (descriptor.headers) {
|
|
12131
12131
|
const actualHeaderName = Object.keys(descriptor.headers).find((x) => x.toLowerCase() === headerName.toLowerCase());
|
|
@@ -12233,7 +12233,7 @@ function buildMultipartBody(parts) {
|
|
|
12233
12233
|
}
|
|
12234
12234
|
__name(buildMultipartBody, "buildMultipartBody");
|
|
12235
12235
|
|
|
12236
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12236
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/sendRequest.js
|
|
12237
12237
|
async function sendRequest(method, url2, pipeline, options = {}, customHttpClient) {
|
|
12238
12238
|
const httpClient = customHttpClient ?? getCachedDefaultHttpsClient();
|
|
12239
12239
|
const request = buildPipelineRequest(method, url2, options);
|
|
@@ -12297,14 +12297,15 @@ __name(getContentType, "getContentType");
|
|
|
12297
12297
|
function buildPipelineRequest(method, url2, options = {}) {
|
|
12298
12298
|
const requestContentType = getRequestContentType(options);
|
|
12299
12299
|
const { body, multipartBody } = getRequestBody(options.body, requestContentType);
|
|
12300
|
+
const accept = options.accept ?? options.headers?.accept ?? (options.noDefaultAcceptHeader ? void 0 : "application/json");
|
|
12300
12301
|
const headers = createHttpHeaders({
|
|
12301
12302
|
...options.headers ? options.headers : {},
|
|
12302
|
-
accept
|
|
12303
|
+
...accept !== void 0 && { accept },
|
|
12303
12304
|
...requestContentType && {
|
|
12304
12305
|
"content-type": requestContentType
|
|
12305
12306
|
}
|
|
12306
12307
|
});
|
|
12307
|
-
const { allowInsecureConnection: allowInsecureConnection2, abortSignal, onUploadProgress, onDownloadProgress, timeout, responseAsStream, url: _url, method: _method, body: _body, multipartBody: _multiBody, headers: _headers, ...rest } = options;
|
|
12308
|
+
const { allowInsecureConnection: allowInsecureConnection2, abortSignal, onUploadProgress, onDownloadProgress, timeout, responseAsStream, noDefaultAcceptHeader: _noDefaultAcceptHeader, url: _url, method: _method, body: _body, multipartBody: _multiBody, headers: _headers, ...rest } = options;
|
|
12308
12309
|
const request = createPipelineRequest({
|
|
12309
12310
|
url: url2,
|
|
12310
12311
|
method,
|
|
@@ -12392,7 +12393,7 @@ function createParseError(response, err) {
|
|
|
12392
12393
|
}
|
|
12393
12394
|
__name(createParseError, "createParseError");
|
|
12394
12395
|
|
|
12395
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12396
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/urlHelpers.js
|
|
12396
12397
|
function isQueryParameterWithOptions(x) {
|
|
12397
12398
|
if (typeof x !== "object" || x === null || !Object.hasOwn(x, "value")) {
|
|
12398
12399
|
return false;
|
|
@@ -12591,7 +12592,7 @@ function replaceAll(value, searchValue, replaceValue) {
|
|
|
12591
12592
|
}
|
|
12592
12593
|
__name(replaceAll, "replaceAll");
|
|
12593
12594
|
|
|
12594
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12595
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/getClient.js
|
|
12595
12596
|
function getClient(endpoint, clientOptions = {}) {
|
|
12596
12597
|
const pipeline = clientOptions.pipeline ?? createDefaultPipeline(clientOptions);
|
|
12597
12598
|
if (clientOptions.additionalPolicies?.length) {
|
|
@@ -12602,34 +12603,35 @@ function getClient(endpoint, clientOptions = {}) {
|
|
|
12602
12603
|
});
|
|
12603
12604
|
}
|
|
12604
12605
|
}
|
|
12606
|
+
const noDefaultAcceptHeader = clientOptions.internal?.noDefaultAcceptHeader ?? false;
|
|
12605
12607
|
const { allowInsecureConnection: allowInsecureConnection2, httpClient } = clientOptions;
|
|
12606
12608
|
const endpointUrl = clientOptions.endpoint ?? endpoint;
|
|
12607
12609
|
const client = /* @__PURE__ */ __name((path, ...args) => {
|
|
12608
12610
|
const getUrl2 = /* @__PURE__ */ __name((requestOptions) => buildRequestUrl(endpointUrl, path, args, { allowInsecureConnection: allowInsecureConnection2, ...requestOptions }), "getUrl");
|
|
12609
12611
|
return {
|
|
12610
12612
|
get: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12611
|
-
return buildOperation("GET", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12613
|
+
return buildOperation("GET", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12612
12614
|
}, "get"),
|
|
12613
12615
|
post: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12614
|
-
return buildOperation("POST", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12616
|
+
return buildOperation("POST", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12615
12617
|
}, "post"),
|
|
12616
12618
|
put: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12617
|
-
return buildOperation("PUT", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12619
|
+
return buildOperation("PUT", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12618
12620
|
}, "put"),
|
|
12619
12621
|
patch: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12620
|
-
return buildOperation("PATCH", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12622
|
+
return buildOperation("PATCH", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12621
12623
|
}, "patch"),
|
|
12622
12624
|
delete: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12623
|
-
return buildOperation("DELETE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12625
|
+
return buildOperation("DELETE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12624
12626
|
}, "delete"),
|
|
12625
12627
|
head: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12626
|
-
return buildOperation("HEAD", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12628
|
+
return buildOperation("HEAD", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12627
12629
|
}, "head"),
|
|
12628
12630
|
options: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12629
|
-
return buildOperation("OPTIONS", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12631
|
+
return buildOperation("OPTIONS", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12630
12632
|
}, "options"),
|
|
12631
12633
|
trace: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12632
|
-
return buildOperation("TRACE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12634
|
+
return buildOperation("TRACE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12633
12635
|
}, "trace")
|
|
12634
12636
|
};
|
|
12635
12637
|
}, "client");
|
|
@@ -12640,22 +12642,22 @@ function getClient(endpoint, clientOptions = {}) {
|
|
|
12640
12642
|
};
|
|
12641
12643
|
}
|
|
12642
12644
|
__name(getClient, "getClient");
|
|
12643
|
-
function buildOperation(method, url2, pipeline, options, allowInsecureConnection2, httpClient) {
|
|
12645
|
+
function buildOperation(method, url2, pipeline, options, allowInsecureConnection2, httpClient, noDefaultAcceptHeader = false) {
|
|
12644
12646
|
allowInsecureConnection2 = options.allowInsecureConnection ?? allowInsecureConnection2;
|
|
12645
12647
|
return {
|
|
12646
12648
|
then: /* @__PURE__ */ __name(function(onFulfilled, onrejected) {
|
|
12647
|
-
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2 }, httpClient).then(onFulfilled, onrejected);
|
|
12649
|
+
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, noDefaultAcceptHeader }, httpClient).then(onFulfilled, onrejected);
|
|
12648
12650
|
}, "then"),
|
|
12649
12651
|
async asBrowserStream() {
|
|
12650
12652
|
if (isNodeLike) {
|
|
12651
12653
|
throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");
|
|
12652
12654
|
} else {
|
|
12653
|
-
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, responseAsStream: true }, httpClient);
|
|
12655
|
+
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, noDefaultAcceptHeader, responseAsStream: true }, httpClient);
|
|
12654
12656
|
}
|
|
12655
12657
|
},
|
|
12656
12658
|
async asNodeStream() {
|
|
12657
12659
|
if (isNodeLike) {
|
|
12658
|
-
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, responseAsStream: true }, httpClient);
|
|
12660
|
+
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, noDefaultAcceptHeader, responseAsStream: true }, httpClient);
|
|
12659
12661
|
} else {
|
|
12660
12662
|
throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.");
|
|
12661
12663
|
}
|
|
@@ -12664,7 +12666,7 @@ function buildOperation(method, url2, pipeline, options, allowInsecureConnection
|
|
|
12664
12666
|
}
|
|
12665
12667
|
__name(buildOperation, "buildOperation");
|
|
12666
12668
|
|
|
12667
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12669
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/operationOptionHelpers.js
|
|
12668
12670
|
function operationOptionsToRequestParameters(options) {
|
|
12669
12671
|
return {
|
|
12670
12672
|
allowInsecureConnection: options.requestOptions?.allowInsecureConnection,
|
|
@@ -12679,7 +12681,7 @@ function operationOptionsToRequestParameters(options) {
|
|
|
12679
12681
|
}
|
|
12680
12682
|
__name(operationOptionsToRequestParameters, "operationOptionsToRequestParameters");
|
|
12681
12683
|
|
|
12682
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12684
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.8-eee6dbdf87/package/dist/esm/client/restError.js
|
|
12683
12685
|
function createRestError(messageOrResponse, response) {
|
|
12684
12686
|
const resp = typeof messageOrResponse === "string" ? response : messageOrResponse;
|
|
12685
12687
|
const internalError = resp.body?.error ?? resp.body;
|
|
@@ -12707,7 +12709,7 @@ function statusCodeToNumber(statusCode) {
|
|
|
12707
12709
|
}
|
|
12708
12710
|
__name(statusCodeToNumber, "statusCodeToNumber");
|
|
12709
12711
|
|
|
12710
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12712
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/pipeline.js
|
|
12711
12713
|
function createEmptyPipeline2() {
|
|
12712
12714
|
return createEmptyPipeline();
|
|
12713
12715
|
}
|
|
@@ -12724,10 +12726,10 @@ function createClientLogger2(namespace) {
|
|
|
12724
12726
|
}
|
|
12725
12727
|
__name(createClientLogger2, "createClientLogger");
|
|
12726
12728
|
|
|
12727
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12729
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/log.js
|
|
12728
12730
|
var logger2 = createClientLogger2("core-rest-pipeline");
|
|
12729
12731
|
|
|
12730
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12732
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/logPolicy.js
|
|
12731
12733
|
function logPolicy2(options = {}) {
|
|
12732
12734
|
return logPolicy({
|
|
12733
12735
|
logger: logger2.info,
|
|
@@ -12736,14 +12738,14 @@ function logPolicy2(options = {}) {
|
|
|
12736
12738
|
}
|
|
12737
12739
|
__name(logPolicy2, "logPolicy");
|
|
12738
12740
|
|
|
12739
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12741
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/redirectPolicy.js
|
|
12740
12742
|
var redirectPolicyName2 = redirectPolicyName;
|
|
12741
12743
|
function redirectPolicy2(options = {}) {
|
|
12742
12744
|
return redirectPolicy(options);
|
|
12743
12745
|
}
|
|
12744
12746
|
__name(redirectPolicy2, "redirectPolicy");
|
|
12745
12747
|
|
|
12746
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12748
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/userAgentPlatform.js
|
|
12747
12749
|
import os2 from "node:os";
|
|
12748
12750
|
import process5 from "node:process";
|
|
12749
12751
|
function getHeaderName2() {
|
|
@@ -12764,10 +12766,10 @@ async function setPlatformSpecificData2(map) {
|
|
|
12764
12766
|
}
|
|
12765
12767
|
__name(setPlatformSpecificData2, "setPlatformSpecificData");
|
|
12766
12768
|
|
|
12767
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12768
|
-
var SDK_VERSION2 = "1.
|
|
12769
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/constants.js
|
|
12770
|
+
var SDK_VERSION2 = "1.25.0";
|
|
12769
12771
|
|
|
12770
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12772
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/userAgent.js
|
|
12771
12773
|
function getUserAgentString2(telemetryInfo) {
|
|
12772
12774
|
const parts = [];
|
|
12773
12775
|
for (const [key, value] of telemetryInfo) {
|
|
@@ -12791,7 +12793,7 @@ async function getUserAgentValue2(prefix) {
|
|
|
12791
12793
|
}
|
|
12792
12794
|
__name(getUserAgentValue2, "getUserAgentValue");
|
|
12793
12795
|
|
|
12794
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12796
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/userAgentPolicy.js
|
|
12795
12797
|
var UserAgentHeaderName2 = getUserAgentHeaderName2();
|
|
12796
12798
|
var userAgentPolicyName2 = "userAgentPolicy";
|
|
12797
12799
|
function userAgentPolicy2(options = {}) {
|
|
@@ -12808,7 +12810,7 @@ function userAgentPolicy2(options = {}) {
|
|
|
12808
12810
|
}
|
|
12809
12811
|
__name(userAgentPolicy2, "userAgentPolicy");
|
|
12810
12812
|
|
|
12811
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12813
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/file.js
|
|
12812
12814
|
var rawContent = /* @__PURE__ */ Symbol("rawContent");
|
|
12813
12815
|
function hasRawContent(x) {
|
|
12814
12816
|
return typeof x[rawContent] === "function";
|
|
@@ -12823,7 +12825,7 @@ function getRawContent(blob) {
|
|
|
12823
12825
|
}
|
|
12824
12826
|
__name(getRawContent, "getRawContent");
|
|
12825
12827
|
|
|
12826
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12828
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/multipartPolicy.js
|
|
12827
12829
|
var multipartPolicyName2 = multipartPolicyName;
|
|
12828
12830
|
function multipartPolicy2() {
|
|
12829
12831
|
const tspPolicy = multipartPolicy();
|
|
@@ -12843,25 +12845,25 @@ function multipartPolicy2() {
|
|
|
12843
12845
|
}
|
|
12844
12846
|
__name(multipartPolicy2, "multipartPolicy");
|
|
12845
12847
|
|
|
12846
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12848
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/decompressResponsePolicy.js
|
|
12847
12849
|
function decompressResponsePolicy2() {
|
|
12848
12850
|
return decompressResponsePolicy();
|
|
12849
12851
|
}
|
|
12850
12852
|
__name(decompressResponsePolicy2, "decompressResponsePolicy");
|
|
12851
12853
|
|
|
12852
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12854
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/defaultRetryPolicy.js
|
|
12853
12855
|
function defaultRetryPolicy2(options = {}) {
|
|
12854
12856
|
return defaultRetryPolicy(options);
|
|
12855
12857
|
}
|
|
12856
12858
|
__name(defaultRetryPolicy2, "defaultRetryPolicy");
|
|
12857
12859
|
|
|
12858
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12860
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/formDataPolicy.js
|
|
12859
12861
|
function formDataPolicy2() {
|
|
12860
12862
|
return formDataPolicy();
|
|
12861
12863
|
}
|
|
12862
12864
|
__name(formDataPolicy2, "formDataPolicy");
|
|
12863
12865
|
|
|
12864
|
-
// ../../node_modules/.store/@azure-abort-controller-npm-2.
|
|
12866
|
+
// ../../node_modules/.store/@azure-abort-controller-npm-2.2.0-fa90a83fc2/package/dist/esm/AbortError.js
|
|
12865
12867
|
var AbortError2 = class extends Error {
|
|
12866
12868
|
static {
|
|
12867
12869
|
__name(this, "AbortError");
|
|
@@ -12872,7 +12874,7 @@ var AbortError2 = class extends Error {
|
|
|
12872
12874
|
}
|
|
12873
12875
|
};
|
|
12874
12876
|
|
|
12875
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12877
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/createAbortablePromise.js
|
|
12876
12878
|
function createAbortablePromise(buildPromise, options) {
|
|
12877
12879
|
const { cleanupBeforeAbort, abortSignal, abortErrorMsg } = options ?? {};
|
|
12878
12880
|
return new Promise((resolve, reject) => {
|
|
@@ -12909,7 +12911,7 @@ function createAbortablePromise(buildPromise, options) {
|
|
|
12909
12911
|
}
|
|
12910
12912
|
__name(createAbortablePromise, "createAbortablePromise");
|
|
12911
12913
|
|
|
12912
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12914
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/delay.js
|
|
12913
12915
|
var StandardAbortMessage2 = "The delay was aborted.";
|
|
12914
12916
|
function delay2(timeInMs, options) {
|
|
12915
12917
|
let token;
|
|
@@ -12924,7 +12926,7 @@ function delay2(timeInMs, options) {
|
|
|
12924
12926
|
}
|
|
12925
12927
|
__name(delay2, "delay");
|
|
12926
12928
|
|
|
12927
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12929
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/error.js
|
|
12928
12930
|
function getErrorMessage(e) {
|
|
12929
12931
|
if (isError(e)) {
|
|
12930
12932
|
return e.message;
|
|
@@ -12944,7 +12946,7 @@ function getErrorMessage(e) {
|
|
|
12944
12946
|
}
|
|
12945
12947
|
__name(getErrorMessage, "getErrorMessage");
|
|
12946
12948
|
|
|
12947
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12949
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/typeGuards.js
|
|
12948
12950
|
function isDefined(thing) {
|
|
12949
12951
|
return typeof thing !== "undefined" && thing !== null;
|
|
12950
12952
|
}
|
|
@@ -12966,7 +12968,7 @@ function objectHasProperty(thing, property) {
|
|
|
12966
12968
|
}
|
|
12967
12969
|
__name(objectHasProperty, "objectHasProperty");
|
|
12968
12970
|
|
|
12969
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12971
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/index.js
|
|
12970
12972
|
function isError2(e) {
|
|
12971
12973
|
return isError(e);
|
|
12972
12974
|
}
|
|
@@ -12981,13 +12983,13 @@ function stringToUint8Array2(value, format) {
|
|
|
12981
12983
|
}
|
|
12982
12984
|
__name(stringToUint8Array2, "stringToUint8Array");
|
|
12983
12985
|
|
|
12984
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12986
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/proxyPolicy.js
|
|
12985
12987
|
function proxyPolicy2(proxySettings, options) {
|
|
12986
12988
|
return proxyPolicy(proxySettings, options);
|
|
12987
12989
|
}
|
|
12988
12990
|
__name(proxyPolicy2, "proxyPolicy");
|
|
12989
12991
|
|
|
12990
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12992
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/setClientRequestIdPolicy.js
|
|
12991
12993
|
var setClientRequestIdPolicyName = "setClientRequestIdPolicy";
|
|
12992
12994
|
function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") {
|
|
12993
12995
|
return {
|
|
@@ -13002,19 +13004,19 @@ function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id"
|
|
|
13002
13004
|
}
|
|
13003
13005
|
__name(setClientRequestIdPolicy, "setClientRequestIdPolicy");
|
|
13004
13006
|
|
|
13005
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13007
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/agentPolicy.js
|
|
13006
13008
|
function agentPolicy2(agent) {
|
|
13007
13009
|
return agentPolicy(agent);
|
|
13008
13010
|
}
|
|
13009
13011
|
__name(agentPolicy2, "agentPolicy");
|
|
13010
13012
|
|
|
13011
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13013
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/tlsPolicy.js
|
|
13012
13014
|
function tlsPolicy2(tlsSettings) {
|
|
13013
13015
|
return tlsPolicy(tlsSettings);
|
|
13014
13016
|
}
|
|
13015
13017
|
__name(tlsPolicy2, "tlsPolicy");
|
|
13016
13018
|
|
|
13017
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13019
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/tracingContext.js
|
|
13018
13020
|
var knownContextKeys = {
|
|
13019
13021
|
span: /* @__PURE__ */ Symbol.for("@azure/core-tracing span"),
|
|
13020
13022
|
namespace: /* @__PURE__ */ Symbol.for("@azure/core-tracing namespace")
|
|
@@ -13053,11 +13055,11 @@ var TracingContextImpl = class _TracingContextImpl {
|
|
|
13053
13055
|
}
|
|
13054
13056
|
};
|
|
13055
13057
|
|
|
13056
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13057
|
-
var
|
|
13058
|
-
var state =
|
|
13058
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/state.js
|
|
13059
|
+
var import_state_cjs = __toESM(require_state_cjs(), 1);
|
|
13060
|
+
var state = import_state_cjs.state;
|
|
13059
13061
|
|
|
13060
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13062
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/instrumenter.js
|
|
13061
13063
|
function createDefaultTracingSpan() {
|
|
13062
13064
|
return {
|
|
13063
13065
|
end: /* @__PURE__ */ __name(() => {
|
|
@@ -13102,7 +13104,7 @@ function getInstrumenter() {
|
|
|
13102
13104
|
}
|
|
13103
13105
|
__name(getInstrumenter, "getInstrumenter");
|
|
13104
13106
|
|
|
13105
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13107
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/tracingClient.js
|
|
13106
13108
|
function createTracingClient(options) {
|
|
13107
13109
|
const { namespace, packageName, packageVersion: packageVersion2 } = options;
|
|
13108
13110
|
function startSpan(name, operationOptions, spanOptions) {
|
|
@@ -13130,7 +13132,7 @@ function createTracingClient(options) {
|
|
|
13130
13132
|
async function withSpan(name, operationOptions, callback, spanOptions) {
|
|
13131
13133
|
const { span, updatedOptions } = startSpan(name, operationOptions, spanOptions);
|
|
13132
13134
|
try {
|
|
13133
|
-
const result = await withContext(updatedOptions.tracingOptions.tracingContext, () =>
|
|
13135
|
+
const result = await withContext(updatedOptions.tracingOptions.tracingContext, () => callback(updatedOptions, span));
|
|
13134
13136
|
span.setStatus({ status: "success" });
|
|
13135
13137
|
return result;
|
|
13136
13138
|
} catch (err) {
|
|
@@ -13163,13 +13165,13 @@ function createTracingClient(options) {
|
|
|
13163
13165
|
}
|
|
13164
13166
|
__name(createTracingClient, "createTracingClient");
|
|
13165
13167
|
|
|
13166
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13168
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/restError.js
|
|
13167
13169
|
function isRestError2(e) {
|
|
13168
13170
|
return isRestError(e);
|
|
13169
13171
|
}
|
|
13170
13172
|
__name(isRestError2, "isRestError");
|
|
13171
13173
|
|
|
13172
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13174
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/tracingPolicy.js
|
|
13173
13175
|
var tracingPolicyName = "tracingPolicy";
|
|
13174
13176
|
function tracingPolicy(options = {}) {
|
|
13175
13177
|
const userAgentPromise = getUserAgentValue2(options.userAgentPrefix);
|
|
@@ -13277,7 +13279,7 @@ function tryProcessResponse(span, response) {
|
|
|
13277
13279
|
}
|
|
13278
13280
|
__name(tryProcessResponse, "tryProcessResponse");
|
|
13279
13281
|
|
|
13280
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13282
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/wrapAbortSignal.js
|
|
13281
13283
|
function wrapAbortSignalLike(abortSignalLike) {
|
|
13282
13284
|
if (abortSignalLike instanceof AbortSignal) {
|
|
13283
13285
|
return { abortSignal: abortSignalLike };
|
|
@@ -13306,7 +13308,7 @@ function wrapAbortSignalLike(abortSignalLike) {
|
|
|
13306
13308
|
}
|
|
13307
13309
|
__name(wrapAbortSignalLike, "wrapAbortSignalLike");
|
|
13308
13310
|
|
|
13309
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13311
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
|
|
13310
13312
|
var wrapAbortSignalLikePolicyName = "wrapAbortSignalLikePolicy";
|
|
13311
13313
|
function wrapAbortSignalLikePolicy() {
|
|
13312
13314
|
return {
|
|
@@ -13327,7 +13329,7 @@ function wrapAbortSignalLikePolicy() {
|
|
|
13327
13329
|
}
|
|
13328
13330
|
__name(wrapAbortSignalLikePolicy, "wrapAbortSignalLikePolicy");
|
|
13329
13331
|
|
|
13330
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13332
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/createPipelineFromOptions.js
|
|
13331
13333
|
function createPipelineFromOptions2(options) {
|
|
13332
13334
|
const pipeline = createEmptyPipeline2();
|
|
13333
13335
|
if (isNodeLike2) {
|
|
@@ -13357,7 +13359,7 @@ function createPipelineFromOptions2(options) {
|
|
|
13357
13359
|
}
|
|
13358
13360
|
__name(createPipelineFromOptions2, "createPipelineFromOptions");
|
|
13359
13361
|
|
|
13360
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13362
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/defaultHttpClient.js
|
|
13361
13363
|
function createDefaultHttpClient2() {
|
|
13362
13364
|
const client = createDefaultHttpClient();
|
|
13363
13365
|
return {
|
|
@@ -13374,16 +13376,16 @@ function createDefaultHttpClient2() {
|
|
|
13374
13376
|
}
|
|
13375
13377
|
__name(createDefaultHttpClient2, "createDefaultHttpClient");
|
|
13376
13378
|
|
|
13377
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13379
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/pipelineRequest.js
|
|
13378
13380
|
function createPipelineRequest2(options) {
|
|
13379
13381
|
return createPipelineRequest(options);
|
|
13380
13382
|
}
|
|
13381
13383
|
__name(createPipelineRequest2, "createPipelineRequest");
|
|
13382
13384
|
|
|
13383
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13385
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/retryPolicy.js
|
|
13384
13386
|
var retryPolicyLogger2 = createClientLogger2("core-rest-pipeline retryPolicy");
|
|
13385
13387
|
|
|
13386
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13388
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/tokenCycler.js
|
|
13387
13389
|
var DEFAULT_CYCLER_OPTIONS = {
|
|
13388
13390
|
forcedRefreshWindowInMs: 1e3,
|
|
13389
13391
|
// Force waiting for a refresh 1s before the token expires
|
|
@@ -13497,7 +13499,7 @@ function createTokenCycler(credential, tokenCyclerOptions) {
|
|
|
13497
13499
|
}
|
|
13498
13500
|
__name(createTokenCycler, "createTokenCycler");
|
|
13499
13501
|
|
|
13500
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13502
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
|
|
13501
13503
|
var bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy";
|
|
13502
13504
|
async function trySendRequest(request, next) {
|
|
13503
13505
|
try {
|
|
@@ -13675,7 +13677,7 @@ __name(getCaeChallengeClaims, "getCaeChallengeClaims");
|
|
|
13675
13677
|
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/logger.js
|
|
13676
13678
|
var logger3 = createClientLogger2("monitor-opentelemetry-exporter");
|
|
13677
13679
|
|
|
13678
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13680
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.8.0-13900df967/package/dist/esm/restError.js
|
|
13679
13681
|
function createRestError2(messageOrResponse, response) {
|
|
13680
13682
|
if (typeof messageOrResponse === "string") {
|
|
13681
13683
|
return createRestError(messageOrResponse, response);
|
|
@@ -13685,20 +13687,20 @@ function createRestError2(messageOrResponse, response) {
|
|
|
13685
13687
|
}
|
|
13686
13688
|
__name(createRestError2, "createRestError");
|
|
13687
13689
|
|
|
13688
|
-
// ../../node_modules/.store/@azure-core-auth-npm-1.
|
|
13690
|
+
// ../../node_modules/.store/@azure-core-auth-npm-1.11.0-35b82438f9/package/dist/esm/keyCredential.js
|
|
13689
13691
|
function isKeyCredential(credential) {
|
|
13690
13692
|
return isObjectWithProperties(credential, ["key"]) && typeof credential.key === "string";
|
|
13691
13693
|
}
|
|
13692
13694
|
__name(isKeyCredential, "isKeyCredential");
|
|
13693
13695
|
|
|
13694
|
-
// ../../node_modules/.store/@azure-core-auth-npm-1.
|
|
13696
|
+
// ../../node_modules/.store/@azure-core-auth-npm-1.11.0-35b82438f9/package/dist/esm/tokenCredential.js
|
|
13695
13697
|
function isTokenCredential(credential) {
|
|
13696
13698
|
const castCredential = credential;
|
|
13697
13699
|
return castCredential && typeof castCredential.getToken === "function" && (castCredential.signRequest === void 0 || castCredential.getToken.length > 0);
|
|
13698
13700
|
}
|
|
13699
13701
|
__name(isTokenCredential, "isTokenCredential");
|
|
13700
13702
|
|
|
13701
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13703
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.8.0-13900df967/package/dist/esm/apiVersionPolicy.js
|
|
13702
13704
|
var apiVersionPolicyName2 = "ApiVersionPolicy";
|
|
13703
13705
|
function apiVersionPolicy2(options) {
|
|
13704
13706
|
return {
|
|
@@ -13714,7 +13716,7 @@ function apiVersionPolicy2(options) {
|
|
|
13714
13716
|
}
|
|
13715
13717
|
__name(apiVersionPolicy2, "apiVersionPolicy");
|
|
13716
13718
|
|
|
13717
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13719
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.8.0-13900df967/package/dist/esm/keyCredentialAuthenticationPolicy.js
|
|
13718
13720
|
var keyCredentialAuthenticationPolicyName = "keyCredentialAuthenticationPolicy";
|
|
13719
13721
|
function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
13720
13722
|
return {
|
|
@@ -13727,7 +13729,7 @@ function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
|
13727
13729
|
}
|
|
13728
13730
|
__name(keyCredentialAuthenticationPolicy, "keyCredentialAuthenticationPolicy");
|
|
13729
13731
|
|
|
13730
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13732
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.8.0-13900df967/package/dist/esm/clientHelpers.js
|
|
13731
13733
|
function addCredentialPipelinePolicy(pipeline, endpoint, options = {}) {
|
|
13732
13734
|
const { credential, clientOptions } = options;
|
|
13733
13735
|
if (!credential) {
|
|
@@ -13760,7 +13762,7 @@ function isKeyCredential2(credential) {
|
|
|
13760
13762
|
}
|
|
13761
13763
|
__name(isKeyCredential2, "isKeyCredential");
|
|
13762
13764
|
|
|
13763
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13765
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.8.0-13900df967/package/dist/esm/operationOptionHelpers.js
|
|
13764
13766
|
function operationOptionsToRequestParameters2(options) {
|
|
13765
13767
|
const tspRequestParameters = operationOptionsToRequestParameters(options);
|
|
13766
13768
|
return {
|
|
@@ -13770,7 +13772,7 @@ function operationOptionsToRequestParameters2(options) {
|
|
|
13770
13772
|
}
|
|
13771
13773
|
__name(operationOptionsToRequestParameters2, "operationOptionsToRequestParameters");
|
|
13772
13774
|
|
|
13773
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13775
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.8.0-13900df967/package/dist/esm/getClient.js
|
|
13774
13776
|
function wrapRequestParameters(parameters) {
|
|
13775
13777
|
if (parameters.onResponse) {
|
|
13776
13778
|
return {
|
|
@@ -16302,7 +16304,7 @@ var AzureMonitorStatsbeatExporter = class extends AzureMonitorBaseExporter {
|
|
|
16302
16304
|
*/
|
|
16303
16305
|
async _getSender() {
|
|
16304
16306
|
if (!this._sender) {
|
|
16305
|
-
const { HttpSender: HttpSender2 } = await import("./httpSender-
|
|
16307
|
+
const { HttpSender: HttpSender2 } = await import("./httpSender-IBZSAY2T.js");
|
|
16306
16308
|
this._sender = new HttpSender2(this._senderOptions);
|
|
16307
16309
|
}
|
|
16308
16310
|
return this._sender;
|
|
@@ -16869,7 +16871,7 @@ var BaseSender = class {
|
|
|
16869
16871
|
}
|
|
16870
16872
|
}
|
|
16871
16873
|
if (!this.customerSDKStatsMetrics) {
|
|
16872
|
-
import("./customerSDKStats-
|
|
16874
|
+
import("./customerSDKStats-HZG4O57K.js").then((module) => module.CustomerSDKStatsMetrics.getInstance({
|
|
16873
16875
|
instrumentationKey: options.instrumentationKey,
|
|
16874
16876
|
endpointUrl: options.endpointUrl,
|
|
16875
16877
|
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-CQ67U475.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-FPYAC37F.js");
|
|
93
93
|
const customerStatsExporterConfig = {
|
|
94
94
|
connectionString: `InstrumentationKey=${options.instrumentationKey};IngestionEndpoint=${options.endpointUrl}`
|
|
95
95
|
};
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/telemetry",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.7",
|
|
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.1.
|
|
28
|
+
"@ms-cloudpack/environment": "^0.1.8",
|
|
29
29
|
"@ms-cloudpack/eslint-plugin-internal": "^0.0.1",
|
|
30
|
-
"@ms-cloudpack/package-utilities": "^13.8.
|
|
30
|
+
"@ms-cloudpack/package-utilities": "^13.8.9",
|
|
31
31
|
"@ms-cloudpack/scripts": "^0.0.1",
|
|
32
32
|
"@opentelemetry/api": "1.9.1",
|
|
33
33
|
"@opentelemetry/context-async-hooks": "2.8.0",
|