@oxagen/cli 2.1.4-474 → 2.1.4-489
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/oxagen.mjs +526 -262
- package/package.json +1 -1
package/oxagen.mjs
CHANGED
|
@@ -23363,7 +23363,7 @@ import { readFileSync as readFileSync11 } from "node:fs";
|
|
|
23363
23363
|
import { dirname as dirname8, resolve as resolve2 } from "node:path";
|
|
23364
23364
|
import { fileURLToPath } from "node:url";
|
|
23365
23365
|
function readVersion() {
|
|
23366
|
-
if (true) return "2.1.4-
|
|
23366
|
+
if (true) return "2.1.4-489";
|
|
23367
23367
|
try {
|
|
23368
23368
|
const here = dirname8(fileURLToPath(import.meta.url));
|
|
23369
23369
|
const pkg = JSON.parse(
|
|
@@ -52035,7 +52035,7 @@ var init_package = __esm({
|
|
|
52035
52035
|
"package.json"() {
|
|
52036
52036
|
package_default = {
|
|
52037
52037
|
name: "@oxagen/cli",
|
|
52038
|
-
version: "2.1.4-
|
|
52038
|
+
version: "2.1.4-489",
|
|
52039
52039
|
description: "Oxagen governance CLI \u2014 spend, lineage, grounding, credentials, and audit (agentic coding lives in the stella CLI)",
|
|
52040
52040
|
type: "module",
|
|
52041
52041
|
main: "./dist/index.js",
|
|
@@ -69372,10 +69372,24 @@ var init_evidence = __esm({
|
|
|
69372
69372
|
});
|
|
69373
69373
|
|
|
69374
69374
|
// ../../packages/tacho/src/session-subject.ts
|
|
69375
|
-
var GITHUB_REF_SOURCE;
|
|
69375
|
+
var ENRICHMENT_BUDGET_NOTE, ENRICHMENT_LIMIT_NOTE, PARTIAL_NOTE_HEAD, PARTIAL_NOTE_TAIL, escapeRegExp2, NOTE_SOURCE, TRAILING_NOTES, GITHUB_REF_SOURCE;
|
|
69376
69376
|
var init_session_subject = __esm({
|
|
69377
69377
|
"../../packages/tacho/src/session-subject.ts"() {
|
|
69378
69378
|
"use strict";
|
|
69379
|
+
ENRICHMENT_BUDGET_NOTE = " The account covers only the start of the run: its enrichment budget ran out before the rest was read.";
|
|
69380
|
+
ENRICHMENT_LIMIT_NOTE = " The account covers only the start of the run because its transcript reached a read limit.";
|
|
69381
|
+
PARTIAL_NOTE_HEAD = "Evidence is partial: ";
|
|
69382
|
+
PARTIAL_NOTE_TAIL = " recorded bodies were unavailable.";
|
|
69383
|
+
escapeRegExp2 = (text4) => text4.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
|
|
69384
|
+
NOTE_SOURCE = [
|
|
69385
|
+
`${escapeRegExp2(PARTIAL_NOTE_HEAD)}\\d+${escapeRegExp2(PARTIAL_NOTE_TAIL)}`,
|
|
69386
|
+
escapeRegExp2(ENRICHMENT_BUDGET_NOTE.trim()),
|
|
69387
|
+
escapeRegExp2(ENRICHMENT_LIMIT_NOTE.trim())
|
|
69388
|
+
].join("|");
|
|
69389
|
+
TRAILING_NOTES = new RegExp(
|
|
69390
|
+
`(?:^|\\s)((?:${NOTE_SOURCE})(?:\\s(?:${NOTE_SOURCE}))*)$`,
|
|
69391
|
+
"u"
|
|
69392
|
+
);
|
|
69379
69393
|
GITHUB_REF_SOURCE = String.raw`\bhttps?:\/\/(?:www\.)?github\.com\/[\w.-]+\/[\w.-]+\/(pull|issues)\/(\d+)\S*`;
|
|
69380
69394
|
}
|
|
69381
69395
|
});
|
|
@@ -70934,11 +70948,11 @@ var init_budget3 = __esm({
|
|
|
70934
70948
|
});
|
|
70935
70949
|
|
|
70936
70950
|
// ../../packages/steering-check/src/checks/compile.ts
|
|
70937
|
-
function
|
|
70951
|
+
function escapeRegExp3(text4) {
|
|
70938
70952
|
return text4.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
70939
70953
|
}
|
|
70940
70954
|
function hasOperation(document, operation) {
|
|
70941
|
-
const name =
|
|
70955
|
+
const name = escapeRegExp3(operation);
|
|
70942
70956
|
const yaml = new RegExp(`^\\s*operationId:\\s*["']?${name}["']?\\s*$`, "m");
|
|
70943
70957
|
const json2 = new RegExp(`"operationId"\\s*:\\s*"${name}"`);
|
|
70944
70958
|
return yaml.test(document) || json2.test(document);
|
|
@@ -93745,9 +93759,9 @@ var init_graphql2 = __esm({
|
|
|
93745
93759
|
}
|
|
93746
93760
|
});
|
|
93747
93761
|
|
|
93748
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
93762
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/constants.js
|
|
93749
93763
|
var require_constants = __commonJS({
|
|
93750
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
93764
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/constants.js"(exports) {
|
|
93751
93765
|
"use strict";
|
|
93752
93766
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
93753
93767
|
exports.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = exports.DEFAULT_MAX_SEND_MESSAGE_LENGTH = exports.Propagate = exports.LogVerbosity = exports.Status = void 0;
|
|
@@ -93791,12 +93805,12 @@ var require_constants = __commonJS({
|
|
|
93791
93805
|
}
|
|
93792
93806
|
});
|
|
93793
93807
|
|
|
93794
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
93808
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/package.json
|
|
93795
93809
|
var require_package = __commonJS({
|
|
93796
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
93810
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/package.json"(exports, module) {
|
|
93797
93811
|
module.exports = {
|
|
93798
93812
|
name: "@grpc/grpc-js",
|
|
93799
|
-
version: "1.14.
|
|
93813
|
+
version: "1.14.5",
|
|
93800
93814
|
description: "gRPC Library for Node - pure JS implementation",
|
|
93801
93815
|
homepage: "https://grpc.io/",
|
|
93802
93816
|
repository: "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
|
@@ -93886,9 +93900,9 @@ var require_package = __commonJS({
|
|
|
93886
93900
|
}
|
|
93887
93901
|
});
|
|
93888
93902
|
|
|
93889
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
93903
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/logging.js
|
|
93890
93904
|
var require_logging = __commonJS({
|
|
93891
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
93905
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/logging.js"(exports) {
|
|
93892
93906
|
"use strict";
|
|
93893
93907
|
var _a2;
|
|
93894
93908
|
var _b2;
|
|
@@ -93969,6 +93983,9 @@ var require_logging = __commonJS({
|
|
|
93969
93983
|
var enabledTracers = /* @__PURE__ */ new Set();
|
|
93970
93984
|
var disabledTracers = /* @__PURE__ */ new Set();
|
|
93971
93985
|
for (const tracerName of tracersString.split(",")) {
|
|
93986
|
+
if (tracerName.length === 0) {
|
|
93987
|
+
continue;
|
|
93988
|
+
}
|
|
93972
93989
|
if (tracerName.startsWith("-")) {
|
|
93973
93990
|
disabledTracers.add(tracerName.substring(1));
|
|
93974
93991
|
} else {
|
|
@@ -93976,20 +93993,24 @@ var require_logging = __commonJS({
|
|
|
93976
93993
|
}
|
|
93977
93994
|
}
|
|
93978
93995
|
var allEnabled = enabledTracers.has("all");
|
|
93996
|
+
var anyTracerEnabled = allEnabled || enabledTracers.size > 0;
|
|
93979
93997
|
function trace(severity, tracer, text4) {
|
|
93980
93998
|
if (isTracerEnabled(tracer)) {
|
|
93981
93999
|
(0, exports.log)(severity, (/* @__PURE__ */ new Date()).toISOString() + " | v" + clientVersion + " " + process_1.pid + " | " + tracer + " | " + text4);
|
|
93982
94000
|
}
|
|
93983
94001
|
}
|
|
93984
94002
|
function isTracerEnabled(tracer) {
|
|
94003
|
+
if (!anyTracerEnabled) {
|
|
94004
|
+
return false;
|
|
94005
|
+
}
|
|
93985
94006
|
return !disabledTracers.has(tracer) && (allEnabled || enabledTracers.has(tracer));
|
|
93986
94007
|
}
|
|
93987
94008
|
}
|
|
93988
94009
|
});
|
|
93989
94010
|
|
|
93990
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94011
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/error.js
|
|
93991
94012
|
var require_error2 = __commonJS({
|
|
93992
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94013
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/error.js"(exports) {
|
|
93993
94014
|
"use strict";
|
|
93994
94015
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
93995
94016
|
exports.getErrorMessage = getErrorMessage;
|
|
@@ -94011,9 +94032,9 @@ var require_error2 = __commonJS({
|
|
|
94011
94032
|
}
|
|
94012
94033
|
});
|
|
94013
94034
|
|
|
94014
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94035
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/metadata.js
|
|
94015
94036
|
var require_metadata = __commonJS({
|
|
94016
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94037
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/metadata.js"(exports) {
|
|
94017
94038
|
"use strict";
|
|
94018
94039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94019
94040
|
exports.Metadata = void 0;
|
|
@@ -94255,9 +94276,9 @@ var require_metadata = __commonJS({
|
|
|
94255
94276
|
}
|
|
94256
94277
|
});
|
|
94257
94278
|
|
|
94258
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94279
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-credentials.js
|
|
94259
94280
|
var require_call_credentials = __commonJS({
|
|
94260
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94281
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-credentials.js"(exports) {
|
|
94261
94282
|
"use strict";
|
|
94262
94283
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94263
94284
|
exports.CallCredentials = void 0;
|
|
@@ -94388,9 +94409,9 @@ var require_call_credentials = __commonJS({
|
|
|
94388
94409
|
}
|
|
94389
94410
|
});
|
|
94390
94411
|
|
|
94391
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94412
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/tls-helpers.js
|
|
94392
94413
|
var require_tls_helpers = __commonJS({
|
|
94393
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94414
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/tls-helpers.js"(exports) {
|
|
94394
94415
|
"use strict";
|
|
94395
94416
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94396
94417
|
exports.CIPHER_SUITES = void 0;
|
|
@@ -94411,9 +94432,9 @@ var require_tls_helpers = __commonJS({
|
|
|
94411
94432
|
}
|
|
94412
94433
|
});
|
|
94413
94434
|
|
|
94414
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94435
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/uri-parser.js
|
|
94415
94436
|
var require_uri_parser = __commonJS({
|
|
94416
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94437
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/uri-parser.js"(exports) {
|
|
94417
94438
|
"use strict";
|
|
94418
94439
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94419
94440
|
exports.parseUri = parseUri;
|
|
@@ -94505,9 +94526,9 @@ var require_uri_parser = __commonJS({
|
|
|
94505
94526
|
}
|
|
94506
94527
|
});
|
|
94507
94528
|
|
|
94508
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94529
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver.js
|
|
94509
94530
|
var require_resolver = __commonJS({
|
|
94510
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94531
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver.js"(exports) {
|
|
94511
94532
|
"use strict";
|
|
94512
94533
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94513
94534
|
exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = void 0;
|
|
@@ -94557,9 +94578,9 @@ var require_resolver = __commonJS({
|
|
|
94557
94578
|
}
|
|
94558
94579
|
});
|
|
94559
94580
|
|
|
94560
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94581
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-credentials.js
|
|
94561
94582
|
var require_channel_credentials = __commonJS({
|
|
94562
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94583
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-credentials.js"(exports) {
|
|
94563
94584
|
"use strict";
|
|
94564
94585
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94565
94586
|
exports.ChannelCredentials = void 0;
|
|
@@ -94953,9 +94974,9 @@ var require_channel_credentials = __commonJS({
|
|
|
94953
94974
|
}
|
|
94954
94975
|
});
|
|
94955
94976
|
|
|
94956
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94977
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer.js
|
|
94957
94978
|
var require_load_balancer = __commonJS({
|
|
94958
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
94979
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer.js"(exports) {
|
|
94959
94980
|
"use strict";
|
|
94960
94981
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
94961
94982
|
exports.createChildChannelControlHelper = createChildChannelControlHelper;
|
|
@@ -95044,9 +95065,9 @@ var require_load_balancer = __commonJS({
|
|
|
95044
95065
|
}
|
|
95045
95066
|
});
|
|
95046
95067
|
|
|
95047
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95068
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/service-config.js
|
|
95048
95069
|
var require_service_config = __commonJS({
|
|
95049
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95070
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/service-config.js"(exports) {
|
|
95050
95071
|
"use strict";
|
|
95051
95072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95052
95073
|
exports.validateRetryThrottling = validateRetryThrottling;
|
|
@@ -95387,9 +95408,9 @@ var require_service_config = __commonJS({
|
|
|
95387
95408
|
}
|
|
95388
95409
|
});
|
|
95389
95410
|
|
|
95390
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95411
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/connectivity-state.js
|
|
95391
95412
|
var require_connectivity_state = __commonJS({
|
|
95392
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95413
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/connectivity-state.js"(exports) {
|
|
95393
95414
|
"use strict";
|
|
95394
95415
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95395
95416
|
exports.ConnectivityState = void 0;
|
|
@@ -95404,9 +95425,9 @@ var require_connectivity_state = __commonJS({
|
|
|
95404
95425
|
}
|
|
95405
95426
|
});
|
|
95406
95427
|
|
|
95407
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95428
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/picker.js
|
|
95408
95429
|
var require_picker = __commonJS({
|
|
95409
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95430
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/picker.js"(exports) {
|
|
95410
95431
|
"use strict";
|
|
95411
95432
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95412
95433
|
exports.QueuePicker = exports.UnavailablePicker = exports.PickResultType = void 0;
|
|
@@ -95465,9 +95486,9 @@ var require_picker = __commonJS({
|
|
|
95465
95486
|
}
|
|
95466
95487
|
});
|
|
95467
95488
|
|
|
95468
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95489
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js
|
|
95469
95490
|
var require_backoff_timeout = __commonJS({
|
|
95470
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95491
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js"(exports) {
|
|
95471
95492
|
"use strict";
|
|
95472
95493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95473
95494
|
exports.BackoffTimeout = void 0;
|
|
@@ -95507,7 +95528,9 @@ var require_backoff_timeout = __commonJS({
|
|
|
95507
95528
|
this.maxDelay = options.maxDelay;
|
|
95508
95529
|
}
|
|
95509
95530
|
}
|
|
95510
|
-
|
|
95531
|
+
if (this.traceEnabled) {
|
|
95532
|
+
this.trace("constructed initialDelay=" + this.initialDelay + " multiplier=" + this.multiplier + " jitter=" + this.jitter + " maxDelay=" + this.maxDelay);
|
|
95533
|
+
}
|
|
95511
95534
|
this.nextDelay = this.initialDelay;
|
|
95512
95535
|
this.timerId = setTimeout(() => {
|
|
95513
95536
|
}, 0);
|
|
@@ -95516,12 +95539,19 @@ var require_backoff_timeout = __commonJS({
|
|
|
95516
95539
|
static getNextId() {
|
|
95517
95540
|
return this.nextId++;
|
|
95518
95541
|
}
|
|
95542
|
+
get traceEnabled() {
|
|
95543
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
95544
|
+
}
|
|
95519
95545
|
trace(text4) {
|
|
95520
|
-
|
|
95546
|
+
if (this.traceEnabled) {
|
|
95547
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, "{" + this.id + "} " + text4);
|
|
95548
|
+
}
|
|
95521
95549
|
}
|
|
95522
95550
|
runTimer(delay) {
|
|
95523
95551
|
var _a2, _b2;
|
|
95524
|
-
this.
|
|
95552
|
+
if (this.traceEnabled) {
|
|
95553
|
+
this.trace("runTimer(delay=" + delay + ")");
|
|
95554
|
+
}
|
|
95525
95555
|
this.endTime = this.startTime;
|
|
95526
95556
|
this.endTime.setMilliseconds(this.endTime.getMilliseconds() + delay);
|
|
95527
95557
|
clearTimeout(this.timerId);
|
|
@@ -95560,7 +95590,9 @@ var require_backoff_timeout = __commonJS({
|
|
|
95560
95590
|
* retroactively apply that reset to the current timer.
|
|
95561
95591
|
*/
|
|
95562
95592
|
reset() {
|
|
95563
|
-
this.
|
|
95593
|
+
if (this.traceEnabled) {
|
|
95594
|
+
this.trace("reset() running=" + this.running);
|
|
95595
|
+
}
|
|
95564
95596
|
this.nextDelay = this.initialDelay;
|
|
95565
95597
|
if (this.running) {
|
|
95566
95598
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -95611,9 +95643,9 @@ var require_backoff_timeout = __commonJS({
|
|
|
95611
95643
|
}
|
|
95612
95644
|
});
|
|
95613
95645
|
|
|
95614
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95646
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js
|
|
95615
95647
|
var require_load_balancer_child_handler = __commonJS({
|
|
95616
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95648
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js"(exports) {
|
|
95617
95649
|
"use strict";
|
|
95618
95650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95619
95651
|
exports.ChildLoadBalancerHandler = void 0;
|
|
@@ -95741,9 +95773,9 @@ var require_load_balancer_child_handler = __commonJS({
|
|
|
95741
95773
|
}
|
|
95742
95774
|
});
|
|
95743
95775
|
|
|
95744
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95776
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js
|
|
95745
95777
|
var require_resolving_load_balancer = __commonJS({
|
|
95746
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
95778
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js"(exports) {
|
|
95747
95779
|
"use strict";
|
|
95748
95780
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95749
95781
|
exports.ResolvingLoadBalancer = void 0;
|
|
@@ -95990,9 +96022,9 @@ var require_resolving_load_balancer = __commonJS({
|
|
|
95990
96022
|
}
|
|
95991
96023
|
});
|
|
95992
96024
|
|
|
95993
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
96025
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-options.js
|
|
95994
96026
|
var require_channel_options = __commonJS({
|
|
95995
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
96027
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel-options.js"(exports) {
|
|
95996
96028
|
"use strict";
|
|
95997
96029
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
95998
96030
|
exports.recognizedOptions = void 0;
|
|
@@ -96048,9 +96080,9 @@ var require_channel_options = __commonJS({
|
|
|
96048
96080
|
}
|
|
96049
96081
|
});
|
|
96050
96082
|
|
|
96051
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
96083
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-address.js
|
|
96052
96084
|
var require_subchannel_address = __commonJS({
|
|
96053
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
96085
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-address.js"(exports) {
|
|
96054
96086
|
"use strict";
|
|
96055
96087
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
96056
96088
|
exports.EndpointMap = void 0;
|
|
@@ -97027,9 +97059,9 @@ var require_cjs = __commonJS({
|
|
|
97027
97059
|
}
|
|
97028
97060
|
});
|
|
97029
97061
|
|
|
97030
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97062
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/admin.js
|
|
97031
97063
|
var require_admin = __commonJS({
|
|
97032
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97064
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/admin.js"(exports) {
|
|
97033
97065
|
"use strict";
|
|
97034
97066
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
97035
97067
|
exports.registerAdminService = registerAdminService;
|
|
@@ -97046,9 +97078,9 @@ var require_admin = __commonJS({
|
|
|
97046
97078
|
}
|
|
97047
97079
|
});
|
|
97048
97080
|
|
|
97049
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97081
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call.js
|
|
97050
97082
|
var require_call = __commonJS({
|
|
97051
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97083
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call.js"(exports) {
|
|
97052
97084
|
"use strict";
|
|
97053
97085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
97054
97086
|
exports.ClientDuplexStreamImpl = exports.ClientWritableStreamImpl = exports.ClientReadableStreamImpl = exports.ClientUnaryCallImpl = void 0;
|
|
@@ -97183,9 +97215,9 @@ ${callerStack}`;
|
|
|
97183
97215
|
}
|
|
97184
97216
|
});
|
|
97185
97217
|
|
|
97186
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97218
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-interface.js
|
|
97187
97219
|
var require_call_interface = __commonJS({
|
|
97188
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97220
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-interface.js"(exports) {
|
|
97189
97221
|
"use strict";
|
|
97190
97222
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
97191
97223
|
exports.InterceptingListenerImpl = void 0;
|
|
@@ -97267,9 +97299,9 @@ var require_call_interface = __commonJS({
|
|
|
97267
97299
|
}
|
|
97268
97300
|
});
|
|
97269
97301
|
|
|
97270
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97302
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client-interceptors.js
|
|
97271
97303
|
var require_client_interceptors = __commonJS({
|
|
97272
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97304
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client-interceptors.js"(exports) {
|
|
97273
97305
|
"use strict";
|
|
97274
97306
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
97275
97307
|
exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.InterceptorConfigurationError = void 0;
|
|
@@ -97620,9 +97652,9 @@ var require_client_interceptors = __commonJS({
|
|
|
97620
97652
|
}
|
|
97621
97653
|
});
|
|
97622
97654
|
|
|
97623
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97655
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client.js
|
|
97624
97656
|
var require_client = __commonJS({
|
|
97625
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
97657
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/client.js"(exports) {
|
|
97626
97658
|
"use strict";
|
|
97627
97659
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
97628
97660
|
exports.Client = void 0;
|
|
@@ -97994,9 +98026,9 @@ var require_client = __commonJS({
|
|
|
97994
98026
|
}
|
|
97995
98027
|
});
|
|
97996
98028
|
|
|
97997
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
98029
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/make-client.js
|
|
97998
98030
|
var require_make_client = __commonJS({
|
|
97999
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
98031
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/make-client.js"(exports) {
|
|
98000
98032
|
"use strict";
|
|
98001
98033
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
98002
98034
|
exports.makeClientConstructor = makeClientConstructor;
|
|
@@ -101061,9 +101093,9 @@ var require_src2 = __commonJS({
|
|
|
101061
101093
|
}
|
|
101062
101094
|
});
|
|
101063
101095
|
|
|
101064
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101096
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channelz.js
|
|
101065
101097
|
var require_channelz = __commonJS({
|
|
101066
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101098
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channelz.js"(exports) {
|
|
101067
101099
|
"use strict";
|
|
101068
101100
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101069
101101
|
exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = void 0;
|
|
@@ -101645,9 +101677,9 @@ var require_channelz = __commonJS({
|
|
|
101645
101677
|
}
|
|
101646
101678
|
});
|
|
101647
101679
|
|
|
101648
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101680
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-number.js
|
|
101649
101681
|
var require_call_number = __commonJS({
|
|
101650
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101682
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/call-number.js"(exports) {
|
|
101651
101683
|
"use strict";
|
|
101652
101684
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101653
101685
|
exports.getNextCallNumber = getNextCallNumber;
|
|
@@ -101658,9 +101690,9 @@ var require_call_number = __commonJS({
|
|
|
101658
101690
|
}
|
|
101659
101691
|
});
|
|
101660
101692
|
|
|
101661
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101693
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js
|
|
101662
101694
|
var require_compression_algorithms = __commonJS({
|
|
101663
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101695
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js"(exports) {
|
|
101664
101696
|
"use strict";
|
|
101665
101697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101666
101698
|
exports.CompressionAlgorithms = void 0;
|
|
@@ -101673,9 +101705,9 @@ var require_compression_algorithms = __commonJS({
|
|
|
101673
101705
|
}
|
|
101674
101706
|
});
|
|
101675
101707
|
|
|
101676
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101708
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter.js
|
|
101677
101709
|
var require_filter = __commonJS({
|
|
101678
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101710
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter.js"(exports) {
|
|
101679
101711
|
"use strict";
|
|
101680
101712
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101681
101713
|
exports.BaseFilter = void 0;
|
|
@@ -101700,9 +101732,9 @@ var require_filter = __commonJS({
|
|
|
101700
101732
|
}
|
|
101701
101733
|
});
|
|
101702
101734
|
|
|
101703
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101735
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-filter.js
|
|
101704
101736
|
var require_compression_filter = __commonJS({
|
|
101705
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
101737
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/compression-filter.js"(exports) {
|
|
101706
101738
|
"use strict";
|
|
101707
101739
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101708
101740
|
exports.CompressionFilterFactory = exports.CompressionFilter = void 0;
|
|
@@ -101969,9 +102001,9 @@ var require_compression_filter = __commonJS({
|
|
|
101969
102001
|
}
|
|
101970
102002
|
});
|
|
101971
102003
|
|
|
101972
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102004
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/control-plane-status.js
|
|
101973
102005
|
var require_control_plane_status = __commonJS({
|
|
101974
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102006
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/control-plane-status.js"(exports) {
|
|
101975
102007
|
"use strict";
|
|
101976
102008
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101977
102009
|
exports.restrictControlPlaneStatusCode = restrictControlPlaneStatusCode;
|
|
@@ -101999,9 +102031,9 @@ var require_control_plane_status = __commonJS({
|
|
|
101999
102031
|
}
|
|
102000
102032
|
});
|
|
102001
102033
|
|
|
102002
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102034
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/deadline.js
|
|
102003
102035
|
var require_deadline = __commonJS({
|
|
102004
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102036
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/deadline.js"(exports) {
|
|
102005
102037
|
"use strict";
|
|
102006
102038
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102007
102039
|
exports.minDeadline = minDeadline;
|
|
@@ -102070,9 +102102,9 @@ var require_deadline = __commonJS({
|
|
|
102070
102102
|
}
|
|
102071
102103
|
});
|
|
102072
102104
|
|
|
102073
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102105
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter-stack.js
|
|
102074
102106
|
var require_filter_stack = __commonJS({
|
|
102075
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102107
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/filter-stack.js"(exports) {
|
|
102076
102108
|
"use strict";
|
|
102077
102109
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102078
102110
|
exports.FilterStackFactory = exports.FilterStack = void 0;
|
|
@@ -102141,9 +102173,9 @@ var require_filter_stack = __commonJS({
|
|
|
102141
102173
|
}
|
|
102142
102174
|
});
|
|
102143
102175
|
|
|
102144
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102176
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js
|
|
102145
102177
|
var require_single_subchannel_channel = __commonJS({
|
|
102146
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102178
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js"(exports) {
|
|
102147
102179
|
"use strict";
|
|
102148
102180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102149
102181
|
exports.SingleSubchannelChannel = void 0;
|
|
@@ -102256,7 +102288,7 @@ var require_single_subchannel_channel = __commonJS({
|
|
|
102256
102288
|
}
|
|
102257
102289
|
}
|
|
102258
102290
|
};
|
|
102259
|
-
this.childCall = this.subchannel.createCall(credsMetadata, this.options.host, this.method, childListener);
|
|
102291
|
+
this.childCall = this.subchannel.createCall(credsMetadata, this.options.host, this.method, childListener, this.callNumber);
|
|
102260
102292
|
if (this.readPending) {
|
|
102261
102293
|
this.childCall.startRead();
|
|
102262
102294
|
}
|
|
@@ -102361,9 +102393,9 @@ var require_single_subchannel_channel = __commonJS({
|
|
|
102361
102393
|
}
|
|
102362
102394
|
});
|
|
102363
102395
|
|
|
102364
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102396
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel.js
|
|
102365
102397
|
var require_subchannel = __commonJS({
|
|
102366
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102398
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel.js"(exports) {
|
|
102367
102399
|
"use strict";
|
|
102368
102400
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102369
102401
|
exports.Subchannel = void 0;
|
|
@@ -102426,7 +102458,9 @@ var require_subchannel = __commonJS({
|
|
|
102426
102458
|
}
|
|
102427
102459
|
this.channelzRef = (0, channelz_1.registerChannelzSubchannel)(this.subchannelAddressString, () => this.getChannelzInfo(), this.channelzEnabled);
|
|
102428
102460
|
this.channelzTrace.addTrace("CT_INFO", "Subchannel created");
|
|
102429
|
-
this.
|
|
102461
|
+
if (this.traceEnabled) {
|
|
102462
|
+
this.trace("Subchannel constructed with options " + JSON.stringify(options, void 0, 2));
|
|
102463
|
+
}
|
|
102430
102464
|
this.secureConnector = credentials2._createSecureConnector(channelTarget, options);
|
|
102431
102465
|
}
|
|
102432
102466
|
getChannelzInfo() {
|
|
@@ -102438,11 +102472,21 @@ var require_subchannel = __commonJS({
|
|
|
102438
102472
|
target: this.subchannelAddressString
|
|
102439
102473
|
};
|
|
102440
102474
|
}
|
|
102475
|
+
get traceEnabled() {
|
|
102476
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
102477
|
+
}
|
|
102478
|
+
get refTraceEnabled() {
|
|
102479
|
+
return logging.isTracerEnabled("subchannel_refcount");
|
|
102480
|
+
}
|
|
102441
102481
|
trace(text4) {
|
|
102442
|
-
|
|
102482
|
+
if (this.traceEnabled) {
|
|
102483
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, "(" + this.channelzRef.id + ") " + this.subchannelAddressString + " " + text4);
|
|
102484
|
+
}
|
|
102443
102485
|
}
|
|
102444
102486
|
refTrace(text4) {
|
|
102445
|
-
|
|
102487
|
+
if (this.refTraceEnabled) {
|
|
102488
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, "subchannel_refcount", "(" + this.channelzRef.id + ") " + this.subchannelAddressString + " " + text4);
|
|
102489
|
+
}
|
|
102446
102490
|
}
|
|
102447
102491
|
handleBackoffTimer() {
|
|
102448
102492
|
if (this.continueConnecting) {
|
|
@@ -102499,10 +102543,12 @@ var require_subchannel = __commonJS({
|
|
|
102499
102543
|
if (oldStates.indexOf(this.connectivityState) === -1) {
|
|
102500
102544
|
return false;
|
|
102501
102545
|
}
|
|
102502
|
-
if (
|
|
102503
|
-
|
|
102504
|
-
|
|
102505
|
-
|
|
102546
|
+
if (this.traceEnabled) {
|
|
102547
|
+
if (errorMessage2) {
|
|
102548
|
+
this.trace(connectivity_state_1.ConnectivityState[this.connectivityState] + " -> " + connectivity_state_1.ConnectivityState[newState] + ' with error "' + errorMessage2 + '"');
|
|
102549
|
+
} else {
|
|
102550
|
+
this.trace(connectivity_state_1.ConnectivityState[this.connectivityState] + " -> " + connectivity_state_1.ConnectivityState[newState]);
|
|
102551
|
+
}
|
|
102506
102552
|
}
|
|
102507
102553
|
if (this.channelzEnabled) {
|
|
102508
102554
|
this.channelzTrace.addTrace("CT_INFO", "Connectivity state change to " + connectivity_state_1.ConnectivityState[newState]);
|
|
@@ -102546,11 +102592,15 @@ var require_subchannel = __commonJS({
|
|
|
102546
102592
|
return true;
|
|
102547
102593
|
}
|
|
102548
102594
|
ref() {
|
|
102549
|
-
|
|
102595
|
+
if (this.refTraceEnabled) {
|
|
102596
|
+
this.refTrace("refcount " + this.refcount + " -> " + (this.refcount + 1));
|
|
102597
|
+
}
|
|
102550
102598
|
this.refcount += 1;
|
|
102551
102599
|
}
|
|
102552
102600
|
unref() {
|
|
102553
|
-
|
|
102601
|
+
if (this.refTraceEnabled) {
|
|
102602
|
+
this.refTrace("refcount " + this.refcount + " -> " + (this.refcount - 1));
|
|
102603
|
+
}
|
|
102554
102604
|
this.refcount -= 1;
|
|
102555
102605
|
if (this.refcount === 0) {
|
|
102556
102606
|
this.channelzTrace.addTrace("CT_INFO", "Shutting down");
|
|
@@ -102568,7 +102618,7 @@ var require_subchannel = __commonJS({
|
|
|
102568
102618
|
}
|
|
102569
102619
|
return false;
|
|
102570
102620
|
}
|
|
102571
|
-
createCall(metadata, host, method, listener) {
|
|
102621
|
+
createCall(metadata, host, method, listener, callId) {
|
|
102572
102622
|
if (!this.transport) {
|
|
102573
102623
|
throw new Error("Cannot create call, subchannel not READY");
|
|
102574
102624
|
}
|
|
@@ -102588,7 +102638,7 @@ var require_subchannel = __commonJS({
|
|
|
102588
102638
|
} else {
|
|
102589
102639
|
statsTracker = {};
|
|
102590
102640
|
}
|
|
102591
|
-
return this.transport.createCall(metadata, host, method, listener, statsTracker);
|
|
102641
|
+
return this.transport.createCall(metadata, host, method, listener, statsTracker, callId);
|
|
102592
102642
|
}
|
|
102593
102643
|
/**
|
|
102594
102644
|
* If the subchannel is currently IDLE, start connecting and switch to the
|
|
@@ -102689,20 +102739,22 @@ var require_subchannel = __commonJS({
|
|
|
102689
102739
|
}
|
|
102690
102740
|
});
|
|
102691
102741
|
|
|
102692
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102742
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/environment.js
|
|
102693
102743
|
var require_environment = __commonJS({
|
|
102694
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102744
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/environment.js"(exports) {
|
|
102695
102745
|
"use strict";
|
|
102696
102746
|
var _a2;
|
|
102747
|
+
var _b2;
|
|
102697
102748
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102698
|
-
exports.GRPC_NODE_USE_ALTERNATIVE_RESOLVER = void 0;
|
|
102749
|
+
exports.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS = exports.GRPC_NODE_USE_ALTERNATIVE_RESOLVER = void 0;
|
|
102699
102750
|
exports.GRPC_NODE_USE_ALTERNATIVE_RESOLVER = ((_a2 = process.env.GRPC_NODE_USE_ALTERNATIVE_RESOLVER) !== null && _a2 !== void 0 ? _a2 : "false") === "true";
|
|
102751
|
+
exports.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS = ((_b2 = process.env.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS) !== null && _b2 !== void 0 ? _b2 : "false") === "true";
|
|
102700
102752
|
}
|
|
102701
102753
|
});
|
|
102702
102754
|
|
|
102703
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102755
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-dns.js
|
|
102704
102756
|
var require_resolver_dns = __commonJS({
|
|
102705
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
102757
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-dns.js"(exports) {
|
|
102706
102758
|
"use strict";
|
|
102707
102759
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102708
102760
|
exports.DEFAULT_PORT = void 0;
|
|
@@ -102988,9 +103040,9 @@ var require_resolver_dns = __commonJS({
|
|
|
102988
103040
|
}
|
|
102989
103041
|
});
|
|
102990
103042
|
|
|
102991
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103043
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/http_proxy.js
|
|
102992
103044
|
var require_http_proxy = __commonJS({
|
|
102993
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103045
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/http_proxy.js"(exports) {
|
|
102994
103046
|
"use strict";
|
|
102995
103047
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
102996
103048
|
exports.parseCIDR = parseCIDR;
|
|
@@ -103207,9 +103259,9 @@ var require_http_proxy = __commonJS({
|
|
|
103207
103259
|
}
|
|
103208
103260
|
});
|
|
103209
103261
|
|
|
103210
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103262
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/stream-decoder.js
|
|
103211
103263
|
var require_stream_decoder = __commonJS({
|
|
103212
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103264
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/stream-decoder.js"(exports) {
|
|
103213
103265
|
"use strict";
|
|
103214
103266
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
103215
103267
|
exports.StreamDecoder = void 0;
|
|
@@ -103292,9 +103344,9 @@ var require_stream_decoder = __commonJS({
|
|
|
103292
103344
|
}
|
|
103293
103345
|
});
|
|
103294
103346
|
|
|
103295
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103347
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-call.js
|
|
103296
103348
|
var require_subchannel_call = __commonJS({
|
|
103297
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103349
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-call.js"(exports) {
|
|
103298
103350
|
"use strict";
|
|
103299
103351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
103300
103352
|
exports.Http2SubchannelCall = void 0;
|
|
@@ -103367,11 +103419,13 @@ var require_subchannel_call = __commonJS({
|
|
|
103367
103419
|
const maxReceiveMessageLength = (_a2 = transport.getOptions()["grpc.max_receive_message_length"]) !== null && _a2 !== void 0 ? _a2 : constants_1.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH;
|
|
103368
103420
|
this.decoder = new stream_decoder_1.StreamDecoder(maxReceiveMessageLength);
|
|
103369
103421
|
http2Stream.on("response", (headers, flags) => {
|
|
103370
|
-
|
|
103371
|
-
|
|
103372
|
-
|
|
103422
|
+
if (this.traceEnabled) {
|
|
103423
|
+
let headersString = "";
|
|
103424
|
+
for (const header2 of Object.keys(headers)) {
|
|
103425
|
+
headersString += " " + header2 + ": " + headers[header2] + "\n";
|
|
103426
|
+
}
|
|
103427
|
+
this.trace("Received server headers:\n" + headersString);
|
|
103373
103428
|
}
|
|
103374
|
-
this.trace("Received server headers:\n" + headersString);
|
|
103375
103429
|
this.httpStatusCode = headers[":status"];
|
|
103376
103430
|
if (flags & http2.constants.NGHTTP2_FLAG_END_STREAM) {
|
|
103377
103431
|
this.handleTrailers(headers);
|
|
@@ -103397,7 +103451,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103397
103451
|
if (this.statusOutput) {
|
|
103398
103452
|
return;
|
|
103399
103453
|
}
|
|
103400
|
-
this.
|
|
103454
|
+
if (this.traceEnabled) {
|
|
103455
|
+
this.trace("receive HTTP/2 data frame of length " + data.length);
|
|
103456
|
+
}
|
|
103401
103457
|
let messages;
|
|
103402
103458
|
try {
|
|
103403
103459
|
messages = this.decoder.write(data);
|
|
@@ -103411,7 +103467,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103411
103467
|
return;
|
|
103412
103468
|
}
|
|
103413
103469
|
for (const message of messages) {
|
|
103414
|
-
this.
|
|
103470
|
+
if (this.traceEnabled) {
|
|
103471
|
+
this.trace("parsed message of length " + message.length);
|
|
103472
|
+
}
|
|
103415
103473
|
this.callEventTracker.addMessageReceived();
|
|
103416
103474
|
this.tryPush(message);
|
|
103417
103475
|
}
|
|
@@ -103424,7 +103482,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103424
103482
|
this.serverEndedCall = true;
|
|
103425
103483
|
process.nextTick(() => {
|
|
103426
103484
|
var _a3;
|
|
103427
|
-
this.
|
|
103485
|
+
if (this.traceEnabled) {
|
|
103486
|
+
this.trace("HTTP/2 stream closed with code " + http2Stream.rstCode);
|
|
103487
|
+
}
|
|
103428
103488
|
if (((_a3 = this.finalStatus) === null || _a3 === void 0 ? void 0 : _a3.code) === constants_1.Status.OK) {
|
|
103429
103489
|
return;
|
|
103430
103490
|
}
|
|
@@ -103492,7 +103552,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103492
103552
|
});
|
|
103493
103553
|
http2Stream.on("error", (err2) => {
|
|
103494
103554
|
if (err2.code !== "ERR_HTTP2_STREAM_ERROR") {
|
|
103495
|
-
|
|
103555
|
+
if (this.traceEnabled) {
|
|
103556
|
+
this.trace("Node error event: message=" + err2.message + " code=" + err2.code + " errno=" + getSystemErrorName(err2.errno) + " syscall=" + err2.syscall);
|
|
103557
|
+
}
|
|
103496
103558
|
this.internalError = err2;
|
|
103497
103559
|
}
|
|
103498
103560
|
this.callEventTracker.onStreamEnd(false);
|
|
@@ -103514,7 +103576,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103514
103576
|
outputStatus() {
|
|
103515
103577
|
if (!this.statusOutput) {
|
|
103516
103578
|
this.statusOutput = true;
|
|
103517
|
-
|
|
103579
|
+
if (this.traceEnabled) {
|
|
103580
|
+
this.trace("ended with status: code=" + this.finalStatus.code + ' details="' + this.finalStatus.details + '"');
|
|
103581
|
+
}
|
|
103518
103582
|
this.callEventTracker.onCallEnd(this.finalStatus);
|
|
103519
103583
|
process.nextTick(() => {
|
|
103520
103584
|
this.listener.onReceiveStatus(this.finalStatus);
|
|
@@ -103522,8 +103586,13 @@ var require_subchannel_call = __commonJS({
|
|
|
103522
103586
|
this.http2Stream.resume();
|
|
103523
103587
|
}
|
|
103524
103588
|
}
|
|
103589
|
+
get traceEnabled() {
|
|
103590
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
103591
|
+
}
|
|
103525
103592
|
trace(text4) {
|
|
103526
|
-
|
|
103593
|
+
if (this.traceEnabled) {
|
|
103594
|
+
logging.trace(constants_2.LogVerbosity.DEBUG, TRACER_NAME, "[" + this.callId + "] " + text4);
|
|
103595
|
+
}
|
|
103527
103596
|
}
|
|
103528
103597
|
/**
|
|
103529
103598
|
* On first call, emits a 'status' event with the given StatusObject.
|
|
@@ -103545,7 +103614,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103545
103614
|
}
|
|
103546
103615
|
}
|
|
103547
103616
|
push(message) {
|
|
103548
|
-
|
|
103617
|
+
if (this.traceEnabled) {
|
|
103618
|
+
this.trace("pushing to reader message of length " + (message instanceof Buffer ? message.length : null));
|
|
103619
|
+
}
|
|
103549
103620
|
this.canPush = false;
|
|
103550
103621
|
this.isPushPending = true;
|
|
103551
103622
|
process.nextTick(() => {
|
|
@@ -103562,18 +103633,22 @@ var require_subchannel_call = __commonJS({
|
|
|
103562
103633
|
this.http2Stream.pause();
|
|
103563
103634
|
this.push(messageBytes);
|
|
103564
103635
|
} else {
|
|
103565
|
-
this.
|
|
103636
|
+
if (this.traceEnabled) {
|
|
103637
|
+
this.trace("unpushedReadMessages.push message of length " + messageBytes.length);
|
|
103638
|
+
}
|
|
103566
103639
|
this.unpushedReadMessages.push(messageBytes);
|
|
103567
103640
|
}
|
|
103568
103641
|
}
|
|
103569
103642
|
handleTrailers(headers) {
|
|
103570
103643
|
this.serverEndedCall = true;
|
|
103571
103644
|
this.callEventTracker.onStreamEnd(true);
|
|
103572
|
-
|
|
103573
|
-
|
|
103574
|
-
|
|
103645
|
+
if (this.traceEnabled) {
|
|
103646
|
+
let headersString = "";
|
|
103647
|
+
for (const header2 of Object.keys(headers)) {
|
|
103648
|
+
headersString += " " + header2 + ": " + headers[header2] + "\n";
|
|
103649
|
+
}
|
|
103650
|
+
this.trace("Received server trailers:\n" + headersString);
|
|
103575
103651
|
}
|
|
103576
|
-
this.trace("Received server trailers:\n" + headersString);
|
|
103577
103652
|
let metadata;
|
|
103578
103653
|
try {
|
|
103579
103654
|
metadata = metadata_1.Metadata.fromHttp2Headers(headers);
|
|
@@ -103584,7 +103659,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103584
103659
|
let status2;
|
|
103585
103660
|
if (typeof metadataMap["grpc-status"] === "string") {
|
|
103586
103661
|
const receivedStatus = Number(metadataMap["grpc-status"]);
|
|
103587
|
-
this.
|
|
103662
|
+
if (this.traceEnabled) {
|
|
103663
|
+
this.trace("received status code " + receivedStatus + " from server");
|
|
103664
|
+
}
|
|
103588
103665
|
metadata.remove("grpc-status");
|
|
103589
103666
|
let details = "";
|
|
103590
103667
|
if (typeof metadataMap["grpc-message"] === "string") {
|
|
@@ -103594,7 +103671,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103594
103671
|
details = metadataMap["grpc-message"];
|
|
103595
103672
|
}
|
|
103596
103673
|
metadata.remove("grpc-message");
|
|
103597
|
-
this.
|
|
103674
|
+
if (this.traceEnabled) {
|
|
103675
|
+
this.trace('received status details string "' + details + '" from server');
|
|
103676
|
+
}
|
|
103598
103677
|
}
|
|
103599
103678
|
status2 = {
|
|
103600
103679
|
code: receivedStatus,
|
|
@@ -103619,7 +103698,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103619
103698
|
return;
|
|
103620
103699
|
}
|
|
103621
103700
|
if (this.serverEndedCall) {
|
|
103622
|
-
this.http2Stream.
|
|
103701
|
+
if (!this.http2Stream.writableEnded) {
|
|
103702
|
+
this.http2Stream.end();
|
|
103703
|
+
}
|
|
103623
103704
|
} else {
|
|
103624
103705
|
let code;
|
|
103625
103706
|
if (((_a2 = this.finalStatus) === null || _a2 === void 0 ? void 0 : _a2.code) === constants_1.Status.OK) {
|
|
@@ -103627,12 +103708,16 @@ var require_subchannel_call = __commonJS({
|
|
|
103627
103708
|
} else {
|
|
103628
103709
|
code = http2.constants.NGHTTP2_CANCEL;
|
|
103629
103710
|
}
|
|
103630
|
-
this.
|
|
103711
|
+
if (this.traceEnabled) {
|
|
103712
|
+
this.trace("close http2 stream with code " + code);
|
|
103713
|
+
}
|
|
103631
103714
|
this.http2Stream.close(code);
|
|
103632
103715
|
}
|
|
103633
103716
|
}
|
|
103634
103717
|
cancelWithStatus(status2, details) {
|
|
103635
|
-
this.
|
|
103718
|
+
if (this.traceEnabled) {
|
|
103719
|
+
this.trace("cancelWithStatus code: " + status2 + ' details: "' + details + '"');
|
|
103720
|
+
}
|
|
103636
103721
|
this.endCall({ code: status2, details, metadata: new metadata_1.Metadata() });
|
|
103637
103722
|
}
|
|
103638
103723
|
getStatus() {
|
|
@@ -103662,7 +103747,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103662
103747
|
this.http2Stream.resume();
|
|
103663
103748
|
}
|
|
103664
103749
|
sendMessageWithContext(context, message) {
|
|
103665
|
-
this.
|
|
103750
|
+
if (this.traceEnabled) {
|
|
103751
|
+
this.trace("write() called with message of length " + message.length);
|
|
103752
|
+
}
|
|
103666
103753
|
const cb = (error) => {
|
|
103667
103754
|
process.nextTick(() => {
|
|
103668
103755
|
var _a2;
|
|
@@ -103676,7 +103763,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103676
103763
|
(_a2 = context.callback) === null || _a2 === void 0 ? void 0 : _a2.call(context);
|
|
103677
103764
|
});
|
|
103678
103765
|
};
|
|
103679
|
-
this.
|
|
103766
|
+
if (this.traceEnabled) {
|
|
103767
|
+
this.trace("sending data chunk of length " + message.length);
|
|
103768
|
+
}
|
|
103680
103769
|
this.callEventTracker.addMessageSent();
|
|
103681
103770
|
try {
|
|
103682
103771
|
this.http2Stream.write(message, cb);
|
|
@@ -103690,6 +103779,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103690
103779
|
}
|
|
103691
103780
|
halfClose() {
|
|
103692
103781
|
this.trace("end() called");
|
|
103782
|
+
if (this.http2Stream.destroyed || this.http2Stream.writableEnded) {
|
|
103783
|
+
return;
|
|
103784
|
+
}
|
|
103693
103785
|
this.trace("calling end() on HTTP/2 stream");
|
|
103694
103786
|
this.http2Stream.end();
|
|
103695
103787
|
}
|
|
@@ -103698,9 +103790,9 @@ var require_subchannel_call = __commonJS({
|
|
|
103698
103790
|
}
|
|
103699
103791
|
});
|
|
103700
103792
|
|
|
103701
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103793
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/transport.js
|
|
103702
103794
|
var require_transport = __commonJS({
|
|
103703
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
103795
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/transport.js"(exports) {
|
|
103704
103796
|
"use strict";
|
|
103705
103797
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
103706
103798
|
exports.Http2SubchannelConnector = void 0;
|
|
@@ -103775,18 +103867,24 @@ var require_transport = __commonJS({
|
|
|
103775
103867
|
if (errorCode2 === http2.constants.NGHTTP2_ENHANCE_YOUR_CALM && opaqueData && opaqueData.equals(tooManyPingsData)) {
|
|
103776
103868
|
tooManyPings = true;
|
|
103777
103869
|
}
|
|
103778
|
-
|
|
103870
|
+
if (this.traceEnabled) {
|
|
103871
|
+
this.trace("connection closed by GOAWAY with code " + errorCode2 + " and data " + (opaqueData === null || opaqueData === void 0 ? void 0 : opaqueData.toString()));
|
|
103872
|
+
}
|
|
103779
103873
|
this.reportDisconnectToOwner(tooManyPings);
|
|
103780
103874
|
});
|
|
103781
103875
|
session.once("error", (error) => {
|
|
103782
|
-
this.
|
|
103876
|
+
if (this.traceEnabled) {
|
|
103877
|
+
this.trace("connection closed with error " + error.message);
|
|
103878
|
+
}
|
|
103783
103879
|
this.handleDisconnect();
|
|
103784
103880
|
});
|
|
103785
103881
|
session.socket.once("close", (hadError) => {
|
|
103786
|
-
this.
|
|
103882
|
+
if (this.traceEnabled) {
|
|
103883
|
+
this.trace("connection closed. hadError=" + hadError);
|
|
103884
|
+
}
|
|
103787
103885
|
this.handleDisconnect();
|
|
103788
103886
|
});
|
|
103789
|
-
if (
|
|
103887
|
+
if (this.traceEnabled) {
|
|
103790
103888
|
session.on("remoteSettings", (settings) => {
|
|
103791
103889
|
this.trace("new settings received" + (this.session !== session ? " on the old connection" : "") + ": " + JSON.stringify(settings));
|
|
103792
103890
|
});
|
|
@@ -103797,7 +103895,7 @@ var require_transport = __commonJS({
|
|
|
103797
103895
|
if (this.keepaliveWithoutCalls) {
|
|
103798
103896
|
this.maybeStartKeepalivePingTimer();
|
|
103799
103897
|
}
|
|
103800
|
-
if (session.socket instanceof tls_1.TLSSocket) {
|
|
103898
|
+
if (session.socket instanceof tls_1.TLSSocket && session.socket.authorized) {
|
|
103801
103899
|
this.authContext = {
|
|
103802
103900
|
transportSecurityType: "ssl",
|
|
103803
103901
|
sslPeerCertificate: session.socket.getPeerCertificate()
|
|
@@ -103846,17 +103944,37 @@ var require_transport = __commonJS({
|
|
|
103846
103944
|
};
|
|
103847
103945
|
return socketInfo;
|
|
103848
103946
|
}
|
|
103947
|
+
get traceEnabled() {
|
|
103948
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
103949
|
+
}
|
|
103950
|
+
get keepaliveTraceEnabled() {
|
|
103951
|
+
return logging.isTracerEnabled("keepalive");
|
|
103952
|
+
}
|
|
103953
|
+
get flowControlTraceEnabled() {
|
|
103954
|
+
return logging.isTracerEnabled(FLOW_CONTROL_TRACER_NAME);
|
|
103955
|
+
}
|
|
103956
|
+
get internalsTraceEnabled() {
|
|
103957
|
+
return logging.isTracerEnabled("transport_internals");
|
|
103958
|
+
}
|
|
103849
103959
|
trace(text4) {
|
|
103850
|
-
|
|
103960
|
+
if (this.traceEnabled) {
|
|
103961
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, "(" + this.channelzRef.id + ") " + this.subchannelAddressString + " " + text4);
|
|
103962
|
+
}
|
|
103851
103963
|
}
|
|
103852
103964
|
keepaliveTrace(text4) {
|
|
103853
|
-
|
|
103965
|
+
if (this.keepaliveTraceEnabled) {
|
|
103966
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, "keepalive", "(" + this.channelzRef.id + ") " + this.subchannelAddressString + " " + text4);
|
|
103967
|
+
}
|
|
103854
103968
|
}
|
|
103855
103969
|
flowControlTrace(text4) {
|
|
103856
|
-
|
|
103970
|
+
if (this.flowControlTraceEnabled) {
|
|
103971
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, FLOW_CONTROL_TRACER_NAME, "(" + this.channelzRef.id + ") " + this.subchannelAddressString + " " + text4);
|
|
103972
|
+
}
|
|
103857
103973
|
}
|
|
103858
103974
|
internalsTrace(text4) {
|
|
103859
|
-
|
|
103975
|
+
if (this.internalsTraceEnabled) {
|
|
103976
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, "transport_internals", "(" + this.channelzRef.id + ") " + this.subchannelAddressString + " " + text4);
|
|
103977
|
+
}
|
|
103860
103978
|
}
|
|
103861
103979
|
/**
|
|
103862
103980
|
* Indicate to the owner of this object that this transport should no longer
|
|
@@ -103906,7 +104024,9 @@ var require_transport = __commonJS({
|
|
|
103906
104024
|
if (this.channelzEnabled) {
|
|
103907
104025
|
this.keepalivesSent += 1;
|
|
103908
104026
|
}
|
|
103909
|
-
|
|
104027
|
+
if (this.keepaliveTraceEnabled) {
|
|
104028
|
+
this.keepaliveTrace("Sending ping with timeout " + this.keepaliveTimeoutMs + "ms");
|
|
104029
|
+
}
|
|
103910
104030
|
this.keepaliveTimer = setTimeout(() => {
|
|
103911
104031
|
this.keepaliveTimer = null;
|
|
103912
104032
|
this.keepaliveTrace("Ping timeout passed without response");
|
|
@@ -103918,7 +104038,9 @@ var require_transport = __commonJS({
|
|
|
103918
104038
|
const pingSentSuccessfully = this.session.ping((err2, duration, payload) => {
|
|
103919
104039
|
this.clearKeepaliveTimeout();
|
|
103920
104040
|
if (err2) {
|
|
103921
|
-
this.
|
|
104041
|
+
if (this.keepaliveTraceEnabled) {
|
|
104042
|
+
this.keepaliveTrace("Ping failed with error " + err2.message);
|
|
104043
|
+
}
|
|
103922
104044
|
this.handleDisconnect();
|
|
103923
104045
|
} else {
|
|
103924
104046
|
this.keepaliveTrace("Received ping response");
|
|
@@ -103932,7 +104054,9 @@ var require_transport = __commonJS({
|
|
|
103932
104054
|
pingSendError = (e instanceof Error ? e.message : "") || "Unknown error";
|
|
103933
104055
|
}
|
|
103934
104056
|
if (pingSendError) {
|
|
103935
|
-
this.
|
|
104057
|
+
if (this.keepaliveTraceEnabled) {
|
|
104058
|
+
this.keepaliveTrace("Ping send failed: " + pingSendError);
|
|
104059
|
+
}
|
|
103936
104060
|
this.handleDisconnect();
|
|
103937
104061
|
}
|
|
103938
104062
|
}
|
|
@@ -103983,7 +104107,7 @@ var require_transport = __commonJS({
|
|
|
103983
104107
|
}
|
|
103984
104108
|
}
|
|
103985
104109
|
}
|
|
103986
|
-
createCall(metadata, host, method, listener, subchannelCallStatsTracker) {
|
|
104110
|
+
createCall(metadata, host, method, listener, subchannelCallStatsTracker, callId) {
|
|
103987
104111
|
const headers = metadata.toHttp2Headers();
|
|
103988
104112
|
headers[HTTP2_HEADER_AUTHORITY] = host;
|
|
103989
104113
|
headers[HTTP2_HEADER_USER_AGENT] = this.userAgent;
|
|
@@ -103998,8 +104122,12 @@ var require_transport = __commonJS({
|
|
|
103998
104122
|
this.handleDisconnect();
|
|
103999
104123
|
throw e;
|
|
104000
104124
|
}
|
|
104001
|
-
|
|
104002
|
-
|
|
104125
|
+
if (this.flowControlTraceEnabled) {
|
|
104126
|
+
this.flowControlTrace("local window size: " + this.session.state.localWindowSize + " remote window size: " + this.session.state.remoteWindowSize);
|
|
104127
|
+
}
|
|
104128
|
+
if (this.internalsTraceEnabled) {
|
|
104129
|
+
this.internalsTrace("session.closed=" + this.session.closed + " session.destroyed=" + this.session.destroyed + " session.socket.destroyed=" + this.session.socket.destroyed);
|
|
104130
|
+
}
|
|
104003
104131
|
let eventTracker;
|
|
104004
104132
|
let call;
|
|
104005
104133
|
if (this.channelzEnabled) {
|
|
@@ -104053,7 +104181,7 @@ var require_transport = __commonJS({
|
|
|
104053
104181
|
}
|
|
104054
104182
|
};
|
|
104055
104183
|
}
|
|
104056
|
-
call = new subchannel_call_1.Http2SubchannelCall(http2Stream, eventTracker, listener, this, (0, call_number_1.getNextCallNumber)());
|
|
104184
|
+
call = new subchannel_call_1.Http2SubchannelCall(http2Stream, eventTracker, listener, this, callId !== null && callId !== void 0 ? callId : (0, call_number_1.getNextCallNumber)());
|
|
104057
104185
|
this.addActiveCall(call);
|
|
104058
104186
|
return call;
|
|
104059
104187
|
}
|
|
@@ -104080,8 +104208,13 @@ var require_transport = __commonJS({
|
|
|
104080
104208
|
this.session = null;
|
|
104081
104209
|
this.isShutdown = false;
|
|
104082
104210
|
}
|
|
104211
|
+
get traceEnabled() {
|
|
104212
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
104213
|
+
}
|
|
104083
104214
|
trace(text4) {
|
|
104084
|
-
|
|
104215
|
+
if (this.traceEnabled) {
|
|
104216
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, (0, uri_parser_1.uriToString)(this.channelTarget) + " " + text4);
|
|
104217
|
+
}
|
|
104085
104218
|
}
|
|
104086
104219
|
createSession(secureConnectResult, address, options) {
|
|
104087
104220
|
if (this.isShutdown) {
|
|
@@ -104118,7 +104251,9 @@ var require_transport = __commonJS({
|
|
|
104118
104251
|
var _a3;
|
|
104119
104252
|
(_a3 = this.session) === null || _a3 === void 0 ? void 0 : _a3.destroy();
|
|
104120
104253
|
errorMessage2 = error.message;
|
|
104121
|
-
this.
|
|
104254
|
+
if (this.traceEnabled) {
|
|
104255
|
+
this.trace("connection failed with error " + errorMessage2);
|
|
104256
|
+
}
|
|
104122
104257
|
if (!reportedError) {
|
|
104123
104258
|
reportedError = true;
|
|
104124
104259
|
reject(`${errorMessage2} (${(/* @__PURE__ */ new Date()).toISOString()})`);
|
|
@@ -104199,14 +104334,22 @@ var require_transport = __commonJS({
|
|
|
104199
104334
|
let secureConnectResult = null;
|
|
104200
104335
|
const addressString = (0, subchannel_address_1.subchannelAddressToString)(address);
|
|
104201
104336
|
try {
|
|
104202
|
-
this.
|
|
104337
|
+
if (this.traceEnabled) {
|
|
104338
|
+
this.trace(addressString + " Waiting for secureConnector to be ready");
|
|
104339
|
+
}
|
|
104203
104340
|
await secureConnector.waitForReady();
|
|
104204
|
-
this.
|
|
104341
|
+
if (this.traceEnabled) {
|
|
104342
|
+
this.trace(addressString + " secureConnector is ready");
|
|
104343
|
+
}
|
|
104205
104344
|
tcpConnection = await this.tcpConnect(address, options);
|
|
104206
104345
|
tcpConnection.setNoDelay();
|
|
104207
|
-
this.
|
|
104346
|
+
if (this.traceEnabled) {
|
|
104347
|
+
this.trace(addressString + " Established TCP connection");
|
|
104348
|
+
}
|
|
104208
104349
|
secureConnectResult = await secureConnector.connect(tcpConnection);
|
|
104209
|
-
this.
|
|
104350
|
+
if (this.traceEnabled) {
|
|
104351
|
+
this.trace(addressString + " Established secure connection");
|
|
104352
|
+
}
|
|
104210
104353
|
return this.createSession(secureConnectResult, address, options);
|
|
104211
104354
|
} catch (e) {
|
|
104212
104355
|
tcpConnection === null || tcpConnection === void 0 ? void 0 : tcpConnection.destroy();
|
|
@@ -104225,9 +104368,9 @@ var require_transport = __commonJS({
|
|
|
104225
104368
|
}
|
|
104226
104369
|
});
|
|
104227
104370
|
|
|
104228
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
104371
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js
|
|
104229
104372
|
var require_subchannel_pool = __commonJS({
|
|
104230
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
104373
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js"(exports) {
|
|
104231
104374
|
"use strict";
|
|
104232
104375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104233
104376
|
exports.SubchannelPool = void 0;
|
|
@@ -104323,9 +104466,9 @@ var require_subchannel_pool = __commonJS({
|
|
|
104323
104466
|
}
|
|
104324
104467
|
});
|
|
104325
104468
|
|
|
104326
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
104469
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js
|
|
104327
104470
|
var require_load_balancing_call = __commonJS({
|
|
104328
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
104471
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js"(exports) {
|
|
104329
104472
|
"use strict";
|
|
104330
104473
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104331
104474
|
exports.LoadBalancingCall = void 0;
|
|
@@ -104387,17 +104530,28 @@ var require_load_balancing_call = __commonJS({
|
|
|
104387
104530
|
}
|
|
104388
104531
|
return deadlineInfo;
|
|
104389
104532
|
}
|
|
104533
|
+
get traceEnabled() {
|
|
104534
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
104535
|
+
}
|
|
104390
104536
|
trace(text4) {
|
|
104391
|
-
|
|
104537
|
+
if (this.traceEnabled) {
|
|
104538
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, "[" + this.callNumber + "] " + text4);
|
|
104539
|
+
}
|
|
104540
|
+
}
|
|
104541
|
+
getSubchannelString(subchannel) {
|
|
104542
|
+
return subchannel ? "(" + subchannel.getChannelzRef().id + ") " + subchannel.getAddress() : "" + subchannel;
|
|
104392
104543
|
}
|
|
104393
104544
|
outputStatus(status2, progress) {
|
|
104394
104545
|
var _a2, _b2;
|
|
104395
104546
|
if (!this.ended) {
|
|
104396
104547
|
this.ended = true;
|
|
104397
|
-
|
|
104548
|
+
if (this.traceEnabled) {
|
|
104549
|
+
this.trace("ended with status: code=" + status2.code + ' details="' + status2.details + '" start time=' + this.startTime.toISOString());
|
|
104550
|
+
}
|
|
104398
104551
|
const finalStatus = Object.assign(Object.assign({}, status2), { progress });
|
|
104399
104552
|
(_a2 = this.listener) === null || _a2 === void 0 ? void 0 : _a2.onReceiveStatus(finalStatus);
|
|
104400
104553
|
(_b2 = this.onCallEnded) === null || _b2 === void 0 ? void 0 : _b2.call(this, finalStatus.code, finalStatus.details, finalStatus.metadata);
|
|
104554
|
+
this.channel.removeCallFromPickQueue(this);
|
|
104401
104555
|
}
|
|
104402
104556
|
}
|
|
104403
104557
|
doPick() {
|
|
@@ -104411,8 +104565,9 @@ var require_load_balancing_call = __commonJS({
|
|
|
104411
104565
|
this.trace("Pick called");
|
|
104412
104566
|
const finalMetadata = this.metadata.clone();
|
|
104413
104567
|
const pickResult = this.channel.doPick(finalMetadata, this.callConfig.pickInformation);
|
|
104414
|
-
|
|
104415
|
-
|
|
104568
|
+
if (this.traceEnabled) {
|
|
104569
|
+
this.trace("Pick result: " + picker_1.PickResultType[pickResult.pickResultType] + " subchannel: " + this.getSubchannelString(pickResult.subchannel) + " status: " + ((_a2 = pickResult.status) === null || _a2 === void 0 ? void 0 : _a2.code) + " " + ((_b2 = pickResult.status) === null || _b2 === void 0 ? void 0 : _b2.details));
|
|
104570
|
+
}
|
|
104416
104571
|
switch (pickResult.pickResultType) {
|
|
104417
104572
|
case picker_1.PickResultType.COMPLETE:
|
|
104418
104573
|
const combinedCallCredentials = this.credentials.compose(pickResult.subchannel.getCallCredentials());
|
|
@@ -104431,7 +104586,9 @@ var require_load_balancing_call = __commonJS({
|
|
|
104431
104586
|
}, "PROCESSED");
|
|
104432
104587
|
}
|
|
104433
104588
|
if (pickResult.subchannel.getConnectivityState() !== connectivity_state_1.ConnectivityState.READY) {
|
|
104434
|
-
this.
|
|
104589
|
+
if (this.traceEnabled) {
|
|
104590
|
+
this.trace("Picked subchannel " + this.getSubchannelString(pickResult.subchannel) + " has state " + connectivity_state_1.ConnectivityState[pickResult.subchannel.getConnectivityState()] + " after getting credentials metadata. Retrying pick");
|
|
104591
|
+
}
|
|
104435
104592
|
this.doPick();
|
|
104436
104593
|
return;
|
|
104437
104594
|
}
|
|
@@ -104456,10 +104613,12 @@ var require_load_balancing_call = __commonJS({
|
|
|
104456
104613
|
this.outputStatus(status2, "PROCESSED");
|
|
104457
104614
|
}
|
|
104458
104615
|
}
|
|
104459
|
-
});
|
|
104616
|
+
}, this.callNumber);
|
|
104460
104617
|
this.childStartTime = /* @__PURE__ */ new Date();
|
|
104461
104618
|
} catch (error) {
|
|
104462
|
-
this.
|
|
104619
|
+
if (this.traceEnabled) {
|
|
104620
|
+
this.trace("Failed to start call on picked subchannel " + this.getSubchannelString(pickResult.subchannel) + " with error " + error.message);
|
|
104621
|
+
}
|
|
104463
104622
|
this.outputStatus({
|
|
104464
104623
|
code: constants_1.Status.INTERNAL,
|
|
104465
104624
|
details: "Failed to start HTTP/2 stream with error " + error.message,
|
|
@@ -104469,7 +104628,9 @@ var require_load_balancing_call = __commonJS({
|
|
|
104469
104628
|
}
|
|
104470
104629
|
(_a3 = pickResult.onCallStarted) === null || _a3 === void 0 ? void 0 : _a3.call(pickResult);
|
|
104471
104630
|
this.onCallEnded = pickResult.onCallEnded;
|
|
104472
|
-
|
|
104631
|
+
if (this.traceEnabled) {
|
|
104632
|
+
this.trace("Created child call [" + this.child.getCallNumber() + "]");
|
|
104633
|
+
}
|
|
104473
104634
|
if (this.readPending) {
|
|
104474
104635
|
this.child.startRead();
|
|
104475
104636
|
}
|
|
@@ -104510,7 +104671,9 @@ var require_load_balancing_call = __commonJS({
|
|
|
104510
104671
|
}
|
|
104511
104672
|
cancelWithStatus(status2, details) {
|
|
104512
104673
|
var _a2;
|
|
104513
|
-
this.
|
|
104674
|
+
if (this.traceEnabled) {
|
|
104675
|
+
this.trace("cancelWithStatus code: " + status2 + ' details: "' + details + '"');
|
|
104676
|
+
}
|
|
104514
104677
|
(_a2 = this.child) === null || _a2 === void 0 ? void 0 : _a2.cancelWithStatus(status2, details);
|
|
104515
104678
|
this.outputStatus({ code: status2, details, metadata: new metadata_1.Metadata() }, "PROCESSED");
|
|
104516
104679
|
}
|
|
@@ -104525,7 +104688,9 @@ var require_load_balancing_call = __commonJS({
|
|
|
104525
104688
|
this.doPick();
|
|
104526
104689
|
}
|
|
104527
104690
|
sendMessageWithContext(context, message) {
|
|
104528
|
-
this.
|
|
104691
|
+
if (this.traceEnabled) {
|
|
104692
|
+
this.trace("write() called with message of length " + message.length);
|
|
104693
|
+
}
|
|
104529
104694
|
if (this.child) {
|
|
104530
104695
|
this.child.sendMessageWithContext(context, message);
|
|
104531
104696
|
} else {
|
|
@@ -104566,9 +104731,9 @@ var require_load_balancing_call = __commonJS({
|
|
|
104566
104731
|
}
|
|
104567
104732
|
});
|
|
104568
104733
|
|
|
104569
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
104734
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-call.js
|
|
104570
104735
|
var require_resolving_call = __commonJS({
|
|
104571
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
104736
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolving-call.js"(exports) {
|
|
104572
104737
|
"use strict";
|
|
104573
104738
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104574
104739
|
exports.ResolvingCall = void 0;
|
|
@@ -104612,23 +104777,34 @@ var require_resolving_call = __commonJS({
|
|
|
104612
104777
|
});
|
|
104613
104778
|
}
|
|
104614
104779
|
if (options.flags & constants_1.Propagate.DEADLINE) {
|
|
104615
|
-
this.
|
|
104780
|
+
if (this.traceEnabled) {
|
|
104781
|
+
this.trace("Propagating deadline from parent: " + options.parentCall.getDeadline());
|
|
104782
|
+
}
|
|
104616
104783
|
this.deadline = (0, deadline_1.minDeadline)(this.deadline, options.parentCall.getDeadline());
|
|
104617
104784
|
}
|
|
104618
104785
|
}
|
|
104619
104786
|
this.trace("Created");
|
|
104620
104787
|
this.runDeadlineTimer();
|
|
104621
104788
|
}
|
|
104789
|
+
get traceEnabled() {
|
|
104790
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
104791
|
+
}
|
|
104622
104792
|
trace(text4) {
|
|
104623
|
-
|
|
104793
|
+
if (this.traceEnabled) {
|
|
104794
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, "[" + this.callNumber + "] " + text4);
|
|
104795
|
+
}
|
|
104624
104796
|
}
|
|
104625
104797
|
runDeadlineTimer() {
|
|
104626
104798
|
clearTimeout(this.deadlineTimer);
|
|
104627
104799
|
this.deadlineStartTime = /* @__PURE__ */ new Date();
|
|
104628
|
-
|
|
104800
|
+
if (this.traceEnabled) {
|
|
104801
|
+
this.trace("Deadline: " + (0, deadline_1.deadlineToString)(this.deadline));
|
|
104802
|
+
}
|
|
104629
104803
|
const timeout = (0, deadline_1.getRelativeTimeout)(this.deadline);
|
|
104630
104804
|
if (timeout !== Infinity) {
|
|
104631
|
-
this.
|
|
104805
|
+
if (this.traceEnabled) {
|
|
104806
|
+
this.trace("Deadline will be reached in " + timeout + "ms");
|
|
104807
|
+
}
|
|
104632
104808
|
const handleDeadline = () => {
|
|
104633
104809
|
if (!this.deadlineStartTime) {
|
|
104634
104810
|
this.cancelWithStatus(constants_1.Status.DEADLINE_EXCEEDED, "Deadline exceeded");
|
|
@@ -104671,7 +104847,9 @@ var require_resolving_call = __commonJS({
|
|
|
104671
104847
|
}
|
|
104672
104848
|
clearTimeout(this.deadlineTimer);
|
|
104673
104849
|
const filteredStatus = this.filterStack.receiveTrailers(status2);
|
|
104674
|
-
this.
|
|
104850
|
+
if (this.traceEnabled) {
|
|
104851
|
+
this.trace("ended with status: code=" + filteredStatus.code + ' details="' + filteredStatus.details + '"');
|
|
104852
|
+
}
|
|
104675
104853
|
this.statusWatchers.forEach((watcher) => watcher(filteredStatus));
|
|
104676
104854
|
process.nextTick(() => {
|
|
104677
104855
|
var _a2;
|
|
@@ -104692,7 +104870,8 @@ var require_resolving_call = __commonJS({
|
|
|
104692
104870
|
child.halfClose();
|
|
104693
104871
|
}
|
|
104694
104872
|
}, (status2) => {
|
|
104695
|
-
|
|
104873
|
+
var _a2, _b2;
|
|
104874
|
+
this.cancelWithStatus((_a2 = status2.code) !== null && _a2 !== void 0 ? _a2 : constants_1.Status.INTERNAL, (_b2 = status2.details) !== null && _b2 !== void 0 ? _b2 : "Failed to write message");
|
|
104696
104875
|
});
|
|
104697
104876
|
}
|
|
104698
104877
|
getConfig() {
|
|
@@ -104735,8 +104914,10 @@ var require_resolving_call = __commonJS({
|
|
|
104735
104914
|
this.filterStackFactory.push(config.dynamicFilterFactories);
|
|
104736
104915
|
this.filterStack = this.filterStackFactory.createFilter();
|
|
104737
104916
|
this.filterStack.sendMetadata(Promise.resolve(this.metadata)).then((filteredMetadata) => {
|
|
104738
|
-
this.child = this.channel.createRetryingCall(config, this.method, this.host, this.credentials, this.deadline);
|
|
104739
|
-
|
|
104917
|
+
this.child = this.channel.createRetryingCall(config, this.method, this.host, this.credentials, this.deadline, this.callNumber);
|
|
104918
|
+
if (this.traceEnabled) {
|
|
104919
|
+
this.trace("Created child [" + this.child.getCallNumber() + "]");
|
|
104920
|
+
}
|
|
104740
104921
|
this.childStartTime = /* @__PURE__ */ new Date();
|
|
104741
104922
|
this.child.start(filteredMetadata, {
|
|
104742
104923
|
onReceiveMetadata: (metadata) => {
|
|
@@ -104788,7 +104969,9 @@ var require_resolving_call = __commonJS({
|
|
|
104788
104969
|
}
|
|
104789
104970
|
cancelWithStatus(status2, details) {
|
|
104790
104971
|
var _a2;
|
|
104791
|
-
this.
|
|
104972
|
+
if (this.traceEnabled) {
|
|
104973
|
+
this.trace("cancelWithStatus code: " + status2 + ' details: "' + details + '"');
|
|
104974
|
+
}
|
|
104792
104975
|
(_a2 = this.child) === null || _a2 === void 0 ? void 0 : _a2.cancelWithStatus(status2, details);
|
|
104793
104976
|
this.outputStatus({
|
|
104794
104977
|
code: status2,
|
|
@@ -104807,7 +104990,9 @@ var require_resolving_call = __commonJS({
|
|
|
104807
104990
|
this.getConfig();
|
|
104808
104991
|
}
|
|
104809
104992
|
sendMessageWithContext(context, message) {
|
|
104810
|
-
this.
|
|
104993
|
+
if (this.traceEnabled) {
|
|
104994
|
+
this.trace("write() called with message of length " + message.length);
|
|
104995
|
+
}
|
|
104811
104996
|
if (this.child) {
|
|
104812
104997
|
this.sendMessageOnChild(context, message);
|
|
104813
104998
|
} else {
|
|
@@ -104851,9 +105036,9 @@ var require_resolving_call = __commonJS({
|
|
|
104851
105036
|
}
|
|
104852
105037
|
});
|
|
104853
105038
|
|
|
104854
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
105039
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/retrying-call.js
|
|
104855
105040
|
var require_retrying_call = __commonJS({
|
|
104856
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
105041
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/retrying-call.js"(exports) {
|
|
104857
105042
|
"use strict";
|
|
104858
105043
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
104859
105044
|
exports.RetryingCall = exports.MessageBufferTracker = exports.RetryThrottler = void 0;
|
|
@@ -104861,6 +105046,7 @@ var require_retrying_call = __commonJS({
|
|
|
104861
105046
|
var deadline_1 = require_deadline();
|
|
104862
105047
|
var metadata_1 = require_metadata();
|
|
104863
105048
|
var logging = require_logging();
|
|
105049
|
+
var call_number_1 = require_call_number();
|
|
104864
105050
|
var TRACER_NAME = "retrying_call";
|
|
104865
105051
|
var RetryThrottler = class {
|
|
104866
105052
|
constructor(maxTokens, tokenRatio, previousRetryThrottler) {
|
|
@@ -104985,11 +105171,18 @@ var require_retrying_call = __commonJS({
|
|
|
104985
105171
|
getCallNumber() {
|
|
104986
105172
|
return this.callNumber;
|
|
104987
105173
|
}
|
|
105174
|
+
get traceEnabled() {
|
|
105175
|
+
return logging.isTracerEnabled(TRACER_NAME);
|
|
105176
|
+
}
|
|
104988
105177
|
trace(text4) {
|
|
104989
|
-
|
|
105178
|
+
if (this.traceEnabled) {
|
|
105179
|
+
logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, "[" + this.callNumber + "] " + text4);
|
|
105180
|
+
}
|
|
104990
105181
|
}
|
|
104991
105182
|
reportStatus(statusObject) {
|
|
104992
|
-
|
|
105183
|
+
if (this.traceEnabled) {
|
|
105184
|
+
this.trace("ended with status: code=" + statusObject.code + ' details="' + statusObject.details + '" start time=' + this.startTime.toISOString());
|
|
105185
|
+
}
|
|
104993
105186
|
this.bufferTracker.freeAll(this.callNumber);
|
|
104994
105187
|
this.writeBufferOffset = this.writeBufferOffset + this.writeBuffer.length;
|
|
104995
105188
|
this.writeBuffer = [];
|
|
@@ -105003,7 +105196,9 @@ var require_retrying_call = __commonJS({
|
|
|
105003
105196
|
});
|
|
105004
105197
|
}
|
|
105005
105198
|
cancelWithStatus(status2, details) {
|
|
105006
|
-
this.
|
|
105199
|
+
if (this.traceEnabled) {
|
|
105200
|
+
this.trace("cancelWithStatus code: " + status2 + ' details: "' + details + '"');
|
|
105201
|
+
}
|
|
105007
105202
|
this.reportStatus({ code: status2, details, metadata: new metadata_1.Metadata() });
|
|
105008
105203
|
for (const { call } of this.underlyingCalls) {
|
|
105009
105204
|
call.cancelWithStatus(status2, details);
|
|
@@ -105050,7 +105245,9 @@ var require_retrying_call = __commonJS({
|
|
|
105050
105245
|
if (this.state === "COMMITTED") {
|
|
105051
105246
|
return;
|
|
105052
105247
|
}
|
|
105053
|
-
|
|
105248
|
+
if (this.traceEnabled) {
|
|
105249
|
+
this.trace("Committing call [" + this.underlyingCalls[index].call.getCallNumber() + "] at index " + index);
|
|
105250
|
+
}
|
|
105054
105251
|
this.state = "COMMITTED";
|
|
105055
105252
|
(_b2 = (_a2 = this.callConfig).onCommitted) === null || _b2 === void 0 ? void 0 : _b2.call(_a2);
|
|
105056
105253
|
this.committedCallIndex = index;
|
|
@@ -105217,7 +105414,9 @@ var require_retrying_call = __commonJS({
|
|
|
105217
105414
|
if (this.underlyingCalls[callIndex].state === "COMPLETED") {
|
|
105218
105415
|
return;
|
|
105219
105416
|
}
|
|
105220
|
-
|
|
105417
|
+
if (this.traceEnabled) {
|
|
105418
|
+
this.trace("state=" + this.state + " handling status with progress " + status2.progress + " from child [" + this.underlyingCalls[callIndex].call.getCallNumber() + "] in state " + this.underlyingCalls[callIndex].state);
|
|
105419
|
+
}
|
|
105221
105420
|
this.underlyingCalls[callIndex].state = "COMPLETED";
|
|
105222
105421
|
if (status2.code === constants_1.Status.OK) {
|
|
105223
105422
|
(_a2 = this.retryThrottler) === null || _a2 === void 0 ? void 0 : _a2.addCallSucceeded();
|
|
@@ -105293,8 +105492,11 @@ var require_retrying_call = __commonJS({
|
|
|
105293
105492
|
(_c = (_b2 = this.hedgingTimer).unref) === null || _c === void 0 ? void 0 : _c.call(_b2);
|
|
105294
105493
|
}
|
|
105295
105494
|
startNewAttempt() {
|
|
105296
|
-
const
|
|
105297
|
-
|
|
105495
|
+
const childCallNumber = this.underlyingCalls.length > 0 ? (0, call_number_1.getNextCallNumber)() : this.callNumber;
|
|
105496
|
+
const child = this.channel.createLoadBalancingCall(this.callConfig, this.methodName, this.host, this.credentials, this.deadline, childCallNumber);
|
|
105497
|
+
if (this.traceEnabled) {
|
|
105498
|
+
this.trace("Created child call [" + child.getCallNumber() + "] for attempt " + this.attempts);
|
|
105499
|
+
}
|
|
105298
105500
|
const index = this.underlyingCalls.length;
|
|
105299
105501
|
this.underlyingCalls.push({
|
|
105300
105502
|
state: "ACTIVE",
|
|
@@ -105310,7 +105512,9 @@ var require_retrying_call = __commonJS({
|
|
|
105310
105512
|
let receivedMetadata = false;
|
|
105311
105513
|
child.start(initialMetadata, {
|
|
105312
105514
|
onReceiveMetadata: (metadata) => {
|
|
105313
|
-
this.
|
|
105515
|
+
if (this.traceEnabled) {
|
|
105516
|
+
this.trace("Received metadata from child [" + child.getCallNumber() + "]");
|
|
105517
|
+
}
|
|
105314
105518
|
this.commitCall(index);
|
|
105315
105519
|
receivedMetadata = true;
|
|
105316
105520
|
if (previousAttempts > 0) {
|
|
@@ -105321,14 +105525,18 @@ var require_retrying_call = __commonJS({
|
|
|
105321
105525
|
}
|
|
105322
105526
|
},
|
|
105323
105527
|
onReceiveMessage: (message) => {
|
|
105324
|
-
this.
|
|
105528
|
+
if (this.traceEnabled) {
|
|
105529
|
+
this.trace("Received message from child [" + child.getCallNumber() + "]");
|
|
105530
|
+
}
|
|
105325
105531
|
this.commitCall(index);
|
|
105326
105532
|
if (this.underlyingCalls[index].state === "ACTIVE") {
|
|
105327
105533
|
this.listener.onReceiveMessage(message);
|
|
105328
105534
|
}
|
|
105329
105535
|
},
|
|
105330
105536
|
onReceiveStatus: (status2) => {
|
|
105331
|
-
this.
|
|
105537
|
+
if (this.traceEnabled) {
|
|
105538
|
+
this.trace("Received status from child [" + child.getCallNumber() + "]");
|
|
105539
|
+
}
|
|
105332
105540
|
if (!receivedMetadata && previousAttempts > 0) {
|
|
105333
105541
|
status2.metadata.set(PREVIONS_RPC_ATTEMPTS_METADATA_KEY, `${previousAttempts}`);
|
|
105334
105542
|
}
|
|
@@ -105373,7 +105581,9 @@ var require_retrying_call = __commonJS({
|
|
|
105373
105581
|
}, bufferEntry.message.message);
|
|
105374
105582
|
const nextEntry = this.getBufferEntry(messageIndex + 1);
|
|
105375
105583
|
if (nextEntry.entryType === "HALF_CLOSE") {
|
|
105376
|
-
this.
|
|
105584
|
+
if (this.traceEnabled) {
|
|
105585
|
+
this.trace("Sending halfClose immediately after message to child [" + childCall.call.getCallNumber() + "] - optimizing for unary/final message");
|
|
105586
|
+
}
|
|
105377
105587
|
childCall.nextMessageToSend += 1;
|
|
105378
105588
|
childCall.call.halfClose();
|
|
105379
105589
|
}
|
|
@@ -105388,7 +105598,9 @@ var require_retrying_call = __commonJS({
|
|
|
105388
105598
|
}
|
|
105389
105599
|
}
|
|
105390
105600
|
sendMessageWithContext(context, message) {
|
|
105391
|
-
this.
|
|
105601
|
+
if (this.traceEnabled) {
|
|
105602
|
+
this.trace("write() called with message of length " + message.length);
|
|
105603
|
+
}
|
|
105392
105604
|
const writeObj = {
|
|
105393
105605
|
message,
|
|
105394
105606
|
flags: context.flags
|
|
@@ -105449,7 +105661,9 @@ var require_retrying_call = __commonJS({
|
|
|
105449
105661
|
for (const call of this.underlyingCalls) {
|
|
105450
105662
|
if ((call === null || call === void 0 ? void 0 : call.state) === "ACTIVE") {
|
|
105451
105663
|
if (call.nextMessageToSend === halfCloseIndex || call.nextMessageToSend === halfCloseIndex - 1) {
|
|
105452
|
-
this.
|
|
105664
|
+
if (this.traceEnabled) {
|
|
105665
|
+
this.trace("Sending halfClose immediately to child [" + call.call.getCallNumber() + "] - all messages already sent");
|
|
105666
|
+
}
|
|
105453
105667
|
call.nextMessageToSend += 1;
|
|
105454
105668
|
call.call.halfClose();
|
|
105455
105669
|
}
|
|
@@ -105477,9 +105691,9 @@ var require_retrying_call = __commonJS({
|
|
|
105477
105691
|
}
|
|
105478
105692
|
});
|
|
105479
105693
|
|
|
105480
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
105694
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js
|
|
105481
105695
|
var require_subchannel_interface = __commonJS({
|
|
105482
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
105696
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js"(exports) {
|
|
105483
105697
|
"use strict";
|
|
105484
105698
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
105485
105699
|
exports.BaseSubchannelWrapper = void 0;
|
|
@@ -105576,9 +105790,9 @@ var require_subchannel_interface = __commonJS({
|
|
|
105576
105790
|
}
|
|
105577
105791
|
});
|
|
105578
105792
|
|
|
105579
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
105793
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/internal-channel.js
|
|
105580
105794
|
var require_internal_channel = __commonJS({
|
|
105581
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
105795
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/internal-channel.js"(exports) {
|
|
105582
105796
|
"use strict";
|
|
105583
105797
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
105584
105798
|
exports.InternalChannel = exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = void 0;
|
|
@@ -105679,7 +105893,7 @@ var require_internal_channel = __commonJS({
|
|
|
105679
105893
|
this.connectivityState = connectivity_state_1.ConnectivityState.IDLE;
|
|
105680
105894
|
this.currentPicker = new picker_1.UnavailablePicker();
|
|
105681
105895
|
this.configSelectionQueue = [];
|
|
105682
|
-
this.pickQueue =
|
|
105896
|
+
this.pickQueue = /* @__PURE__ */ new Set();
|
|
105683
105897
|
this.connectivityStateWatchers = [];
|
|
105684
105898
|
this.callRefTimer = null;
|
|
105685
105899
|
this.configSelector = null;
|
|
@@ -105746,9 +105960,9 @@ var require_internal_channel = __commonJS({
|
|
|
105746
105960
|
},
|
|
105747
105961
|
updateState: (connectivityState, picker) => {
|
|
105748
105962
|
this.currentPicker = picker;
|
|
105749
|
-
const queueCopy = this.pickQueue
|
|
105750
|
-
this.pickQueue =
|
|
105751
|
-
if (queueCopy.
|
|
105963
|
+
const queueCopy = this.pickQueue;
|
|
105964
|
+
this.pickQueue = /* @__PURE__ */ new Set();
|
|
105965
|
+
if (queueCopy.size > 0) {
|
|
105752
105966
|
this.callRefTimerUnref();
|
|
105753
105967
|
}
|
|
105754
105968
|
for (const call of queueCopy) {
|
|
@@ -105815,15 +106029,22 @@ var require_internal_channel = __commonJS({
|
|
|
105815
106029
|
this.filterStackFactory = new filter_stack_1.FilterStackFactory([
|
|
105816
106030
|
new compression_filter_1.CompressionFilterFactory(this, this.options)
|
|
105817
106031
|
]);
|
|
105818
|
-
this.
|
|
105819
|
-
|
|
106032
|
+
if (this.traceEnabled) {
|
|
106033
|
+
this.trace("Channel constructed with options " + JSON.stringify(options, void 0, 2));
|
|
106034
|
+
}
|
|
105820
106035
|
if ((0, logging_1.isTracerEnabled)("channel_stacktrace")) {
|
|
106036
|
+
const error = new Error();
|
|
105821
106037
|
(0, logging_1.trace)(constants_1.LogVerbosity.DEBUG, "channel_stacktrace", "(" + this.channelzRef.id + ") Channel constructed \n" + ((_f = error.stack) === null || _f === void 0 ? void 0 : _f.substring(error.stack.indexOf("\n") + 1)));
|
|
105822
106038
|
}
|
|
105823
106039
|
this.lastActivityTimestamp = /* @__PURE__ */ new Date();
|
|
105824
106040
|
}
|
|
106041
|
+
get traceEnabled() {
|
|
106042
|
+
return (0, logging_1.isTracerEnabled)("channel");
|
|
106043
|
+
}
|
|
105825
106044
|
trace(text4, verbosityOverride) {
|
|
105826
|
-
|
|
106045
|
+
if (this.traceEnabled) {
|
|
106046
|
+
(0, logging_1.trace)(verbosityOverride !== null && verbosityOverride !== void 0 ? verbosityOverride : constants_1.LogVerbosity.DEBUG, "channel", "(" + this.channelzRef.id + ") " + (0, uri_parser_1.uriToString)(this.target) + " " + text4);
|
|
106047
|
+
}
|
|
105827
106048
|
}
|
|
105828
106049
|
callRefTimerRef() {
|
|
105829
106050
|
var _a2, _b2, _c, _d;
|
|
@@ -105832,14 +106053,18 @@ var require_internal_channel = __commonJS({
|
|
|
105832
106053
|
}, MAX_TIMEOUT_TIME);
|
|
105833
106054
|
}
|
|
105834
106055
|
if (!((_b2 = (_a2 = this.callRefTimer).hasRef) === null || _b2 === void 0 ? void 0 : _b2.call(_a2))) {
|
|
105835
|
-
|
|
106056
|
+
if (this.traceEnabled) {
|
|
106057
|
+
this.trace("callRefTimer.ref | configSelectionQueue.length=" + this.configSelectionQueue.length + " pickQueue.length=" + this.pickQueue.size);
|
|
106058
|
+
}
|
|
105836
106059
|
(_d = (_c = this.callRefTimer).ref) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
105837
106060
|
}
|
|
105838
106061
|
}
|
|
105839
106062
|
callRefTimerUnref() {
|
|
105840
106063
|
var _a2, _b2, _c;
|
|
105841
106064
|
if (!((_a2 = this.callRefTimer) === null || _a2 === void 0 ? void 0 : _a2.hasRef) || this.callRefTimer.hasRef()) {
|
|
105842
|
-
|
|
106065
|
+
if (this.traceEnabled) {
|
|
106066
|
+
this.trace("callRefTimer.unref | configSelectionQueue.length=" + this.configSelectionQueue.length + " pickQueue.length=" + this.pickQueue.size);
|
|
106067
|
+
}
|
|
105843
106068
|
(_c = (_b2 = this.callRefTimer) === null || _b2 === void 0 ? void 0 : _b2.unref) === null || _c === void 0 ? void 0 : _c.call(_b2);
|
|
105844
106069
|
}
|
|
105845
106070
|
}
|
|
@@ -105891,9 +106116,15 @@ var require_internal_channel = __commonJS({
|
|
|
105891
106116
|
});
|
|
105892
106117
|
}
|
|
105893
106118
|
queueCallForPick(call) {
|
|
105894
|
-
this.pickQueue.
|
|
106119
|
+
this.pickQueue.add(call);
|
|
105895
106120
|
this.callRefTimerRef();
|
|
105896
106121
|
}
|
|
106122
|
+
removeCallFromPickQueue(call) {
|
|
106123
|
+
this.pickQueue.delete(call);
|
|
106124
|
+
if (this.pickQueue.size === 0) {
|
|
106125
|
+
this.callRefTimerUnref();
|
|
106126
|
+
}
|
|
106127
|
+
}
|
|
105897
106128
|
getConfig(method, metadata) {
|
|
105898
106129
|
if (this.connectivityState !== connectivity_state_1.ConnectivityState.SHUTDOWN) {
|
|
105899
106130
|
this.resolvingLoadBalancer.exitIdle();
|
|
@@ -105974,19 +106205,25 @@ var require_internal_channel = __commonJS({
|
|
|
105974
106205
|
this.lastActivityTimestamp = /* @__PURE__ */ new Date();
|
|
105975
106206
|
this.maybeStartIdleTimer();
|
|
105976
106207
|
}
|
|
105977
|
-
createLoadBalancingCall(callConfig, method, host, credentials2, deadline) {
|
|
105978
|
-
const
|
|
105979
|
-
this.
|
|
105980
|
-
|
|
106208
|
+
createLoadBalancingCall(callConfig, method, host, credentials2, deadline, callNumber) {
|
|
106209
|
+
const finalCallNumber = callNumber !== null && callNumber !== void 0 ? callNumber : (0, call_number_1.getNextCallNumber)();
|
|
106210
|
+
if (this.traceEnabled) {
|
|
106211
|
+
this.trace("createLoadBalancingCall [" + finalCallNumber + '] method="' + method + '"');
|
|
106212
|
+
}
|
|
106213
|
+
return new load_balancing_call_1.LoadBalancingCall(this, callConfig, method, host, credentials2, deadline, finalCallNumber);
|
|
105981
106214
|
}
|
|
105982
|
-
createRetryingCall(callConfig, method, host, credentials2, deadline) {
|
|
105983
|
-
const
|
|
105984
|
-
this.
|
|
105985
|
-
|
|
106215
|
+
createRetryingCall(callConfig, method, host, credentials2, deadline, callNumber) {
|
|
106216
|
+
const finalCallNumber = callNumber !== null && callNumber !== void 0 ? callNumber : (0, call_number_1.getNextCallNumber)();
|
|
106217
|
+
if (this.traceEnabled) {
|
|
106218
|
+
this.trace("createRetryingCall [" + finalCallNumber + '] method="' + method + '"');
|
|
106219
|
+
}
|
|
106220
|
+
return new retrying_call_1.RetryingCall(this, callConfig, method, host, credentials2, deadline, finalCallNumber, this.retryBufferTracker, RETRY_THROTTLER_MAP.get(this.getTarget()));
|
|
105986
106221
|
}
|
|
105987
106222
|
createResolvingCall(method, deadline, host, parentCall, propagateFlags) {
|
|
105988
106223
|
const callNumber = (0, call_number_1.getNextCallNumber)();
|
|
105989
|
-
|
|
106224
|
+
if (this.traceEnabled) {
|
|
106225
|
+
this.trace("createResolvingCall [" + callNumber + '] method="' + method + '", deadline=' + (0, deadline_1.deadlineToString)(deadline));
|
|
106226
|
+
}
|
|
105990
106227
|
const finalOptions = {
|
|
105991
106228
|
deadline,
|
|
105992
106229
|
flags: propagateFlags !== null && propagateFlags !== void 0 ? propagateFlags : constants_1.Propagate.DEFAULTS,
|
|
@@ -106012,7 +106249,7 @@ var require_internal_channel = __commonJS({
|
|
|
106012
106249
|
for (const call of this.pickQueue) {
|
|
106013
106250
|
call.cancelWithStatus(constants_1.Status.UNAVAILABLE, "Channel closed before call started");
|
|
106014
106251
|
}
|
|
106015
|
-
this.pickQueue
|
|
106252
|
+
this.pickQueue.clear();
|
|
106016
106253
|
if (this.callRefTimer) {
|
|
106017
106254
|
clearInterval(this.callRefTimer);
|
|
106018
106255
|
}
|
|
@@ -106090,9 +106327,9 @@ var require_internal_channel = __commonJS({
|
|
|
106090
106327
|
}
|
|
106091
106328
|
});
|
|
106092
106329
|
|
|
106093
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106330
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel.js
|
|
106094
106331
|
var require_channel = __commonJS({
|
|
106095
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106332
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/channel.js"(exports) {
|
|
106096
106333
|
"use strict";
|
|
106097
106334
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
106098
106335
|
exports.ChannelImplementation = void 0;
|
|
@@ -106147,9 +106384,9 @@ var require_channel = __commonJS({
|
|
|
106147
106384
|
}
|
|
106148
106385
|
});
|
|
106149
106386
|
|
|
106150
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106387
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-call.js
|
|
106151
106388
|
var require_server_call = __commonJS({
|
|
106152
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106389
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-call.js"(exports) {
|
|
106153
106390
|
"use strict";
|
|
106154
106391
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
106155
106392
|
exports.ServerDuplexStreamImpl = exports.ServerWritableStreamImpl = exports.ServerReadableStreamImpl = exports.ServerUnaryCallImpl = void 0;
|
|
@@ -106356,9 +106593,9 @@ var require_server_call = __commonJS({
|
|
|
106356
106593
|
}
|
|
106357
106594
|
});
|
|
106358
106595
|
|
|
106359
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106596
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-credentials.js
|
|
106360
106597
|
var require_server_credentials = __commonJS({
|
|
106361
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106598
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-credentials.js"(exports) {
|
|
106362
106599
|
"use strict";
|
|
106363
106600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
106364
106601
|
exports.ServerCredentials = void 0;
|
|
@@ -106646,9 +106883,9 @@ var require_server_credentials = __commonJS({
|
|
|
106646
106883
|
}
|
|
106647
106884
|
});
|
|
106648
106885
|
|
|
106649
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106886
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/duration.js
|
|
106650
106887
|
var require_duration = __commonJS({
|
|
106651
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106888
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/duration.js"(exports) {
|
|
106652
106889
|
"use strict";
|
|
106653
106890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
106654
106891
|
exports.durationMessageToDuration = durationMessageToDuration;
|
|
@@ -106707,9 +106944,9 @@ var require_duration = __commonJS({
|
|
|
106707
106944
|
}
|
|
106708
106945
|
});
|
|
106709
106946
|
|
|
106710
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106947
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/orca.js
|
|
106711
106948
|
var require_orca = __commonJS({
|
|
106712
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
106949
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/orca.js"(exports) {
|
|
106713
106950
|
"use strict";
|
|
106714
106951
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
106715
106952
|
exports.OrcaOobMetricsSubchannelWrapper = exports.GRPC_METRICS_HEADER = exports.ServerMetricRecorder = exports.PerRequestMetricRecorder = void 0;
|
|
@@ -107002,9 +107239,9 @@ var require_orca = __commonJS({
|
|
|
107002
107239
|
}
|
|
107003
107240
|
});
|
|
107004
107241
|
|
|
107005
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
107242
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-interceptors.js
|
|
107006
107243
|
var require_server_interceptors = __commonJS({
|
|
107007
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
107244
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server-interceptors.js"(exports) {
|
|
107008
107245
|
"use strict";
|
|
107009
107246
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
107010
107247
|
exports.BaseServerInterceptingCall = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = void 0;
|
|
@@ -107720,15 +107957,17 @@ var require_server_interceptors = __commonJS({
|
|
|
107720
107957
|
}
|
|
107721
107958
|
getAuthContext() {
|
|
107722
107959
|
var _a2;
|
|
107723
|
-
if (((_a2 = this.stream.session) === null || _a2 === void 0 ? void 0 : _a2.socket) instanceof tls_1.TLSSocket) {
|
|
107724
|
-
const peerCertificate = this.stream.session.socket.getPeerCertificate();
|
|
107725
|
-
return {
|
|
107726
|
-
transportSecurityType: "ssl",
|
|
107727
|
-
sslPeerCertificate: peerCertificate.raw ? peerCertificate : void 0
|
|
107728
|
-
};
|
|
107729
|
-
} else {
|
|
107960
|
+
if (!(((_a2 = this.stream.session) === null || _a2 === void 0 ? void 0 : _a2.socket) instanceof tls_1.TLSSocket)) {
|
|
107730
107961
|
return {};
|
|
107731
107962
|
}
|
|
107963
|
+
if (!this.stream.session.socket.authorized) {
|
|
107964
|
+
return {};
|
|
107965
|
+
}
|
|
107966
|
+
const peerCertificate = this.stream.session.socket.getPeerCertificate();
|
|
107967
|
+
return {
|
|
107968
|
+
transportSecurityType: "ssl",
|
|
107969
|
+
sslPeerCertificate: peerCertificate.raw ? peerCertificate : void 0
|
|
107970
|
+
};
|
|
107732
107971
|
}
|
|
107733
107972
|
getConnectionInfo() {
|
|
107734
107973
|
return this.connectionInfo;
|
|
@@ -107754,9 +107993,9 @@ var require_server_interceptors = __commonJS({
|
|
|
107754
107993
|
}
|
|
107755
107994
|
});
|
|
107756
107995
|
|
|
107757
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
107996
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server.js
|
|
107758
107997
|
var require_server = __commonJS({
|
|
107759
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
107998
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/server.js"(exports) {
|
|
107760
107999
|
"use strict";
|
|
107761
108000
|
var __runInitializers = exports && exports.__runInitializers || function(thisArg, initializers, value) {
|
|
107762
108001
|
var useValue = arguments.length > 2;
|
|
@@ -107810,6 +108049,7 @@ var require_server = __commonJS({
|
|
|
107810
108049
|
var uri_parser_1 = require_uri_parser();
|
|
107811
108050
|
var channelz_1 = require_channelz();
|
|
107812
108051
|
var server_interceptors_1 = require_server_interceptors();
|
|
108052
|
+
var environment_1 = require_environment();
|
|
107813
108053
|
var UNLIMITED_CONNECTION_AGE_MS = ~(1 << 31);
|
|
107814
108054
|
var KEEPALIVE_MAX_TIME_MS = ~(1 << 31);
|
|
107815
108055
|
var KEEPALIVE_TIMEOUT_MS = 2e4;
|
|
@@ -109063,9 +109303,15 @@ var require_server = __commonJS({
|
|
|
109063
109303
|
try {
|
|
109064
109304
|
handler.func(stream, respond);
|
|
109065
109305
|
} catch (err2) {
|
|
109306
|
+
let details;
|
|
109307
|
+
if (environment_1.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS) {
|
|
109308
|
+
details = `Server method handler threw error ${err2.message}`;
|
|
109309
|
+
} else {
|
|
109310
|
+
details = "Unknown error";
|
|
109311
|
+
}
|
|
109066
109312
|
call.sendStatus({
|
|
109067
109313
|
code: constants_1.Status.UNKNOWN,
|
|
109068
|
-
details
|
|
109314
|
+
details,
|
|
109069
109315
|
metadata: null
|
|
109070
109316
|
});
|
|
109071
109317
|
}
|
|
@@ -109099,9 +109345,15 @@ var require_server = __commonJS({
|
|
|
109099
109345
|
try {
|
|
109100
109346
|
handler.func(stream, respond);
|
|
109101
109347
|
} catch (err2) {
|
|
109348
|
+
let details;
|
|
109349
|
+
if (environment_1.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS) {
|
|
109350
|
+
details = `Server method handler threw error ${err2.message}`;
|
|
109351
|
+
} else {
|
|
109352
|
+
details = "Unknown error";
|
|
109353
|
+
}
|
|
109102
109354
|
call.sendStatus({
|
|
109103
109355
|
code: constants_1.Status.UNKNOWN,
|
|
109104
|
-
details
|
|
109356
|
+
details,
|
|
109105
109357
|
metadata: null
|
|
109106
109358
|
});
|
|
109107
109359
|
}
|
|
@@ -109155,9 +109407,15 @@ var require_server = __commonJS({
|
|
|
109155
109407
|
try {
|
|
109156
109408
|
handler.func(stream);
|
|
109157
109409
|
} catch (err2) {
|
|
109410
|
+
let details;
|
|
109411
|
+
if (environment_1.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS) {
|
|
109412
|
+
details = `Server method handler threw error ${err2.message}`;
|
|
109413
|
+
} else {
|
|
109414
|
+
details = "Unknown error";
|
|
109415
|
+
}
|
|
109158
109416
|
call.sendStatus({
|
|
109159
109417
|
code: constants_1.Status.UNKNOWN,
|
|
109160
|
-
details
|
|
109418
|
+
details,
|
|
109161
109419
|
metadata: null
|
|
109162
109420
|
});
|
|
109163
109421
|
}
|
|
@@ -109179,9 +109437,15 @@ var require_server = __commonJS({
|
|
|
109179
109437
|
try {
|
|
109180
109438
|
handler.func(stream);
|
|
109181
109439
|
} catch (err2) {
|
|
109440
|
+
let details;
|
|
109441
|
+
if (environment_1.GRPC_NODE_DEBUG_SEND_ERROR_DETAILS) {
|
|
109442
|
+
details = `Server method handler threw error ${err2.message}`;
|
|
109443
|
+
} else {
|
|
109444
|
+
details = "Unknown error";
|
|
109445
|
+
}
|
|
109182
109446
|
call.sendStatus({
|
|
109183
109447
|
code: constants_1.Status.UNKNOWN,
|
|
109184
|
-
details
|
|
109448
|
+
details,
|
|
109185
109449
|
metadata: null
|
|
109186
109450
|
});
|
|
109187
109451
|
}
|
|
@@ -109204,9 +109468,9 @@ var require_server = __commonJS({
|
|
|
109204
109468
|
}
|
|
109205
109469
|
});
|
|
109206
109470
|
|
|
109207
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
109471
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/status-builder.js
|
|
109208
109472
|
var require_status_builder = __commonJS({
|
|
109209
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
109473
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/status-builder.js"(exports) {
|
|
109210
109474
|
"use strict";
|
|
109211
109475
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109212
109476
|
exports.StatusBuilder = void 0;
|
|
@@ -109258,9 +109522,9 @@ var require_status_builder = __commonJS({
|
|
|
109258
109522
|
}
|
|
109259
109523
|
});
|
|
109260
109524
|
|
|
109261
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
109525
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js
|
|
109262
109526
|
var require_load_balancer_pick_first = __commonJS({
|
|
109263
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
109527
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js"(exports) {
|
|
109264
109528
|
"use strict";
|
|
109265
109529
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109266
109530
|
exports.LeafLoadBalancer = exports.PickFirstLoadBalancer = exports.PickFirstLoadBalancingConfig = void 0;
|
|
@@ -109677,9 +109941,9 @@ var require_load_balancer_pick_first = __commonJS({
|
|
|
109677
109941
|
}
|
|
109678
109942
|
});
|
|
109679
109943
|
|
|
109680
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
109944
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/certificate-provider.js
|
|
109681
109945
|
var require_certificate_provider = __commonJS({
|
|
109682
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
109946
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/certificate-provider.js"(exports) {
|
|
109683
109947
|
"use strict";
|
|
109684
109948
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109685
109949
|
exports.FileWatcherCertificateProvider = void 0;
|
|
@@ -109800,9 +110064,9 @@ var require_certificate_provider = __commonJS({
|
|
|
109800
110064
|
}
|
|
109801
110065
|
});
|
|
109802
110066
|
|
|
109803
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110067
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/experimental.js
|
|
109804
110068
|
var require_experimental = __commonJS({
|
|
109805
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110069
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/experimental.js"(exports) {
|
|
109806
110070
|
"use strict";
|
|
109807
110071
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109808
110072
|
exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = exports.createCertificateProviderChannelCredentials = exports.FileWatcherCertificateProvider = exports.createCertificateProviderServerCredentials = exports.createServerCredentialsWithInterceptors = exports.BaseSubchannelWrapper = exports.registerAdminService = exports.FilterStackFactory = exports.BaseFilter = exports.statusOrFromError = exports.statusOrFromValue = exports.PickResultType = exports.QueuePicker = exports.UnavailablePicker = exports.ChildLoadBalancerHandler = exports.EndpointMap = exports.endpointHasAddress = exports.endpointToString = exports.subchannelAddressToString = exports.LeafLoadBalancer = exports.isLoadBalancerNameRegistered = exports.parseLoadBalancingConfig = exports.selectLbConfigFromList = exports.registerLoadBalancerType = exports.createChildChannelControlHelper = exports.BackoffTimeout = exports.parseDuration = exports.durationToMs = exports.splitHostPort = exports.uriToString = exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = exports.createResolver = exports.registerResolver = exports.log = exports.trace = void 0;
|
|
@@ -109933,9 +110197,9 @@ var require_experimental = __commonJS({
|
|
|
109933
110197
|
}
|
|
109934
110198
|
});
|
|
109935
110199
|
|
|
109936
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110200
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-uds.js
|
|
109937
110201
|
var require_resolver_uds = __commonJS({
|
|
109938
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110202
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-uds.js"(exports) {
|
|
109939
110203
|
"use strict";
|
|
109940
110204
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109941
110205
|
exports.setup = setup;
|
|
@@ -109973,9 +110237,9 @@ var require_resolver_uds = __commonJS({
|
|
|
109973
110237
|
}
|
|
109974
110238
|
});
|
|
109975
110239
|
|
|
109976
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110240
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-ip.js
|
|
109977
110241
|
var require_resolver_ip = __commonJS({
|
|
109978
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110242
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/resolver-ip.js"(exports) {
|
|
109979
110243
|
"use strict";
|
|
109980
110244
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
109981
110245
|
exports.setup = setup;
|
|
@@ -110064,9 +110328,9 @@ var require_resolver_ip = __commonJS({
|
|
|
110064
110328
|
}
|
|
110065
110329
|
});
|
|
110066
110330
|
|
|
110067
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110331
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js
|
|
110068
110332
|
var require_load_balancer_round_robin = __commonJS({
|
|
110069
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110333
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js"(exports) {
|
|
110070
110334
|
"use strict";
|
|
110071
110335
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
110072
110336
|
exports.RoundRobinLoadBalancer = void 0;
|
|
@@ -110239,9 +110503,9 @@ var require_load_balancer_round_robin = __commonJS({
|
|
|
110239
110503
|
}
|
|
110240
110504
|
});
|
|
110241
110505
|
|
|
110242
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110506
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js
|
|
110243
110507
|
var require_load_balancer_outlier_detection = __commonJS({
|
|
110244
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
110508
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js"(exports) {
|
|
110245
110509
|
"use strict";
|
|
110246
110510
|
var _a2;
|
|
110247
110511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -110736,9 +111000,9 @@ var require_load_balancer_outlier_detection = __commonJS({
|
|
|
110736
111000
|
}
|
|
110737
111001
|
});
|
|
110738
111002
|
|
|
110739
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
111003
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/priority-queue.js
|
|
110740
111004
|
var require_priority_queue = __commonJS({
|
|
110741
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
111005
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/priority-queue.js"(exports) {
|
|
110742
111006
|
"use strict";
|
|
110743
111007
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
110744
111008
|
exports.PriorityQueue = void 0;
|
|
@@ -110840,9 +111104,9 @@ var require_priority_queue = __commonJS({
|
|
|
110840
111104
|
}
|
|
110841
111105
|
});
|
|
110842
111106
|
|
|
110843
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
111107
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js
|
|
110844
111108
|
var require_load_balancer_weighted_round_robin = __commonJS({
|
|
110845
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
111109
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js"(exports) {
|
|
110846
111110
|
"use strict";
|
|
110847
111111
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
110848
111112
|
exports.WeightedRoundRobinLoadBalancingConfig = void 0;
|
|
@@ -111192,9 +111456,9 @@ var require_load_balancer_weighted_round_robin = __commonJS({
|
|
|
111192
111456
|
}
|
|
111193
111457
|
});
|
|
111194
111458
|
|
|
111195
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
111459
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/index.js
|
|
111196
111460
|
var require_src3 = __commonJS({
|
|
111197
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.
|
|
111461
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.14.5/node_modules/@grpc/grpc-js/build/src/index.js"(exports) {
|
|
111198
111462
|
"use strict";
|
|
111199
111463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
111200
111464
|
exports.experimental = exports.ServerMetricRecorder = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = exports.addAdminServicesToServer = exports.getChannelzHandlers = exports.getChannelzServiceDefinition = exports.InterceptorConfigurationError = exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.StatusBuilder = exports.getClientChannel = exports.ServerCredentials = exports.Server = exports.setLogVerbosity = exports.setLogger = exports.load = exports.loadObject = exports.CallCredentials = exports.ChannelCredentials = exports.waitForClientReady = exports.closeClient = exports.Channel = exports.makeGenericClientConstructor = exports.makeClientConstructor = exports.loadPackageDefinition = exports.Client = exports.compressionAlgorithms = exports.propagate = exports.connectivityState = exports.status = exports.logVerbosity = exports.Metadata = exports.credentials = void 0;
|