replicas-engine 0.1.337 → 0.1.339

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.
@@ -16,7 +16,7 @@ import {
16
16
  splitHeader,
17
17
  toBase64,
18
18
  toUtf8
19
- } from "./chunk-C6IOMGXW.js";
19
+ } from "./chunk-B7L4ZPGB.js";
20
20
 
21
21
  // ../node_modules/.bun/@smithy+types@4.14.1/node_modules/@smithy/types/dist-es/middleware.js
22
22
  var SMITHY_CONTEXT_KEY = "__smithy_context";
@@ -29,10 +29,10 @@ var IniSectionType;
29
29
  IniSectionType2["SERVICES"] = "services";
30
30
  })(IniSectionType || (IniSectionType = {}));
31
31
 
32
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
32
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
33
33
  var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
34
34
 
35
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
35
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
36
36
  var normalizeProvider = (input) => {
37
37
  if (typeof input === "function")
38
38
  return input;
@@ -40,7 +40,7 @@ var normalizeProvider = (input) => {
40
40
  return () => promisified;
41
41
  };
42
42
 
43
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
43
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
44
44
  function parseQueryString(querystring) {
45
45
  const query = {};
46
46
  querystring = querystring.replace(/^\?/, "");
@@ -63,7 +63,7 @@ function parseQueryString(querystring) {
63
63
  return query;
64
64
  }
65
65
 
66
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
66
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
67
67
  var parseUrl = (url) => {
68
68
  if (typeof url === "string") {
69
69
  return parseUrl(new URL(url));
@@ -82,7 +82,7 @@ var parseUrl = (url) => {
82
82
  };
83
83
  };
84
84
 
85
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
85
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
86
86
  var HttpRequest = class _HttpRequest {
87
87
  method;
88
88
  protocol;
@@ -139,7 +139,7 @@ function cloneQuery(query) {
139
139
  }, {});
140
140
  }
141
141
 
142
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
142
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
143
143
  var HttpResponse = class {
144
144
  statusCode;
145
145
  reason;
@@ -159,7 +159,7 @@ var HttpResponse = class {
159
159
  }
160
160
  };
161
161
 
162
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
162
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
163
163
  var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
164
164
  var isValidHostLabel = (value, allowSubDomains = false) => {
165
165
  if (!allowSubDomains) {
@@ -174,7 +174,7 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
174
174
  return true;
175
175
  };
176
176
 
177
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
177
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
178
178
  var toEndpointV1 = (endpoint) => {
179
179
  if (typeof endpoint === "object") {
180
180
  if ("url" in endpoint) {
@@ -192,7 +192,7 @@ var toEndpointV1 = (endpoint) => {
192
192
  return parseUrl(endpoint);
193
193
  };
194
194
 
195
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
195
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
196
196
  var TypeRegistry = class _TypeRegistry {
197
197
  namespace;
198
198
  schemas;
@@ -295,7 +295,7 @@ var TypeRegistry = class _TypeRegistry {
295
295
  }
296
296
  };
297
297
 
298
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
298
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
299
299
  var ProviderError = class _ProviderError extends Error {
300
300
  name = "ProviderError";
301
301
  tryNextLink;
@@ -319,7 +319,7 @@ var ProviderError = class _ProviderError extends Error {
319
319
  }
320
320
  };
321
321
 
322
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
322
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
323
323
  var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
324
324
  name = "CredentialsProviderError";
325
325
  constructor(message, options = true) {
@@ -328,15 +328,15 @@ var CredentialsProviderError = class _CredentialsProviderError extends ProviderE
328
328
  }
329
329
  };
330
330
 
331
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
331
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
332
332
  var ENV_PROFILE = "AWS_PROFILE";
333
333
  var DEFAULT_PROFILE = "default";
334
334
  var getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
335
335
 
336
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
336
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
337
337
  import { join } from "path";
338
338
 
339
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
339
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
340
340
  import { homedir } from "os";
341
341
  import { sep } from "path";
342
342
  var homeDirCache = {};
@@ -360,17 +360,17 @@ var getHomeDir = () => {
360
360
  return homeDirCache[homeDirCacheKey];
361
361
  };
362
362
 
363
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
363
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
364
364
  var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
365
365
  var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
366
366
 
367
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
367
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
368
368
  import { join as join3 } from "path";
369
369
 
370
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
370
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
371
371
  var CONFIG_PREFIX_SEPARATOR = ".";
372
372
 
373
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
373
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
374
374
  var getConfigData = (data) => Object.entries(data).filter(([key]) => {
375
375
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
376
376
  if (indexOfSeparator === -1) {
@@ -386,12 +386,12 @@ var getConfigData = (data) => Object.entries(data).filter(([key]) => {
386
386
  ...data.default && { default: data.default }
387
387
  });
388
388
 
389
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
389
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
390
390
  import { join as join2 } from "path";
391
391
  var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
392
392
  var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join2(getHomeDir(), ".aws", "credentials");
393
393
 
394
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
394
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
395
395
  var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
396
396
  var profileNameBlockList = ["__proto__", "profile __proto__"];
397
397
  var parseIni = (iniData) => {
@@ -440,7 +440,7 @@ var parseIni = (iniData) => {
440
440
  return map;
441
441
  };
442
442
 
443
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
443
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
444
444
  import { readFile as fsReadFile } from "fs/promises";
445
445
  var filePromises = {};
446
446
  var fileIntercept = {};
@@ -454,7 +454,7 @@ var readFile = (path, options) => {
454
454
  return filePromises[path];
455
455
  };
456
456
 
457
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
457
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
458
458
  var swallowError = () => ({});
459
459
  var loadSharedConfigFiles = async (init = {}) => {
460
460
  const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
@@ -482,14 +482,14 @@ var loadSharedConfigFiles = async (init = {}) => {
482
482
  };
483
483
  };
484
484
 
485
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
485
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
486
486
  var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
487
487
 
488
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
488
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
489
489
  var swallowError2 = () => ({});
490
490
  var loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2);
491
491
 
492
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
492
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
493
493
  var mergeConfigFiles = (...files) => {
494
494
  const merged = {};
495
495
  for (const file of files) {
@@ -504,16 +504,16 @@ var mergeConfigFiles = (...files) => {
504
504
  return merged;
505
505
  };
506
506
 
507
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
507
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
508
508
  var parseKnownFiles = async (init) => {
509
509
  const parsedFiles = await loadSharedConfigFiles(init);
510
510
  return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
511
511
  };
512
512
 
513
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
513
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
514
514
  import { readFile as readFile2 } from "fs/promises";
515
515
 
516
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
516
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
517
517
  import { createHash } from "crypto";
518
518
  import { join as join4 } from "path";
519
519
  var getSSOTokenFilepath = (id) => {
@@ -522,7 +522,7 @@ var getSSOTokenFilepath = (id) => {
522
522
  return join4(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
523
523
  };
524
524
 
525
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
525
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
526
526
  var tokenIntercept = {};
527
527
  var getSSOTokenFromFile = async (id) => {
528
528
  if (tokenIntercept[id]) {
@@ -533,7 +533,7 @@ var getSSOTokenFromFile = async (id) => {
533
533
  return JSON.parse(ssoTokenText);
534
534
  };
535
535
 
536
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
536
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
537
537
  var externalDataInterceptor = {
538
538
  getFileRecord() {
539
539
  return fileIntercept;
@@ -549,7 +549,7 @@ var externalDataInterceptor = {
549
549
  }
550
550
  };
551
551
 
552
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
552
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
553
553
  var chain = (...providers) => async () => {
554
554
  if (providers.length === 0) {
555
555
  throw new ProviderError("No providers in chain");
@@ -570,7 +570,7 @@ var chain = (...providers) => async () => {
570
570
  throw lastProviderError;
571
571
  };
572
572
 
573
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
573
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
574
574
  var memoize = (provider, isExpired, requiresRefresh) => {
575
575
  let resolved;
576
576
  let pending;
@@ -616,7 +616,7 @@ var memoize = (provider, isExpired, requiresRefresh) => {
616
616
  };
617
617
  };
618
618
 
619
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
619
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
620
620
  function getSelectorName(functionString) {
621
621
  try {
622
622
  const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
@@ -629,7 +629,7 @@ function getSelectorName(functionString) {
629
629
  }
630
630
  }
631
631
 
632
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
632
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
633
633
  var fromEnv = (envVarSelector, options) => async () => {
634
634
  try {
635
635
  const config = envVarSelector(process.env, options);
@@ -642,7 +642,7 @@ var fromEnv = (envVarSelector, options) => async () => {
642
642
  }
643
643
  };
644
644
 
645
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
645
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
646
646
  var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
647
647
  const profile = getProfileName(init);
648
648
  const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
@@ -661,21 +661,21 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
661
661
  }
662
662
  };
663
663
 
664
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
664
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
665
665
  var fromValue = (staticValue) => () => Promise.resolve(staticValue);
666
666
 
667
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
667
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
668
668
  var isFunction = (func) => typeof func === "function";
669
669
  var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);
670
670
 
671
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
671
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
672
672
  var loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
673
673
  const { signingName, logger } = configuration;
674
674
  const envOptions = { signingName, logger };
675
675
  return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));
676
676
  };
677
677
 
678
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
678
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
679
679
  var validRegions = /* @__PURE__ */ new Set();
680
680
  var checkRegion = (region, check = isValidHostLabel) => {
681
681
  if (!validRegions.has(region) && !check(region)) {
@@ -689,13 +689,13 @@ var checkRegion = (region, check = isValidHostLabel) => {
689
689
  }
690
690
  };
691
691
 
692
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
692
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
693
693
  var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
694
694
 
695
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
695
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
696
696
  var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
697
697
 
698
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
698
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
699
699
  var resolveRegionConfig = (input) => {
700
700
  const { region, useFipsEndpoint } = input;
701
701
  if (!region) {
@@ -718,7 +718,7 @@ var resolveRegionConfig = (input) => {
718
718
  });
719
719
  };
720
720
 
721
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
721
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
722
722
  var TokenProviderError = class _TokenProviderError extends ProviderError {
723
723
  name = "TokenProviderError";
724
724
  constructor(message, options = true) {
@@ -727,7 +727,7 @@ var TokenProviderError = class _TokenProviderError extends ProviderError {
727
727
  }
728
728
  };
729
729
 
730
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
730
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
731
731
  var booleanSelector = (obj, key, type) => {
732
732
  if (!(key in obj))
733
733
  return void 0;
@@ -738,14 +738,14 @@ var booleanSelector = (obj, key, type) => {
738
738
  throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
739
739
  };
740
740
 
741
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
741
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
742
742
  var SelectorType;
743
743
  (function(SelectorType2) {
744
744
  SelectorType2["ENV"] = "env";
745
745
  SelectorType2["CONFIG"] = "shared config entry";
746
746
  })(SelectorType || (SelectorType = {}));
747
747
 
748
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
748
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
749
749
  var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
750
750
  var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
751
751
  var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
@@ -754,7 +754,7 @@ var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
754
754
  default: false
755
755
  };
756
756
 
757
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
757
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
758
758
  var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
759
759
  var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
760
760
  var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
@@ -763,7 +763,7 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
763
763
  default: false
764
764
  };
765
765
 
766
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
766
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
767
767
  var deref = (schemaRef) => {
768
768
  if (typeof schemaRef === "function") {
769
769
  return schemaRef();
@@ -771,7 +771,7 @@ var deref = (schemaRef) => {
771
771
  return schemaRef;
772
772
  };
773
773
 
774
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
774
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
775
775
  var traitsCache = [];
776
776
  function translateTraits(indicator) {
777
777
  if (typeof indicator === "object") {
@@ -799,7 +799,7 @@ function translateTraits(indicator) {
799
799
  return traitsCache[indicator] = traits;
800
800
  }
801
801
 
802
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
802
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
803
803
  var anno = {
804
804
  it: /* @__PURE__ */ Symbol.for("@smithy/nor-struct-it"),
805
805
  ns: /* @__PURE__ */ Symbol.for("@smithy/ns")
@@ -1081,7 +1081,7 @@ function member(memberSchema, memberName) {
1081
1081
  var isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
1082
1082
  var isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
1083
1083
 
1084
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
1084
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
1085
1085
  var REGION_ENV_NAME = "AWS_REGION";
1086
1086
  var REGION_INI_NAME = "region";
1087
1087
  var NODE_REGION_CONFIG_OPTIONS = {
@@ -1095,7 +1095,7 @@ var NODE_REGION_CONFIG_FILE_OPTIONS = {
1095
1095
  preferredFile: "credentials"
1096
1096
  };
1097
1097
 
1098
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
1098
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
1099
1099
  var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
1100
1100
  var AWS_REGION_ENV = "AWS_REGION";
1101
1101
  var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
@@ -1103,7 +1103,7 @@ var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
1103
1103
  var DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];
1104
1104
  var IMDS_REGION_PATH = "/latest/meta-data/placement/region";
1105
1105
 
1106
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
1106
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
1107
1107
  var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
1108
1108
  var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
1109
1109
  var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
@@ -1116,7 +1116,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
1116
1116
  default: "legacy"
1117
1117
  };
1118
1118
 
1119
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
1119
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
1120
1120
  var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
1121
1121
  const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
1122
1122
  switch (mode?.toLowerCase()) {
@@ -1209,7 +1209,7 @@ var imdsHttpGet = async ({ hostname, path }) => {
1209
1209
  });
1210
1210
  };
1211
1211
 
1212
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
1212
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
1213
1213
  var CONTENT_LENGTH_HEADER = "content-length";
1214
1214
  function contentLengthMiddleware(bodyLengthChecker) {
1215
1215
  return (next) => async (args) => {
@@ -1245,7 +1245,7 @@ var getContentLengthPlugin = (options) => ({
1245
1245
  }
1246
1246
  });
1247
1247
 
1248
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
1248
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
1249
1249
  var collectBody = async (streamBody = new Uint8Array(), context) => {
1250
1250
  if (streamBody instanceof Uint8Array) {
1251
1251
  return Uint8ArrayBlobAdapter.mutate(streamBody);
@@ -1257,14 +1257,14 @@ var collectBody = async (streamBody = new Uint8Array(), context) => {
1257
1257
  return Uint8ArrayBlobAdapter.mutate(await fromContext);
1258
1258
  };
1259
1259
 
1260
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
1260
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
1261
1261
  function extendedEncodeURIComponent(str) {
1262
1262
  return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
1263
1263
  return "%" + c.charCodeAt(0).toString(16).toUpperCase();
1264
1264
  });
1265
1265
  }
1266
1266
 
1267
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
1267
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
1268
1268
  var SerdeContext = class {
1269
1269
  serdeContext;
1270
1270
  setSerdeContext(serdeContext) {
@@ -1272,7 +1272,7 @@ var SerdeContext = class {
1272
1272
  }
1273
1273
  };
1274
1274
 
1275
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
1275
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
1276
1276
  var HttpProtocol = class extends SerdeContext {
1277
1277
  options;
1278
1278
  compositeErrorRegistry;
@@ -1383,15 +1383,23 @@ var HttpProtocol = class extends SerdeContext {
1383
1383
  });
1384
1384
  }
1385
1385
  async loadEventStreamCapability() {
1386
- const { EventStreamSerde } = await import("./event-streams-7ZLUNSFX.js");
1386
+ const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-3JEJVYQR.js");
1387
+ const marshaller = this.resolveEventStreamMarshaller(eventStreamSerdeProvider);
1387
1388
  return new EventStreamSerde({
1388
- marshaller: this.getEventStreamMarshaller(),
1389
+ marshaller,
1389
1390
  serializer: this.serializer,
1390
1391
  deserializer: this.deserializer,
1391
1392
  serdeContext: this.serdeContext,
1392
1393
  defaultContentType: this.getDefaultContentType()
1393
1394
  });
1394
1395
  }
1396
+ resolveEventStreamMarshaller(importedProvider) {
1397
+ const context = this.serdeContext;
1398
+ if (context.eventStreamMarshaller) {
1399
+ return context.eventStreamMarshaller;
1400
+ }
1401
+ return importedProvider(this.serdeContext);
1402
+ }
1395
1403
  getDefaultContentType() {
1396
1404
  throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
1397
1405
  }
@@ -1412,7 +1420,7 @@ var HttpProtocol = class extends SerdeContext {
1412
1420
  }
1413
1421
  };
1414
1422
 
1415
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
1423
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
1416
1424
  var HttpBindingProtocol = class extends HttpProtocol {
1417
1425
  async serializeRequest(operationSchema, _input, context) {
1418
1426
  const input = _input && typeof _input === "object" ? _input : {};
@@ -1676,7 +1684,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
1676
1684
  }
1677
1685
  };
1678
1686
 
1679
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
1687
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
1680
1688
  var RpcProtocol = class extends HttpProtocol {
1681
1689
  async serializeRequest(operationSchema, _input, context) {
1682
1690
  const serializer = this.serializer;
@@ -1764,7 +1772,7 @@ var RpcProtocol = class extends HttpProtocol {
1764
1772
  }
1765
1773
  };
1766
1774
 
1767
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
1775
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
1768
1776
  function determineTimestampFormat(ns, settings) {
1769
1777
  if (settings.timestampFormat.useTrait) {
1770
1778
  if (ns.isTimestampSchema() && (ns.getSchema() === 5 || ns.getSchema() === 6 || ns.getSchema() === 7)) {
@@ -1776,7 +1784,7 @@ function determineTimestampFormat(ns, settings) {
1776
1784
  return bindingFormat ?? settings.timestampFormat.default;
1777
1785
  }
1778
1786
 
1779
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
1787
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
1780
1788
  var FromStringShapeDeserializer = class extends SerdeContext {
1781
1789
  settings;
1782
1790
  constructor(settings) {
@@ -1838,7 +1846,7 @@ var FromStringShapeDeserializer = class extends SerdeContext {
1838
1846
  }
1839
1847
  };
1840
1848
 
1841
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
1849
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
1842
1850
  var HttpInterceptingShapeDeserializer = class extends SerdeContext {
1843
1851
  codecDeserializer;
1844
1852
  stringDeserializer;
@@ -1877,7 +1885,7 @@ var HttpInterceptingShapeDeserializer = class extends SerdeContext {
1877
1885
  }
1878
1886
  };
1879
1887
 
1880
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
1888
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
1881
1889
  var ToStringShapeSerializer = class extends SerdeContext {
1882
1890
  settings;
1883
1891
  stringBuffer = "";
@@ -1964,7 +1972,7 @@ var ToStringShapeSerializer = class extends SerdeContext {
1964
1972
  }
1965
1973
  };
1966
1974
 
1967
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
1975
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
1968
1976
  var HttpInterceptingShapeSerializer = class {
1969
1977
  codecSerializer;
1970
1978
  stringSerializer;
@@ -1997,7 +2005,7 @@ var HttpInterceptingShapeSerializer = class {
1997
2005
  }
1998
2006
  };
1999
2007
 
2000
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
2008
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
2001
2009
  var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
2002
2010
  return {
2003
2011
  setHttpHandler(handler) {
@@ -2020,11 +2028,11 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
2020
2028
  };
2021
2029
  };
2022
2030
 
2023
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
2031
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
2024
2032
  var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
2025
2033
  var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
2026
2034
 
2027
- // ../node_modules/.bun/@smithy+core@3.24.6/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
2035
+ // ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
2028
2036
  function buildQueryString(query) {
2029
2037
  const parts = [];
2030
2038
  for (let key of Object.keys(query).sort()) {