@indigoai-us/hq-cli 5.345.32 → 5.345.33
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/CHANGELOG.md +8 -0
- package/dist/command-catalog.generated.d.ts +92 -3
- package/dist/command-catalog.generated.js +111 -3
- package/dist/commands/db-dump.d.ts +8 -0
- package/dist/commands/db-dump.js +50 -0
- package/dist/commands/db-provision.d.ts +3 -10
- package/dist/commands/db-provision.js +26 -47
- package/dist/commands/db-remote-deps.d.ts +18 -0
- package/dist/commands/db-remote-deps.js +59 -0
- package/dist/commands/db-sql.d.ts +2 -1
- package/dist/commands/db-sql.js +30 -5
- package/dist/commands/db-usage.d.ts +7 -0
- package/dist/commands/db-usage.js +28 -0
- package/dist/commands/db.js +4 -0
- package/dist/commands/files.js +33 -5
- package/dist/commands/lanes-message.js +40 -8
- package/dist/commands/lanes-questions.d.ts +6 -1
- package/dist/commands/lanes-questions.js +19 -7
- package/dist/commands/lanes-resume.js +17 -6
- package/dist/commands/lanes-shared.d.ts +6 -1
- package/dist/commands/lanes.js +74 -1
- package/dist/commands/mesh.js +150 -26
- package/dist/hq-cloud-sync-runner/bin/sync-runner.js +68 -604
- package/dist/hq-cloud-sync-runner/package.json +1 -1
- package/dist/lib/db/control-plane.d.ts +32 -0
- package/dist/lib/db/control-plane.js +50 -0
- package/dist/lib/db/redact.d.ts +4 -0
- package/dist/lib/db/redact.js +17 -0
- package/dist/lib/db/remote-engine.d.ts +67 -0
- package/dist/lib/db/remote-engine.js +165 -0
- package/dist/lib/db/usage-format.d.ts +4 -0
- package/dist/lib/db/usage-format.js +41 -0
- package/dist/lib/lanes/keep-alive.d.ts +12 -0
- package/dist/lib/lanes/keep-alive.js +25 -6
- package/dist/lib/mesh/api.d.ts +2 -0
- package/dist/lib/mesh/project-board.d.ts +17 -0
- package/dist/lib/mesh/project-board.js +28 -0
- package/dist/lib/mesh/story-status.d.ts +16 -0
- package/dist/lib/mesh/story-status.js +32 -7
- package/dist/utils/self-update.d.ts +2 -0
- package/dist/utils/self-update.js +61 -23
- package/dist/utils/version-check.d.ts +1 -1
- package/dist/utils/version-check.js +2 -2
- package/dist/utils/version-gate.d.ts +21 -14
- package/dist/utils/version-gate.js +119 -28
- package/package.json +4 -1
|
@@ -21824,16 +21824,18 @@ var init_protocols2 = __esm({
|
|
|
21824
21824
|
}
|
|
21825
21825
|
});
|
|
21826
21826
|
|
|
21827
|
-
// node_modules/.pnpm/@smithy+signature-v4@5.7.
|
|
21827
|
+
// node_modules/.pnpm/@smithy+signature-v4@5.7.3/node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
21828
21828
|
var require_dist_cjs9 = __commonJS({
|
|
21829
|
-
"node_modules/.pnpm/@smithy+signature-v4@5.7.
|
|
21830
|
-
var { fromUtf8: fromUtf85, fromHex: fromHex3, toHex: toHex3, toUint8Array: toUint8Array3, isArrayBuffer: isArrayBuffer3 } = (init_serde(), __toCommonJS(serde_exports));
|
|
21829
|
+
"node_modules/.pnpm/@smithy+signature-v4@5.7.3/node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports) {
|
|
21830
|
+
var { hasOwn: hasOwn2, fromUtf8: fromUtf85, fromHex: fromHex3, toHex: toHex3, toUint8Array: toUint8Array3, isArrayBuffer: isArrayBuffer3 } = (init_serde(), __toCommonJS(serde_exports));
|
|
21831
21831
|
var { normalizeProvider: normalizeProvider5 } = (init_client2(), __toCommonJS(client_exports));
|
|
21832
21832
|
var { escapeUri: escapeUri3, HttpRequest: HttpRequest3 } = (init_protocols(), __toCommonJS(protocols_exports));
|
|
21833
21833
|
var HeaderFormatter = class {
|
|
21834
21834
|
format(headers) {
|
|
21835
21835
|
const chunks = [];
|
|
21836
|
-
for (const headerName
|
|
21836
|
+
for (const headerName in headers) {
|
|
21837
|
+
if (!hasOwn2(headers, headerName))
|
|
21838
|
+
continue;
|
|
21837
21839
|
const bytes = fromUtf85(headerName);
|
|
21838
21840
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
21839
21841
|
}
|
|
@@ -22000,7 +22002,9 @@ var require_dist_cjs9 = __commonJS({
|
|
|
22000
22002
|
var getCanonicalQuery = ({ query = {} }) => {
|
|
22001
22003
|
const keys = [];
|
|
22002
22004
|
const serialized = {};
|
|
22003
|
-
for (const key
|
|
22005
|
+
for (const key in query) {
|
|
22006
|
+
if (!hasOwn2(query, key))
|
|
22007
|
+
continue;
|
|
22004
22008
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
22005
22009
|
continue;
|
|
22006
22010
|
}
|
|
@@ -22145,7 +22149,9 @@ ${toHex3(hashedRequest)}`;
|
|
|
22145
22149
|
return canonical;
|
|
22146
22150
|
};
|
|
22147
22151
|
var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
22148
|
-
for (const headerName
|
|
22152
|
+
for (const headerName in headers) {
|
|
22153
|
+
if (!hasOwn2(headers, headerName))
|
|
22154
|
+
continue;
|
|
22149
22155
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
22150
22156
|
return headers[headerName];
|
|
22151
22157
|
}
|
|
@@ -22161,7 +22167,9 @@ ${toHex3(hashedRequest)}`;
|
|
|
22161
22167
|
};
|
|
22162
22168
|
var hasHeader = (soughtHeader, headers) => {
|
|
22163
22169
|
soughtHeader = soughtHeader.toLowerCase();
|
|
22164
|
-
for (const headerName
|
|
22170
|
+
for (const headerName in headers) {
|
|
22171
|
+
if (!hasOwn2(headers, headerName))
|
|
22172
|
+
continue;
|
|
22165
22173
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
22166
22174
|
return true;
|
|
22167
22175
|
}
|
|
@@ -22170,7 +22178,9 @@ ${toHex3(hashedRequest)}`;
|
|
|
22170
22178
|
};
|
|
22171
22179
|
var moveHeadersToQuery = (request5, options = {}) => {
|
|
22172
22180
|
const { headers, query = {} } = HttpRequest3.clone(request5);
|
|
22173
|
-
for (const name
|
|
22181
|
+
for (const name in headers) {
|
|
22182
|
+
if (!hasOwn2(headers, name))
|
|
22183
|
+
continue;
|
|
22174
22184
|
const lname = name.toLowerCase();
|
|
22175
22185
|
if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
|
|
22176
22186
|
query[name] = headers[name];
|
|
@@ -22185,7 +22195,9 @@ ${toHex3(hashedRequest)}`;
|
|
|
22185
22195
|
};
|
|
22186
22196
|
var prepareRequest = (request5) => {
|
|
22187
22197
|
request5 = HttpRequest3.clone(request5);
|
|
22188
|
-
for (const headerName
|
|
22198
|
+
for (const headerName in request5.headers) {
|
|
22199
|
+
if (!hasOwn2(request5.headers, headerName))
|
|
22200
|
+
continue;
|
|
22189
22201
|
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
22190
22202
|
delete request5.headers[headerName];
|
|
22191
22203
|
}
|
|
@@ -43075,554 +43087,6 @@ var init_resolveAwsSdkSigV4AConfig2 = __esm({
|
|
|
43075
43087
|
}
|
|
43076
43088
|
});
|
|
43077
43089
|
|
|
43078
|
-
// node_modules/.pnpm/@smithy+signature-v4@5.7.3/node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
43079
|
-
var require_dist_cjs16 = __commonJS({
|
|
43080
|
-
"node_modules/.pnpm/@smithy+signature-v4@5.7.3/node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports) {
|
|
43081
|
-
var { hasOwn: hasOwn2, fromUtf8: fromUtf85, fromHex: fromHex3, toHex: toHex3, toUint8Array: toUint8Array3, isArrayBuffer: isArrayBuffer3 } = (init_serde(), __toCommonJS(serde_exports));
|
|
43082
|
-
var { normalizeProvider: normalizeProvider5 } = (init_client2(), __toCommonJS(client_exports));
|
|
43083
|
-
var { escapeUri: escapeUri3, HttpRequest: HttpRequest3 } = (init_protocols(), __toCommonJS(protocols_exports));
|
|
43084
|
-
var HeaderFormatter = class {
|
|
43085
|
-
format(headers) {
|
|
43086
|
-
const chunks = [];
|
|
43087
|
-
for (const headerName in headers) {
|
|
43088
|
-
if (!hasOwn2(headers, headerName))
|
|
43089
|
-
continue;
|
|
43090
|
-
const bytes = fromUtf85(headerName);
|
|
43091
|
-
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
43092
|
-
}
|
|
43093
|
-
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
43094
|
-
let position = 0;
|
|
43095
|
-
for (const chunk of chunks) {
|
|
43096
|
-
out.set(chunk, position);
|
|
43097
|
-
position += chunk.byteLength;
|
|
43098
|
-
}
|
|
43099
|
-
return out;
|
|
43100
|
-
}
|
|
43101
|
-
formatHeaderValue(header) {
|
|
43102
|
-
switch (header.type) {
|
|
43103
|
-
case "boolean":
|
|
43104
|
-
return Uint8Array.from([header.value ? 0 : 1]);
|
|
43105
|
-
case "byte":
|
|
43106
|
-
return Uint8Array.from([2, header.value]);
|
|
43107
|
-
case "short":
|
|
43108
|
-
const shortView = new DataView(new ArrayBuffer(3));
|
|
43109
|
-
shortView.setUint8(0, 3);
|
|
43110
|
-
shortView.setInt16(1, header.value, false);
|
|
43111
|
-
return new Uint8Array(shortView.buffer);
|
|
43112
|
-
case "integer":
|
|
43113
|
-
const intView = new DataView(new ArrayBuffer(5));
|
|
43114
|
-
intView.setUint8(0, 4);
|
|
43115
|
-
intView.setInt32(1, header.value, false);
|
|
43116
|
-
return new Uint8Array(intView.buffer);
|
|
43117
|
-
case "long":
|
|
43118
|
-
const longBytes = new Uint8Array(9);
|
|
43119
|
-
longBytes[0] = 5;
|
|
43120
|
-
longBytes.set(header.value.bytes, 1);
|
|
43121
|
-
return longBytes;
|
|
43122
|
-
case "binary":
|
|
43123
|
-
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
43124
|
-
binView.setUint8(0, 6);
|
|
43125
|
-
binView.setUint16(1, header.value.byteLength, false);
|
|
43126
|
-
const binBytes = new Uint8Array(binView.buffer);
|
|
43127
|
-
binBytes.set(header.value, 3);
|
|
43128
|
-
return binBytes;
|
|
43129
|
-
case "string":
|
|
43130
|
-
const utf8Bytes = fromUtf85(header.value);
|
|
43131
|
-
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
43132
|
-
strView.setUint8(0, 7);
|
|
43133
|
-
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
43134
|
-
const strBytes = new Uint8Array(strView.buffer);
|
|
43135
|
-
strBytes.set(utf8Bytes, 3);
|
|
43136
|
-
return strBytes;
|
|
43137
|
-
case "timestamp":
|
|
43138
|
-
const tsBytes = new Uint8Array(9);
|
|
43139
|
-
tsBytes[0] = 8;
|
|
43140
|
-
tsBytes.set(Int643.fromNumber(header.value.valueOf()).bytes, 1);
|
|
43141
|
-
return tsBytes;
|
|
43142
|
-
case "uuid":
|
|
43143
|
-
if (!UUID_PATTERN3.test(header.value)) {
|
|
43144
|
-
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
43145
|
-
}
|
|
43146
|
-
const uuidBytes = new Uint8Array(17);
|
|
43147
|
-
uuidBytes[0] = 9;
|
|
43148
|
-
uuidBytes.set(fromHex3(header.value.replace(/-/g, "")), 1);
|
|
43149
|
-
return uuidBytes;
|
|
43150
|
-
}
|
|
43151
|
-
}
|
|
43152
|
-
};
|
|
43153
|
-
var HEADER_VALUE_TYPE3;
|
|
43154
|
-
(function(HEADER_VALUE_TYPE4) {
|
|
43155
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["boolTrue"] = 0] = "boolTrue";
|
|
43156
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["boolFalse"] = 1] = "boolFalse";
|
|
43157
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["byte"] = 2] = "byte";
|
|
43158
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["short"] = 3] = "short";
|
|
43159
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["integer"] = 4] = "integer";
|
|
43160
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["long"] = 5] = "long";
|
|
43161
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["byteArray"] = 6] = "byteArray";
|
|
43162
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["string"] = 7] = "string";
|
|
43163
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["timestamp"] = 8] = "timestamp";
|
|
43164
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["uuid"] = 9] = "uuid";
|
|
43165
|
-
})(HEADER_VALUE_TYPE3 || (HEADER_VALUE_TYPE3 = {}));
|
|
43166
|
-
var UUID_PATTERN3 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
43167
|
-
var Int643 = class _Int64 {
|
|
43168
|
-
bytes;
|
|
43169
|
-
constructor(bytes) {
|
|
43170
|
-
this.bytes = bytes;
|
|
43171
|
-
if (bytes.byteLength !== 8) {
|
|
43172
|
-
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
43173
|
-
}
|
|
43174
|
-
}
|
|
43175
|
-
static fromNumber(number4) {
|
|
43176
|
-
if (number4 > 9223372036854776e3 || number4 < -9223372036854776e3) {
|
|
43177
|
-
throw new Error(`${number4} is too large (or, if negative, too small) to represent as an Int64`);
|
|
43178
|
-
}
|
|
43179
|
-
const bytes = new Uint8Array(8);
|
|
43180
|
-
for (let i6 = 7, remaining = Math.abs(Math.round(number4)); i6 > -1 && remaining > 0; i6--, remaining /= 256) {
|
|
43181
|
-
bytes[i6] = remaining;
|
|
43182
|
-
}
|
|
43183
|
-
if (number4 < 0) {
|
|
43184
|
-
negate3(bytes);
|
|
43185
|
-
}
|
|
43186
|
-
return new _Int64(bytes);
|
|
43187
|
-
}
|
|
43188
|
-
valueOf() {
|
|
43189
|
-
const bytes = this.bytes.slice(0);
|
|
43190
|
-
const negative = bytes[0] & 128;
|
|
43191
|
-
if (negative) {
|
|
43192
|
-
negate3(bytes);
|
|
43193
|
-
}
|
|
43194
|
-
return parseInt(toHex3(bytes), 16) * (negative ? -1 : 1);
|
|
43195
|
-
}
|
|
43196
|
-
toString() {
|
|
43197
|
-
return String(this.valueOf());
|
|
43198
|
-
}
|
|
43199
|
-
};
|
|
43200
|
-
function negate3(bytes) {
|
|
43201
|
-
for (let i6 = 0; i6 < 8; i6++) {
|
|
43202
|
-
bytes[i6] ^= 255;
|
|
43203
|
-
}
|
|
43204
|
-
for (let i6 = 7; i6 > -1; i6--) {
|
|
43205
|
-
bytes[i6]++;
|
|
43206
|
-
if (bytes[i6] !== 0)
|
|
43207
|
-
break;
|
|
43208
|
-
}
|
|
43209
|
-
}
|
|
43210
|
-
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
43211
|
-
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
43212
|
-
var AMZ_DATE_QUERY_PARAM = "X-Amz-Date";
|
|
43213
|
-
var SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders";
|
|
43214
|
-
var EXPIRES_QUERY_PARAM = "X-Amz-Expires";
|
|
43215
|
-
var SIGNATURE_QUERY_PARAM = "X-Amz-Signature";
|
|
43216
|
-
var TOKEN_QUERY_PARAM = "X-Amz-Security-Token";
|
|
43217
|
-
var REGION_SET_PARAM = "X-Amz-Region-Set";
|
|
43218
|
-
var AUTH_HEADER = "authorization";
|
|
43219
|
-
var AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase();
|
|
43220
|
-
var DATE_HEADER = "date";
|
|
43221
|
-
var GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER];
|
|
43222
|
-
var SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase();
|
|
43223
|
-
var SHA256_HEADER = "x-amz-content-sha256";
|
|
43224
|
-
var TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase();
|
|
43225
|
-
var HOST_HEADER = "host";
|
|
43226
|
-
var ALWAYS_UNSIGNABLE_HEADERS = {
|
|
43227
|
-
authorization: true,
|
|
43228
|
-
"cache-control": true,
|
|
43229
|
-
connection: true,
|
|
43230
|
-
expect: true,
|
|
43231
|
-
from: true,
|
|
43232
|
-
"keep-alive": true,
|
|
43233
|
-
"max-forwards": true,
|
|
43234
|
-
pragma: true,
|
|
43235
|
-
referer: true,
|
|
43236
|
-
te: true,
|
|
43237
|
-
trailer: true,
|
|
43238
|
-
"transfer-encoding": true,
|
|
43239
|
-
upgrade: true,
|
|
43240
|
-
"user-agent": true,
|
|
43241
|
-
"x-amzn-trace-id": true
|
|
43242
|
-
};
|
|
43243
|
-
var PROXY_HEADER_PATTERN = /^proxy-/;
|
|
43244
|
-
var SEC_HEADER_PATTERN = /^sec-/;
|
|
43245
|
-
var UNSIGNABLE_PATTERNS = [/^proxy-/i, /^sec-/i];
|
|
43246
|
-
var ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256";
|
|
43247
|
-
var ALGORITHM_IDENTIFIER_V4A = "AWS4-ECDSA-P256-SHA256";
|
|
43248
|
-
var EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD";
|
|
43249
|
-
var UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD";
|
|
43250
|
-
var MAX_CACHE_SIZE = 50;
|
|
43251
|
-
var KEY_TYPE_IDENTIFIER = "aws4_request";
|
|
43252
|
-
var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
43253
|
-
var getCanonicalQuery = ({ query = {} }) => {
|
|
43254
|
-
const keys = [];
|
|
43255
|
-
const serialized = {};
|
|
43256
|
-
for (const key in query) {
|
|
43257
|
-
if (!hasOwn2(query, key))
|
|
43258
|
-
continue;
|
|
43259
|
-
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
43260
|
-
continue;
|
|
43261
|
-
}
|
|
43262
|
-
const encodedKey = escapeUri3(key);
|
|
43263
|
-
keys.push(encodedKey);
|
|
43264
|
-
const value = query[key];
|
|
43265
|
-
if (typeof value === "string") {
|
|
43266
|
-
serialized[encodedKey] = `${encodedKey}=${escapeUri3(value)}`;
|
|
43267
|
-
} else if (Array.isArray(value)) {
|
|
43268
|
-
serialized[encodedKey] = value.slice(0).reduce((encoded, value2) => encoded.concat([`${encodedKey}=${escapeUri3(value2)}`]), []).sort().join("&");
|
|
43269
|
-
}
|
|
43270
|
-
}
|
|
43271
|
-
return keys.sort().map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
43272
|
-
};
|
|
43273
|
-
var iso8601 = (time5) => toDate(time5).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
43274
|
-
var toDate = (time5) => {
|
|
43275
|
-
if (typeof time5 === "number") {
|
|
43276
|
-
return new Date(time5 * 1e3);
|
|
43277
|
-
}
|
|
43278
|
-
if (typeof time5 === "string") {
|
|
43279
|
-
if (Number(time5)) {
|
|
43280
|
-
return new Date(Number(time5) * 1e3);
|
|
43281
|
-
}
|
|
43282
|
-
return new Date(time5);
|
|
43283
|
-
}
|
|
43284
|
-
return time5;
|
|
43285
|
-
};
|
|
43286
|
-
var SignatureV4Base = class {
|
|
43287
|
-
service;
|
|
43288
|
-
regionProvider;
|
|
43289
|
-
credentialProvider;
|
|
43290
|
-
sha256;
|
|
43291
|
-
uriEscapePath;
|
|
43292
|
-
applyChecksum;
|
|
43293
|
-
constructor({ applyChecksum, credentials, region, service, sha256: sha2562, uriEscapePath = true }) {
|
|
43294
|
-
this.service = service;
|
|
43295
|
-
this.sha256 = sha2562;
|
|
43296
|
-
this.uriEscapePath = uriEscapePath;
|
|
43297
|
-
this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true;
|
|
43298
|
-
this.regionProvider = normalizeProvider5(region);
|
|
43299
|
-
this.credentialProvider = normalizeProvider5(credentials);
|
|
43300
|
-
}
|
|
43301
|
-
createCanonicalRequest(request5, canonicalHeaders, payloadHash) {
|
|
43302
|
-
const sortedHeaders = Object.keys(canonicalHeaders).sort();
|
|
43303
|
-
return `${request5.method}
|
|
43304
|
-
${this.getCanonicalPath(request5)}
|
|
43305
|
-
${getCanonicalQuery(request5)}
|
|
43306
|
-
${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")}
|
|
43307
|
-
|
|
43308
|
-
${sortedHeaders.join(";")}
|
|
43309
|
-
${payloadHash}`;
|
|
43310
|
-
}
|
|
43311
|
-
async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) {
|
|
43312
|
-
const hash3 = new this.sha256();
|
|
43313
|
-
hash3.update(toUint8Array3(canonicalRequest));
|
|
43314
|
-
const hashedRequest = await hash3.digest();
|
|
43315
|
-
return `${algorithmIdentifier}
|
|
43316
|
-
${longDate}
|
|
43317
|
-
${credentialScope}
|
|
43318
|
-
${toHex3(hashedRequest)}`;
|
|
43319
|
-
}
|
|
43320
|
-
getCanonicalPath({ path: path57 }) {
|
|
43321
|
-
if (this.uriEscapePath) {
|
|
43322
|
-
const normalizedPathSegments = [];
|
|
43323
|
-
for (const pathSegment of path57.split("/")) {
|
|
43324
|
-
if (pathSegment?.length === 0)
|
|
43325
|
-
continue;
|
|
43326
|
-
if (pathSegment === ".")
|
|
43327
|
-
continue;
|
|
43328
|
-
if (pathSegment === "..") {
|
|
43329
|
-
normalizedPathSegments.pop();
|
|
43330
|
-
} else {
|
|
43331
|
-
normalizedPathSegments.push(pathSegment);
|
|
43332
|
-
}
|
|
43333
|
-
}
|
|
43334
|
-
const normalizedPath = `${path57?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path57?.endsWith("/") ? "/" : ""}`;
|
|
43335
|
-
const doubleEncoded = escapeUri3(normalizedPath);
|
|
43336
|
-
return doubleEncoded.replace(/%2F/g, "/");
|
|
43337
|
-
}
|
|
43338
|
-
return path57;
|
|
43339
|
-
}
|
|
43340
|
-
validateResolvedCredentials(credentials) {
|
|
43341
|
-
if (typeof credentials !== "object" || typeof credentials.accessKeyId !== "string" || typeof credentials.secretAccessKey !== "string") {
|
|
43342
|
-
throw new Error("Resolved credential object is not valid");
|
|
43343
|
-
}
|
|
43344
|
-
}
|
|
43345
|
-
formatDate(now) {
|
|
43346
|
-
const longDate = iso8601(now).replace(/[-:]/g, "");
|
|
43347
|
-
return {
|
|
43348
|
-
longDate,
|
|
43349
|
-
shortDate: longDate.slice(0, 8)
|
|
43350
|
-
};
|
|
43351
|
-
}
|
|
43352
|
-
getCanonicalHeaderList(headers) {
|
|
43353
|
-
return Object.keys(headers).sort().join(";");
|
|
43354
|
-
}
|
|
43355
|
-
};
|
|
43356
|
-
var signingKeyCache = {};
|
|
43357
|
-
var cacheQueue = [];
|
|
43358
|
-
var createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`;
|
|
43359
|
-
var getSigningKey = async (sha256Constructor, credentials, shortDate, region, service) => {
|
|
43360
|
-
const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);
|
|
43361
|
-
const cacheKey = `${shortDate}:${region}:${service}:${toHex3(credsHash)}:${credentials.sessionToken}`;
|
|
43362
|
-
if (cacheKey in signingKeyCache) {
|
|
43363
|
-
return signingKeyCache[cacheKey];
|
|
43364
|
-
}
|
|
43365
|
-
cacheQueue.push(cacheKey);
|
|
43366
|
-
while (cacheQueue.length > MAX_CACHE_SIZE) {
|
|
43367
|
-
delete signingKeyCache[cacheQueue.shift()];
|
|
43368
|
-
}
|
|
43369
|
-
let key = `AWS4${credentials.secretAccessKey}`;
|
|
43370
|
-
for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) {
|
|
43371
|
-
key = await hmac(sha256Constructor, key, signable);
|
|
43372
|
-
}
|
|
43373
|
-
return signingKeyCache[cacheKey] = key;
|
|
43374
|
-
};
|
|
43375
|
-
var clearCredentialCache = () => {
|
|
43376
|
-
cacheQueue.length = 0;
|
|
43377
|
-
Object.keys(signingKeyCache).forEach((cacheKey) => {
|
|
43378
|
-
delete signingKeyCache[cacheKey];
|
|
43379
|
-
});
|
|
43380
|
-
};
|
|
43381
|
-
var hmac = (ctor, secret, data) => {
|
|
43382
|
-
const hash3 = new ctor(secret);
|
|
43383
|
-
hash3.update(toUint8Array3(data));
|
|
43384
|
-
return hash3.digest();
|
|
43385
|
-
};
|
|
43386
|
-
var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
43387
|
-
const canonical = {};
|
|
43388
|
-
for (const headerName of Object.keys(headers).sort()) {
|
|
43389
|
-
if (headers[headerName] == void 0) {
|
|
43390
|
-
continue;
|
|
43391
|
-
}
|
|
43392
|
-
const canonicalHeaderName = headerName.toLowerCase();
|
|
43393
|
-
if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
|
|
43394
|
-
if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) {
|
|
43395
|
-
continue;
|
|
43396
|
-
}
|
|
43397
|
-
}
|
|
43398
|
-
canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " ");
|
|
43399
|
-
}
|
|
43400
|
-
return canonical;
|
|
43401
|
-
};
|
|
43402
|
-
var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
43403
|
-
for (const headerName in headers) {
|
|
43404
|
-
if (!hasOwn2(headers, headerName))
|
|
43405
|
-
continue;
|
|
43406
|
-
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
43407
|
-
return headers[headerName];
|
|
43408
|
-
}
|
|
43409
|
-
}
|
|
43410
|
-
if (body == void 0) {
|
|
43411
|
-
return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
|
|
43412
|
-
} else if (typeof body === "string" || ArrayBuffer.isView(body) || isArrayBuffer3(body)) {
|
|
43413
|
-
const hashCtor = new hashConstructor();
|
|
43414
|
-
hashCtor.update(toUint8Array3(body));
|
|
43415
|
-
return toHex3(await hashCtor.digest());
|
|
43416
|
-
}
|
|
43417
|
-
return UNSIGNED_PAYLOAD;
|
|
43418
|
-
};
|
|
43419
|
-
var hasHeader = (soughtHeader, headers) => {
|
|
43420
|
-
soughtHeader = soughtHeader.toLowerCase();
|
|
43421
|
-
for (const headerName in headers) {
|
|
43422
|
-
if (!hasOwn2(headers, headerName))
|
|
43423
|
-
continue;
|
|
43424
|
-
if (soughtHeader === headerName.toLowerCase()) {
|
|
43425
|
-
return true;
|
|
43426
|
-
}
|
|
43427
|
-
}
|
|
43428
|
-
return false;
|
|
43429
|
-
};
|
|
43430
|
-
var moveHeadersToQuery = (request5, options = {}) => {
|
|
43431
|
-
const { headers, query = {} } = HttpRequest3.clone(request5);
|
|
43432
|
-
for (const name in headers) {
|
|
43433
|
-
if (!hasOwn2(headers, name))
|
|
43434
|
-
continue;
|
|
43435
|
-
const lname = name.toLowerCase();
|
|
43436
|
-
if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
|
|
43437
|
-
query[name] = headers[name];
|
|
43438
|
-
delete headers[name];
|
|
43439
|
-
}
|
|
43440
|
-
}
|
|
43441
|
-
return {
|
|
43442
|
-
...request5,
|
|
43443
|
-
headers,
|
|
43444
|
-
query
|
|
43445
|
-
};
|
|
43446
|
-
};
|
|
43447
|
-
var prepareRequest = (request5) => {
|
|
43448
|
-
request5 = HttpRequest3.clone(request5);
|
|
43449
|
-
for (const headerName in request5.headers) {
|
|
43450
|
-
if (!hasOwn2(request5.headers, headerName))
|
|
43451
|
-
continue;
|
|
43452
|
-
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
43453
|
-
delete request5.headers[headerName];
|
|
43454
|
-
}
|
|
43455
|
-
}
|
|
43456
|
-
return request5;
|
|
43457
|
-
};
|
|
43458
|
-
var SignatureV43 = class extends SignatureV4Base {
|
|
43459
|
-
headerFormatter = new HeaderFormatter();
|
|
43460
|
-
constructor({ applyChecksum, credentials, region, service, sha256: sha2562, uriEscapePath = true }) {
|
|
43461
|
-
super({
|
|
43462
|
-
applyChecksum,
|
|
43463
|
-
credentials,
|
|
43464
|
-
region,
|
|
43465
|
-
service,
|
|
43466
|
-
sha256: sha2562,
|
|
43467
|
-
uriEscapePath
|
|
43468
|
-
});
|
|
43469
|
-
}
|
|
43470
|
-
async presign(originalRequest, options = {}) {
|
|
43471
|
-
const { signingDate = /* @__PURE__ */ new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService } = options;
|
|
43472
|
-
const credentials = await this.credentialProvider();
|
|
43473
|
-
this.validateResolvedCredentials(credentials);
|
|
43474
|
-
const region = signingRegion ?? await this.regionProvider();
|
|
43475
|
-
const { longDate, shortDate } = this.formatDate(signingDate);
|
|
43476
|
-
if (expiresIn > MAX_PRESIGNED_TTL) {
|
|
43477
|
-
return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");
|
|
43478
|
-
}
|
|
43479
|
-
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
43480
|
-
const request5 = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders });
|
|
43481
|
-
if (credentials.sessionToken) {
|
|
43482
|
-
request5.query[TOKEN_QUERY_PARAM] = credentials.sessionToken;
|
|
43483
|
-
}
|
|
43484
|
-
request5.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER;
|
|
43485
|
-
request5.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;
|
|
43486
|
-
request5.query[AMZ_DATE_QUERY_PARAM] = longDate;
|
|
43487
|
-
request5.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10);
|
|
43488
|
-
const canonicalHeaders = getCanonicalHeaders(request5, unsignableHeaders, signableHeaders);
|
|
43489
|
-
request5.query[SIGNED_HEADERS_QUERY_PARAM] = this.getCanonicalHeaderList(canonicalHeaders);
|
|
43490
|
-
request5.query[SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request5, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256)));
|
|
43491
|
-
return request5;
|
|
43492
|
-
}
|
|
43493
|
-
async sign(toSign, options) {
|
|
43494
|
-
if (typeof toSign === "string") {
|
|
43495
|
-
return this.signString(toSign, options);
|
|
43496
|
-
} else if (toSign.headers && toSign.payload) {
|
|
43497
|
-
return this.signEvent(toSign, options);
|
|
43498
|
-
} else if (toSign.message) {
|
|
43499
|
-
return this.signMessage(toSign, options);
|
|
43500
|
-
} else {
|
|
43501
|
-
return this.signRequest(toSign, options);
|
|
43502
|
-
}
|
|
43503
|
-
}
|
|
43504
|
-
async signEvent({ headers, payload: payload2 }, { signingDate = /* @__PURE__ */ new Date(), priorSignature, signingRegion, signingService, eventStreamCredentials }) {
|
|
43505
|
-
const region = signingRegion ?? await this.regionProvider();
|
|
43506
|
-
const { shortDate, longDate } = this.formatDate(signingDate);
|
|
43507
|
-
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
43508
|
-
const hashedPayload = await getPayloadHash({ headers: {}, body: payload2 }, this.sha256);
|
|
43509
|
-
const hash3 = new this.sha256();
|
|
43510
|
-
hash3.update(headers);
|
|
43511
|
-
const hashedHeaders = toHex3(await hash3.digest());
|
|
43512
|
-
const stringToSign = [
|
|
43513
|
-
EVENT_ALGORITHM_IDENTIFIER,
|
|
43514
|
-
longDate,
|
|
43515
|
-
scope,
|
|
43516
|
-
priorSignature,
|
|
43517
|
-
hashedHeaders,
|
|
43518
|
-
hashedPayload
|
|
43519
|
-
].join("\n");
|
|
43520
|
-
return this.signString(stringToSign, {
|
|
43521
|
-
signingDate,
|
|
43522
|
-
signingRegion: region,
|
|
43523
|
-
signingService,
|
|
43524
|
-
eventStreamCredentials
|
|
43525
|
-
});
|
|
43526
|
-
}
|
|
43527
|
-
async signMessage(signableMessage, { signingDate = /* @__PURE__ */ new Date(), signingRegion, signingService, eventStreamCredentials }) {
|
|
43528
|
-
const promise2 = this.signEvent({
|
|
43529
|
-
headers: this.headerFormatter.format(signableMessage.message.headers),
|
|
43530
|
-
payload: signableMessage.message.body
|
|
43531
|
-
}, {
|
|
43532
|
-
signingDate,
|
|
43533
|
-
signingRegion,
|
|
43534
|
-
signingService,
|
|
43535
|
-
priorSignature: signableMessage.priorSignature,
|
|
43536
|
-
eventStreamCredentials
|
|
43537
|
-
});
|
|
43538
|
-
return promise2.then((signature) => {
|
|
43539
|
-
return { message: signableMessage.message, signature };
|
|
43540
|
-
});
|
|
43541
|
-
}
|
|
43542
|
-
async signString(stringToSign, { signingDate = /* @__PURE__ */ new Date(), signingRegion, signingService, eventStreamCredentials } = {}) {
|
|
43543
|
-
const credentials = eventStreamCredentials ?? await this.credentialProvider();
|
|
43544
|
-
this.validateResolvedCredentials(credentials);
|
|
43545
|
-
const region = signingRegion ?? await this.regionProvider();
|
|
43546
|
-
const { shortDate } = this.formatDate(signingDate);
|
|
43547
|
-
const hash3 = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));
|
|
43548
|
-
hash3.update(toUint8Array3(stringToSign));
|
|
43549
|
-
return toHex3(await hash3.digest());
|
|
43550
|
-
}
|
|
43551
|
-
async signRequest(requestToSign, { signingDate = /* @__PURE__ */ new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService } = {}) {
|
|
43552
|
-
const credentials = await this.credentialProvider();
|
|
43553
|
-
this.validateResolvedCredentials(credentials);
|
|
43554
|
-
const region = signingRegion ?? await this.regionProvider();
|
|
43555
|
-
const request5 = prepareRequest(requestToSign);
|
|
43556
|
-
const { longDate, shortDate } = this.formatDate(signingDate);
|
|
43557
|
-
const scope = createScope(shortDate, region, signingService ?? this.service);
|
|
43558
|
-
request5.headers[AMZ_DATE_HEADER] = longDate;
|
|
43559
|
-
if (credentials.sessionToken) {
|
|
43560
|
-
request5.headers[TOKEN_HEADER] = credentials.sessionToken;
|
|
43561
|
-
}
|
|
43562
|
-
const payloadHash = await getPayloadHash(request5, this.sha256);
|
|
43563
|
-
if (!hasHeader(SHA256_HEADER, request5.headers) && this.applyChecksum) {
|
|
43564
|
-
request5.headers[SHA256_HEADER] = payloadHash;
|
|
43565
|
-
}
|
|
43566
|
-
const canonicalHeaders = getCanonicalHeaders(request5, unsignableHeaders, signableHeaders);
|
|
43567
|
-
const signature = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request5, canonicalHeaders, payloadHash));
|
|
43568
|
-
request5.headers[AUTH_HEADER] = `${ALGORITHM_IDENTIFIER} Credential=${credentials.accessKeyId}/${scope}, SignedHeaders=${this.getCanonicalHeaderList(canonicalHeaders)}, Signature=${signature}`;
|
|
43569
|
-
return request5;
|
|
43570
|
-
}
|
|
43571
|
-
async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
|
|
43572
|
-
const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER);
|
|
43573
|
-
const hash3 = new this.sha256(await keyPromise);
|
|
43574
|
-
hash3.update(toUint8Array3(stringToSign));
|
|
43575
|
-
return toHex3(await hash3.digest());
|
|
43576
|
-
}
|
|
43577
|
-
getSigningKey(credentials, region, shortDate, service) {
|
|
43578
|
-
return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service);
|
|
43579
|
-
}
|
|
43580
|
-
};
|
|
43581
|
-
var signatureV4aContainer = {
|
|
43582
|
-
SignatureV4a: null
|
|
43583
|
-
};
|
|
43584
|
-
exports.ALGORITHM_IDENTIFIER = ALGORITHM_IDENTIFIER;
|
|
43585
|
-
exports.ALGORITHM_IDENTIFIER_V4A = ALGORITHM_IDENTIFIER_V4A;
|
|
43586
|
-
exports.ALGORITHM_QUERY_PARAM = ALGORITHM_QUERY_PARAM;
|
|
43587
|
-
exports.ALWAYS_UNSIGNABLE_HEADERS = ALWAYS_UNSIGNABLE_HEADERS;
|
|
43588
|
-
exports.AMZ_DATE_HEADER = AMZ_DATE_HEADER;
|
|
43589
|
-
exports.AMZ_DATE_QUERY_PARAM = AMZ_DATE_QUERY_PARAM;
|
|
43590
|
-
exports.AUTH_HEADER = AUTH_HEADER;
|
|
43591
|
-
exports.CREDENTIAL_QUERY_PARAM = CREDENTIAL_QUERY_PARAM;
|
|
43592
|
-
exports.DATE_HEADER = DATE_HEADER;
|
|
43593
|
-
exports.EVENT_ALGORITHM_IDENTIFIER = EVENT_ALGORITHM_IDENTIFIER;
|
|
43594
|
-
exports.EXPIRES_QUERY_PARAM = EXPIRES_QUERY_PARAM;
|
|
43595
|
-
exports.GENERATED_HEADERS = GENERATED_HEADERS;
|
|
43596
|
-
exports.HOST_HEADER = HOST_HEADER;
|
|
43597
|
-
exports.KEY_TYPE_IDENTIFIER = KEY_TYPE_IDENTIFIER;
|
|
43598
|
-
exports.MAX_CACHE_SIZE = MAX_CACHE_SIZE;
|
|
43599
|
-
exports.MAX_PRESIGNED_TTL = MAX_PRESIGNED_TTL;
|
|
43600
|
-
exports.PROXY_HEADER_PATTERN = PROXY_HEADER_PATTERN;
|
|
43601
|
-
exports.REGION_SET_PARAM = REGION_SET_PARAM;
|
|
43602
|
-
exports.SEC_HEADER_PATTERN = SEC_HEADER_PATTERN;
|
|
43603
|
-
exports.SHA256_HEADER = SHA256_HEADER;
|
|
43604
|
-
exports.SIGNATURE_HEADER = SIGNATURE_HEADER;
|
|
43605
|
-
exports.SIGNATURE_QUERY_PARAM = SIGNATURE_QUERY_PARAM;
|
|
43606
|
-
exports.SIGNED_HEADERS_QUERY_PARAM = SIGNED_HEADERS_QUERY_PARAM;
|
|
43607
|
-
exports.SignatureV4 = SignatureV43;
|
|
43608
|
-
exports.SignatureV4Base = SignatureV4Base;
|
|
43609
|
-
exports.TOKEN_HEADER = TOKEN_HEADER;
|
|
43610
|
-
exports.TOKEN_QUERY_PARAM = TOKEN_QUERY_PARAM;
|
|
43611
|
-
exports.UNSIGNABLE_PATTERNS = UNSIGNABLE_PATTERNS;
|
|
43612
|
-
exports.UNSIGNED_PAYLOAD = UNSIGNED_PAYLOAD;
|
|
43613
|
-
exports.clearCredentialCache = clearCredentialCache;
|
|
43614
|
-
exports.createScope = createScope;
|
|
43615
|
-
exports.getCanonicalHeaders = getCanonicalHeaders;
|
|
43616
|
-
exports.getCanonicalQuery = getCanonicalQuery;
|
|
43617
|
-
exports.getPayloadHash = getPayloadHash;
|
|
43618
|
-
exports.getSigningKey = getSigningKey;
|
|
43619
|
-
exports.hasHeader = hasHeader;
|
|
43620
|
-
exports.moveHeadersToQuery = moveHeadersToQuery;
|
|
43621
|
-
exports.prepareRequest = prepareRequest;
|
|
43622
|
-
exports.signatureV4aContainer = signatureV4aContainer;
|
|
43623
|
-
}
|
|
43624
|
-
});
|
|
43625
|
-
|
|
43626
43090
|
// node_modules/.pnpm/@aws-sdk+core@3.977.9/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
43627
43091
|
function normalizeCredentialProvider2(config2, { credentials, credentialDefaultProvider }) {
|
|
43628
43092
|
let credentialsProvider;
|
|
@@ -43660,7 +43124,7 @@ var init_resolveAwsSdkSigV4Config2 = __esm({
|
|
|
43660
43124
|
"node_modules/.pnpm/@aws-sdk+core@3.977.9/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js"() {
|
|
43661
43125
|
init_client4();
|
|
43662
43126
|
init_dist_es();
|
|
43663
|
-
import_signature_v42 = __toESM(
|
|
43127
|
+
import_signature_v42 = __toESM(require_dist_cjs9());
|
|
43664
43128
|
bindResolveAwsSdkSigV4Config = (defaultDisableClockSkewCorrection) => (config2) => {
|
|
43665
43129
|
let inputCredentials = config2.credentials;
|
|
43666
43130
|
let isUserSupplied = !!config2.credentials;
|
|
@@ -44870,7 +44334,7 @@ var init_sso_oidc = __esm({
|
|
|
44870
44334
|
});
|
|
44871
44335
|
|
|
44872
44336
|
// node_modules/.pnpm/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
|
|
44873
|
-
var
|
|
44337
|
+
var require_dist_cjs16 = __commonJS({
|
|
44874
44338
|
"node_modules/.pnpm/@aws-sdk+token-providers@3.1116.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports) {
|
|
44875
44339
|
var { setTokenFeature: setTokenFeature3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
44876
44340
|
var { getBearerTokenEnvKey: getBearerTokenEnvKey3 } = (init_httpAuthSchemes4(), __toCommonJS(httpAuthSchemes_exports2));
|
|
@@ -45714,11 +45178,11 @@ var require_loadSso_BGYXHf8s = __commonJS({
|
|
|
45714
45178
|
});
|
|
45715
45179
|
|
|
45716
45180
|
// node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
|
|
45717
|
-
var
|
|
45181
|
+
var require_dist_cjs17 = __commonJS({
|
|
45718
45182
|
"node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.973.14/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports) {
|
|
45719
45183
|
var { CredentialsProviderError: CredentialsProviderError3, getSSOTokenFromFile: getSSOTokenFromFile3, getProfileName: getProfileName3, parseKnownFiles: parseKnownFiles3, loadSsoSessionData: loadSsoSessionData3 } = (init_config2(), __toCommonJS(config_exports));
|
|
45720
45184
|
var { setCredentialFeature: setCredentialFeature3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
45721
|
-
var { fromSso } =
|
|
45185
|
+
var { fromSso } = require_dist_cjs16();
|
|
45722
45186
|
var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
45723
45187
|
var SHOULD_FAIL_CREDENTIAL_CHAIN = false;
|
|
45724
45188
|
var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger: logger3 }) => {
|
|
@@ -45893,9 +45357,9 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
|
|
|
45893
45357
|
});
|
|
45894
45358
|
|
|
45895
45359
|
// node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.46/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
|
|
45896
|
-
var
|
|
45360
|
+
var require_dist_cjs18 = __commonJS({
|
|
45897
45361
|
"node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.46/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js"(exports) {
|
|
45898
|
-
var { SignatureV4: SignatureV43, signatureV4aContainer } =
|
|
45362
|
+
var { SignatureV4: SignatureV43, signatureV4aContainer } = require_dist_cjs9();
|
|
45899
45363
|
var signatureV4CrtContainer = {
|
|
45900
45364
|
CrtSignerV4: null
|
|
45901
45365
|
};
|
|
@@ -46254,7 +45718,7 @@ var import_signature_v4_multi_region, createEndpointRuleSetHttpAuthSchemeParamet
|
|
|
46254
45718
|
var init_httpAuthSchemeProvider3 = __esm({
|
|
46255
45719
|
"node_modules/.pnpm/@aws-sdk+nested-clients@3.997.44/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js"() {
|
|
46256
45720
|
init_httpAuthSchemes4();
|
|
46257
|
-
import_signature_v4_multi_region = __toESM(
|
|
45721
|
+
import_signature_v4_multi_region = __toESM(require_dist_cjs18());
|
|
46258
45722
|
init_client2();
|
|
46259
45723
|
init_endpoints();
|
|
46260
45724
|
init_endpointResolver3();
|
|
@@ -46743,7 +46207,7 @@ var init_runtimeConfig_shared3 = __esm({
|
|
|
46743
46207
|
"node_modules/.pnpm/@aws-sdk+nested-clients@3.997.44/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js"() {
|
|
46744
46208
|
init_httpAuthSchemes4();
|
|
46745
46209
|
init_protocols2();
|
|
46746
|
-
import_signature_v4_multi_region2 = __toESM(
|
|
46210
|
+
import_signature_v4_multi_region2 = __toESM(require_dist_cjs18());
|
|
46747
46211
|
init_dist_es();
|
|
46748
46212
|
init_checksum2();
|
|
46749
46213
|
init_client2();
|
|
@@ -48149,7 +47613,7 @@ var init_signin = __esm({
|
|
|
48149
47613
|
});
|
|
48150
47614
|
|
|
48151
47615
|
// node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.77/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js
|
|
48152
|
-
var
|
|
47616
|
+
var require_dist_cjs19 = __commonJS({
|
|
48153
47617
|
"node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.77/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js"(exports) {
|
|
48154
47618
|
var { setCredentialFeature: setCredentialFeature3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
48155
47619
|
var { CredentialsProviderError: CredentialsProviderError3, parseKnownFiles: parseKnownFiles3, getProfileName: getProfileName3 } = (init_config2(), __toCommonJS(config_exports));
|
|
@@ -48434,7 +47898,7 @@ var require_dist_cjs20 = __commonJS({
|
|
|
48434
47898
|
});
|
|
48435
47899
|
|
|
48436
47900
|
// node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.70/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
|
|
48437
|
-
var
|
|
47901
|
+
var require_dist_cjs20 = __commonJS({
|
|
48438
47902
|
"node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.70/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports) {
|
|
48439
47903
|
var { externalDataInterceptor: externalDataInterceptor3, CredentialsProviderError: CredentialsProviderError3, parseKnownFiles: parseKnownFiles3, getProfileName: getProfileName3 } = (init_config2(), __toCommonJS(config_exports));
|
|
48440
47904
|
var { exec } = __require("node:child_process");
|
|
@@ -48508,7 +47972,7 @@ var require_dist_cjs21 = __commonJS({
|
|
|
48508
47972
|
});
|
|
48509
47973
|
|
|
48510
47974
|
// node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.76/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
|
|
48511
|
-
var
|
|
47975
|
+
var require_dist_cjs21 = __commonJS({
|
|
48512
47976
|
"node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.76/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports) {
|
|
48513
47977
|
var { setCredentialFeature: setCredentialFeature3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
48514
47978
|
var { CredentialsProviderError: CredentialsProviderError3, externalDataInterceptor: externalDataInterceptor3 } = (init_config2(), __toCommonJS(config_exports));
|
|
@@ -48568,7 +48032,7 @@ var require_dist_cjs22 = __commonJS({
|
|
|
48568
48032
|
});
|
|
48569
48033
|
|
|
48570
48034
|
// node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
|
|
48571
|
-
var
|
|
48035
|
+
var require_dist_cjs22 = __commonJS({
|
|
48572
48036
|
"node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.973.15/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports) {
|
|
48573
48037
|
var { CredentialsProviderError: CredentialsProviderError3, chain: chain3, getProfileName: getProfileName3, parseKnownFiles: parseKnownFiles3 } = (init_config2(), __toCommonJS(config_exports));
|
|
48574
48038
|
var { setCredentialFeature: setCredentialFeature3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
@@ -48667,7 +48131,7 @@ var require_dist_cjs23 = __commonJS({
|
|
|
48667
48131
|
return Boolean(data && data.login_session);
|
|
48668
48132
|
};
|
|
48669
48133
|
var resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
48670
|
-
const { fromLoginCredentials } =
|
|
48134
|
+
const { fromLoginCredentials } = require_dist_cjs19();
|
|
48671
48135
|
const credentials = await fromLoginCredentials({
|
|
48672
48136
|
...options,
|
|
48673
48137
|
profile: profileName
|
|
@@ -48676,7 +48140,7 @@ var require_dist_cjs23 = __commonJS({
|
|
|
48676
48140
|
};
|
|
48677
48141
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
48678
48142
|
var resolveProcessCredentials = async (options, profile) => {
|
|
48679
|
-
const { fromProcess } =
|
|
48143
|
+
const { fromProcess } = require_dist_cjs20();
|
|
48680
48144
|
const credentials = await fromProcess({
|
|
48681
48145
|
...options,
|
|
48682
48146
|
profile
|
|
@@ -48684,7 +48148,7 @@ var require_dist_cjs23 = __commonJS({
|
|
|
48684
48148
|
return setCredentialFeature3(credentials, "CREDENTIALS_PROFILE_PROCESS", "v");
|
|
48685
48149
|
};
|
|
48686
48150
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
48687
|
-
const { fromSSO } =
|
|
48151
|
+
const { fromSSO } = require_dist_cjs17();
|
|
48688
48152
|
return fromSSO({
|
|
48689
48153
|
profile,
|
|
48690
48154
|
logger: options.logger,
|
|
@@ -48715,7 +48179,7 @@ var require_dist_cjs23 = __commonJS({
|
|
|
48715
48179
|
};
|
|
48716
48180
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
48717
48181
|
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
|
|
48718
|
-
const { fromTokenFile } =
|
|
48182
|
+
const { fromTokenFile } = require_dist_cjs21();
|
|
48719
48183
|
const credentials = await fromTokenFile({
|
|
48720
48184
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
48721
48185
|
roleArn: profile.role_arn,
|
|
@@ -48765,7 +48229,7 @@ var require_dist_cjs23 = __commonJS({
|
|
|
48765
48229
|
});
|
|
48766
48230
|
|
|
48767
48231
|
// node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.43/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
|
|
48768
|
-
var
|
|
48232
|
+
var require_dist_cjs23 = __commonJS({
|
|
48769
48233
|
"node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.43/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) {
|
|
48770
48234
|
"use strict";
|
|
48771
48235
|
var credentialProviderEnv = require_dist_cjs12();
|
|
@@ -48874,22 +48338,22 @@ var require_dist_cjs24 = __commonJS({
|
|
|
48874
48338
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
48875
48339
|
throw new config2.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
48876
48340
|
}
|
|
48877
|
-
const { fromSSO } = await Promise.resolve().then(() => __toESM(
|
|
48341
|
+
const { fromSSO } = await Promise.resolve().then(() => __toESM(require_dist_cjs17()));
|
|
48878
48342
|
return fromSSO(init)(awsIdentityProperties);
|
|
48879
48343
|
},
|
|
48880
48344
|
async (awsIdentityProperties) => {
|
|
48881
48345
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
48882
|
-
const { fromIni } = await Promise.resolve().then(() => __toESM(
|
|
48346
|
+
const { fromIni } = await Promise.resolve().then(() => __toESM(require_dist_cjs22()));
|
|
48883
48347
|
return fromIni(init)(awsIdentityProperties);
|
|
48884
48348
|
},
|
|
48885
48349
|
async (awsIdentityProperties) => {
|
|
48886
48350
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
48887
|
-
const { fromProcess } = await Promise.resolve().then(() => __toESM(
|
|
48351
|
+
const { fromProcess } = await Promise.resolve().then(() => __toESM(require_dist_cjs20()));
|
|
48888
48352
|
return fromProcess(init)(awsIdentityProperties);
|
|
48889
48353
|
},
|
|
48890
48354
|
async (awsIdentityProperties) => {
|
|
48891
48355
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
48892
|
-
const { fromTokenFile } = await Promise.resolve().then(() => __toESM(
|
|
48356
|
+
const { fromTokenFile } = await Promise.resolve().then(() => __toESM(require_dist_cjs21()));
|
|
48893
48357
|
return fromTokenFile(init)(awsIdentityProperties);
|
|
48894
48358
|
},
|
|
48895
48359
|
async () => {
|
|
@@ -48912,7 +48376,7 @@ var require_dist_cjs24 = __commonJS({
|
|
|
48912
48376
|
});
|
|
48913
48377
|
|
|
48914
48378
|
// node_modules/.pnpm/@aws-sdk+middleware-bucket-endpoint@3.972.14/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js
|
|
48915
|
-
var
|
|
48379
|
+
var require_dist_cjs24 = __commonJS({
|
|
48916
48380
|
"node_modules/.pnpm/@aws-sdk+middleware-bucket-endpoint@3.972.14/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js"(exports) {
|
|
48917
48381
|
"use strict";
|
|
48918
48382
|
var config2 = (init_config2(), __toCommonJS(config_exports));
|
|
@@ -49558,7 +49022,7 @@ var init_checksum4 = __esm({
|
|
|
49558
49022
|
});
|
|
49559
49023
|
|
|
49560
49024
|
// node_modules/.pnpm/@smithy+node-http-handler@4.7.3/node_modules/@smithy/node-http-handler/dist-cjs/index.js
|
|
49561
|
-
var
|
|
49025
|
+
var require_dist_cjs25 = __commonJS({
|
|
49562
49026
|
"node_modules/.pnpm/@smithy+node-http-handler@4.7.3/node_modules/@smithy/node-http-handler/dist-cjs/index.js"(exports) {
|
|
49563
49027
|
"use strict";
|
|
49564
49028
|
var node_https = __require("node:https");
|
|
@@ -50476,8 +49940,8 @@ var require_runtimeConfig = __commonJS({
|
|
|
50476
49940
|
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
50477
49941
|
var client_1 = (init_client3(), __toCommonJS(client_exports2));
|
|
50478
49942
|
var httpAuthSchemes_1 = (init_httpAuthSchemes3(), __toCommonJS(httpAuthSchemes_exports));
|
|
50479
|
-
var credential_provider_node_1 =
|
|
50480
|
-
var middleware_bucket_endpoint_1 =
|
|
49943
|
+
var credential_provider_node_1 = require_dist_cjs23();
|
|
49944
|
+
var middleware_bucket_endpoint_1 = require_dist_cjs24();
|
|
50481
49945
|
var middleware_flexible_checksums_1 = require_dist_cjs7();
|
|
50482
49946
|
var middleware_sdk_s3_1 = require_dist_cjs11();
|
|
50483
49947
|
var checksum_1 = (init_checksum4(), __toCommonJS(checksum_exports2));
|
|
@@ -50486,7 +49950,7 @@ var require_runtimeConfig = __commonJS({
|
|
|
50486
49950
|
var event_streams_1 = (init_event_streams2(), __toCommonJS(event_streams_exports2));
|
|
50487
49951
|
var retry_1 = (init_retry4(), __toCommonJS(retry_exports2));
|
|
50488
49952
|
var serde_1 = (init_serde2(), __toCommonJS(serde_exports2));
|
|
50489
|
-
var node_http_handler_1 =
|
|
49953
|
+
var node_http_handler_1 = require_dist_cjs25();
|
|
50490
49954
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
50491
49955
|
var getRuntimeConfig9 = (config2) => {
|
|
50492
49956
|
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
@@ -50535,7 +49999,7 @@ var require_runtimeConfig = __commonJS({
|
|
|
50535
49999
|
});
|
|
50536
50000
|
|
|
50537
50001
|
// node_modules/.pnpm/@aws-sdk+middleware-ssec@3.972.10/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js
|
|
50538
|
-
var
|
|
50002
|
+
var require_dist_cjs26 = __commonJS({
|
|
50539
50003
|
"node_modules/.pnpm/@aws-sdk+middleware-ssec@3.972.10/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js"(exports) {
|
|
50540
50004
|
"use strict";
|
|
50541
50005
|
function ssecMiddleware(options) {
|
|
@@ -50607,7 +50071,7 @@ var require_dist_cjs27 = __commonJS({
|
|
|
50607
50071
|
});
|
|
50608
50072
|
|
|
50609
50073
|
// node_modules/.pnpm/@aws-sdk+middleware-location-constraint@3.972.10/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js
|
|
50610
|
-
var
|
|
50074
|
+
var require_dist_cjs27 = __commonJS({
|
|
50611
50075
|
"node_modules/.pnpm/@aws-sdk+middleware-location-constraint@3.972.10/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js"(exports) {
|
|
50612
50076
|
"use strict";
|
|
50613
50077
|
function locationConstraintMiddleware(options) {
|
|
@@ -50641,7 +50105,7 @@ var require_dist_cjs28 = __commonJS({
|
|
|
50641
50105
|
});
|
|
50642
50106
|
|
|
50643
50107
|
// node_modules/.pnpm/@aws-sdk+client-s3@3.1050.0/node_modules/@aws-sdk/client-s3/dist-cjs/index.js
|
|
50644
|
-
var
|
|
50108
|
+
var require_dist_cjs28 = __commonJS({
|
|
50645
50109
|
"node_modules/.pnpm/@aws-sdk+client-s3@3.1050.0/node_modules/@aws-sdk/client-s3/dist-cjs/index.js"(exports) {
|
|
50646
50110
|
"use strict";
|
|
50647
50111
|
var client$1 = (init_client3(), __toCommonJS(client_exports2));
|
|
@@ -50659,8 +50123,8 @@ var require_dist_cjs29 = __commonJS({
|
|
|
50659
50123
|
var httpAuthSchemeProvider = require_httpAuthSchemeProvider();
|
|
50660
50124
|
var schemas_0 = require_schemas_0();
|
|
50661
50125
|
var runtimeConfig = require_runtimeConfig();
|
|
50662
|
-
var middlewareSsec =
|
|
50663
|
-
var middlewareLocationConstraint =
|
|
50126
|
+
var middlewareSsec = require_dist_cjs26();
|
|
50127
|
+
var middlewareLocationConstraint = require_dist_cjs27();
|
|
50664
50128
|
var errors = require_errors();
|
|
50665
50129
|
var S3ServiceException = require_S3ServiceException();
|
|
50666
50130
|
var resolveClientEndpointParameters5 = (options) => {
|
|
@@ -53565,7 +53029,7 @@ var require_compressString = __commonJS({
|
|
|
53565
53029
|
});
|
|
53566
53030
|
|
|
53567
53031
|
// node_modules/.pnpm/@smithy+middleware-compression@4.6.2/node_modules/@smithy/middleware-compression/dist-cjs/index.js
|
|
53568
|
-
var
|
|
53032
|
+
var require_dist_cjs29 = __commonJS({
|
|
53569
53033
|
"node_modules/.pnpm/@smithy+middleware-compression@4.6.2/node_modules/@smithy/middleware-compression/dist-cjs/index.js"(exports) {
|
|
53570
53034
|
var { booleanSelector: booleanSelector3, SelectorType: SelectorType3, numberSelector: numberSelector3 } = (init_config2(), __toCommonJS(config_exports));
|
|
53571
53035
|
var { setFeature: setFeature7 } = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
@@ -53693,7 +53157,7 @@ var require_dist_cjs30 = __commonJS({
|
|
|
53693
53157
|
});
|
|
53694
53158
|
|
|
53695
53159
|
// node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.82/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
|
|
53696
|
-
var
|
|
53160
|
+
var require_dist_cjs30 = __commonJS({
|
|
53697
53161
|
"node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.82/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) {
|
|
53698
53162
|
var { ENV_KEY, ENV_SECRET, fromEnv: fromEnv3 } = require_dist_cjs12();
|
|
53699
53163
|
var { chain: chain3, CredentialsProviderError: CredentialsProviderError3, ENV_PROFILE: ENV_PROFILE3 } = (init_config2(), __toCommonJS(config_exports));
|
|
@@ -53811,22 +53275,22 @@ var require_dist_cjs31 = __commonJS({
|
|
|
53811
53275
|
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
53812
53276
|
throw new CredentialsProviderError3("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
|
|
53813
53277
|
}
|
|
53814
|
-
const { fromSSO } =
|
|
53278
|
+
const { fromSSO } = require_dist_cjs17();
|
|
53815
53279
|
return fromSSO(init)(awsIdentityProperties);
|
|
53816
53280
|
},
|
|
53817
53281
|
async (awsIdentityProperties) => {
|
|
53818
53282
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
53819
|
-
const { fromIni } =
|
|
53283
|
+
const { fromIni } = require_dist_cjs22();
|
|
53820
53284
|
return fromIni(init)(awsIdentityProperties);
|
|
53821
53285
|
},
|
|
53822
53286
|
async (awsIdentityProperties) => {
|
|
53823
53287
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
53824
|
-
const { fromProcess } =
|
|
53288
|
+
const { fromProcess } = require_dist_cjs20();
|
|
53825
53289
|
return fromProcess(init)(awsIdentityProperties);
|
|
53826
53290
|
},
|
|
53827
53291
|
async (awsIdentityProperties) => {
|
|
53828
53292
|
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
53829
|
-
const { fromTokenFile } =
|
|
53293
|
+
const { fromTokenFile } = require_dist_cjs21();
|
|
53830
53294
|
return fromTokenFile(init)(awsIdentityProperties);
|
|
53831
53295
|
},
|
|
53832
53296
|
async () => {
|
|
@@ -53849,7 +53313,7 @@ var require_dist_cjs31 = __commonJS({
|
|
|
53849
53313
|
});
|
|
53850
53314
|
|
|
53851
53315
|
// node_modules/.pnpm/@aws-sdk+client-cloudwatch@3.1127.0/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js
|
|
53852
|
-
var
|
|
53316
|
+
var require_dist_cjs31 = __commonJS({
|
|
53853
53317
|
"node_modules/.pnpm/@aws-sdk+client-cloudwatch@3.1127.0/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js"(exports) {
|
|
53854
53318
|
var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider: createDefaultUserAgentProvider3, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS3, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration3, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration3, resolveUserAgentConfig: resolveUserAgentConfig3, resolveHostHeaderConfig: resolveHostHeaderConfig3, getUserAgentPlugin: getUserAgentPlugin3, getHostHeaderPlugin: getHostHeaderPlugin3, getLoggerPlugin: getLoggerPlugin3, getRecursionDetectionPlugin: getRecursionDetectionPlugin3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
53855
53319
|
var { getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin3, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig3, getHttpSigningPlugin: getHttpSigningPlugin3, createPaginator: createPaginator3 } = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
@@ -53862,9 +53326,9 @@ var require_dist_cjs32 = __commonJS({
|
|
|
53862
53326
|
var { parseUrl: parseUrl3, getHttpHandlerExtensionConfiguration: getHttpHandlerExtensionConfiguration3, resolveHttpHandlerRuntimeConfig: resolveHttpHandlerRuntimeConfig3, getContentLengthPlugin: getContentLengthPlugin3 } = (init_protocols(), __toCommonJS(protocols_exports));
|
|
53863
53327
|
var { DEFAULT_RETRY_MODE: DEFAULT_RETRY_MODE3, NODE_RETRY_MODE_CONFIG_OPTIONS: NODE_RETRY_MODE_CONFIG_OPTIONS3, NODE_MAX_ATTEMPT_CONFIG_OPTIONS: NODE_MAX_ATTEMPT_CONFIG_OPTIONS3, resolveRetryConfig: resolveRetryConfig3, getRetryPlugin: getRetryPlugin3 } = (init_retry2(), __toCommonJS(retry_exports));
|
|
53864
53328
|
var { TypeRegistry: TypeRegistry3, getSchemaSerdePlugin: getSchemaSerdePlugin3 } = (init_schema(), __toCommonJS(schema_exports));
|
|
53865
|
-
var { NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS, NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS, resolveCompressionConfig, getCompressionPlugin } =
|
|
53329
|
+
var { NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS, NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS, resolveCompressionConfig, getCompressionPlugin } = require_dist_cjs29();
|
|
53866
53330
|
var { resolveAwsSdkSigV4Config: resolveAwsSdkSigV4Config3, AwsSdkSigV4Signer: AwsSdkSigV4Signer3, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: NODE_AUTH_SCHEME_PREFERENCE_OPTIONS3 } = (init_httpAuthSchemes4(), __toCommonJS(httpAuthSchemes_exports2));
|
|
53867
|
-
var { defaultProvider } =
|
|
53331
|
+
var { defaultProvider } = require_dist_cjs30();
|
|
53868
53332
|
var { toUtf8: toUtf85, fromUtf8: fromUtf85, toBase64: toBase645, fromBase64: fromBase644, calculateBodyLength: calculateBodyLength3 } = (init_serde(), __toCommonJS(serde_exports));
|
|
53869
53333
|
var { streamCollector: streamCollector9, NodeHttpHandler } = require_dist_cjs14();
|
|
53870
53334
|
var { AwsJson1_0Protocol: AwsJson1_0Protocol2 } = (init_protocols2(), __toCommonJS(protocols_exports2));
|
|
@@ -62036,7 +61500,7 @@ var require_pino = __commonJS({
|
|
|
62036
61500
|
});
|
|
62037
61501
|
|
|
62038
61502
|
// node_modules/.pnpm/@aws-sdk+middleware-sdk-sqs@3.972.42/node_modules/@aws-sdk/middleware-sdk-sqs/dist-cjs/index.js
|
|
62039
|
-
var
|
|
61503
|
+
var require_dist_cjs32 = __commonJS({
|
|
62040
61504
|
"node_modules/.pnpm/@aws-sdk+middleware-sdk-sqs@3.972.42/node_modules/@aws-sdk/middleware-sdk-sqs/dist-cjs/index.js"(exports) {
|
|
62041
61505
|
var { NoOpLogger: NoOpLogger3 } = (init_client2(), __toCommonJS(client_exports));
|
|
62042
61506
|
var { toUint8Array: toUint8Array3, toHex: toHex3 } = (init_serde(), __toCommonJS(serde_exports));
|
|
@@ -62199,10 +61663,10 @@ Set [endpoint=string] or [useQueueUrlAsEndpoint=false] on the SQSClient.`);
|
|
|
62199
61663
|
});
|
|
62200
61664
|
|
|
62201
61665
|
// node_modules/.pnpm/@aws-sdk+client-sqs@3.1127.0/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js
|
|
62202
|
-
var
|
|
61666
|
+
var require_dist_cjs33 = __commonJS({
|
|
62203
61667
|
"node_modules/.pnpm/@aws-sdk+client-sqs@3.1127.0/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js"(exports) {
|
|
62204
61668
|
var { awsEndpointFunctions: awsEndpointFunctions3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider: createDefaultUserAgentProvider3, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS3, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration3, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration3, resolveUserAgentConfig: resolveUserAgentConfig3, resolveHostHeaderConfig: resolveHostHeaderConfig3, getUserAgentPlugin: getUserAgentPlugin3, getHostHeaderPlugin: getHostHeaderPlugin3, getLoggerPlugin: getLoggerPlugin3, getRecursionDetectionPlugin: getRecursionDetectionPlugin3, getLongPollPlugin: getLongPollPlugin3 } = (init_client4(), __toCommonJS(client_exports3));
|
|
62205
|
-
var { resolveQueueUrlConfig, getQueueUrlPlugin, getReceiveMessagePlugin, getSendMessageBatchPlugin, getSendMessagePlugin } =
|
|
61669
|
+
var { resolveQueueUrlConfig, getQueueUrlPlugin, getReceiveMessagePlugin, getSendMessageBatchPlugin, getSendMessagePlugin } = require_dist_cjs32();
|
|
62206
61670
|
var { getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin3, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig3, getHttpSigningPlugin: getHttpSigningPlugin3, createPaginator: createPaginator3 } = (init_dist_es(), __toCommonJS(dist_es_exports));
|
|
62207
61671
|
var { normalizeProvider: normalizeProvider5, getSmithyContext: getSmithyContext4, ServiceException: ServiceException3, NoOpLogger: NoOpLogger3, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion5, loadConfigsForDefaultMode: loadConfigsForDefaultMode3, getDefaultExtensionConfiguration: getDefaultExtensionConfiguration3, resolveDefaultRuntimeConfig: resolveDefaultRuntimeConfig3, Client: Client3, makeBuilder: makeBuilder2, createAggregatedClient: createAggregatedClient3 } = (init_client2(), __toCommonJS(client_exports));
|
|
62208
61672
|
var { Command: $Command } = (init_client2(), __toCommonJS(client_exports));
|
|
@@ -62214,7 +61678,7 @@ var require_dist_cjs34 = __commonJS({
|
|
|
62214
61678
|
var { DEFAULT_RETRY_MODE: DEFAULT_RETRY_MODE3, NODE_RETRY_MODE_CONFIG_OPTIONS: NODE_RETRY_MODE_CONFIG_OPTIONS3, NODE_MAX_ATTEMPT_CONFIG_OPTIONS: NODE_MAX_ATTEMPT_CONFIG_OPTIONS3, resolveRetryConfig: resolveRetryConfig3, getRetryPlugin: getRetryPlugin3 } = (init_retry2(), __toCommonJS(retry_exports));
|
|
62215
61679
|
var { TypeRegistry: TypeRegistry3, getSchemaSerdePlugin: getSchemaSerdePlugin3 } = (init_schema(), __toCommonJS(schema_exports));
|
|
62216
61680
|
var { resolveAwsSdkSigV4Config: resolveAwsSdkSigV4Config3, AwsSdkSigV4Signer: AwsSdkSigV4Signer3, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: NODE_AUTH_SCHEME_PREFERENCE_OPTIONS3 } = (init_httpAuthSchemes4(), __toCommonJS(httpAuthSchemes_exports2));
|
|
62217
|
-
var { defaultProvider } =
|
|
61681
|
+
var { defaultProvider } = require_dist_cjs30();
|
|
62218
61682
|
var { toUtf8: toUtf85, fromUtf8: fromUtf85, toBase64: toBase645, fromBase64: fromBase644, calculateBodyLength: calculateBodyLength3 } = (init_serde(), __toCommonJS(serde_exports));
|
|
62219
61683
|
var { streamCollector: streamCollector9, NodeHttpHandler } = require_dist_cjs14();
|
|
62220
61684
|
var { AwsJson1_0Protocol: AwsJson1_0Protocol2 } = (init_protocols2(), __toCommonJS(protocols_exports2));
|
|
@@ -64843,7 +64307,7 @@ function buildEntityMetadata(key, body) {
|
|
|
64843
64307
|
}
|
|
64844
64308
|
|
|
64845
64309
|
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.33/node_modules/@indigoai-us/hq-cloud/dist/object-io.js
|
|
64846
|
-
var import_client_s3 = __toESM(
|
|
64310
|
+
var import_client_s3 = __toESM(require_dist_cjs28(), 1);
|
|
64847
64311
|
import * as http3 from "node:http";
|
|
64848
64312
|
import * as https2 from "node:https";
|
|
64849
64313
|
import { Transform as Transform2 } from "node:stream";
|
|
@@ -116939,7 +116403,7 @@ function isEventSyncLocallyDisabled(value) {
|
|
|
116939
116403
|
}
|
|
116940
116404
|
|
|
116941
116405
|
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.33/node_modules/@indigoai-us/hq-cloud/dist/sync/metrics.js
|
|
116942
|
-
var import_client_cloudwatch = __toESM(
|
|
116406
|
+
var import_client_cloudwatch = __toESM(require_dist_cjs31(), 1);
|
|
116943
116407
|
var SYNC_METRIC_NAMESPACE = "HQPro/Sync";
|
|
116944
116408
|
var SYNC_LATENCY_METRIC_NAME = "hq-cloud.sync.p95_latency_seconds";
|
|
116945
116409
|
var _cwClient;
|
|
@@ -128119,7 +127583,7 @@ import * as v8 from "node:v8";
|
|
|
128119
127583
|
import { performance as performance3 } from "node:perf_hooks";
|
|
128120
127584
|
|
|
128121
127585
|
// node_modules/.pnpm/@indigoai-us+hq-cloud@6.18.33/node_modules/@indigoai-us/hq-cloud/dist/sync/event-sync.js
|
|
128122
|
-
var import_client_sqs = __toESM(
|
|
127586
|
+
var import_client_sqs = __toESM(require_dist_cjs33(), 1);
|
|
128123
127587
|
import { readFileSync as readFileSync33 } from "node:fs";
|
|
128124
127588
|
import { join as join56 } from "node:path";
|
|
128125
127589
|
|