@hasna/domains 0.0.45 → 0.0.47

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/dist/index.js CHANGED
@@ -316,22 +316,129 @@ var init_migrations = __esm(() => {
316
316
  ];
317
317
  });
318
318
 
319
+ // ../../node_modules/.bun/@hasna+paths@0.1.0/node_modules/@hasna/paths/dist/index.js
320
+ import { homedir } from "os";
321
+ import { join as join2 } from "path";
322
+ function assertApp(app) {
323
+ if (typeof app !== "string" || app.length === 0) {
324
+ throw new TypeError("paths: app must be a non-empty string");
325
+ }
326
+ if (!APP_SLUG_RE.test(app)) {
327
+ throw new TypeError(`paths: invalid app slug "${app}" \u2014 expected lowercase kebab-case ([a-z0-9]+(-[a-z0-9]+)*)`);
328
+ }
329
+ }
330
+ function envOf(options) {
331
+ return options.env ?? process.env;
332
+ }
333
+ function envValue(options, kind) {
334
+ const value = envOf(options)[KIND_ENV[kind]];
335
+ return typeof value === "string" && value.length > 0 ? value : undefined;
336
+ }
337
+ function isMacOS(platform) {
338
+ return platform === "darwin";
339
+ }
340
+ function baseDir(kind, options) {
341
+ const override = envValue(options, kind);
342
+ if (override)
343
+ return override;
344
+ const home = options.home ?? homedir();
345
+ const platform = options.platform ?? process.platform;
346
+ if (isMacOS(platform)) {
347
+ switch (kind) {
348
+ case "config":
349
+ case "data":
350
+ return join2(home, "Library", "Application Support", "Hasna");
351
+ case "cache":
352
+ return join2(home, "Library", "Caches", "Hasna");
353
+ case "state":
354
+ return join2(home, "Library", "Logs", "Hasna");
355
+ }
356
+ }
357
+ switch (kind) {
358
+ case "config":
359
+ return join2(home, ".config", "hasna");
360
+ case "data":
361
+ return join2(home, ".local", "share", "hasna");
362
+ case "state":
363
+ return join2(home, ".local", "state", "hasna");
364
+ case "cache":
365
+ return join2(home, ".cache", "hasna");
366
+ }
367
+ }
368
+ function resolvePath(kind, options) {
369
+ assertApp(options.app);
370
+ const appSegment = options.internal === true ? join2("internal", options.app) : options.app;
371
+ return join2(baseDir(kind, options), appSegment);
372
+ }
373
+ function dataDir(options) {
374
+ return resolvePath("data", options);
375
+ }
376
+ var KIND_ENV, APP_SLUG_RE;
377
+ var init_dist = __esm(() => {
378
+ KIND_ENV = {
379
+ config: "HASNA_CONFIG_HOME",
380
+ data: "HASNA_DATA_HOME",
381
+ state: "HASNA_STATE_HOME",
382
+ cache: "HASNA_CACHE_HOME"
383
+ };
384
+ APP_SLUG_RE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
385
+ });
386
+
387
+ // src/lib/app-home.ts
388
+ import { existsSync } from "fs";
389
+ import { homedir as homedir2 } from "os";
390
+ import { join as join3, resolve } from "path";
391
+ function effectiveHome(env = process.env) {
392
+ return env["HOME"] || env["USERPROFILE"] || homedir2();
393
+ }
394
+ function legacyHomeDir(env = process.env) {
395
+ return join3(effectiveHome(env), ".hasna", APP);
396
+ }
397
+ function resolverHome(env = process.env) {
398
+ const home = env["HOME"] || env["USERPROFILE"];
399
+ return dataDir({ app: APP, home, env });
400
+ }
401
+ function adoptResolverHome(resolved, env = process.env) {
402
+ const dataOverride = env.HASNA_DATA_HOME;
403
+ if (typeof dataOverride === "string" && dataOverride.trim().length > 0)
404
+ return true;
405
+ return existsSync(join3(resolved, "domains.db"));
406
+ }
407
+ function exactAppOverride(env = process.env) {
408
+ const override = env["HASNA_DOMAINS_HOME"] ?? env["DOMAINS_HOME"] ?? env["HASNA_DOMAINS_DIR"] ?? env["DOMAINS_DIR"];
409
+ return override && override.trim() ? override.trim() : undefined;
410
+ }
411
+ function appHome(env = process.env) {
412
+ const override = exactAppOverride(env);
413
+ if (override)
414
+ return resolve(override);
415
+ const resolved = resolverHome(env);
416
+ return adoptResolverHome(resolved, env) ? resolve(resolved) : resolve(legacyHomeDir(env));
417
+ }
418
+ function getDefaultDbPath(env = process.env) {
419
+ return join3(appHome(env), `${APP}.db`);
420
+ }
421
+ var APP = "domains";
422
+ var init_app_home = __esm(() => {
423
+ init_dist();
424
+ });
425
+
319
426
  // src/db/database.ts
320
427
  import { Database } from "bun:sqlite";
321
428
  import { createHash } from "crypto";
322
429
  import {
323
430
  copyFileSync,
324
- existsSync,
431
+ existsSync as existsSync2,
325
432
  mkdirSync,
326
433
  readFileSync as readFileSync2,
327
434
  readdirSync,
328
435
  statSync as statSync2,
329
436
  writeFileSync
330
437
  } from "fs";
331
- import { dirname, join as join2, resolve } from "path";
332
- import { homedir } from "os";
438
+ import { dirname, join as join4, resolve as resolve2 } from "path";
439
+ import { homedir as homedir3 } from "os";
333
440
  function canonicalHome(env) {
334
- return env["HOME"] || env["USERPROFILE"] || homedir();
441
+ return env["HOME"] || env["USERPROFILE"] || homedir3();
335
442
  }
336
443
  function sha256File(path) {
337
444
  return createHash("sha256").update(readFileSync2(path)).digest("hex");
@@ -339,20 +446,20 @@ function sha256File(path) {
339
446
  function migrateLegacyDataDir(env = process.env, dryRun = false) {
340
447
  const report = { dryRun, wouldCopy: [], copied: [] };
341
448
  const home = canonicalHome(env);
342
- const xdgData = env["XDG_DATA_HOME"]?.trim() || join2(home, ".local", "share");
343
- const oldDir = join2(xdgData, "open-domains");
344
- const oldDb = join2(oldDir, "domains.db");
345
- if (!existsSync(oldDb))
449
+ const xdgData = env["XDG_DATA_HOME"]?.trim() || join4(home, ".local", "share");
450
+ const oldDir = join4(xdgData, "open-domains");
451
+ const oldDb = join4(oldDir, "domains.db");
452
+ if (!existsSync2(oldDb))
346
453
  return report;
347
- const canonicalDir = join2(home, ".hasna", "domains");
348
- const newDb = join2(canonicalDir, "domains.db");
349
- if (existsSync(newDb))
454
+ const canonicalDir = join4(home, ".hasna", "domains");
455
+ const newDb = join4(canonicalDir, "domains.db");
456
+ if (existsSync2(newDb))
350
457
  return report;
351
- if (existsSync(join2(canonicalDir, ".migrated-from-xdg.receipt.json")))
458
+ if (existsSync2(join4(canonicalDir, ".migrated-from-xdg.receipt.json")))
352
459
  return report;
353
460
  if (dryRun) {
354
461
  for (const name of ["domains.db", "domains.db-wal", "domains.db-shm"]) {
355
- if (existsSync(join2(oldDir, name)) && !existsSync(join2(canonicalDir, name))) {
462
+ if (existsSync2(join4(oldDir, name)) && !existsSync2(join4(canonicalDir, name))) {
356
463
  report.wouldCopy.push(name);
357
464
  }
358
465
  }
@@ -361,11 +468,11 @@ function migrateLegacyDataDir(env = process.env, dryRun = false) {
361
468
  mkdirSync(canonicalDir, { recursive: true });
362
469
  const copied = [];
363
470
  for (const name of ["domains.db", "domains.db-wal", "domains.db-shm"]) {
364
- const from = join2(oldDir, name);
365
- if (!existsSync(from))
471
+ const from = join4(oldDir, name);
472
+ if (!existsSync2(from))
366
473
  continue;
367
- const to = join2(canonicalDir, name);
368
- if (existsSync(to))
474
+ const to = join4(canonicalDir, name);
475
+ if (existsSync2(to))
369
476
  continue;
370
477
  copyFileSync(from, to);
371
478
  copied.push({ name, bytes: statSync2(to).size, sha256: sha256File(to) });
@@ -374,7 +481,7 @@ function migrateLegacyDataDir(env = process.env, dryRun = false) {
374
481
  if (statSync2(newDb).size !== statSync2(oldDb).size || sha256File(newDb) !== sha256File(oldDb)) {
375
482
  throw new Error(`Refusing migration: copied ${newDb} does not byte-match ${oldDb}; the canonical root was not populated.`);
376
483
  }
377
- writeFileSync(join2(canonicalDir, ".migrated-from-xdg.receipt.json"), `${JSON.stringify({
484
+ writeFileSync(join4(canonicalDir, ".migrated-from-xdg.receipt.json"), `${JSON.stringify({
378
485
  migratedAt: new Date().toISOString(),
379
486
  from: oldDir,
380
487
  to: canonicalDir,
@@ -388,26 +495,26 @@ function getDbPath(env = process.env) {
388
495
  return env["DOMAINS_DB_PATH"];
389
496
  if (env["HASNA_DOMAINS_DB_PATH"])
390
497
  return env["HASNA_DOMAINS_DB_PATH"];
391
- const explicit = env["DOMAINS_DIR"] ?? env["HASNA_DOMAINS_DIR"];
498
+ const explicit = exactAppOverride(env);
392
499
  if (explicit) {
393
- return join2(explicit, "domains.db");
500
+ return join4(explicit, "domains.db");
394
501
  }
395
- const home = canonicalHome(env);
396
- const canonicalDir = join2(home, ".hasna", "domains");
397
- migrateLegacyDataDir(env);
398
- migrateDotfile("domains", canonicalDir, env);
399
- return join2(canonicalDir, "domains.db");
502
+ if (!adoptResolverHome(resolverHome(env), env)) {
503
+ migrateLegacyDataDir(env);
504
+ migrateDotfile("domains", legacyHomeDir(env), env);
505
+ }
506
+ return getDefaultDbPath(env);
400
507
  }
401
508
  function migrateDotfile(name, newDir, env) {
402
509
  const home = canonicalHome(env);
403
- const oldDir = join2(home, `.${name}`);
404
- if (!existsSync(oldDir) || existsSync(newDir))
510
+ const oldDir = join4(home, `.${name}`);
511
+ if (!existsSync2(oldDir) || existsSync2(newDir))
405
512
  return;
406
513
  mkdirSync(newDir, { recursive: true });
407
514
  for (const file of readdirSync(oldDir)) {
408
- const oldPath = join2(oldDir, file);
515
+ const oldPath = join4(oldDir, file);
409
516
  if (statSync2(oldPath).isFile())
410
- copyFileSync(oldPath, join2(newDir, file));
517
+ copyFileSync(oldPath, join4(newDir, file));
411
518
  }
412
519
  }
413
520
  function getDatabase() {
@@ -415,7 +522,7 @@ function getDatabase() {
415
522
  return _db;
416
523
  const dbPath = getDbPath();
417
524
  if (dbPath !== ":memory:") {
418
- const dir = dirname(resolve(dbPath));
525
+ const dir = dirname(resolve2(dbPath));
419
526
  mkdirSync(dir, { recursive: true });
420
527
  }
421
528
  _db = new Database(dbPath);
@@ -448,6 +555,7 @@ function getDatabase() {
448
555
  var _db = null;
449
556
  var init_database = __esm(() => {
450
557
  init_migrations();
558
+ init_app_home();
451
559
  });
452
560
 
453
561
  // src/db/domain-records.ts
@@ -948,7 +1056,7 @@ var init_domain_history = __esm(() => {
948
1056
  ];
949
1057
  });
950
1058
 
951
- // ../../node_modules/.bun/@smithy+types@4.16.1/node_modules/@smithy/types/dist-cjs/index.js
1059
+ // ../../node_modules/.bun/@smithy+types@4.17.2/node_modules/@smithy/types/dist-cjs/index.js
952
1060
  var require_dist_cjs = __commonJS((exports) => {
953
1061
  var HttpAuthLocation;
954
1062
  (function(HttpAuthLocation2) {
@@ -1039,7 +1147,7 @@ var require_dist_cjs = __commonJS((exports) => {
1039
1147
  exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
1040
1148
  });
1041
1149
 
1042
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
1150
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js
1043
1151
  var require_transport = __commonJS((exports) => {
1044
1152
  var { SMITHY_CONTEXT_KEY } = require_dist_cjs();
1045
1153
  var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
@@ -1206,7 +1314,7 @@ var require_transport = __commonJS((exports) => {
1206
1314
  exports.toEndpointV1 = toEndpointV1;
1207
1315
  });
1208
1316
 
1209
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
1317
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
1210
1318
  var require_schema = __commonJS((exports) => {
1211
1319
  var { getSmithyContext, HttpResponse, toEndpointV1 } = require_transport();
1212
1320
  var deref = (schemaRef) => {
@@ -1339,8 +1447,6 @@ var require_schema = __commonJS((exports) => {
1339
1447
 
1340
1448
  class ListSchema extends Schema {
1341
1449
  static symbol = Symbol.for("@smithy/lis");
1342
- name;
1343
- traits;
1344
1450
  valueSchema;
1345
1451
  symbol = ListSchema.symbol;
1346
1452
  }
@@ -1353,8 +1459,6 @@ var require_schema = __commonJS((exports) => {
1353
1459
 
1354
1460
  class MapSchema extends Schema {
1355
1461
  static symbol = Symbol.for("@smithy/map");
1356
- name;
1357
- traits;
1358
1462
  keySchema;
1359
1463
  valueSchema;
1360
1464
  symbol = MapSchema.symbol;
@@ -1369,8 +1473,6 @@ var require_schema = __commonJS((exports) => {
1369
1473
 
1370
1474
  class OperationSchema extends Schema {
1371
1475
  static symbol = Symbol.for("@smithy/ope");
1372
- name;
1373
- traits;
1374
1476
  input;
1375
1477
  output;
1376
1478
  symbol = OperationSchema.symbol;
@@ -1385,8 +1487,6 @@ var require_schema = __commonJS((exports) => {
1385
1487
 
1386
1488
  class StructureSchema extends Schema {
1387
1489
  static symbol = Symbol.for("@smithy/str");
1388
- name;
1389
- traits;
1390
1490
  memberNames;
1391
1491
  memberList;
1392
1492
  symbol = StructureSchema.symbol;
@@ -1721,9 +1821,7 @@ var require_schema = __commonJS((exports) => {
1721
1821
 
1722
1822
  class SimpleSchema extends Schema {
1723
1823
  static symbol = Symbol.for("@smithy/sim");
1724
- name;
1725
1824
  schemaRef;
1726
- traits;
1727
1825
  symbol = SimpleSchema.symbol;
1728
1826
  }
1729
1827
  var sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema, {
@@ -1885,7 +1983,7 @@ var require_schema = __commonJS((exports) => {
1885
1983
  exports.translateTraits = translateTraits;
1886
1984
  });
1887
1985
 
1888
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
1986
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/client/index.js
1889
1987
  var require_client = __commonJS((exports) => {
1890
1988
  var { getSmithyContext, normalizeProvider } = require_transport();
1891
1989
  exports.getSmithyContext = getSmithyContext;
@@ -2173,7 +2271,7 @@ var require_client = __commonJS((exports) => {
2173
2271
  };
2174
2272
  };
2175
2273
  var sleep = (seconds) => {
2176
- return new Promise((resolve3) => setTimeout(resolve3, seconds * 1000));
2274
+ return new Promise((resolve4) => setTimeout(resolve4, seconds * 1000));
2177
2275
  };
2178
2276
  var waiterServiceDefaults = {
2179
2277
  minDelay: 2,
@@ -2302,8 +2400,8 @@ var require_client = __commonJS((exports) => {
2302
2400
  };
2303
2401
  var abortTimeout = (abortSignal) => {
2304
2402
  let onAbort;
2305
- const promise = new Promise((resolve3) => {
2306
- onAbort = () => resolve3({ state: WaiterState.ABORTED });
2403
+ const promise = new Promise((resolve4) => {
2404
+ onAbort = () => resolve4({ state: WaiterState.ABORTED });
2307
2405
  if (typeof abortSignal.addEventListener === "function") {
2308
2406
  abortSignal.addEventListener("abort", onAbort);
2309
2407
  } else {
@@ -2954,10 +3052,10 @@ var require_client = __commonJS((exports) => {
2954
3052
  exports.withBaseException = withBaseException;
2955
3053
  });
2956
3054
 
2957
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
3055
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/config/index.js
2958
3056
  var require_config = __commonJS((exports) => {
2959
- var { homedir: homedir2 } = __require("os");
2960
- var { sep, join: join3 } = __require("path");
3057
+ var { homedir: homedir4 } = __require("os");
3058
+ var { sep, join: join5 } = __require("path");
2961
3059
  var { createHash: createHash2 } = __require("crypto");
2962
3060
  var { readFile: readFile$1 } = __require("fs/promises");
2963
3061
  var { IniSectionType } = require_dist_cjs();
@@ -3106,7 +3204,7 @@ var require_config = __commonJS((exports) => {
3106
3204
  return `${HOMEDRIVE}${HOMEPATH}`;
3107
3205
  const homeDirCacheKey = getHomeDirCacheKey();
3108
3206
  if (!homeDirCache[homeDirCacheKey])
3109
- homeDirCache[homeDirCacheKey] = homedir2();
3207
+ homeDirCache[homeDirCacheKey] = homedir4();
3110
3208
  return homeDirCache[homeDirCacheKey];
3111
3209
  };
3112
3210
  var ENV_PROFILE = "AWS_PROFILE";
@@ -3115,7 +3213,7 @@ var require_config = __commonJS((exports) => {
3115
3213
  var getSSOTokenFilepath = (id) => {
3116
3214
  const hasher = createHash2("sha1");
3117
3215
  const cacheName = hasher.update(id).digest("hex");
3118
- return join3(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
3216
+ return join5(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
3119
3217
  };
3120
3218
  var tokenIntercept = {};
3121
3219
  var getSSOTokenFromFile = async (id) => {
@@ -3142,9 +3240,9 @@ var require_config = __commonJS((exports) => {
3142
3240
  ...data.default && { default: data.default }
3143
3241
  });
3144
3242
  var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
3145
- var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join3(getHomeDir(), ".aws", "config");
3243
+ var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join5(getHomeDir(), ".aws", "config");
3146
3244
  var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
3147
- var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join3(getHomeDir(), ".aws", "credentials");
3245
+ var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join5(getHomeDir(), ".aws", "credentials");
3148
3246
  var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@+.%:/]+)\2$/;
3149
3247
  var profileNameBlockList = ["__proto__", "profile __proto__"];
3150
3248
  var parseIni = (iniData) => {
@@ -3210,11 +3308,11 @@ var require_config = __commonJS((exports) => {
3210
3308
  const relativeHomeDirPrefix = "~/";
3211
3309
  let resolvedFilepath = filepath;
3212
3310
  if (filepath.startsWith(relativeHomeDirPrefix)) {
3213
- resolvedFilepath = join3(homeDir2, filepath.slice(2));
3311
+ resolvedFilepath = join5(homeDir2, filepath.slice(2));
3214
3312
  }
3215
3313
  let resolvedConfigFilepath = configFilepath;
3216
3314
  if (configFilepath.startsWith(relativeHomeDirPrefix)) {
3217
- resolvedConfigFilepath = join3(homeDir2, configFilepath.slice(2));
3315
+ resolvedConfigFilepath = join5(homeDir2, configFilepath.slice(2));
3218
3316
  }
3219
3317
  const parsedFiles = await Promise.all([
3220
3318
  readFile(resolvedConfigFilepath, {
@@ -3431,7 +3529,7 @@ var require_config = __commonJS((exports) => {
3431
3529
  };
3432
3530
  var imdsRequest = async (options) => {
3433
3531
  const { request } = __require("http");
3434
- return new Promise((resolve3, reject) => {
3532
+ return new Promise((resolve4, reject) => {
3435
3533
  const req = request({
3436
3534
  hostname: options.hostname,
3437
3535
  port: options.port,
@@ -3459,7 +3557,7 @@ var require_config = __commonJS((exports) => {
3459
3557
  const chunks = [];
3460
3558
  res.on("data", (chunk) => chunks.push(chunk));
3461
3559
  res.on("end", () => {
3462
- resolve3(Buffer.concat(chunks));
3560
+ resolve4(Buffer.concat(chunks));
3463
3561
  req.destroy();
3464
3562
  });
3465
3563
  });
@@ -3649,7 +3747,7 @@ var require_config = __commonJS((exports) => {
3649
3747
  exports.resolveRegionConfig = resolveRegionConfig;
3650
3748
  });
3651
3749
 
3652
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
3750
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
3653
3751
  var require_endpoints = __commonJS((exports) => {
3654
3752
  var { CONFIG_PREFIX_SEPARATOR, booleanSelector, SelectorType, loadConfig } = require_config();
3655
3753
  var { toEndpointV1, getSmithyContext, normalizeProvider, isValidHostLabel } = require_transport();
@@ -4461,7 +4559,7 @@ var require_endpoints = __commonJS((exports) => {
4461
4559
  exports.resolveParams = resolveParams;
4462
4560
  });
4463
4561
 
4464
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
4562
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
4465
4563
  var require_serde = __commonJS((exports) => {
4466
4564
  var { createHmac, createHash: createHash2, getRandomValues } = __require("crypto");
4467
4565
  var { ReadStream, lstatSync, fstatSync } = __require("fs");
@@ -5810,7 +5908,7 @@ ${value}\r
5810
5908
  if (isReadableStream(stream)) {
5811
5909
  return headStream$1(stream, bytes);
5812
5910
  }
5813
- return new Promise((resolve3, reject) => {
5911
+ return new Promise((resolve4, reject) => {
5814
5912
  const collector = new Collector$1;
5815
5913
  collector.limit = bytes;
5816
5914
  stream.pipe(collector);
@@ -5821,7 +5919,7 @@ ${value}\r
5821
5919
  collector.on("error", reject);
5822
5920
  collector.on("finish", function() {
5823
5921
  const bytes2 = concatBytes(this.buffers);
5824
- resolve3(bytes2);
5922
+ resolve4(bytes2);
5825
5923
  });
5826
5924
  });
5827
5925
  };
@@ -5935,7 +6033,7 @@ ${value}\r
5935
6033
  if (isReadableStream(stream)) {
5936
6034
  return collectReadableStream(stream);
5937
6035
  }
5938
- return new Promise((resolve3, reject) => {
6036
+ return new Promise((resolve4, reject) => {
5939
6037
  const collector = new Collector;
5940
6038
  const nodeStream = stream;
5941
6039
  nodeStream.pipe(collector);
@@ -5946,7 +6044,7 @@ ${value}\r
5946
6044
  collector.on("error", reject);
5947
6045
  collector.on("finish", function() {
5948
6046
  const bytes = concatBytes(this.bufferedBytes);
5949
- resolve3(bytes);
6047
+ resolve4(bytes);
5950
6048
  });
5951
6049
  });
5952
6050
  };
@@ -6099,7 +6197,7 @@ ${value}\r
6099
6197
  exports.v4 = v4;
6100
6198
  });
6101
6199
 
6102
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
6200
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js
6103
6201
  var require_checksum = __commonJS((exports) => {
6104
6202
  var { createReadStream } = __require("fs");
6105
6203
  var { Writable } = __require("stream");
@@ -6138,7 +6236,7 @@ var require_checksum = __commonJS((exports) => {
6138
6236
  callback();
6139
6237
  }
6140
6238
  }
6141
- var fileStreamHasher = (hashCtor, fileStream) => new Promise((resolve3, reject) => {
6239
+ var fileStreamHasher = (hashCtor, fileStream) => new Promise((resolve4, reject) => {
6142
6240
  if (!isReadStream(fileStream)) {
6143
6241
  reject(new Error("Unable to calculate hash for non-file streams."));
6144
6242
  return;
@@ -6156,7 +6254,7 @@ var require_checksum = __commonJS((exports) => {
6156
6254
  });
6157
6255
  hashCalculator.on("error", reject);
6158
6256
  hashCalculator.on("finish", function() {
6159
- hash.digest().then(resolve3).catch(reject);
6257
+ hash.digest().then(resolve4).catch(reject);
6160
6258
  });
6161
6259
  });
6162
6260
  var isReadStream = (stream) => typeof stream.path === "string";
@@ -6167,14 +6265,14 @@ var require_checksum = __commonJS((exports) => {
6167
6265
  const hash = new hashCtor;
6168
6266
  const hashCalculator = new HashCalculator(hash);
6169
6267
  readableStream.pipe(hashCalculator);
6170
- return new Promise((resolve3, reject) => {
6268
+ return new Promise((resolve4, reject) => {
6171
6269
  readableStream.on("error", (err) => {
6172
6270
  hashCalculator.end();
6173
6271
  reject(err);
6174
6272
  });
6175
6273
  hashCalculator.on("error", reject);
6176
6274
  hashCalculator.on("finish", () => {
6177
- hash.digest().then(resolve3).catch(reject);
6275
+ hash.digest().then(resolve4).catch(reject);
6178
6276
  });
6179
6277
  });
6180
6278
  };
@@ -6715,7 +6813,7 @@ var require_checksum = __commonJS((exports) => {
6715
6813
  exports.readableStreamHasher = readableStreamHasher;
6716
6814
  });
6717
6815
 
6718
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
6816
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
6719
6817
  var require_event_streams = __commonJS((exports) => {
6720
6818
  var { Crc32 } = require_checksum();
6721
6819
  var { toHex, fromHex, toUtf8, fromUtf8 } = require_serde();
@@ -6790,27 +6888,27 @@ var require_event_streams = __commonJS((exports) => {
6790
6888
  formatHeaderValue(header) {
6791
6889
  switch (header.type) {
6792
6890
  case "boolean":
6793
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
6891
+ return Uint8Array.from([header.value ? 0 : 1]);
6794
6892
  case "byte":
6795
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
6893
+ return Uint8Array.from([2, header.value]);
6796
6894
  case "short":
6797
6895
  const shortView = new DataView(new ArrayBuffer(3));
6798
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
6896
+ shortView.setUint8(0, 3);
6799
6897
  shortView.setInt16(1, header.value, false);
6800
6898
  return new Uint8Array(shortView.buffer);
6801
6899
  case "integer":
6802
6900
  const intView = new DataView(new ArrayBuffer(5));
6803
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
6901
+ intView.setUint8(0, 4);
6804
6902
  intView.setInt32(1, header.value, false);
6805
6903
  return new Uint8Array(intView.buffer);
6806
6904
  case "long":
6807
6905
  const longBytes = new Uint8Array(9);
6808
- longBytes[0] = HEADER_VALUE_TYPE.long;
6906
+ longBytes[0] = 5;
6809
6907
  longBytes.set(header.value.bytes, 1);
6810
6908
  return longBytes;
6811
6909
  case "binary":
6812
6910
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
6813
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
6911
+ binView.setUint8(0, 6);
6814
6912
  binView.setUint16(1, header.value.byteLength, false);
6815
6913
  const binBytes = new Uint8Array(binView.buffer);
6816
6914
  binBytes.set(header.value, 3);
@@ -6818,14 +6916,14 @@ var require_event_streams = __commonJS((exports) => {
6818
6916
  case "string":
6819
6917
  const utf8Bytes = this.fromUtf8(header.value);
6820
6918
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
6821
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
6919
+ strView.setUint8(0, 7);
6822
6920
  strView.setUint16(1, utf8Bytes.byteLength, false);
6823
6921
  const strBytes = new Uint8Array(strView.buffer);
6824
6922
  strBytes.set(utf8Bytes, 3);
6825
6923
  return strBytes;
6826
6924
  case "timestamp":
6827
6925
  const tsBytes = new Uint8Array(9);
6828
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
6926
+ tsBytes[0] = 8;
6829
6927
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
6830
6928
  return tsBytes;
6831
6929
  case "uuid":
@@ -6833,7 +6931,7 @@ var require_event_streams = __commonJS((exports) => {
6833
6931
  throw new Error(`Invalid UUID received: ${header.value}`);
6834
6932
  }
6835
6933
  const uuidBytes = new Uint8Array(17);
6836
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
6934
+ uuidBytes[0] = 9;
6837
6935
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
6838
6936
  return uuidBytes;
6839
6937
  }
@@ -6846,46 +6944,46 @@ var require_event_streams = __commonJS((exports) => {
6846
6944
  const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
6847
6945
  position += nameLength;
6848
6946
  switch (headers.getUint8(position++)) {
6849
- case HEADER_VALUE_TYPE.boolTrue:
6947
+ case 0:
6850
6948
  out[name] = {
6851
6949
  type: BOOLEAN_TAG,
6852
6950
  value: true
6853
6951
  };
6854
6952
  break;
6855
- case HEADER_VALUE_TYPE.boolFalse:
6953
+ case 1:
6856
6954
  out[name] = {
6857
6955
  type: BOOLEAN_TAG,
6858
6956
  value: false
6859
6957
  };
6860
6958
  break;
6861
- case HEADER_VALUE_TYPE.byte:
6959
+ case 2:
6862
6960
  out[name] = {
6863
6961
  type: BYTE_TAG,
6864
6962
  value: headers.getInt8(position++)
6865
6963
  };
6866
6964
  break;
6867
- case HEADER_VALUE_TYPE.short:
6965
+ case 3:
6868
6966
  out[name] = {
6869
6967
  type: SHORT_TAG,
6870
6968
  value: headers.getInt16(position, false)
6871
6969
  };
6872
6970
  position += 2;
6873
6971
  break;
6874
- case HEADER_VALUE_TYPE.integer:
6972
+ case 4:
6875
6973
  out[name] = {
6876
6974
  type: INT_TAG,
6877
6975
  value: headers.getInt32(position, false)
6878
6976
  };
6879
6977
  position += 4;
6880
6978
  break;
6881
- case HEADER_VALUE_TYPE.long:
6979
+ case 5:
6882
6980
  out[name] = {
6883
6981
  type: LONG_TAG,
6884
6982
  value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
6885
6983
  };
6886
6984
  position += 8;
6887
6985
  break;
6888
- case HEADER_VALUE_TYPE.byteArray:
6986
+ case 6:
6889
6987
  const binaryLength = headers.getUint16(position, false);
6890
6988
  position += 2;
6891
6989
  out[name] = {
@@ -6894,7 +6992,7 @@ var require_event_streams = __commonJS((exports) => {
6894
6992
  };
6895
6993
  position += binaryLength;
6896
6994
  break;
6897
- case HEADER_VALUE_TYPE.string:
6995
+ case 7:
6898
6996
  const stringLength = headers.getUint16(position, false);
6899
6997
  position += 2;
6900
6998
  out[name] = {
@@ -6903,14 +7001,14 @@ var require_event_streams = __commonJS((exports) => {
6903
7001
  };
6904
7002
  position += stringLength;
6905
7003
  break;
6906
- case HEADER_VALUE_TYPE.timestamp:
7004
+ case 8:
6907
7005
  out[name] = {
6908
7006
  type: TIMESTAMP_TAG,
6909
7007
  value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
6910
7008
  };
6911
7009
  position += 8;
6912
7010
  break;
6913
- case HEADER_VALUE_TYPE.uuid:
7011
+ case 9:
6914
7012
  const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
6915
7013
  position += 16;
6916
7014
  out[name] = {
@@ -7280,7 +7378,7 @@ var require_event_streams = __commonJS((exports) => {
7280
7378
  streamEnded = true;
7281
7379
  });
7282
7380
  while (!generationEnded) {
7283
- const value = await new Promise((resolve3) => setTimeout(() => resolve3(records.shift()), 0));
7381
+ const value = await new Promise((resolve4) => setTimeout(() => resolve4(records.shift()), 0));
7284
7382
  if (value) {
7285
7383
  yield value;
7286
7384
  }
@@ -7333,7 +7431,7 @@ var require_event_streams = __commonJS((exports) => {
7333
7431
  this.defaultContentType = defaultContentType;
7334
7432
  this.compositeErrorRegistry = compositeErrorRegistry;
7335
7433
  }
7336
- async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
7434
+ async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType }) {
7337
7435
  const marshaller = this.marshaller;
7338
7436
  const eventStreamMember = requestSchema.getEventStreamMember();
7339
7437
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
@@ -7344,7 +7442,7 @@ var require_event_streams = __commonJS((exports) => {
7344
7442
  async* [Symbol.asyncIterator]() {
7345
7443
  if (initialRequest) {
7346
7444
  const headers = {
7347
- ":event-type": { type: "string", value: "initial-request" },
7445
+ ":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
7348
7446
  ":message-type": { type: "string", value: "event" },
7349
7447
  ":content-type": { type: "string", value: defaultContentType }
7350
7448
  };
@@ -7388,7 +7486,7 @@ var require_event_streams = __commonJS((exports) => {
7388
7486
  };
7389
7487
  });
7390
7488
  }
7391
- async deserializeEventStream({ response, responseSchema, initialResponseContainer }) {
7489
+ async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType }) {
7392
7490
  const marshaller = this.marshaller;
7393
7491
  const eventStreamMember = responseSchema.getEventStreamMember();
7394
7492
  const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
@@ -7403,7 +7501,7 @@ var require_event_streams = __commonJS((exports) => {
7403
7501
  }
7404
7502
  }
7405
7503
  const body = event[unionMember].body;
7406
- if (unionMember === "initial-response") {
7504
+ if (unionMember === (initialMessageType ?? "initial-response")) {
7407
7505
  const dataObject = await this.deserializer.read(responseSchema, body);
7408
7506
  delete dataObject[eventStreamMember];
7409
7507
  return {
@@ -7598,7 +7696,7 @@ var require_event_streams = __commonJS((exports) => {
7598
7696
  exports.universalEventStreamSerdeProvider = eventStreamSerdeProvider$1;
7599
7697
  });
7600
7698
 
7601
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
7699
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
7602
7700
  var require_protocols = __commonJS((exports) => {
7603
7701
  var { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader } = require_serde();
7604
7702
  var { TypeRegistry, NormalizedSchema, translateTraits } = require_schema();
@@ -8071,10 +8169,9 @@ var require_protocols = __commonJS((exports) => {
8071
8169
  if (eventStreamMember) {
8072
8170
  if (input[eventStreamMember]) {
8073
8171
  const initialRequest = {};
8074
- for (const [memberName, memberSchema] of ns.structIterator()) {
8075
- if (memberName !== eventStreamMember && input[memberName]) {
8076
- serializer.write(memberSchema, input[memberName]);
8077
- initialRequest[memberName] = serializer.flush();
8172
+ for (const [memberName] of ns.structIterator()) {
8173
+ if (memberName !== eventStreamMember && input[memberName] != null) {
8174
+ initialRequest[memberName] = input[memberName];
8078
8175
  }
8079
8176
  }
8080
8177
  payload = await this.serializeEventStream({
@@ -8161,8 +8258,8 @@ var require_protocols = __commonJS((exports) => {
8161
8258
  async build() {
8162
8259
  const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint();
8163
8260
  this.path = basePath;
8164
- for (const resolvePath of this.resolvePathStack) {
8165
- resolvePath(this.path);
8261
+ for (const resolvePath2 of this.resolvePathStack) {
8262
+ resolvePath2(this.path);
8166
8263
  }
8167
8264
  return new HttpRequest({
8168
8265
  protocol,
@@ -8483,24 +8580,27 @@ var require_protocols = __commonJS((exports) => {
8483
8580
  }
8484
8581
  }
8485
8582
  var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
8583
+ if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
8584
+ runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
8585
+ }
8486
8586
  return {
8487
8587
  setHttpHandler(handler) {
8488
- runtimeConfig.httpHandler = handler;
8588
+ runtimeConfig.requestHandler = handler;
8489
8589
  },
8490
8590
  httpHandler() {
8491
- return runtimeConfig.httpHandler;
8591
+ return runtimeConfig.requestHandler;
8492
8592
  },
8493
8593
  updateHttpClientConfig(key, value) {
8494
- runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
8594
+ runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);
8495
8595
  },
8496
8596
  httpHandlerConfigs() {
8497
- return runtimeConfig.httpHandler.httpHandlerConfigs();
8597
+ return runtimeConfig.requestHandler.httpHandlerConfigs();
8498
8598
  }
8499
8599
  };
8500
8600
  };
8501
8601
  var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
8502
8602
  return {
8503
- httpHandler: httpHandlerExtensionConfiguration.httpHandler()
8603
+ requestHandler: httpHandlerExtensionConfiguration.httpHandler()
8504
8604
  };
8505
8605
  };
8506
8606
  var CONTENT_LENGTH_HEADER = "content-length";
@@ -8512,10 +8612,12 @@ var require_protocols = __commonJS((exports) => {
8512
8612
  if (body && Object.keys(headers).map((str) => str.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER) === -1) {
8513
8613
  try {
8514
8614
  const length = bodyLengthChecker(body);
8515
- request.headers = {
8516
- ...request.headers,
8517
- [CONTENT_LENGTH_HEADER]: String(length)
8518
- };
8615
+ if (length != null) {
8616
+ request.headers = {
8617
+ ...request.headers,
8618
+ [CONTENT_LENGTH_HEADER]: String(length)
8619
+ };
8620
+ }
8519
8621
  } catch (ignored) {}
8520
8622
  }
8521
8623
  }
@@ -8584,7 +8686,7 @@ var require_protocols = __commonJS((exports) => {
8584
8686
  exports.resolvedPath = resolvedPath;
8585
8687
  });
8586
8688
 
8587
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
8689
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js
8588
8690
  var require_retry = __commonJS((exports) => {
8589
8691
  var { Readable } = __require("stream");
8590
8692
  var { NoOpLogger, normalizeProvider } = require_client();
@@ -8771,7 +8873,7 @@ var require_retry = __commonJS((exports) => {
8771
8873
  }
8772
8874
  };
8773
8875
  }
8774
- var cooldown = (ms) => new Promise((resolve3) => setTimeout(resolve3, ms));
8876
+ var cooldown = (ms) => new Promise((resolve4) => setTimeout(resolve4, ms));
8775
8877
  var isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined";
8776
8878
  var getRetryErrorInfo = (error, logger) => {
8777
8879
  const errorInfo = {
@@ -8870,7 +8972,7 @@ var require_retry = __commonJS((exports) => {
8870
8972
  this.refillTokenBucket();
8871
8973
  while (amount > this.availableTokens) {
8872
8974
  const delay = (amount - this.availableTokens) / this.fillRate * 1000;
8873
- await new Promise((resolve3) => DefaultRateLimiter.setTimeoutFn(resolve3, delay));
8975
+ await new Promise((resolve4) => DefaultRateLimiter.setTimeoutFn(resolve4, delay));
8874
8976
  this.refillTokenBucket();
8875
8977
  }
8876
8978
  this.availableTokens = this.availableTokens - amount;
@@ -9212,7 +9314,7 @@ var require_retry = __commonJS((exports) => {
9212
9314
  const delayFromResponse = getDelayFromRetryAfterHeader(err.$response);
9213
9315
  const delay = Math.max(delayFromResponse || 0, delayFromDecider);
9214
9316
  totalDelay += delay;
9215
- await new Promise((resolve3) => setTimeout(resolve3, delay));
9317
+ await new Promise((resolve4) => setTimeout(resolve4, delay));
9216
9318
  continue;
9217
9319
  }
9218
9320
  if (!err.$metadata) {
@@ -9510,7 +9612,7 @@ var require_invoke_store = __commonJS((exports) => {
9510
9612
  exports.InvokeStoreBase = InvokeStoreBase;
9511
9613
  });
9512
9614
 
9513
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/index.js
9615
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/index.js
9514
9616
  var require_dist_cjs2 = __commonJS((exports) => {
9515
9617
  var { getSmithyContext } = require_transport();
9516
9618
  exports.getSmithyContext = getSmithyContext;
@@ -10676,7 +10778,7 @@ var require_es5 = __commonJS((exports, module) => {
10676
10778
  });
10677
10779
  });
10678
10780
 
10679
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
10781
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
10680
10782
  var require_client2 = __commonJS((exports) => {
10681
10783
  var { Retry, RETRY_MODES } = require_retry();
10682
10784
  var { HttpRequest, parseUrl } = require_protocols();
@@ -11614,7 +11716,7 @@ More information can be found at: https://a.co/c895JFp`);
11614
11716
  exports.userAgentMiddleware = userAgentMiddleware;
11615
11717
  });
11616
11718
 
11617
- // ../../node_modules/.bun/@smithy+signature-v4@5.6.12/node_modules/@smithy/signature-v4/dist-cjs/index.js
11719
+ // ../../node_modules/.bun/@smithy+signature-v4@5.7.2/node_modules/@smithy/signature-v4/dist-cjs/index.js
11618
11720
  var require_dist_cjs3 = __commonJS((exports) => {
11619
11721
  var { fromUtf8, fromHex, toHex, toUint8Array, isArrayBuffer } = require_serde();
11620
11722
  var { normalizeProvider } = require_client();
@@ -11638,27 +11740,27 @@ var require_dist_cjs3 = __commonJS((exports) => {
11638
11740
  formatHeaderValue(header) {
11639
11741
  switch (header.type) {
11640
11742
  case "boolean":
11641
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
11743
+ return Uint8Array.from([header.value ? 0 : 1]);
11642
11744
  case "byte":
11643
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
11745
+ return Uint8Array.from([2, header.value]);
11644
11746
  case "short":
11645
11747
  const shortView = new DataView(new ArrayBuffer(3));
11646
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
11748
+ shortView.setUint8(0, 3);
11647
11749
  shortView.setInt16(1, header.value, false);
11648
11750
  return new Uint8Array(shortView.buffer);
11649
11751
  case "integer":
11650
11752
  const intView = new DataView(new ArrayBuffer(5));
11651
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
11753
+ intView.setUint8(0, 4);
11652
11754
  intView.setInt32(1, header.value, false);
11653
11755
  return new Uint8Array(intView.buffer);
11654
11756
  case "long":
11655
11757
  const longBytes = new Uint8Array(9);
11656
- longBytes[0] = HEADER_VALUE_TYPE.long;
11758
+ longBytes[0] = 5;
11657
11759
  longBytes.set(header.value.bytes, 1);
11658
11760
  return longBytes;
11659
11761
  case "binary":
11660
11762
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
11661
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
11763
+ binView.setUint8(0, 6);
11662
11764
  binView.setUint16(1, header.value.byteLength, false);
11663
11765
  const binBytes = new Uint8Array(binView.buffer);
11664
11766
  binBytes.set(header.value, 3);
@@ -11666,14 +11768,14 @@ var require_dist_cjs3 = __commonJS((exports) => {
11666
11768
  case "string":
11667
11769
  const utf8Bytes = fromUtf8(header.value);
11668
11770
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
11669
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
11771
+ strView.setUint8(0, 7);
11670
11772
  strView.setUint16(1, utf8Bytes.byteLength, false);
11671
11773
  const strBytes = new Uint8Array(strView.buffer);
11672
11774
  strBytes.set(utf8Bytes, 3);
11673
11775
  return strBytes;
11674
11776
  case "timestamp":
11675
11777
  const tsBytes = new Uint8Array(9);
11676
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
11778
+ tsBytes[0] = 8;
11677
11779
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
11678
11780
  return tsBytes;
11679
11781
  case "uuid":
@@ -11681,7 +11783,7 @@ var require_dist_cjs3 = __commonJS((exports) => {
11681
11783
  throw new Error(`Invalid UUID received: ${header.value}`);
11682
11784
  }
11683
11785
  const uuidBytes = new Uint8Array(17);
11684
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
11786
+ uuidBytes[0] = 9;
11685
11787
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
11686
11788
  return uuidBytes;
11687
11789
  }
@@ -12154,7 +12256,7 @@ ${toHex(hashedRequest)}`;
12154
12256
  exports.signatureV4aContainer = signatureV4aContainer;
12155
12257
  });
12156
12258
 
12157
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
12259
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
12158
12260
  var require_httpAuthSchemes = __commonJS((exports) => {
12159
12261
  var { ProviderError, booleanSelector, SelectorType, loadConfig } = require_config();
12160
12262
  var { setCredentialFeature } = require_client2();
@@ -12484,7 +12586,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
12484
12586
  exports.validateSigningProperties = validateSigningProperties;
12485
12587
  });
12486
12588
 
12487
- // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.67/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
12589
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.69/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
12488
12590
  var import_client3, import_config, ENV_KEY = "AWS_ACCESS_KEY_ID", ENV_SECRET = "AWS_SECRET_ACCESS_KEY", ENV_SESSION = "AWS_SESSION_TOKEN", ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION", ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE", ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID", fromEnv = (init) => async () => {
12489
12591
  init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
12490
12592
  const accessKeyId = process.env[ENV_KEY];
@@ -12512,7 +12614,7 @@ var init_fromEnv = __esm(() => {
12512
12614
  import_config = __toESM(require_config(), 1);
12513
12615
  });
12514
12616
 
12515
- // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.67/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
12617
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-env@3.972.69/node_modules/@aws-sdk/credential-provider-env/dist-es/index.js
12516
12618
  var exports_dist_es = {};
12517
12619
  __export(exports_dist_es, {
12518
12620
  fromEnv: () => fromEnv,
@@ -12527,7 +12629,7 @@ var init_dist_es = __esm(() => {
12527
12629
  init_fromEnv();
12528
12630
  });
12529
12631
 
12530
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
12632
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
12531
12633
  var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string", fromImdsCredentials = (creds) => ({
12532
12634
  accessKeyId: creds.AccessKeyId,
12533
12635
  secretAccessKey: creds.SecretAccessKey,
@@ -12536,16 +12638,16 @@ var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && type
12536
12638
  ...creds.AccountId && { accountId: creds.AccountId }
12537
12639
  });
12538
12640
 
12539
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
12641
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
12540
12642
  var DEFAULT_TIMEOUT = 1000, DEFAULT_MAX_RETRIES = 0, providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT }) => ({ maxRetries, timeout });
12541
12643
 
12542
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
12644
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js
12543
12645
  import node_http from "http";
12544
12646
  var init_node_http = () => {};
12545
12647
 
12546
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
12648
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
12547
12649
  function httpRequest(options) {
12548
- return new Promise((resolve3, reject) => {
12650
+ return new Promise((resolve4, reject) => {
12549
12651
  const req = node_http.request({
12550
12652
  method: "GET",
12551
12653
  ...options,
@@ -12570,7 +12672,7 @@ function httpRequest(options) {
12570
12672
  chunks.push(chunk);
12571
12673
  });
12572
12674
  res.on("end", () => {
12573
- resolve3(Buffer.concat(chunks));
12675
+ resolve4(Buffer.concat(chunks));
12574
12676
  req.destroy();
12575
12677
  });
12576
12678
  });
@@ -12583,7 +12685,7 @@ var init_httpRequest = __esm(() => {
12583
12685
  import_config2 = __toESM(require_config(), 1);
12584
12686
  });
12585
12687
 
12586
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
12688
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
12587
12689
  var retry = (toRetry, maxRetries) => {
12588
12690
  let promise = toRetry();
12589
12691
  for (let i = 0;i < maxRetries; i++) {
@@ -12592,7 +12694,7 @@ var retry = (toRetry, maxRetries) => {
12592
12694
  return promise;
12593
12695
  };
12594
12696
 
12595
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
12697
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
12596
12698
  var import_config3, ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromContainerMetadata = (init = {}) => {
12597
12699
  const { timeout, maxRetries } = providerConfigFromInit(init);
12598
12700
  return () => retry(async () => {
@@ -12662,7 +12764,7 @@ var init_fromContainerMetadata = __esm(() => {
12662
12764
  GREENGRASS_PROTOCOLS = new Set(["http:", "https:"]);
12663
12765
  });
12664
12766
 
12665
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
12767
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
12666
12768
  var import_config4, InstanceMetadataV1FallbackError;
12667
12769
  var init_InstanceMetadataV1FallbackError = __esm(() => {
12668
12770
  import_config4 = __toESM(require_config(), 1);
@@ -12677,7 +12779,7 @@ var init_InstanceMetadataV1FallbackError = __esm(() => {
12677
12779
  };
12678
12780
  });
12679
12781
 
12680
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
12782
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
12681
12783
  var Endpoint;
12682
12784
  var init_Endpoint = __esm(() => {
12683
12785
  (function(Endpoint2) {
@@ -12686,7 +12788,7 @@ var init_Endpoint = __esm(() => {
12686
12788
  })(Endpoint || (Endpoint = {}));
12687
12789
  });
12688
12790
 
12689
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
12791
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
12690
12792
  var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT", CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint", ENDPOINT_CONFIG_OPTIONS;
12691
12793
  var init_EndpointConfigOptions = __esm(() => {
12692
12794
  ENDPOINT_CONFIG_OPTIONS = {
@@ -12696,7 +12798,7 @@ var init_EndpointConfigOptions = __esm(() => {
12696
12798
  };
12697
12799
  });
12698
12800
 
12699
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
12801
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
12700
12802
  var EndpointMode;
12701
12803
  var init_EndpointMode = __esm(() => {
12702
12804
  (function(EndpointMode2) {
@@ -12705,7 +12807,7 @@ var init_EndpointMode = __esm(() => {
12705
12807
  })(EndpointMode || (EndpointMode = {}));
12706
12808
  });
12707
12809
 
12708
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
12810
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
12709
12811
  var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode", ENDPOINT_MODE_CONFIG_OPTIONS;
12710
12812
  var init_EndpointModeConfigOptions = __esm(() => {
12711
12813
  init_EndpointMode();
@@ -12716,7 +12818,7 @@ var init_EndpointModeConfigOptions = __esm(() => {
12716
12818
  };
12717
12819
  });
12718
12820
 
12719
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
12821
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
12720
12822
  var import_config5, import_protocols, getInstanceMetadataEndpoint = async () => import_protocols.parseUrl(await getFromEndpointConfig() || await getFromEndpointModeConfig()), getFromEndpointConfig = async () => import_config5.loadConfig(ENDPOINT_CONFIG_OPTIONS)(), getFromEndpointModeConfig = async () => {
12721
12823
  const endpointMode = await import_config5.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();
12722
12824
  switch (endpointMode) {
@@ -12737,7 +12839,7 @@ var init_getInstanceMetadataEndpoint = __esm(() => {
12737
12839
  import_protocols = __toESM(require_protocols(), 1);
12738
12840
  });
12739
12841
 
12740
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
12842
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
12741
12843
  var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS, STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS, STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html", getExtendedInstanceMetadataCredentials = (credentials, logger) => {
12742
12844
  const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
12743
12845
  const newExpiration = new Date(Date.now() + refreshInterval * 1000);
@@ -12755,7 +12857,7 @@ var init_getExtendedInstanceMetadataCredentials = __esm(() => {
12755
12857
  STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
12756
12858
  });
12757
12859
 
12758
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
12860
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
12759
12861
  var staticStabilityProvider = (provider, options = {}) => {
12760
12862
  const logger = options?.logger || console;
12761
12863
  let pastCredentials;
@@ -12782,7 +12884,7 @@ var init_staticStabilityProvider = __esm(() => {
12782
12884
  init_getExtendedInstanceMetadataCredentials();
12783
12885
  });
12784
12886
 
12785
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
12887
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
12786
12888
  var import_config6, IMDS_PATH = "/latest/meta-data/iam/security-credentials/", IMDS_TOKEN_PATH = "/latest/api/token", AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED", PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled", X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token", fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }), getInstanceMetadataProvider = (init = {}) => {
12787
12889
  let disableFetchToken = false;
12788
12890
  const { logger, profile } = init;
@@ -12794,9 +12896,9 @@ var import_config6, IMDS_PATH = "/latest/meta-data/iam/security-credentials/", I
12794
12896
  let fallbackBlockedFromProcessEnv = false;
12795
12897
  const configValue = await import_config6.loadConfig({
12796
12898
  environmentVariableSelector: (env) => {
12797
- const envValue = env[AWS_EC2_METADATA_V1_DISABLED];
12798
- fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false";
12799
- if (envValue === undefined) {
12899
+ const envValue2 = env[AWS_EC2_METADATA_V1_DISABLED];
12900
+ fallbackBlockedFromProcessEnv = !!envValue2 && envValue2 !== "false";
12901
+ if (envValue2 === undefined) {
12800
12902
  throw new import_config6.CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger });
12801
12903
  }
12802
12904
  return fallbackBlockedFromProcessEnv;
@@ -12902,7 +13004,7 @@ var init_fromInstanceMetadata = __esm(() => {
12902
13004
  import_config6 = __toESM(require_config(), 1);
12903
13005
  });
12904
13006
 
12905
- // ../../node_modules/.bun/@smithy+credential-provider-imds@4.4.16/node_modules/@smithy/credential-provider-imds/dist-es/index.js
13007
+ // ../../node_modules/.bun/@smithy+credential-provider-imds@4.5.2/node_modules/@smithy/credential-provider-imds/dist-es/index.js
12906
13008
  var exports_dist_es2 = {};
12907
13009
  __export(exports_dist_es2, {
12908
13010
  providerConfigFromInit: () => providerConfigFromInit,
@@ -12925,7 +13027,7 @@ var init_dist_es2 = __esm(() => {
12925
13027
  init_Endpoint();
12926
13028
  });
12927
13029
 
12928
- // ../../node_modules/.bun/@smithy+node-http-handler@4.9.13/node_modules/@smithy/node-http-handler/dist-cjs/index.js
13030
+ // ../../node_modules/.bun/@smithy+node-http-handler@4.11.2/node_modules/@smithy/node-http-handler/dist-cjs/index.js
12929
13031
  var require_dist_cjs4 = __commonJS((exports) => {
12930
13032
  var { buildQueryString, HttpResponse } = require_protocols();
12931
13033
  var node_https = __require("https");
@@ -13064,21 +13166,21 @@ var require_dist_cjs4 = __commonJS((exports) => {
13064
13166
  let sendBody = true;
13065
13167
  if (!externalAgent && expect === "100-continue") {
13066
13168
  sendBody = await Promise.race([
13067
- new Promise((resolve3) => {
13068
- timeoutId = Number(timing.setTimeout(() => resolve3(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
13169
+ new Promise((resolve4) => {
13170
+ timeoutId = Number(timing.setTimeout(() => resolve4(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
13069
13171
  }),
13070
- new Promise((resolve3) => {
13172
+ new Promise((resolve4) => {
13071
13173
  httpRequest2.on("continue", () => {
13072
13174
  timing.clearTimeout(timeoutId);
13073
- resolve3(true);
13175
+ resolve4(true);
13074
13176
  });
13075
13177
  httpRequest2.on("response", () => {
13076
13178
  timing.clearTimeout(timeoutId);
13077
- resolve3(false);
13179
+ resolve4(false);
13078
13180
  });
13079
13181
  httpRequest2.on("error", () => {
13080
13182
  timing.clearTimeout(timeoutId);
13081
- resolve3(false);
13183
+ resolve4(false);
13082
13184
  });
13083
13185
  })
13084
13186
  ]);
@@ -13153,13 +13255,13 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13153
13255
  return socketWarningTimestamp;
13154
13256
  }
13155
13257
  constructor(options) {
13156
- this.configProvider = new Promise((resolve3, reject) => {
13258
+ this.configProvider = new Promise((resolve4, reject) => {
13157
13259
  if (typeof options === "function") {
13158
13260
  options().then((_options) => {
13159
- resolve3(this.resolveDefaultConfig(_options));
13261
+ resolve4(this.resolveDefaultConfig(_options));
13160
13262
  }).catch(reject);
13161
13263
  } else {
13162
- resolve3(this.resolveDefaultConfig(options));
13264
+ resolve4(this.resolveDefaultConfig(options));
13163
13265
  }
13164
13266
  });
13165
13267
  }
@@ -13172,6 +13274,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13172
13274
  this.config = await this.configProvider;
13173
13275
  }
13174
13276
  const config = this.config;
13277
+ const logger = config.logger;
13175
13278
  const isSSL = request.protocol === "https:";
13176
13279
  if (!isSSL && !this.config.httpAgent) {
13177
13280
  this.config.httpAgent = await this.config.httpAgentProvider();
@@ -13190,7 +13293,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13190
13293
  timing.clearTimeout(socketTimeoutId);
13191
13294
  timing.clearTimeout(keepAliveTimeoutId);
13192
13295
  };
13193
- const resolve3 = async (arg) => {
13296
+ const resolve4 = async (arg) => {
13194
13297
  await writeRequestBodyPromise;
13195
13298
  clearTimeouts();
13196
13299
  _resolve(arg);
@@ -13215,7 +13318,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13215
13318
  });
13216
13319
  }
13217
13320
  socketWarningTimeoutId = timing.setTimeout(() => {
13218
- this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
13321
+ this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
13219
13322
  }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
13220
13323
  const queryString = request.query ? buildQueryString(request.query) : "";
13221
13324
  let auth = undefined;
@@ -13254,7 +13357,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13254
13357
  headers: getTransformedHeaders(res.headers),
13255
13358
  body: res
13256
13359
  });
13257
- resolve3({ response: httpResponse });
13360
+ resolve4({ response: httpResponse });
13258
13361
  });
13259
13362
  req.on("error", (err) => {
13260
13363
  if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) {
@@ -13279,7 +13382,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13279
13382
  }
13280
13383
  const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
13281
13384
  connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
13282
- requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console);
13385
+ requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
13283
13386
  socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
13284
13387
  const httpAgent = nodeHttpsOptions.agent;
13285
13388
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
@@ -13297,6 +13400,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13297
13400
  updateHttpClientConfig(key, value) {
13298
13401
  this.config = undefined;
13299
13402
  this.configProvider = this.configProvider.then((config) => {
13403
+ if (key === Symbol.for("logger")) {
13404
+ return {
13405
+ ...config,
13406
+ logger: config.logger ?? value
13407
+ };
13408
+ }
13300
13409
  return {
13301
13410
  ...config,
13302
13411
  [key]: value
@@ -13580,13 +13689,13 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13580
13689
  return new NodeHttp2Handler(instanceOrOptions);
13581
13690
  }
13582
13691
  constructor(options) {
13583
- this.configProvider = new Promise((resolve3, reject) => {
13692
+ this.configProvider = new Promise((resolve4, reject) => {
13584
13693
  if (typeof options === "function") {
13585
13694
  options().then((opts) => {
13586
- resolve3(opts || {});
13695
+ resolve4(opts || {});
13587
13696
  }).catch(reject);
13588
13697
  } else {
13589
- resolve3(options || {});
13698
+ resolve4(options || {});
13590
13699
  }
13591
13700
  });
13592
13701
  }
@@ -13611,7 +13720,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13611
13720
  return new Promise((_resolve, _reject) => {
13612
13721
  let fulfilled = false;
13613
13722
  let writeRequestBodyPromise = undefined;
13614
- const resolve3 = async (arg) => {
13723
+ const resolve4 = async (arg) => {
13615
13724
  await writeRequestBodyPromise;
13616
13725
  _resolve(arg);
13617
13726
  };
@@ -13696,7 +13805,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13696
13805
  body: clientHttp2Stream
13697
13806
  });
13698
13807
  fulfilled = true;
13699
- resolve3({ response: httpResponse });
13808
+ resolve4({ response: httpResponse });
13700
13809
  if (useIsolatedSession) {
13701
13810
  session.close();
13702
13811
  }
@@ -13732,7 +13841,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
13732
13841
  exports.NodeHttpHandler = NodeHttpHandler;
13733
13842
  });
13734
13843
 
13735
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
13844
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js
13736
13845
  var import_config7, ECS_CONTAINER_HOST = "169.254.170.2", EKS_CONTAINER_HOST_IPv4 = "169.254.170.23", EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]", checkUrl = (url, logger) => {
13737
13846
  if (url.protocol === "https:") {
13738
13847
  return;
@@ -13766,7 +13875,7 @@ var init_checkUrl = __esm(() => {
13766
13875
  import_config7 = __toESM(require_config(), 1);
13767
13876
  });
13768
13877
 
13769
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
13878
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js
13770
13879
  function createGetRequest(url) {
13771
13880
  return new import_protocols2.HttpRequest({
13772
13881
  protocol: url.protocol,
@@ -13815,21 +13924,21 @@ var init_requestHelpers = __esm(() => {
13815
13924
  import_serde2 = __toESM(require_serde(), 1);
13816
13925
  });
13817
13926
 
13818
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
13927
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js
13819
13928
  var retryWrapper = (toRetry, maxRetries, delayMs) => {
13820
13929
  return async () => {
13821
13930
  for (let i = 0;i < maxRetries; ++i) {
13822
13931
  try {
13823
13932
  return await toRetry();
13824
13933
  } catch (e) {
13825
- await new Promise((resolve3) => setTimeout(resolve3, delayMs));
13934
+ await new Promise((resolve4) => setTimeout(resolve4, delayMs));
13826
13935
  }
13827
13936
  }
13828
13937
  return await toRetry();
13829
13938
  };
13830
13939
  };
13831
13940
 
13832
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
13941
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
13833
13942
  import fs from "fs/promises";
13834
13943
  var import_client4, import_config9, import_node_http_handler, AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2", AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE", AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromHttp = (options = {}) => {
13835
13944
  options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
@@ -13895,7 +14004,7 @@ var init_fromHttp = __esm(() => {
13895
14004
  import_node_http_handler = __toESM(require_dist_cjs4(), 1);
13896
14005
  });
13897
14006
 
13898
- // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.69/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
14007
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-http@3.972.71/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js
13899
14008
  var exports_dist_es3 = {};
13900
14009
  __export(exports_dist_es3, {
13901
14010
  fromHttp: () => fromHttp
@@ -13904,16 +14013,16 @@ var init_dist_es3 = __esm(() => {
13904
14013
  init_fromHttp();
13905
14014
  });
13906
14015
 
13907
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
14016
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
13908
14017
  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");
13909
14018
 
13910
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
14019
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
13911
14020
  var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
13912
14021
  var init_constants = __esm(() => {
13913
14022
  EXPIRE_WINDOW_MS = 5 * 60 * 1000;
13914
14023
  });
13915
14024
 
13916
- // ../../node_modules/.bun/@smithy+core@3.31.1/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
14025
+ // ../../node_modules/.bun/@smithy+core@3.33.2/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
13917
14026
  var require_cbor = __commonJS((exports) => {
13918
14027
  var { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require_serde();
13919
14028
  var { HttpRequest: HttpRequest2, collectBody, SerdeContext, RpcProtocol } = require_protocols();
@@ -16007,9 +16116,9 @@ var require_cbor = __commonJS((exports) => {
16007
16116
  this.serializer.write(15, {});
16008
16117
  request.body = this.serializer.flush();
16009
16118
  }
16010
- try {
16119
+ if (request.body instanceof Uint8Array) {
16011
16120
  request.headers["content-length"] = String(request.body.byteLength);
16012
- } catch (ignored) {}
16121
+ }
16013
16122
  }
16014
16123
  const { service, operation } = getSmithyContext2(context);
16015
16124
  const path = `/service/${service}/operation/${operation}`;
@@ -16281,7 +16390,7 @@ var require_cbor = __commonJS((exports) => {
16281
16390
  exports.tagSymbol = tagSymbol;
16282
16391
  });
16283
16392
 
16284
- // ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.37/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
16393
+ // ../../node_modules/.bun/@aws-sdk+xml-builder@3.972.39/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
16285
16394
  var require_dist_cjs5 = __commonJS((exports) => {
16286
16395
  var ATTR_ESCAPE_RE = /[&<>"]/g;
16287
16396
  var ATTR_ESCAPE_MAP = {
@@ -16649,7 +16758,7 @@ var require_dist_cjs5 = __commonJS((exports) => {
16649
16758
  exports.parseXML = parseXML;
16650
16759
  });
16651
16760
 
16652
- // ../../node_modules/.bun/@aws-sdk+core@3.977.6/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
16761
+ // ../../node_modules/.bun/@aws-sdk+core@3.977.8/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
16653
16762
  var require_protocols2 = __commonJS((exports) => {
16654
16763
  var { SmithyRpcV2CborProtocol, loadSmithyRpcV2CborErrorCode } = require_cbor();
16655
16764
  var { TypeRegistry, NormalizedSchema, deref } = require_schema();
@@ -19490,7 +19599,7 @@ var require_protocols2 = __commonJS((exports) => {
19490
19599
  exports.parseXmlErrorBody = parseXmlErrorBody;
19491
19600
  });
19492
19601
 
19493
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
19602
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
19494
19603
  var require_sso_oidc = __commonJS((exports) => {
19495
19604
  var { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require_client2();
19496
19605
  var { NoAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require_dist_cjs2();
@@ -19568,7 +19677,7 @@ var require_sso_oidc = __commonJS((exports) => {
19568
19677
  Region: { type: "builtInParams", name: "region" },
19569
19678
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
19570
19679
  };
19571
- var version = "3.997.40";
19680
+ var version = "3.997.42";
19572
19681
  var packageInfo = {
19573
19682
  version
19574
19683
  };
@@ -20245,7 +20354,7 @@ var require_sso_oidc = __commonJS((exports) => {
20245
20354
  exports.errorTypeRegistries = errorTypeRegistries;
20246
20355
  });
20247
20356
 
20248
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
20357
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
20249
20358
  var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
20250
20359
  const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
20251
20360
  const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
@@ -20257,7 +20366,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
20257
20366
  return ssoOidcClient;
20258
20367
  };
20259
20368
 
20260
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
20369
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
20261
20370
  var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
20262
20371
  const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(require_sso_oidc(), 1));
20263
20372
  const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
@@ -20270,7 +20379,7 @@ var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConf
20270
20379
  };
20271
20380
  var init_getNewSsoOidcToken = () => {};
20272
20381
 
20273
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
20382
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
20274
20383
  var import_config11, validateTokenExpiry = (token) => {
20275
20384
  if (token.expiration && token.expiration.getTime() < Date.now()) {
20276
20385
  throw new import_config11.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
@@ -20281,7 +20390,7 @@ var init_validateTokenExpiry = __esm(() => {
20281
20390
  import_config11 = __toESM(require_config(), 1);
20282
20391
  });
20283
20392
 
20284
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
20393
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
20285
20394
  var import_config12, validateTokenKey = (key, value, forRefresh = false) => {
20286
20395
  if (typeof value === "undefined") {
20287
20396
  throw new import_config12.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
@@ -20292,7 +20401,7 @@ var init_validateTokenKey = __esm(() => {
20292
20401
  import_config12 = __toESM(require_config(), 1);
20293
20402
  });
20294
20403
 
20295
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
20404
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
20296
20405
  import { promises as fsPromises } from "fs";
20297
20406
  var import_config13, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
20298
20407
  const tokenFilepath = import_config13.getSSOTokenFilepath(id);
@@ -20304,7 +20413,7 @@ var init_writeSSOTokenToFile = __esm(() => {
20304
20413
  ({ writeFile } = fsPromises);
20305
20414
  });
20306
20415
 
20307
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
20416
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
20308
20417
  var import_config14, lastRefreshAttemptTime, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
20309
20418
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
20310
20419
  const profiles = await import_config14.parseKnownFiles(init);
@@ -20383,12 +20492,12 @@ var init_fromSso = __esm(() => {
20383
20492
  lastRefreshAttemptTime = new Date(0);
20384
20493
  });
20385
20494
 
20386
- // ../../node_modules/.bun/@aws-sdk+token-providers@3.1103.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
20495
+ // ../../node_modules/.bun/@aws-sdk+token-providers@3.1111.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
20387
20496
  var init_dist_es4 = __esm(() => {
20388
20497
  init_fromSso();
20389
20498
  });
20390
20499
 
20391
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
20500
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
20392
20501
  function createAwsAuthSigv4HttpAuthOption2(authParameters) {
20393
20502
  return {
20394
20503
  schemeId: "aws.auth#sigv4",
@@ -20439,7 +20548,7 @@ var awsEndpointFunctions, emitWarningIfUnsupportedVersion$1, createDefaultUserAg
20439
20548
  useFipsEndpoint: options.useFipsEndpoint ?? false,
20440
20549
  defaultSigningName: "awsssoportal"
20441
20550
  });
20442
- }, commonParams2, version = "3.997.40", packageInfo, k = "ref", a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g, h, i, j, _data, root = 2, r = 1e8, nodes, bdd, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
20551
+ }, commonParams2, version = "3.997.42", packageInfo, k = "ref", a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g, h, i, j, _data, root = 2, r = 1e8, nodes, bdd, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
20443
20552
  return cache.get(endpointParams, () => decideEndpoint(bdd, {
20444
20553
  endpointParams,
20445
20554
  logger: context.logger
@@ -20836,7 +20945,7 @@ var init_sso = __esm(() => {
20836
20945
  $SSOClient = SSOClient;
20837
20946
  });
20838
20947
 
20839
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
20948
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js
20840
20949
  var exports_loadSso = {};
20841
20950
  __export(exports_loadSso, {
20842
20951
  SSOClient: () => $SSOClient,
@@ -20846,7 +20955,7 @@ var init_loadSso = __esm(() => {
20846
20955
  init_sso();
20847
20956
  });
20848
20957
 
20849
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
20958
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js
20850
20959
  var import_client5, import_config15, SHOULD_FAIL_CREDENTIAL_CHAIN = false, resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, clientConfig, parentClientConfig, callerClientConfig, profile, filepath, configFilepath, ignoreCache, logger }) => {
20851
20960
  let token;
20852
20961
  const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`;
@@ -20935,7 +21044,7 @@ var init_resolveSSOCredentials = __esm(() => {
20935
21044
  import_config15 = __toESM(require_config(), 1);
20936
21045
  });
20937
21046
 
20938
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
21047
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js
20939
21048
  var import_config16, validateSsoProfile = (profile, logger) => {
20940
21049
  const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
20941
21050
  if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
@@ -20948,7 +21057,7 @@ var init_validateSsoProfile = __esm(() => {
20948
21057
  import_config16 = __toESM(require_config(), 1);
20949
21058
  });
20950
21059
 
20951
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
21060
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js
20952
21061
  var import_config17, fromSSO = (init = {}) => async ({ callerClientConfig } = {}) => {
20953
21062
  init.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");
20954
21063
  const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
@@ -21030,7 +21139,7 @@ var init_fromSSO = __esm(() => {
21030
21139
  import_config17 = __toESM(require_config(), 1);
21031
21140
  });
21032
21141
 
21033
- // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.11/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
21142
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-sso@3.973.13/node_modules/@aws-sdk/credential-provider-sso/dist-es/index.js
21034
21143
  var exports_dist_es4 = {};
21035
21144
  __export(exports_dist_es4, {
21036
21145
  validateSsoProfile: () => validateSsoProfile,
@@ -21042,7 +21151,7 @@ var init_dist_es5 = __esm(() => {
21042
21151
  init_validateSsoProfile();
21043
21152
  });
21044
21153
 
21045
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
21154
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
21046
21155
  var import_client6, import_config18, resolveCredentialSource = (credentialSource, profileName, logger) => {
21047
21156
  const sourceProvidersMap = {
21048
21157
  EcsContainer: async (options) => {
@@ -21073,7 +21182,7 @@ var init_resolveCredentialSource = __esm(() => {
21073
21182
  import_config18 = __toESM(require_config(), 1);
21074
21183
  });
21075
21184
 
21076
- // ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.43/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
21185
+ // ../../node_modules/.bun/@aws-sdk+signature-v4-multi-region@3.996.45/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
21077
21186
  var require_dist_cjs6 = __commonJS((exports) => {
21078
21187
  var { SignatureV4, signatureV4aContainer } = require_dist_cjs3();
21079
21188
  var signatureV4CrtContainer = {
@@ -21205,7 +21314,7 @@ var require_dist_cjs6 = __commonJS((exports) => {
21205
21314
  exports.signatureV4CrtContainer = signatureV4CrtContainer;
21206
21315
  });
21207
21316
 
21208
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
21317
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
21209
21318
  var require_sts = __commonJS((exports) => {
21210
21319
  var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2, setCredentialFeature: setCredentialFeature5, stsRegionDefaultResolver } = require_client2();
21211
21320
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -21536,7 +21645,7 @@ var require_sts = __commonJS((exports) => {
21536
21645
  Region: { type: "builtInParams", name: "region" },
21537
21646
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
21538
21647
  };
21539
- var version2 = "3.997.40";
21648
+ var version2 = "3.997.42";
21540
21649
  var packageInfo2 = {
21541
21650
  version: version2
21542
21651
  };
@@ -22227,7 +22336,7 @@ var require_sts = __commonJS((exports) => {
22227
22336
  exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
22228
22337
  });
22229
22338
 
22230
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
22339
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
22231
22340
  var import_client7, import_config19, isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
22232
22341
  return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
22233
22342
  }, isAssumeRoleWithSourceProfile = (arg, { profile, logger }) => {
@@ -22295,7 +22404,7 @@ var init_resolveAssumeRoleCredentials = __esm(() => {
22295
22404
  import_config19 = __toESM(require_config(), 1);
22296
22405
  });
22297
22406
 
22298
- // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.41/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
22407
+ // ../../node_modules/.bun/@aws-sdk+nested-clients@3.997.43/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
22299
22408
  var require_signin = __commonJS((exports) => {
22300
22409
  var { awsEndpointFunctions: awsEndpointFunctions2, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$12, createDefaultUserAgentProvider: createDefaultUserAgentProvider2, NODE_APP_ID_CONFIG_OPTIONS: NODE_APP_ID_CONFIG_OPTIONS2, getAwsRegionExtensionConfiguration: getAwsRegionExtensionConfiguration2, resolveAwsRegionExtensionConfiguration: resolveAwsRegionExtensionConfiguration2, resolveUserAgentConfig: resolveUserAgentConfig2, resolveHostHeaderConfig: resolveHostHeaderConfig2, getUserAgentPlugin: getUserAgentPlugin2, getHostHeaderPlugin: getHostHeaderPlugin2, getLoggerPlugin: getLoggerPlugin2, getRecursionDetectionPlugin: getRecursionDetectionPlugin2 } = require_client2();
22301
22410
  var { NoAuthSigner: NoAuthSigner2, getHttpAuthSchemeEndpointRuleSetPlugin: getHttpAuthSchemeEndpointRuleSetPlugin2, DefaultIdentityProviderConfig: DefaultIdentityProviderConfig2, getHttpSigningPlugin: getHttpSigningPlugin2 } = require_dist_cjs2();
@@ -22373,7 +22482,7 @@ var require_signin = __commonJS((exports) => {
22373
22482
  Region: { type: "builtInParams", name: "region" },
22374
22483
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
22375
22484
  };
22376
- var version2 = "3.997.40";
22485
+ var version2 = "3.997.42";
22377
22486
  var packageInfo2 = {
22378
22487
  version: version2
22379
22488
  };
@@ -23027,11 +23136,11 @@ var require_signin = __commonJS((exports) => {
23027
23136
  exports.errorTypeRegistries = errorTypeRegistries2;
23028
23137
  });
23029
23138
 
23030
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.74/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
23139
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
23031
23140
  import { createHash as createHash2, createPrivateKey, createPublicKey, sign } from "crypto";
23032
23141
  import { promises as fs2 } from "fs";
23033
- import { homedir as homedir2 } from "os";
23034
- import { dirname as dirname3, join as join3 } from "path";
23142
+ import { homedir as homedir4 } from "os";
23143
+ import { dirname as dirname3, join as join5 } from "path";
23035
23144
  var import_config20, import_protocols3, LoginCredentialsFetcher;
23036
23145
  var init_LoginCredentialsFetcher = __esm(() => {
23037
23146
  import_config20 = __toESM(require_config(), 1);
@@ -23198,10 +23307,10 @@ var init_LoginCredentialsFetcher = __esm(() => {
23198
23307
  await fs2.writeFile(tokenFilePath, JSON.stringify(token, null, 2), "utf8");
23199
23308
  }
23200
23309
  getTokenFilePath() {
23201
- const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? join3(homedir2(), ".aws", "login", "cache");
23310
+ const directory = process.env.AWS_LOGIN_CACHE_DIRECTORY ?? join5(homedir4(), ".aws", "login", "cache");
23202
23311
  const loginSessionBytes = Buffer.from(this.loginSession, "utf8");
23203
23312
  const loginSessionSha256 = createHash2("sha256").update(loginSessionBytes).digest("hex");
23204
- return join3(directory, `${loginSessionSha256}.json`);
23313
+ return join5(directory, `${loginSessionSha256}.json`);
23205
23314
  }
23206
23315
  derToRawSignature(derSignature) {
23207
23316
  let offset = 2;
@@ -23291,7 +23400,7 @@ var init_LoginCredentialsFetcher = __esm(() => {
23291
23400
  };
23292
23401
  });
23293
23402
 
23294
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.74/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
23403
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
23295
23404
  var import_client8, import_config21, fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
23296
23405
  init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
23297
23406
  const profiles = await import_config21.parseKnownFiles(init || {});
@@ -23315,7 +23424,7 @@ var init_fromLoginCredentials = __esm(() => {
23315
23424
  import_config21 = __toESM(require_config(), 1);
23316
23425
  });
23317
23426
 
23318
- // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.74/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
23427
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.76/node_modules/@aws-sdk/credential-provider-login/dist-es/index.js
23319
23428
  var exports_dist_es5 = {};
23320
23429
  __export(exports_dist_es5, {
23321
23430
  fromLoginCredentials: () => fromLoginCredentials
@@ -23324,7 +23433,7 @@ var init_dist_es6 = __esm(() => {
23324
23433
  init_fromLoginCredentials();
23325
23434
  });
23326
23435
 
23327
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
23436
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
23328
23437
  var import_client9, isLoginProfile = (data) => {
23329
23438
  return Boolean(data && data.login_session);
23330
23439
  }, resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
@@ -23339,7 +23448,7 @@ var init_resolveLoginCredentials = __esm(() => {
23339
23448
  import_client9 = __toESM(require_client2(), 1);
23340
23449
  });
23341
23450
 
23342
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
23451
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js
23343
23452
  var import_client10, getValidatedProcessCredentials = (profileName, data, profiles) => {
23344
23453
  if (data.Version !== 1) {
23345
23454
  throw Error(`Profile ${profileName} credential_process did not return Version 1.`);
@@ -23373,7 +23482,7 @@ var init_getValidatedProcessCredentials = __esm(() => {
23373
23482
  import_client10 = __toESM(require_client2(), 1);
23374
23483
  });
23375
23484
 
23376
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
23485
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
23377
23486
  import { exec } from "child_process";
23378
23487
  import { promisify } from "util";
23379
23488
  var import_config22, resolveProcessCredentials = async (profileName, profiles, logger) => {
@@ -23408,7 +23517,7 @@ var init_resolveProcessCredentials = __esm(() => {
23408
23517
  import_config22 = __toESM(require_config(), 1);
23409
23518
  });
23410
23519
 
23411
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
23520
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js
23412
23521
  var import_config23, fromProcess = (init = {}) => async ({ callerClientConfig } = {}) => {
23413
23522
  init.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");
23414
23523
  const profiles = await import_config23.parseKnownFiles(init);
@@ -23421,7 +23530,7 @@ var init_fromProcess = __esm(() => {
23421
23530
  import_config23 = __toESM(require_config(), 1);
23422
23531
  });
23423
23532
 
23424
- // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.67/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
23533
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-process@3.972.69/node_modules/@aws-sdk/credential-provider-process/dist-es/index.js
23425
23534
  var exports_dist_es6 = {};
23426
23535
  __export(exports_dist_es6, {
23427
23536
  fromProcess: () => fromProcess
@@ -23430,7 +23539,7 @@ var init_dist_es7 = __esm(() => {
23430
23539
  init_fromProcess();
23431
23540
  });
23432
23541
 
23433
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
23542
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
23434
23543
  var import_client11, isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", resolveProcessCredentials2 = async (options, profile) => {
23435
23544
  const { fromProcess: fromProcess2 } = await Promise.resolve().then(() => (init_dist_es7(), exports_dist_es6));
23436
23545
  const credentials = await fromProcess2({
@@ -23443,7 +23552,7 @@ var init_resolveProcessCredentials2 = __esm(() => {
23443
23552
  import_client11 = __toESM(require_client2(), 1);
23444
23553
  });
23445
23554
 
23446
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
23555
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
23447
23556
  var import_client12, resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
23448
23557
  const { fromSSO: fromSSO2 } = await Promise.resolve().then(() => (init_dist_es5(), exports_dist_es4));
23449
23558
  return fromSSO2({
@@ -23465,7 +23574,7 @@ var init_resolveSsoCredentials = __esm(() => {
23465
23574
  import_client12 = __toESM(require_client2(), 1);
23466
23575
  });
23467
23576
 
23468
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
23577
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
23469
23578
  var import_client13, isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, resolveStaticCredentials = async (profile, options) => {
23470
23579
  options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
23471
23580
  const credentials = {
@@ -23481,7 +23590,7 @@ var init_resolveStaticCredentials = __esm(() => {
23481
23590
  import_client13 = __toESM(require_client2(), 1);
23482
23591
  });
23483
23592
 
23484
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.73/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
23593
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
23485
23594
  var fromWebToken = (init) => async (awsIdentityProperties) => {
23486
23595
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
23487
23596
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
@@ -23508,7 +23617,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
23508
23617
  });
23509
23618
  };
23510
23619
 
23511
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.73/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
23620
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
23512
23621
  import { readFileSync as readFileSync4 } from "fs";
23513
23622
  var import_client14, import_config24, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
23514
23623
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
@@ -23536,7 +23645,7 @@ var init_fromTokenFile = __esm(() => {
23536
23645
  import_config24 = __toESM(require_config(), 1);
23537
23646
  });
23538
23647
 
23539
- // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.73/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
23648
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.75/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
23540
23649
  var exports_dist_es7 = {};
23541
23650
  __export(exports_dist_es7, {
23542
23651
  fromWebToken: () => fromWebToken,
@@ -23546,7 +23655,7 @@ var init_dist_es8 = __esm(() => {
23546
23655
  init_fromTokenFile();
23547
23656
  });
23548
23657
 
23549
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
23658
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
23550
23659
  var import_client15, 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, resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
23551
23660
  const { fromTokenFile: fromTokenFile2 } = await Promise.resolve().then(() => (init_dist_es8(), exports_dist_es7));
23552
23661
  const credentials = await fromTokenFile2({
@@ -23565,7 +23674,7 @@ var init_resolveWebIdentityCredentials = __esm(() => {
23565
23674
  import_client15 = __toESM(require_client2(), 1);
23566
23675
  });
23567
23676
 
23568
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
23677
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
23569
23678
  var import_config25, resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
23570
23679
  const data = profiles[profileName];
23571
23680
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
@@ -23601,7 +23710,7 @@ var init_resolveProfileData = __esm(() => {
23601
23710
  import_config25 = __toESM(require_config(), 1);
23602
23711
  });
23603
23712
 
23604
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
23713
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
23605
23714
  var import_config26, fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
23606
23715
  init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
23607
23716
  const profiles = await import_config26.parseKnownFiles(init);
@@ -23614,7 +23723,7 @@ var init_fromIni = __esm(() => {
23614
23723
  import_config26 = __toESM(require_config(), 1);
23615
23724
  });
23616
23725
 
23617
- // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.12/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
23726
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-ini@3.973.14/node_modules/@aws-sdk/credential-provider-ini/dist-es/index.js
23618
23727
  var exports_dist_es8 = {};
23619
23728
  __export(exports_dist_es8, {
23620
23729
  fromIni: () => fromIni
@@ -23626,6 +23735,7 @@ var init_dist_es9 = __esm(() => {
23626
23735
  // ../contracts/dist/client/storage.js
23627
23736
  import { isIP } from "net";
23628
23737
  import { readFileSync, statSync } from "fs";
23738
+ import { createRequire } from "module";
23629
23739
  import { join } from "path";
23630
23740
  function envToken(name) {
23631
23741
  return name.toUpperCase().replace(/-/g, "_");
@@ -23641,6 +23751,9 @@ function credentialOverrideEnvKey(name) {
23641
23751
  return `HASNA_${envToken(name)}_API_KEY_OVERRIDE`;
23642
23752
  }
23643
23753
  var CREDENTIAL_PROFILE_ENV_KEY = "HASNA_PROFILE";
23754
+ function credentialPointerEnvKey(name) {
23755
+ return `HASNA_${envToken(name)}_API_KEY_REF`;
23756
+ }
23644
23757
 
23645
23758
  class CredentialResolutionError extends Error {
23646
23759
  appName;
@@ -23653,31 +23766,55 @@ class CredentialResolutionError extends Error {
23653
23766
  }
23654
23767
  }
23655
23768
  var HASNA_STATE_DIR = ".hasna";
23656
- var FLEET_CREDENTIAL_DIR = "cloud";
23769
+ var FLEET_CREDENTIAL_DIR = "fleet-env";
23770
+ var LEGACY_CLOUD_DIR = "cloud";
23657
23771
  var CONFIG_DIR = ".config";
23658
23772
  var CONFIG_NAMESPACE = "hasna";
23773
+ var LEGACY_CLOUD_REMOVAL_DEADLINE = "2026-10-01";
23659
23774
  var MAX_CREDENTIAL_FILE_BYTES = 64 * 1024;
23660
23775
  var SAFE_APP_SLUG = /^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/;
23661
23776
  var SAFE_PROFILE = /^[A-Za-z0-9](?:[A-Za-z0-9._-]*[A-Za-z0-9])?$/;
23662
23777
  var ILLEGAL_IN_HEADER_VALUE = /[^\t\x20-\x7e]/;
23778
+ var VAULT_POINTER_SHAPE = /^[a-z0-9][a-z0-9-]*(?:\/[a-z0-9][a-z0-9-_.]*){2,}$/;
23663
23779
  function homeDir(env) {
23664
23780
  const home = env.HOME?.trim();
23665
23781
  return home ? home : null;
23666
23782
  }
23667
- function credentialDiskSources(name, env) {
23668
- return profileDiskSources(name, env, null);
23669
- }
23670
- function profileDiskSources(name, env, profile) {
23783
+ function credentialDiskSourceList(name, env, profile = null) {
23671
23784
  const home = homeDir(env);
23672
23785
  if (!home || !SAFE_APP_SLUG.test(name))
23673
23786
  return [];
23674
23787
  const stem = profile ? `${name}.${profile}` : name;
23675
23788
  const configStem = profile ? `${name}-${profile}` : name;
23676
23789
  return [
23677
- join(home, HASNA_STATE_DIR, FLEET_CREDENTIAL_DIR, `${stem}.env`),
23678
- join(home, CONFIG_DIR, CONFIG_NAMESPACE, `${configStem}-cloud.env`)
23790
+ {
23791
+ path: join(home, HASNA_STATE_DIR, FLEET_CREDENTIAL_DIR, `${stem}.env`),
23792
+ tier: "fleet-env",
23793
+ deprecated: false
23794
+ },
23795
+ {
23796
+ path: join(home, HASNA_STATE_DIR, LEGACY_CLOUD_DIR, `${stem}.env`),
23797
+ tier: "legacy-cloud",
23798
+ deprecated: true
23799
+ },
23800
+ {
23801
+ path: join(home, CONFIG_DIR, CONFIG_NAMESPACE, `${configStem}.env`),
23802
+ tier: "config",
23803
+ deprecated: false
23804
+ },
23805
+ {
23806
+ path: join(home, CONFIG_DIR, CONFIG_NAMESPACE, `${configStem}-cloud.env`),
23807
+ tier: "config-legacy",
23808
+ deprecated: true
23809
+ }
23679
23810
  ];
23680
23811
  }
23812
+ function credentialDiskSources(name, env) {
23813
+ return credentialDiskSourceList(name, env, null).map((s) => s.path);
23814
+ }
23815
+ function profileDiskSources(name, env, profile) {
23816
+ return credentialDiskSourceList(name, env, profile).map((s) => s.path);
23817
+ }
23681
23818
  function parseEnvFile(text) {
23682
23819
  const values = new Map;
23683
23820
  for (const rawLine of text.split(/\r?\n/)) {
@@ -23745,6 +23882,9 @@ function appConfigDiskValue(name, env, keys) {
23745
23882
  return null;
23746
23883
  }
23747
23884
  function assertUsableCredential(appName, source, value) {
23885
+ if (VAULT_POINTER_SHAPE.test(value)) {
23886
+ throw new CredentialResolutionError(appName, `The credential from ${source} looks like a secrets-vault pointer (a path-shaped reference like ` + `'namespace/app/live/api_key'). A vault path is NEVER accepted as a literal API key. ` + `Use ${credentialPointerEnvKey(appName)} to resolve the key through the vault, or provide the actual key value.`, [source]);
23887
+ }
23748
23888
  if (!ILLEGAL_IN_HEADER_VALUE.test(value))
23749
23889
  return;
23750
23890
  throw new CredentialResolutionError(appName, `The credential from ${source} contains characters that cannot be sent in an HTTP header ` + `(a control character or non-ASCII byte). A file written with CR-only line endings is the usual ` + `cause. Rewrite that credential file with one LF-terminated KEY=value line. ` + `The value is not shown here, and is deliberately never logged.`, [source]);
@@ -23769,6 +23909,14 @@ function sealCredential(fields) {
23769
23909
  writable: false,
23770
23910
  configurable: false
23771
23911
  });
23912
+ if (fields.pointerVaultKey !== undefined) {
23913
+ Object.defineProperty(sealed, "pointerVaultKey", {
23914
+ value: fields.pointerVaultKey,
23915
+ enumerable: false,
23916
+ writable: false,
23917
+ configurable: false
23918
+ });
23919
+ }
23772
23920
  Object.defineProperty(sealed, INSPECT_CUSTOM, {
23773
23921
  value: () => ({ ...visible, apiKey: "[redacted]" }),
23774
23922
  enumerable: false,
@@ -23820,7 +23968,8 @@ function validateAndSealResolvedCredential(appName, credential) {
23820
23968
  deliberate: credential.deliberate,
23821
23969
  deprecated: credential.deprecated,
23822
23970
  diskCandidates: credential.diskCandidates,
23823
- warning: credential.warning
23971
+ warning: credential.warning,
23972
+ ...credential.pointerVaultKey !== undefined ? { pointerVaultKey: credential.pointerVaultKey } : {}
23824
23973
  });
23825
23974
  }
23826
23975
  function firstEnvValue(env, keys) {
@@ -23881,6 +24030,27 @@ function resolveCredential(name, env, options = {}) {
23881
24030
  warning: null
23882
24031
  });
23883
24032
  }
24033
+ const pointerKeyName = credentialPointerEnvKey(name);
24034
+ const pointerRaw = env[pointerKeyName];
24035
+ if (pointerRaw !== undefined) {
24036
+ const pointer = pointerRaw.trim();
24037
+ if (!pointer) {
24038
+ throw new CredentialResolutionError(name, `${pointerKeyName} is set but empty. It is a deliberate vault pointer, so it is not resolved around: ` + `either give it a vault item key or unset it to fall back to the credential on disk.`, [pointerKeyName]);
24039
+ }
24040
+ if (!VAULT_POINTER_SHAPE.test(pointer)) {
24041
+ throw new CredentialResolutionError(name, `${pointerKeyName} must name a vault ITEM KEY (a path-shaped reference like ` + `'namespace/app/live/api_key'), not a credential value. A pointer that carries a literal is refused.`, [pointerKeyName]);
24042
+ }
24043
+ return sealCredential({
24044
+ apiKey: "",
24045
+ pointerVaultKey: pointer,
24046
+ tier: "pointer",
24047
+ source: pointerKeyName,
24048
+ deliberate: true,
24049
+ deprecated: false,
24050
+ diskCandidates: diskPaths,
24051
+ warning: null
24052
+ });
24053
+ }
23884
24054
  const profile = options.profile?.trim() || env[CREDENTIAL_PROFILE_ENV_KEY]?.trim();
23885
24055
  if (profile) {
23886
24056
  const profileSource = options.profile?.trim() ? "explicit profile argument" : CREDENTIAL_PROFILE_ENV_KEY;
@@ -23905,26 +24075,42 @@ function resolveCredential(name, env, options = {}) {
23905
24075
  }
23906
24076
  throw new CredentialResolutionError(name, `Profile '${profile}' (from ${profileSource}) has no ${apiKeyKeys[0]} for '${name}'. ` + `Looked in: ${paths.join(", ") || "<no HOME in this environment>"}. ` + `A profile names WHICH identity to use, so it is never resolved around \u2014 ` + `create the profile's credential file or unset ${CREDENTIAL_PROFILE_ENV_KEY}.`, paths);
23907
24077
  }
23908
- const diskHits = diskPaths.map((path) => ({ path, value: readCredentialFile(path, apiKeyKeys) })).filter((hit) => hit.value !== null);
24078
+ const diskSourceList = credentialDiskSourceList(name, env, null);
24079
+ const diskHits = diskSourceList.map((src) => ({ src, value: readCredentialFile(src.path, apiKeyKeys) })).filter((hit) => hit.value !== null);
23909
24080
  if (diskHits.length > 0) {
23910
24081
  const winner = diskHits[0];
23911
- assertUsableCredential(name, winner.path, winner.value);
24082
+ assertUsableCredential(name, winner.src.path, winner.value);
23912
24083
  const divergentSources = [
23913
- ...diskHits.slice(1).filter((hit) => hit.value !== winner.value).map((hit) => hit.path),
24084
+ ...diskHits.slice(1).filter((hit) => hit.value !== winner.value).map((hit) => hit.src.path),
23914
24085
  ...(() => {
23915
24086
  const legacyHit = firstEnvValue(env, apiKeyKeys);
23916
24087
  return legacyHit && legacyHit.value !== winner.value ? [legacyHit.key] : [];
23917
24088
  })()
23918
24089
  ];
23919
- const warning = divergentSources.length > 0 ? `Credential sources disagree for '${name}': ${winner.path} and ` + `${divergentSources.join(", ")} hold different keys. ${winner.path} wins, because a file on ` + `disk is re-read on every call while an environment variable is a snapshot. Reconcile them \u2014 ` + `a rotation that updated only one leaves the other to fail 401 wherever it is loaded first.` : null;
24090
+ const warning = divergentSources.length > 0 ? `Credential sources disagree for '${name}': ${winner.src.path} and ` + `${divergentSources.join(", ")} hold different keys. ${winner.src.path} wins, because a file on ` + `disk is re-read on every call while an environment variable is a snapshot. Reconcile them \u2014 ` + `a rotation that updated only one leaves the other to fail 401 wherever it is loaded first.` : null;
24091
+ let deprecated = winner.src.deprecated;
24092
+ let finalWarning = warning;
24093
+ if (winner.src.deprecated) {
24094
+ deprecated = true;
24095
+ const sink = options.onDeprecation ?? defaultDeprecationSink;
24096
+ const notified = deprecationNotified();
24097
+ const noticeKey = `${name}:${winner.src.path}`;
24098
+ if (!notified.has(noticeKey)) {
24099
+ notified.add(noticeKey);
24100
+ const target = diskSourceList[0]?.path ?? "<none>";
24101
+ const message = `[${name}] DEPRECATED: the API key came from ${winner.src.path} \u2014 a legacy credential location. ` + `The primary location is ${target} (~/.hasna/fleet-env/<app>.env). The legacy 'cloud' tiers are ` + `removed after ${LEGACY_CLOUD_REMOVAL_DEADLINE}. Migrate the key to the primary location.`;
24102
+ sink(message);
24103
+ }
24104
+ finalWarning = [warning, `Legacy credential source: ${winner.src.path}. Removed after ${LEGACY_CLOUD_REMOVAL_DEADLINE}.`].filter(Boolean).join(" ") || null;
24105
+ }
23920
24106
  return sealCredential({
23921
24107
  apiKey: winner.value,
23922
- tier: "disk",
23923
- source: winner.path,
24108
+ tier: winner.src.tier,
24109
+ source: winner.src.path,
23924
24110
  deliberate: false,
23925
- deprecated: false,
24111
+ deprecated,
23926
24112
  diskCandidates: diskPaths,
23927
- warning
24113
+ warning: finalWarning
23928
24114
  });
23929
24115
  }
23930
24116
  const legacy = firstEnvValue(env, apiKeyKeys);
@@ -23950,6 +24136,47 @@ function resolveCredential(name, env, options = {}) {
23950
24136
  }
23951
24137
  return null;
23952
24138
  }
24139
+ var SECRETS_PACKAGE_SPECIFIER = "@hasna/" + "secrets";
24140
+ var requireSecretsSdk = createRequire(import.meta.url);
24141
+ async function completePointerCredential(name, pointerResolution, env = process.env) {
24142
+ const vaultKey = pointerResolution.pointerVaultKey;
24143
+ const pointerEnvKey = pointerResolution.source;
24144
+ if (!vaultKey) {
24145
+ throw new CredentialResolutionError(name, `Pointer resolution from ${pointerEnvKey} carries no vault item key; this is a defect in the resolver.`, [pointerEnvKey]);
24146
+ }
24147
+ let secretsSdk;
24148
+ try {
24149
+ secretsSdk = requireSecretsSdk(SECRETS_PACKAGE_SPECIFIER);
24150
+ } catch {
24151
+ throw new CredentialResolutionError(name, `${pointerEnvKey} names vault item '${vaultKey}', but the secrets SDK (@hasna/secrets) is not installed ` + `in this process. A vault pointer is TERMINAL: install @hasna/secrets to resolve it, or unset ${pointerEnvKey}.`, [pointerEnvKey]);
24152
+ }
24153
+ let client;
24154
+ try {
24155
+ client = secretsSdk.createSecretsClientFromEnv(env);
24156
+ } catch {
24157
+ throw new CredentialResolutionError(name, `${pointerEnvKey} names vault item '${vaultKey}', but the secrets client could not be configured from this ` + `environment (the secrets service URL and key env are missing or invalid). A vault pointer is TERMINAL and ` + `never falls through to a literal or disk credential.`, [pointerEnvKey]);
24158
+ }
24159
+ let secret;
24160
+ try {
24161
+ secret = await client.getSecret({ key: vaultKey });
24162
+ } catch {
24163
+ throw new CredentialResolutionError(name, `${pointerEnvKey} names vault item '${vaultKey}', but the vault could not be reached or the item is ` + `unavailable. A vault pointer is TERMINAL and never falls through to a literal or disk credential.`, [pointerEnvKey]);
24164
+ }
24165
+ const value = secret.value;
24166
+ if (!value) {
24167
+ throw new CredentialResolutionError(name, `${pointerEnvKey} resolved vault item '${vaultKey}', but it holds no value. A vault pointer is TERMINAL.`, [pointerEnvKey]);
24168
+ }
24169
+ assertUsableCredential(name, `${pointerEnvKey} -> vault:${vaultKey}`, value);
24170
+ return sealCredential({
24171
+ apiKey: value,
24172
+ tier: "pointer",
24173
+ source: `${pointerEnvKey} -> vault:${vaultKey}`,
24174
+ deliberate: true,
24175
+ deprecated: false,
24176
+ diskCandidates: pointerResolution.diskCandidates,
24177
+ warning: null
24178
+ });
24179
+ }
23953
24180
  var ASCII_CONTROL_PATTERN = /[\u0000-\u001f\u007f]/;
23954
24181
  var DNS_LABEL_PATTERN = /^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/;
23955
24182
  function isValidDnsDomain(value) {
@@ -24195,6 +24422,13 @@ function currentCredential(name, apiKey) {
24195
24422
  }
24196
24423
  return explicitCredential(name, apiKey);
24197
24424
  }
24425
+ async function resolveRequestCredential(name, apiKey, env = process.env) {
24426
+ const resolved = currentCredential(name, apiKey);
24427
+ if (resolved.tier === "pointer") {
24428
+ return completePointerCredential(name, resolved, env);
24429
+ }
24430
+ return resolved;
24431
+ }
24198
24432
  function authFailureGuidance(credential) {
24199
24433
  const origin = `The API key for this request came from ${credential.source}`;
24200
24434
  if (credential.deliberate) {
@@ -24350,7 +24584,7 @@ function createHasnaHttpTransport(options) {
24350
24584
  const retry = resolveRetry(opts.retry);
24351
24585
  const methodRetryable = IDEMPOTENT_METHODS.has(upper) || Boolean(opts.idempotencyKey);
24352
24586
  const maxAttempts = retry && methodRetryable ? retry.retries + 1 : 1;
24353
- const credential = currentCredential(options.name, options.apiKey);
24587
+ const credential = await resolveRequestCredential(options.name, options.apiKey);
24354
24588
  let last = null;
24355
24589
  for (let attempt = 1;attempt <= maxAttempts; attempt++) {
24356
24590
  const result = await once(upper, rel, url, body, opts, credential);
@@ -24515,6 +24749,7 @@ function resolveStorageClient(name, env = process.env, overrides) {
24515
24749
  }
24516
24750
 
24517
24751
  // ../contracts/dist/client/transport.js
24752
+ import { createRequire as createRequire2 } from "module";
24518
24753
  function envToken2(name) {
24519
24754
  return name.toUpperCase().replace(/-/g, "_");
24520
24755
  }
@@ -24529,6 +24764,8 @@ var MAX_CREDENTIAL_FILE_BYTES2 = 64 * 1024;
24529
24764
  var INSPECT_CUSTOM2 = Symbol.for("nodejs.util.inspect.custom");
24530
24765
  var CREDENTIAL_SEAL2 = Symbol.for("hasna:contracts:sealedCredential");
24531
24766
  var DEPRECATION_REGISTRY2 = Symbol.for("hasna:contracts:credentialDeprecationNotices");
24767
+ var SECRETS_PACKAGE_SPECIFIER2 = "@hasna/" + "secrets";
24768
+ var requireSecretsSdk2 = createRequire2(import.meta.url);
24532
24769
  var IDEMPOTENT_METHODS2 = new Set(["GET", "HEAD", "PUT", "DELETE", "OPTIONS"]);
24533
24770
  var AUTHORITY_OVERRIDE_HEADERS2 = new Set([
24534
24771
  "host",
@@ -24960,7 +25197,7 @@ function deleteDomainReputation(id) {
24960
25197
  }
24961
25198
 
24962
25199
  // src/db/store.ts
24963
- var APP = "domains";
25200
+ var APP2 = "domains";
24964
25201
  var DOMAINS_PAGE_SIZE = 1000;
24965
25202
  class LocalStore {
24966
25203
  transport = "local";
@@ -25573,7 +25810,7 @@ function assertNoStoreConflict(env) {
25573
25810
  throw new Error(`Refusing to resolve the hosted domains store while ${pathVar} is set: that variable ` + `names a local sqlite file, so the configuration asks for BOTH stores at once and ` + `nothing here can tell which you meant. Writing to the wrong one is silent \u2014 a plain ` + `\`bun run\` script that set ${pathVar} put 230 rows into the production portfolio on ` + `2026-08-07 while reporting success. Pick one: unset HASNA_DOMAINS_API_URL and ` + `HASNA_DOMAINS_API_KEY to use ${pathVar}; unset ${pathVar} to use the hosted store; or set ` + `${ALLOW_CLOUD_WITH_LOCAL_PATH}=1 if you really intend the hosted store with that variable present.`);
25574
25811
  }
25575
25812
  function requireHostedClient(env, flip) {
25576
- const resolved = resolveStorageClient(APP, withoutRetiredModeKeys(env));
25813
+ const resolved = resolveStorageClient(APP2, withoutRetiredModeKeys(env));
25577
25814
  if (resolved.transport !== "http") {
25578
25815
  throw new Error(`Hosted domains client was requested (${flip.urlSource} + ${flip.keySource}) but ` + `@hasna/contracts resolved transport '${resolved.transport}'. Refusing to read the wrong dataset.`);
25579
25816
  }
@@ -25608,7 +25845,7 @@ import { domainToASCII } from "url";
25608
25845
 
25609
25846
  // src/lib/version.ts
25610
25847
  import { readFileSync as readFileSync3 } from "fs";
25611
- import { dirname as dirname2, resolve as resolve2 } from "path";
25848
+ import { dirname as dirname2, resolve as resolve3 } from "path";
25612
25849
  import { fileURLToPath } from "url";
25613
25850
  var cachedVersion = null;
25614
25851
  function getPackageVersion() {
@@ -25616,7 +25853,7 @@ function getPackageVersion() {
25616
25853
  return cachedVersion;
25617
25854
  try {
25618
25855
  const moduleDir = dirname2(fileURLToPath(import.meta.url));
25619
- const packageJsonPath = resolve2(moduleDir, "../../package.json");
25856
+ const packageJsonPath = resolve3(moduleDir, "../../package.json");
25620
25857
  const pkg = JSON.parse(readFileSync3(packageJsonPath, "utf8"));
25621
25858
  cachedVersion = pkg.version ?? "0.0.0";
25622
25859
  } catch {
@@ -26977,7 +27214,7 @@ async function syncToLocalDb2(dbFns) {
26977
27214
  return result;
26978
27215
  }
26979
27216
 
26980
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js
27217
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js
26981
27218
  var import_client23 = __toESM(require_client2(), 1);
26982
27219
  var import_core = __toESM(require_dist_cjs2(), 1);
26983
27220
  var import_client24 = __toESM(require_client(), 1);
@@ -26987,7 +27224,7 @@ var import_protocols7 = __toESM(require_protocols(), 1);
26987
27224
  var import_retry4 = __toESM(require_retry(), 1);
26988
27225
  var import_schema2 = __toESM(require_schema(), 1);
26989
27226
 
26990
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthSchemeProvider.js
27227
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthSchemeProvider.js
26991
27228
  var import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
26992
27229
  var import_client2 = __toESM(require_client(), 1);
26993
27230
  var defaultRoute53HttpAuthSchemeParametersProvider = async (config, context, input) => {
@@ -27029,7 +27266,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
27029
27266
  });
27030
27267
  };
27031
27268
 
27032
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/EndpointParameters.js
27269
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/EndpointParameters.js
27033
27270
  var resolveClientEndpointParameters = (options) => {
27034
27271
  return Object.assign(options, {
27035
27272
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -27043,10 +27280,10 @@ var commonParams = {
27043
27280
  Region: { type: "builtInParams", name: "region" },
27044
27281
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
27045
27282
  };
27046
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/package.json
27283
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/package.json
27047
27284
  var package_default = {
27048
27285
  name: "@aws-sdk/client-route-53",
27049
- version: "3.1106.0",
27286
+ version: "3.1112.0",
27050
27287
  description: "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
27051
27288
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53",
27052
27289
  license: "Apache-2.0",
@@ -27095,13 +27332,13 @@ var package_default = {
27095
27332
  "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
27096
27333
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
27097
27334
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
27098
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
27335
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
27099
27336
  },
27100
27337
  dependencies: {
27101
- "@aws-sdk/core": "^3.977.6",
27102
- "@aws-sdk/credential-provider-node": "^3.972.78",
27103
- "@aws-sdk/middleware-sdk-route53": "^3.972.23",
27104
- "@aws-sdk/types": "^3.974.2",
27338
+ "@aws-sdk/core": "^3.977.8",
27339
+ "@aws-sdk/credential-provider-node": "^3.972.80",
27340
+ "@aws-sdk/middleware-sdk-route53": "^3.972.25",
27341
+ "@aws-sdk/types": "^3.974.4",
27105
27342
  "@smithy/core": "^3.31.1",
27106
27343
  "@smithy/fetch-http-handler": "^5.6.13",
27107
27344
  "@smithy/node-http-handler": "^4.9.13",
@@ -27115,7 +27352,7 @@ var package_default = {
27115
27352
  concurrently: "7.0.0",
27116
27353
  "downlevel-dts": "0.10.1",
27117
27354
  premove: "4.0.0",
27118
- typescript: "~5.8.3",
27355
+ typescript: "~7.0.2",
27119
27356
  vitest: "^4.0.17"
27120
27357
  },
27121
27358
  engines: {
@@ -27123,15 +27360,15 @@ var package_default = {
27123
27360
  }
27124
27361
  };
27125
27362
 
27126
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js
27363
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js
27127
27364
  var import_client19 = __toESM(require_client2(), 1);
27128
27365
  var import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
27129
27366
 
27130
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
27367
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
27131
27368
  init_dist_es();
27132
27369
  var import_config27 = __toESM(require_config(), 1);
27133
27370
 
27134
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
27371
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
27135
27372
  var import_config10 = __toESM(require_config(), 1);
27136
27373
  var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
27137
27374
  var remoteProvider = async (init) => {
@@ -27150,7 +27387,7 @@ var remoteProvider = async (init) => {
27150
27387
  return fromInstanceMetadata2(init);
27151
27388
  };
27152
27389
 
27153
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
27390
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js
27154
27391
  function memoizeChain(providers, treatAsExpired) {
27155
27392
  const chain2 = internalCreateChain(providers);
27156
27393
  let activeLock;
@@ -27214,7 +27451,7 @@ var internalCreateChain = (providers) => async (awsIdentityProperties) => {
27214
27451
  throw lastProviderError;
27215
27452
  };
27216
27453
 
27217
- // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.78/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
27454
+ // ../../node_modules/.bun/@aws-sdk+credential-provider-node@3.972.80/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
27218
27455
  var multipleCredentialSourceWarningEmitted = false;
27219
27456
  var defaultProvider = (init = {}) => memoizeChain([
27220
27457
  async () => {
@@ -27280,14 +27517,14 @@ var defaultProvider = (init = {}) => memoizeChain([
27280
27517
  }
27281
27518
  ], credentialsTreatedAsExpired);
27282
27519
  var credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;
27283
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js
27520
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js
27284
27521
  var import_client20 = __toESM(require_client(), 1);
27285
27522
  var import_config28 = __toESM(require_config(), 1);
27286
27523
  var import_retry3 = __toESM(require_retry(), 1);
27287
27524
  var import_serde4 = __toESM(require_serde(), 1);
27288
27525
  var import_node_http_handler2 = __toESM(require_dist_cjs4(), 1);
27289
27526
 
27290
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js
27527
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js
27291
27528
  var import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
27292
27529
  var import_protocols4 = __toESM(require_protocols2(), 1);
27293
27530
  var import_checksum = __toESM(require_checksum(), 1);
@@ -27295,11 +27532,11 @@ var import_client18 = __toESM(require_client(), 1);
27295
27532
  var import_protocols5 = __toESM(require_protocols(), 1);
27296
27533
  var import_serde3 = __toESM(require_serde(), 1);
27297
27534
 
27298
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/endpointResolver.js
27535
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/endpointResolver.js
27299
27536
  var import_client16 = __toESM(require_client2(), 1);
27300
27537
  var import_endpoints2 = __toESM(require_endpoints(), 1);
27301
27538
 
27302
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/bdd.js
27539
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/bdd.js
27303
27540
  var import_endpoints = __toESM(require_endpoints(), 1);
27304
27541
  var s = "ref";
27305
27542
  var t = "authSchemes";
@@ -27459,7 +27696,7 @@ var nodes2 = new Int32Array([
27459
27696
  ]);
27460
27697
  var bdd2 = import_endpoints.BinaryDecisionDiagram.from(nodes2, root2, _data2.conditions, _data2.results);
27461
27698
 
27462
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/endpointResolver.js
27699
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/endpoint/endpointResolver.js
27463
27700
  var cache2 = new import_endpoints2.EndpointCache({
27464
27701
  size: 50,
27465
27702
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
@@ -27472,10 +27709,10 @@ var defaultEndpointResolver2 = (endpointParams, context = {}) => {
27472
27709
  };
27473
27710
  import_endpoints2.customEndpointFunctions.aws = import_client16.awsEndpointFunctions;
27474
27711
 
27475
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js
27712
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js
27476
27713
  var import_schema = __toESM(require_schema(), 1);
27477
27714
 
27478
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/models/Route53ServiceException.js
27715
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/models/Route53ServiceException.js
27479
27716
  var import_client17 = __toESM(require_client(), 1);
27480
27717
  class Route53ServiceException extends import_client17.ServiceException {
27481
27718
  constructor(options) {
@@ -27484,7 +27721,7 @@ class Route53ServiceException extends import_client17.ServiceException {
27484
27721
  }
27485
27722
  }
27486
27723
 
27487
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/models/errors.js
27724
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/models/errors.js
27488
27725
  class ConcurrentModification extends Route53ServiceException {
27489
27726
  name = "ConcurrentModification";
27490
27727
  $fault = "client";
@@ -28396,7 +28633,7 @@ class ConflictingTypes extends Route53ServiceException {
28396
28633
  }
28397
28634
  }
28398
28635
 
28399
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js
28636
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/schemas/schemas_0.js
28400
28637
  var _A = "Action";
28401
28638
  var _AI = "AlarmIdentifier";
28402
28639
  var _AKSK = "ActivateKeySigningKey";
@@ -32075,7 +32312,7 @@ var UpdateTrafficPolicyInstance$ = [
32075
32312
  () => UpdateTrafficPolicyInstanceResponse$
32076
32313
  ];
32077
32314
 
32078
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js
32315
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js
32079
32316
  var getRuntimeConfig2 = (config) => {
32080
32317
  return {
32081
32318
  apiVersion: "2013-04-01",
@@ -32109,7 +32346,7 @@ var getRuntimeConfig2 = (config) => {
32109
32346
  };
32110
32347
  };
32111
32348
 
32112
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js
32349
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js
32113
32350
  var getRuntimeConfig3 = (config) => {
32114
32351
  import_client20.emitWarningIfUnsupportedVersion(process.version);
32115
32352
  const defaultsMode = import_config28.resolveDefaultsModeConfig(config);
@@ -32143,12 +32380,12 @@ var getRuntimeConfig3 = (config) => {
32143
32380
  };
32144
32381
  };
32145
32382
 
32146
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeExtensions.js
32383
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeExtensions.js
32147
32384
  var import_client21 = __toESM(require_client2(), 1);
32148
32385
  var import_client22 = __toESM(require_client(), 1);
32149
32386
  var import_protocols6 = __toESM(require_protocols(), 1);
32150
32387
 
32151
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthExtensionConfiguration.js
32388
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthExtensionConfiguration.js
32152
32389
  var getHttpAuthExtensionConfiguration2 = (runtimeConfig) => {
32153
32390
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
32154
32391
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -32187,14 +32424,14 @@ var resolveHttpAuthRuntimeConfig2 = (config) => {
32187
32424
  };
32188
32425
  };
32189
32426
 
32190
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeExtensions.js
32427
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/runtimeExtensions.js
32191
32428
  var resolveRuntimeExtensions2 = (runtimeConfig, extensions) => {
32192
32429
  const extensionConfiguration = Object.assign(import_client21.getAwsRegionExtensionConfiguration(runtimeConfig), import_client22.getDefaultExtensionConfiguration(runtimeConfig), import_protocols6.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration2(runtimeConfig));
32193
32430
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
32194
32431
  return Object.assign(runtimeConfig, import_client21.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client22.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols6.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig2(extensionConfiguration));
32195
32432
  };
32196
32433
 
32197
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js
32434
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js
32198
32435
  class Route53Client extends import_client24.Client {
32199
32436
  config;
32200
32437
  constructor(...[configuration]) {
@@ -32230,10 +32467,10 @@ class Route53Client extends import_client24.Client {
32230
32467
  }
32231
32468
  }
32232
32469
 
32233
- // ../../node_modules/.bun/@aws-sdk+middleware-sdk-route53@3.972.23/node_modules/@aws-sdk/middleware-sdk-route53/dist-es/constants.js
32470
+ // ../../node_modules/.bun/@aws-sdk+middleware-sdk-route53@3.972.25/node_modules/@aws-sdk/middleware-sdk-route53/dist-es/constants.js
32234
32471
  var IDENTIFIER_PREFIX_PATTERN = /^\/(hostedzone|change|delegationset)\//;
32235
32472
 
32236
- // ../../node_modules/.bun/@aws-sdk+middleware-sdk-route53@3.972.23/node_modules/@aws-sdk/middleware-sdk-route53/dist-es/change-resource-record-sets.js
32473
+ // ../../node_modules/.bun/@aws-sdk+middleware-sdk-route53@3.972.25/node_modules/@aws-sdk/middleware-sdk-route53/dist-es/change-resource-record-sets.js
32237
32474
  function changeResourceRecordSetsMiddleware() {
32238
32475
  return (next) => async (args) => {
32239
32476
  const { ChangeBatch } = args.input;
@@ -32278,7 +32515,7 @@ var getChangeResourceRecordSetsPlugin = (unused) => ({
32278
32515
  clientStack.add(changeResourceRecordSetsMiddleware(), changeResourceRecordSetsMiddlewareOptions);
32279
32516
  }
32280
32517
  });
32281
- // ../../node_modules/.bun/@aws-sdk+middleware-sdk-route53@3.972.23/node_modules/@aws-sdk/middleware-sdk-route53/dist-es/id-normalizer.js
32518
+ // ../../node_modules/.bun/@aws-sdk+middleware-sdk-route53@3.972.25/node_modules/@aws-sdk/middleware-sdk-route53/dist-es/id-normalizer.js
32282
32519
  var IDENTIFIER_PARAMETERS = ["DelegationSetId", "HostedZoneId", "Id"];
32283
32520
  function idNormalizerMiddleware() {
32284
32521
  return (next) => async (args) => {
@@ -32306,7 +32543,7 @@ var getIdNormalizerPlugin = (unused) => ({
32306
32543
  clientStack.add(idNormalizerMiddleware(), idNormalizerMiddlewareOptions);
32307
32544
  }
32308
32545
  });
32309
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commandBuilder.js
32546
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commandBuilder.js
32310
32547
  var import_client25 = __toESM(require_client(), 1);
32311
32548
  var import_endpoints4 = __toESM(require_endpoints(), 1);
32312
32549
  var command2 = import_client25.makeBuilder(commonParams, "AWSDnsV20130401", "Route53Client", import_endpoints4.getEndpointPlugin);
@@ -32319,35 +32556,35 @@ var _mw1 = (Command, cs, config, o2) => [
32319
32556
  getIdNormalizerPlugin(config)
32320
32557
  ];
32321
32558
 
32322
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ChangeResourceRecordSetsCommand.js
32559
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ChangeResourceRecordSetsCommand.js
32323
32560
  class ChangeResourceRecordSetsCommand extends command2(_ep02, _mw1, "ChangeResourceRecordSets", ChangeResourceRecordSets$) {
32324
32561
  }
32325
32562
 
32326
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateHostedZoneCommand.js
32563
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/CreateHostedZoneCommand.js
32327
32564
  class CreateHostedZoneCommand extends command2(_ep02, _mw02, "CreateHostedZone", CreateHostedZone$) {
32328
32565
  }
32329
32566
 
32330
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteHostedZoneCommand.js
32567
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/DeleteHostedZoneCommand.js
32331
32568
  class DeleteHostedZoneCommand extends command2(_ep02, _mw02, "DeleteHostedZone", DeleteHostedZone$) {
32332
32569
  }
32333
32570
 
32334
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHostedZoneCommand.js
32571
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/GetHostedZoneCommand.js
32335
32572
  class GetHostedZoneCommand extends command2(_ep02, _mw02, "GetHostedZone", GetHostedZone$) {
32336
32573
  }
32337
32574
 
32338
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesByNameCommand.js
32575
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesByNameCommand.js
32339
32576
  class ListHostedZonesByNameCommand extends command2(_ep02, _mw02, "ListHostedZonesByName", ListHostedZonesByName$) {
32340
32577
  }
32341
32578
 
32342
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesCommand.js
32579
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListHostedZonesCommand.js
32343
32580
  class ListHostedZonesCommand extends command2(_ep02, _mw02, "ListHostedZones", ListHostedZones$) {
32344
32581
  }
32345
32582
 
32346
- // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1106.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetsCommand.js
32583
+ // ../../node_modules/.bun/@aws-sdk+client-route-53@3.1112.0/node_modules/@aws-sdk/client-route-53/dist-es/commands/ListResourceRecordSetsCommand.js
32347
32584
  class ListResourceRecordSetsCommand extends command2(_ep02, _mw02, "ListResourceRecordSets", ListResourceRecordSets$) {
32348
32585
  }
32349
32586
 
32350
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/Route53DomainsClient.js
32587
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/Route53DomainsClient.js
32351
32588
  var import_client34 = __toESM(require_client2(), 1);
32352
32589
  var import_core2 = __toESM(require_dist_cjs2(), 1);
32353
32590
  var import_client35 = __toESM(require_client(), 1);
@@ -32357,7 +32594,7 @@ var import_protocols11 = __toESM(require_protocols(), 1);
32357
32594
  var import_retry6 = __toESM(require_retry(), 1);
32358
32595
  var import_schema4 = __toESM(require_schema(), 1);
32359
32596
 
32360
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/auth/httpAuthSchemeProvider.js
32597
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/auth/httpAuthSchemeProvider.js
32361
32598
  var import_httpAuthSchemes4 = __toESM(require_httpAuthSchemes(), 1);
32362
32599
  var import_client26 = __toESM(require_client(), 1);
32363
32600
  var defaultRoute53DomainsHttpAuthSchemeParametersProvider = async (config, context, input) => {
@@ -32399,7 +32636,7 @@ var resolveHttpAuthSchemeConfig3 = (config) => {
32399
32636
  });
32400
32637
  };
32401
32638
 
32402
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/EndpointParameters.js
32639
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/EndpointParameters.js
32403
32640
  var resolveClientEndpointParameters3 = (options) => {
32404
32641
  return Object.assign(options, {
32405
32642
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -32413,10 +32650,10 @@ var commonParams3 = {
32413
32650
  Region: { type: "builtInParams", name: "region" },
32414
32651
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
32415
32652
  };
32416
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/package.json
32653
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/package.json
32417
32654
  var package_default2 = {
32418
32655
  name: "@aws-sdk/client-route-53-domains",
32419
- version: "3.1106.0",
32656
+ version: "3.1112.0",
32420
32657
  description: "AWS SDK for JavaScript Route 53 Domains Client for Node.js, Browser and React Native",
32421
32658
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53-domains",
32422
32659
  license: "Apache-2.0",
@@ -32461,12 +32698,12 @@ var package_default2 = {
32461
32698
  "generate:client": "node ../../scripts/generate-clients/single-service",
32462
32699
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
32463
32700
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
32464
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
32701
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
32465
32702
  },
32466
32703
  dependencies: {
32467
- "@aws-sdk/core": "^3.977.6",
32468
- "@aws-sdk/credential-provider-node": "^3.972.78",
32469
- "@aws-sdk/types": "^3.974.2",
32704
+ "@aws-sdk/core": "^3.977.8",
32705
+ "@aws-sdk/credential-provider-node": "^3.972.80",
32706
+ "@aws-sdk/types": "^3.974.4",
32470
32707
  "@smithy/core": "^3.31.1",
32471
32708
  "@smithy/fetch-http-handler": "^5.6.13",
32472
32709
  "@smithy/node-http-handler": "^4.9.13",
@@ -32479,14 +32716,14 @@ var package_default2 = {
32479
32716
  concurrently: "7.0.0",
32480
32717
  "downlevel-dts": "0.10.1",
32481
32718
  premove: "4.0.0",
32482
- typescript: "~5.8.3"
32719
+ typescript: "~7.0.2"
32483
32720
  },
32484
32721
  engines: {
32485
32722
  node: ">=20.0.0"
32486
32723
  }
32487
32724
  };
32488
32725
 
32489
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.js
32726
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.js
32490
32727
  var import_client30 = __toESM(require_client2(), 1);
32491
32728
  var import_httpAuthSchemes6 = __toESM(require_httpAuthSchemes(), 1);
32492
32729
  var import_client31 = __toESM(require_client(), 1);
@@ -32495,7 +32732,7 @@ var import_retry5 = __toESM(require_retry(), 1);
32495
32732
  var import_serde6 = __toESM(require_serde(), 1);
32496
32733
  var import_node_http_handler3 = __toESM(require_dist_cjs4(), 1);
32497
32734
 
32498
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.shared.js
32735
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.shared.js
32499
32736
  var import_httpAuthSchemes5 = __toESM(require_httpAuthSchemes(), 1);
32500
32737
  var import_protocols8 = __toESM(require_protocols2(), 1);
32501
32738
  var import_checksum2 = __toESM(require_checksum(), 1);
@@ -32503,11 +32740,11 @@ var import_client29 = __toESM(require_client(), 1);
32503
32740
  var import_protocols9 = __toESM(require_protocols(), 1);
32504
32741
  var import_serde5 = __toESM(require_serde(), 1);
32505
32742
 
32506
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/endpointResolver.js
32743
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/endpointResolver.js
32507
32744
  var import_client27 = __toESM(require_client2(), 1);
32508
32745
  var import_endpoints6 = __toESM(require_endpoints(), 1);
32509
32746
 
32510
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/bdd.js
32747
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/bdd.js
32511
32748
  var import_endpoints5 = __toESM(require_endpoints(), 1);
32512
32749
  var k3 = "ref";
32513
32750
  var a3 = -1;
@@ -32590,7 +32827,7 @@ var nodes3 = new Int32Array([
32590
32827
  ]);
32591
32828
  var bdd3 = import_endpoints5.BinaryDecisionDiagram.from(nodes3, root3, _data3.conditions, _data3.results);
32592
32829
 
32593
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/endpointResolver.js
32830
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/endpoint/endpointResolver.js
32594
32831
  var cache3 = new import_endpoints6.EndpointCache({
32595
32832
  size: 50,
32596
32833
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
@@ -32603,10 +32840,10 @@ var defaultEndpointResolver3 = (endpointParams, context = {}) => {
32603
32840
  };
32604
32841
  import_endpoints6.customEndpointFunctions.aws = import_client27.awsEndpointFunctions;
32605
32842
 
32606
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/schemas/schemas_0.js
32843
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/schemas/schemas_0.js
32607
32844
  var import_schema3 = __toESM(require_schema(), 1);
32608
32845
 
32609
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/models/Route53DomainsServiceException.js
32846
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/models/Route53DomainsServiceException.js
32610
32847
  var import_client28 = __toESM(require_client(), 1);
32611
32848
  class Route53DomainsServiceException extends import_client28.ServiceException {
32612
32849
  constructor(options) {
@@ -32615,7 +32852,7 @@ class Route53DomainsServiceException extends import_client28.ServiceException {
32615
32852
  }
32616
32853
  }
32617
32854
 
32618
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/models/errors.js
32855
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/models/errors.js
32619
32856
  class DomainLimitExceeded extends Route53DomainsServiceException {
32620
32857
  name = "DomainLimitExceeded";
32621
32858
  $fault = "client";
@@ -32724,7 +32961,7 @@ class TLDInMaintenance extends Route53DomainsServiceException {
32724
32961
  }
32725
32962
  }
32726
32963
 
32727
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/schemas/schemas_0.js
32964
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/schemas/schemas_0.js
32728
32965
  var _A2 = "Availability";
32729
32966
  var _AC = "AuthCode";
32730
32967
  var _ACE = "AbuseContactEmail";
@@ -33363,7 +33600,7 @@ var UpdateDomainNameservers$ = [
33363
33600
  () => UpdateDomainNameserversResponse$
33364
33601
  ];
33365
33602
 
33366
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.shared.js
33603
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.shared.js
33367
33604
  var getRuntimeConfig4 = (config) => {
33368
33605
  return {
33369
33606
  apiVersion: "2014-05-15",
@@ -33397,7 +33634,7 @@ var getRuntimeConfig4 = (config) => {
33397
33634
  };
33398
33635
  };
33399
33636
 
33400
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.js
33637
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeConfig.js
33401
33638
  var getRuntimeConfig5 = (config) => {
33402
33639
  import_client31.emitWarningIfUnsupportedVersion(process.version);
33403
33640
  const defaultsMode = import_config30.resolveDefaultsModeConfig(config);
@@ -33431,12 +33668,12 @@ var getRuntimeConfig5 = (config) => {
33431
33668
  };
33432
33669
  };
33433
33670
 
33434
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeExtensions.js
33671
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeExtensions.js
33435
33672
  var import_client32 = __toESM(require_client2(), 1);
33436
33673
  var import_client33 = __toESM(require_client(), 1);
33437
33674
  var import_protocols10 = __toESM(require_protocols(), 1);
33438
33675
 
33439
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/auth/httpAuthExtensionConfiguration.js
33676
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/auth/httpAuthExtensionConfiguration.js
33440
33677
  var getHttpAuthExtensionConfiguration3 = (runtimeConfig) => {
33441
33678
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
33442
33679
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -33475,14 +33712,14 @@ var resolveHttpAuthRuntimeConfig3 = (config) => {
33475
33712
  };
33476
33713
  };
33477
33714
 
33478
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeExtensions.js
33715
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/runtimeExtensions.js
33479
33716
  var resolveRuntimeExtensions3 = (runtimeConfig, extensions) => {
33480
33717
  const extensionConfiguration = Object.assign(import_client32.getAwsRegionExtensionConfiguration(runtimeConfig), import_client33.getDefaultExtensionConfiguration(runtimeConfig), import_protocols10.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration3(runtimeConfig));
33481
33718
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
33482
33719
  return Object.assign(runtimeConfig, import_client32.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_client33.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocols10.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig3(extensionConfiguration));
33483
33720
  };
33484
33721
 
33485
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/Route53DomainsClient.js
33722
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/Route53DomainsClient.js
33486
33723
  class Route53DomainsClient extends import_client35.Client {
33487
33724
  config;
33488
33725
  constructor(...[configuration]) {
@@ -33518,50 +33755,50 @@ class Route53DomainsClient extends import_client35.Client {
33518
33755
  }
33519
33756
  }
33520
33757
 
33521
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commandBuilder.js
33758
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commandBuilder.js
33522
33759
  var import_client36 = __toESM(require_client(), 1);
33523
33760
  var import_endpoints8 = __toESM(require_endpoints(), 1);
33524
33761
  var command3 = import_client36.makeBuilder(commonParams3, "Route53Domains_v20140515", "Route53DomainsClient", import_endpoints8.getEndpointPlugin);
33525
33762
  var _ep03 = {};
33526
33763
  var _mw03 = (Command, cs, config, o2) => [];
33527
33764
 
33528
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/CheckDomainAvailabilityCommand.js
33765
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/CheckDomainAvailabilityCommand.js
33529
33766
  class CheckDomainAvailabilityCommand extends command3(_ep03, _mw03, "CheckDomainAvailability", CheckDomainAvailability$) {
33530
33767
  }
33531
33768
 
33532
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/DisableDomainTransferLockCommand.js
33769
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/DisableDomainTransferLockCommand.js
33533
33770
  class DisableDomainTransferLockCommand extends command3(_ep03, _mw03, "DisableDomainTransferLock", DisableDomainTransferLock$) {
33534
33771
  }
33535
33772
 
33536
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetDomainDetailCommand.js
33773
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetDomainDetailCommand.js
33537
33774
  class GetDomainDetailCommand extends command3(_ep03, _mw03, "GetDomainDetail", GetDomainDetail$) {
33538
33775
  }
33539
33776
 
33540
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetOperationDetailCommand.js
33777
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/GetOperationDetailCommand.js
33541
33778
  class GetOperationDetailCommand extends command3(_ep03, _mw03, "GetOperationDetail", GetOperationDetail$) {
33542
33779
  }
33543
33780
 
33544
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/ListDomainsCommand.js
33781
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/ListDomainsCommand.js
33545
33782
  class ListDomainsCommand extends command3(_ep03, _mw03, "ListDomains", ListDomains$) {
33546
33783
  }
33547
33784
 
33548
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/ListPricesCommand.js
33785
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/ListPricesCommand.js
33549
33786
  class ListPricesCommand extends command3(_ep03, _mw03, "ListPrices", ListPrices$) {
33550
33787
  }
33551
33788
 
33552
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/RegisterDomainCommand.js
33789
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/RegisterDomainCommand.js
33553
33790
  class RegisterDomainCommand extends command3(_ep03, _mw03, "RegisterDomain", RegisterDomain$) {
33554
33791
  }
33555
33792
 
33556
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/RetrieveDomainAuthCodeCommand.js
33793
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/RetrieveDomainAuthCodeCommand.js
33557
33794
  class RetrieveDomainAuthCodeCommand extends command3(_ep03, _mw03, "RetrieveDomainAuthCode", RetrieveDomainAuthCode$) {
33558
33795
  }
33559
33796
 
33560
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/TransferDomainCommand.js
33797
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/TransferDomainCommand.js
33561
33798
  class TransferDomainCommand extends command3(_ep03, _mw03, "TransferDomain", TransferDomain$) {
33562
33799
  }
33563
33800
 
33564
- // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1106.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/UpdateDomainNameserversCommand.js
33801
+ // ../../node_modules/.bun/@aws-sdk+client-route-53-domains@3.1112.0/node_modules/@aws-sdk/client-route-53-domains/dist-es/commands/UpdateDomainNameserversCommand.js
33565
33802
  class UpdateDomainNameserversCommand extends command3(_ep03, _mw03, "UpdateDomainNameservers", UpdateDomainNameservers$) {
33566
33803
  }
33567
33804