@layerzerolabs/vm-tooling 0.0.60 → 0.0.61

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.
Files changed (184) hide show
  1. package/dist/2AQAGKCU.cjs +39 -0
  2. package/dist/2AQAGKCU.cjs.map +1 -0
  3. package/dist/{M6YAIP2X.cjs → 37UR3RSN.cjs} +10 -10
  4. package/dist/{M6YAIP2X.cjs.map → 37UR3RSN.cjs.map} +1 -1
  5. package/dist/{CL6CDQMJ.js → 45K4IRAA.js} +5 -5
  6. package/dist/{CL6CDQMJ.js.map → 45K4IRAA.js.map} +1 -1
  7. package/dist/{IQXSRATS.cjs → 4SZ6P77Q.cjs} +30 -30
  8. package/dist/{IQXSRATS.cjs.map → 4SZ6P77Q.cjs.map} +1 -1
  9. package/dist/{IZVZ5TRG.js → 5QGJ7CFM.js} +5 -5
  10. package/dist/{IZVZ5TRG.js.map → 5QGJ7CFM.js.map} +1 -1
  11. package/dist/{VVTDADG7.cjs → 7WVEMAKW.cjs} +5 -5
  12. package/dist/{VVTDADG7.cjs.map → 7WVEMAKW.cjs.map} +1 -1
  13. package/dist/{VGCATKI5.cjs → AHQNBZE4.cjs} +5 -5
  14. package/dist/{VGCATKI5.cjs.map → AHQNBZE4.cjs.map} +1 -1
  15. package/dist/{4RWETOR3.cjs → AMF2EES3.cjs} +23 -23
  16. package/dist/{4RWETOR3.cjs.map → AMF2EES3.cjs.map} +1 -1
  17. package/dist/{F46O4OAT.js → ARTA3TG2.js} +9 -5
  18. package/dist/ARTA3TG2.js.map +1 -0
  19. package/dist/{OGU6CONG.js → BOOCAPHW.js} +5 -5
  20. package/dist/{OGU6CONG.js.map → BOOCAPHW.js.map} +1 -1
  21. package/dist/{BPGURM6D.js → CJNBA2MN.js} +6 -4
  22. package/dist/CJNBA2MN.js.map +1 -0
  23. package/dist/{72W2AKIC.js → CMSYZVLH.js} +3 -3
  24. package/dist/{72W2AKIC.js.map → CMSYZVLH.js.map} +1 -1
  25. package/dist/CYUSPBTH.cjs +8 -0
  26. package/dist/{YI6EL3AH.cjs.map → CYUSPBTH.cjs.map} +1 -1
  27. package/dist/{NNE5MIRH.cjs → DEL75SYN.cjs} +284 -284
  28. package/dist/{NNE5MIRH.cjs.map → DEL75SYN.cjs.map} +1 -1
  29. package/dist/DPCW4JIV.cjs +53 -0
  30. package/dist/DPCW4JIV.cjs.map +1 -0
  31. package/dist/{DK5YZCTB.cjs → EPPFFBGP.cjs} +13 -13
  32. package/dist/{DK5YZCTB.cjs.map → EPPFFBGP.cjs.map} +1 -1
  33. package/dist/{W7QMZBXR.cjs → F7OAIAEX.cjs} +26 -26
  34. package/dist/{W7QMZBXR.cjs.map → F7OAIAEX.cjs.map} +1 -1
  35. package/dist/{ZGTCJSBO.js → FAOU2ZJO.js} +3 -3
  36. package/dist/{ZGTCJSBO.js.map → FAOU2ZJO.js.map} +1 -1
  37. package/dist/{PSSBUABA.cjs → FI3AZBYE.cjs} +7 -7
  38. package/dist/{PSSBUABA.cjs.map → FI3AZBYE.cjs.map} +1 -1
  39. package/dist/FKPK53TD.cjs +8 -0
  40. package/dist/FKPK53TD.cjs.map +1 -0
  41. package/dist/GSHFVQRI.cjs +8 -0
  42. package/dist/{OOTZHKMN.cjs.map → GSHFVQRI.cjs.map} +1 -1
  43. package/dist/{QO6IEDLG.cjs → HMP4FGDB.cjs} +61 -61
  44. package/dist/{QO6IEDLG.cjs.map → HMP4FGDB.cjs.map} +1 -1
  45. package/dist/{2RWEJQEO.cjs → HN3U775J.cjs} +10 -10
  46. package/dist/{2RWEJQEO.cjs.map → HN3U775J.cjs.map} +1 -1
  47. package/dist/{4EYI4PYN.cjs → HSC5AWAD.cjs} +211 -211
  48. package/dist/{4EYI4PYN.cjs.map → HSC5AWAD.cjs.map} +1 -1
  49. package/dist/{BI33BCZD.js → HVBHNWI7.js} +3 -3
  50. package/dist/{BI33BCZD.js.map → HVBHNWI7.js.map} +1 -1
  51. package/dist/{LJR3ILZB.cjs → IVSX4QVP.cjs} +28 -24
  52. package/dist/IVSX4QVP.cjs.map +1 -0
  53. package/dist/{W3N4CNDW.js → JEOLJJ6F.js} +4 -4
  54. package/dist/{W3N4CNDW.js.map → JEOLJJ6F.js.map} +1 -1
  55. package/dist/{BXO3RC75.cjs → JGLHYXTW.cjs} +17 -17
  56. package/dist/{BXO3RC75.cjs.map → JGLHYXTW.cjs.map} +1 -1
  57. package/dist/{HI4NXK4T.cjs → JLKKDVCL.cjs} +10 -4
  58. package/dist/JLKKDVCL.cjs.map +1 -0
  59. package/dist/{LUO6HP3P.cjs → KFOKN2M2.cjs} +62 -62
  60. package/dist/{LUO6HP3P.cjs.map → KFOKN2M2.cjs.map} +1 -1
  61. package/dist/{OSR73KYW.cjs → KONCDJAL.cjs} +18 -18
  62. package/dist/{OSR73KYW.cjs.map → KONCDJAL.cjs.map} +1 -1
  63. package/dist/M4PGJV5D.js +6 -0
  64. package/dist/M4PGJV5D.js.map +1 -0
  65. package/dist/MMIV5S36.js +51 -0
  66. package/dist/MMIV5S36.js.map +1 -0
  67. package/dist/{JGA7AJCX.js → NX66I36H.js} +8 -2
  68. package/dist/NX66I36H.js.map +1 -0
  69. package/dist/{FUZCR6WN.cjs → OT5L7ME6.cjs} +273 -273
  70. package/dist/{FUZCR6WN.cjs.map → OT5L7ME6.cjs.map} +1 -1
  71. package/dist/{NEQ3DTUV.cjs → OWTMHDOF.cjs} +16 -16
  72. package/dist/{NEQ3DTUV.cjs.map → OWTMHDOF.cjs.map} +1 -1
  73. package/dist/{4UZKQNSD.cjs → OZNFYXME.cjs} +20 -20
  74. package/dist/{4UZKQNSD.cjs.map → OZNFYXME.cjs.map} +1 -1
  75. package/dist/{OAYLBSRH.cjs → P5BPMTGP.cjs} +40 -40
  76. package/dist/{OAYLBSRH.cjs.map → P5BPMTGP.cjs.map} +1 -1
  77. package/dist/{NUB3VR3D.js → QBFQWBQ4.js} +4 -4
  78. package/dist/{NUB3VR3D.js.map → QBFQWBQ4.js.map} +1 -1
  79. package/dist/{64SMUTQJ.cjs → QYB5VPZE.cjs} +5 -5
  80. package/dist/{64SMUTQJ.cjs.map → QYB5VPZE.cjs.map} +1 -1
  81. package/dist/{L5ENV2DK.cjs → SPOUVTPR.cjs} +56 -56
  82. package/dist/{L5ENV2DK.cjs.map → SPOUVTPR.cjs.map} +1 -1
  83. package/dist/{M5C4OTHX.js → TBDZQONT.js} +6 -6
  84. package/dist/{M5C4OTHX.js.map → TBDZQONT.js.map} +1 -1
  85. package/dist/{ABGH4Z56.cjs → TQMUPD75.cjs} +8 -8
  86. package/dist/{ABGH4Z56.cjs.map → TQMUPD75.cjs.map} +1 -1
  87. package/dist/{2X4NOJJL.js → U4OLGGKH.js} +5 -5
  88. package/dist/{2X4NOJJL.js.map → U4OLGGKH.js.map} +1 -1
  89. package/dist/{VO65XOWD.cjs → U7VZULNU.cjs} +2 -5
  90. package/dist/U7VZULNU.cjs.map +1 -0
  91. package/dist/{ZV7VZVS6.js → UHPHZ6AE.js} +3 -3
  92. package/dist/{ZV7VZVS6.js.map → UHPHZ6AE.js.map} +1 -1
  93. package/dist/{KS44PBXU.cjs → UN57VWAW.cjs} +438 -438
  94. package/dist/{KS44PBXU.cjs.map → UN57VWAW.cjs.map} +1 -1
  95. package/dist/{BVLAV47O.cjs → VZOUGVXS.cjs} +9 -9
  96. package/dist/{BVLAV47O.cjs.map → VZOUGVXS.cjs.map} +1 -1
  97. package/dist/{DPDVRYLI.cjs → WDSPHVPJ.cjs} +65 -65
  98. package/dist/{DPDVRYLI.cjs.map → WDSPHVPJ.cjs.map} +1 -1
  99. package/dist/{F2ZPATQF.cjs → WH45T4LS.cjs} +10 -10
  100. package/dist/{F2ZPATQF.cjs.map → WH45T4LS.cjs.map} +1 -1
  101. package/dist/{XOQZ3G2K.cjs → WHAPJZ3U.cjs} +34 -32
  102. package/dist/WHAPJZ3U.cjs.map +1 -0
  103. package/dist/{JWQN2QGP.cjs → Y5ZXTD76.cjs} +147 -147
  104. package/dist/{JWQN2QGP.cjs.map → Y5ZXTD76.cjs.map} +1 -1
  105. package/dist/YNMZEV5X.cjs +11 -0
  106. package/dist/{TC7EHVC2.cjs.map → YNMZEV5X.cjs.map} +1 -1
  107. package/dist/{6SVY3NVF.cjs → ZQZTKVYB.cjs} +22 -22
  108. package/dist/{6SVY3NVF.cjs.map → ZQZTKVYB.cjs.map} +1 -1
  109. package/dist/commands/starknet/build-typescript-sdk.cjs +13 -0
  110. package/dist/commands/starknet/build-typescript-sdk.cjs.map +1 -0
  111. package/dist/commands/starknet/build-typescript-sdk.d.ts +2 -0
  112. package/dist/commands/starknet/build-typescript-sdk.d.ts.map +1 -0
  113. package/dist/commands/starknet/build-typescript-sdk.js +4 -0
  114. package/dist/commands/starknet/build-typescript-sdk.js.map +1 -0
  115. package/dist/commands/starknet/index.cjs +14 -0
  116. package/dist/commands/starknet/index.cjs.map +1 -0
  117. package/dist/commands/starknet/index.d.ts +2 -0
  118. package/dist/commands/starknet/index.d.ts.map +1 -0
  119. package/dist/commands/starknet/index.js +5 -0
  120. package/dist/commands/starknet/index.js.map +1 -0
  121. package/dist/config/index.cjs +9 -9
  122. package/dist/config/index.js +2 -2
  123. package/dist/config/tools.cjs +4 -4
  124. package/dist/config/tools.d.ts.map +1 -1
  125. package/dist/config/tools.js +2 -2
  126. package/dist/config/version-matrices.cjs +3 -3
  127. package/dist/config/version-matrices.d.ts.map +1 -1
  128. package/dist/config/version-matrices.js +1 -1
  129. package/dist/core/compatibility.cjs +3 -3
  130. package/dist/core/index.cjs +14 -14
  131. package/dist/core/index.js +5 -5
  132. package/dist/core/lock.cjs +5 -5
  133. package/dist/core/lock.test.cjs +996 -996
  134. package/dist/core/tool-executor.cjs +9 -9
  135. package/dist/core/tool-executor.d.ts +1 -0
  136. package/dist/core/tool-executor.d.ts.map +1 -1
  137. package/dist/core/tool-executor.js +5 -5
  138. package/dist/core/version-resolver.cjs +8 -8
  139. package/dist/core/version-resolver.js +3 -3
  140. package/dist/display/formatters.cjs +5 -5
  141. package/dist/display/formatters.js +3 -3
  142. package/dist/display/index.cjs +9 -9
  143. package/dist/display/index.js +4 -4
  144. package/dist/display/version-display.cjs +7 -7
  145. package/dist/display/version-display.js +4 -4
  146. package/dist/index.cjs +28 -24
  147. package/dist/index.cjs.map +1 -1
  148. package/dist/index.d.ts.map +1 -1
  149. package/dist/index.js +13 -9
  150. package/dist/index.js.map +1 -1
  151. package/dist/scripts/generate-github-matrix.cjs +298 -299
  152. package/dist/scripts/generate-github-matrix.cjs.map +1 -1
  153. package/dist/scripts/generate-github-matrix.js +9 -10
  154. package/dist/scripts/generate-github-matrix.js.map +1 -1
  155. package/dist/types/docker.cjs +2 -2
  156. package/dist/types/index.cjs +2 -2
  157. package/dist/types/tool.cjs +2 -2
  158. package/dist/types/version.cjs +2 -2
  159. package/dist/types/version.cjs.map +1 -1
  160. package/dist/types/version.d.ts +1 -0
  161. package/dist/types/version.d.ts.map +1 -1
  162. package/dist/types/version.js.map +1 -1
  163. package/dist/utils/docker.cjs +5 -5
  164. package/dist/utils/docker.js +2 -2
  165. package/dist/utils/error.cjs +3 -3
  166. package/dist/utils/finder.cjs +12 -12
  167. package/dist/utils/finder.js +2 -2
  168. package/dist/utils/version.cjs +7 -7
  169. package/dist/utils/version.js +2 -2
  170. package/dist/utils.cjs +6 -6
  171. package/dist/utils.js +2 -2
  172. package/package.json +6 -5
  173. package/dist/AY3IP22W.cjs +0 -39
  174. package/dist/AY3IP22W.cjs.map +0 -1
  175. package/dist/BPGURM6D.js.map +0 -1
  176. package/dist/F46O4OAT.js.map +0 -1
  177. package/dist/HI4NXK4T.cjs.map +0 -1
  178. package/dist/JGA7AJCX.js.map +0 -1
  179. package/dist/LJR3ILZB.cjs.map +0 -1
  180. package/dist/OOTZHKMN.cjs +0 -8
  181. package/dist/TC7EHVC2.cjs +0 -11
  182. package/dist/VO65XOWD.cjs.map +0 -1
  183. package/dist/XOQZ3G2K.cjs.map +0 -1
  184. package/dist/YI6EL3AH.cjs +0 -8
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var NEQ3DTUV_cjs = require('./NEQ3DTUV.cjs');
4
- var VO65XOWD_cjs = require('./VO65XOWD.cjs');
3
+ var OWTMHDOF_cjs = require('./OWTMHDOF.cjs');
4
+ var U7VZULNU_cjs = require('./U7VZULNU.cjs');
5
5
 
6
6
  // ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js
7
- VO65XOWD_cjs.init_cjs_shims();
7
+ U7VZULNU_cjs.init_cjs_shims();
8
8
 
9
9
  // ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js
10
- VO65XOWD_cjs.init_cjs_shims();
10
+ U7VZULNU_cjs.init_cjs_shims();
11
11
  var EventStreamSerde = class {
12
12
  static {
13
- VO65XOWD_cjs.__name(this, "EventStreamSerde");
13
+ U7VZULNU_cjs.__name(this, "EventStreamSerde");
14
14
  }
15
15
  constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType }) {
16
16
  this.marshaller = marshaller;
@@ -155,7 +155,7 @@ var EventStreamSerde = class {
155
155
  if (!isKnownSchema) {
156
156
  const [type, value] = event[unionMember];
157
157
  eventType = type;
158
- serializer.write(NEQ3DTUV_cjs.SCHEMA.DOCUMENT, value);
158
+ serializer.write(OWTMHDOF_cjs.SCHEMA.DOCUMENT, value);
159
159
  } else {
160
160
  const eventSchema = unionSchema.getMemberSchema(unionMember);
161
161
  if (eventSchema.isStructSchema()) {
@@ -205,7 +205,7 @@ var EventStreamSerde = class {
205
205
  }
206
206
  }
207
207
  const messageSerialization = serializer.flush();
208
- const body = typeof messageSerialization === "string" ? (this.serdeContext?.utf8Decoder ?? NEQ3DTUV_cjs.fromUtf8)(messageSerialization) : messageSerialization;
208
+ const body = typeof messageSerialization === "string" ? (this.serdeContext?.utf8Decoder ?? OWTMHDOF_cjs.fromUtf8)(messageSerialization) : messageSerialization;
209
209
  return {
210
210
  body,
211
211
  eventType,
@@ -216,5 +216,5 @@ var EventStreamSerde = class {
216
216
  };
217
217
 
218
218
  exports.EventStreamSerde = EventStreamSerde;
219
- //# sourceMappingURL=BVLAV47O.cjs.map
220
- //# sourceMappingURL=BVLAV47O.cjs.map
219
+ //# sourceMappingURL=VZOUGVXS.cjs.map
220
+ //# sourceMappingURL=VZOUGVXS.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js","../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js"],"names":["init_cjs_shims","EventStreamSerde","marshaller","serializer","deserializer","serdeContext","defaultContentType","serializeEventStream","eventStream","requestSchema","initialRequest","eventStreamMember","getEventStreamMember","unionSchema","getMemberSchema","getMemberSchemas","initialRequestMarker","Symbol","eventStreamIterable","asyncIterator","headers","type","value","write","body","flush","page","serialize","event","unionMember","Object","keys","find","key","additionalHeaders","eventType","explicitPayloadContentType","writeEventBody","deserializeEventStream","response","responseSchema","initialResponseContainer","memberSchemas","initialResponseMarker","asyncIterable","deserialize","dataObject","read","eventStreamSchema","$unknown","firstEvent","next","done","Error","entries","explicitPayloadMember","isKnownSchema","hasMemberSchema","SCHEMA","DOCUMENT","eventSchema","isStructSchema","memberName","memberSchema","structIterator","eventHeader","eventPayload","getMergedTraits","isNumericSchema","isTimestampSchema","isStringSchema","isBooleanSchema","payloadSchema","isBlobSchema","messageSerialization","utf8Decoder","fromUtf8"],"mappings":";;;;;;AAAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;AAEO,IAAMC,mBAAN,MAAMA;EAFb;;;AAGI,EAAA,WAAA,CAAY,EAAEC,UAAAA,EAAYC,UAAAA,EAAYC,YAAAA,EAAcC,YAAAA,EAAcC,oBAAkB,EAAK;AACrF,IAAA,IAAA,CAAKJ,UAAAA,GAAaA,UAAAA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IAAA,MAAMqB,oBAAAA,GAAuBvE,WAAWsB,KAAAA,EAAK;AAC7C,IAAA,MAAMD,IAAAA,GAAO,OAAOkD,oBAAAA,KAAyB,QAAA,GAAA,CACtC,KAAKrE,YAAAA,EAAcsE,WAAAA,IAAeC,qBAAAA,EAAUF,oBAAAA,CAAAA,GAC7CA,oBAAAA;AACN,IAAA,OAAO;AACHlD,MAAAA,IAAAA;AACAW,MAAAA,SAAAA;AACAC,MAAAA,0BAAAA;AACAF,MAAAA;AACJ,KAAA;AACJ,EAAA;AACJ","file":"BVLAV47O.cjs","sourcesContent":["export * from \"./EventStreamSerde\";\n","import { SCHEMA } from \"@smithy/core/schema\";\nimport { fromUtf8 } from \"@smithy/util-utf8\";\nexport class EventStreamSerde {\n constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }) {\n this.marshaller = marshaller;\n this.serializer = serializer;\n this.deserializer = deserializer;\n this.serdeContext = serdeContext;\n this.defaultContentType = defaultContentType;\n }\n async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {\n const marshaller = this.marshaller;\n const eventStreamMember = requestSchema.getEventStreamMember();\n const unionSchema = requestSchema.getMemberSchema(eventStreamMember);\n const memberSchemas = unionSchema.getMemberSchemas();\n const serializer = this.serializer;\n const defaultContentType = this.defaultContentType;\n const initialRequestMarker = Symbol(\"initialRequestMarker\");\n const eventStreamIterable = {\n async *[Symbol.asyncIterator]() {\n if (initialRequest) {\n const headers = {\n \":event-type\": { type: \"string\", value: \"initial-request\" },\n \":message-type\": { type: \"string\", value: \"event\" },\n \":content-type\": { type: \"string\", value: defaultContentType },\n };\n serializer.write(requestSchema, initialRequest);\n const body = serializer.flush();\n yield {\n [initialRequestMarker]: true,\n headers,\n body,\n };\n }\n for await (const page of eventStream) {\n yield page;\n }\n },\n };\n return marshaller.serialize(eventStreamIterable, (event) => {\n if (event[initialRequestMarker]) {\n return {\n headers: event.headers,\n body: event.body,\n };\n }\n const unionMember = Object.keys(event).find((key) => {\n return key !== \"__type\";\n }) ?? \"\";\n const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event);\n const headers = {\n \":event-type\": { type: \"string\", value: eventType },\n \":message-type\": { type: \"string\", value: \"event\" },\n \":content-type\": { type: \"string\", value: explicitPayloadContentType ?? defaultContentType },\n ...additionalHeaders,\n };\n return {\n headers,\n body,\n };\n });\n }\n async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {\n const marshaller = this.marshaller;\n const eventStreamMember = responseSchema.getEventStreamMember();\n const unionSchema = responseSchema.getMemberSchema(eventStreamMember);\n const memberSchemas = unionSchema.getMemberSchemas();\n const initialResponseMarker = Symbol(\"initialResponseMarker\");\n const asyncIterable = marshaller.deserialize(response.body, async (event) => {\n const unionMember = Object.keys(event).find((key) => {\n return key !== \"__type\";\n }) ?? \"\";\n if (unionMember === \"initial-response\") {\n const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);\n delete dataObject[eventStreamMember];\n return {\n [initialResponseMarker]: true,\n ...dataObject,\n };\n }\n else if (unionMember in memberSchemas) {\n const eventStreamSchema = memberSchemas[unionMember];\n return {\n [unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body),\n };\n }\n else {\n return {\n $unknown: event,\n };\n }\n });\n const asyncIterator = asyncIterable[Symbol.asyncIterator]();\n const firstEvent = await asyncIterator.next();\n if (firstEvent.done) {\n return asyncIterable;\n }\n if (firstEvent.value?.[initialResponseMarker]) {\n if (!responseSchema) {\n throw new Error(\"@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.\");\n }\n for (const [key, value] of Object.entries(firstEvent.value)) {\n initialResponseContainer[key] = value;\n }\n }\n return {\n async *[Symbol.asyncIterator]() {\n if (!firstEvent?.value?.[initialResponseMarker]) {\n yield firstEvent.value;\n }\n while (true) {\n const { done, value } = await asyncIterator.next();\n if (done) {\n break;\n }\n yield value;\n }\n },\n };\n }\n writeEventBody(unionMember, unionSchema, event) {\n const serializer = this.serializer;\n let eventType = unionMember;\n let explicitPayloadMember = null;\n let explicitPayloadContentType;\n const isKnownSchema = unionSchema.hasMemberSchema(unionMember);\n const additionalHeaders = {};\n if (!isKnownSchema) {\n const [type, value] = event[unionMember];\n eventType = type;\n serializer.write(SCHEMA.DOCUMENT, value);\n }\n else {\n const eventSchema = unionSchema.getMemberSchema(unionMember);\n if (eventSchema.isStructSchema()) {\n for (const [memberName, memberSchema] of eventSchema.structIterator()) {\n const { eventHeader, eventPayload } = memberSchema.getMergedTraits();\n if (eventPayload) {\n explicitPayloadMember = memberName;\n break;\n }\n else if (eventHeader) {\n const value = event[unionMember][memberName];\n let type = \"binary\";\n if (memberSchema.isNumericSchema()) {\n if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) {\n type = \"integer\";\n }\n else {\n type = \"long\";\n }\n }\n else if (memberSchema.isTimestampSchema()) {\n type = \"timestamp\";\n }\n else if (memberSchema.isStringSchema()) {\n type = \"string\";\n }\n else if (memberSchema.isBooleanSchema()) {\n type = \"boolean\";\n }\n if (value != null) {\n additionalHeaders[memberName] = {\n type,\n value,\n };\n delete event[unionMember][memberName];\n }\n }\n }\n if (explicitPayloadMember !== null) {\n const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember);\n if (payloadSchema.isBlobSchema()) {\n explicitPayloadContentType = \"application/octet-stream\";\n }\n else if (payloadSchema.isStringSchema()) {\n explicitPayloadContentType = \"text/plain\";\n }\n serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]);\n }\n else {\n serializer.write(eventSchema, event[unionMember]);\n }\n }\n else {\n throw new Error(\"@smithy/core/event-streams - non-struct member not supported in event stream union.\");\n }\n }\n const messageSerialization = serializer.flush();\n const body = typeof messageSerialization === \"string\"\n ? (this.serdeContext?.utf8Decoder ?? fromUtf8)(messageSerialization)\n : messageSerialization;\n return {\n body,\n eventType,\n explicitPayloadContentType,\n additionalHeaders,\n };\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/event-streams/index.js","../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js"],"names":["init_cjs_shims","EventStreamSerde","marshaller","serializer","deserializer","serdeContext","defaultContentType","serializeEventStream","eventStream","requestSchema","initialRequest","eventStreamMember","getEventStreamMember","unionSchema","getMemberSchema","getMemberSchemas","initialRequestMarker","Symbol","eventStreamIterable","asyncIterator","headers","type","value","write","body","flush","page","serialize","event","unionMember","Object","keys","find","key","additionalHeaders","eventType","explicitPayloadContentType","writeEventBody","deserializeEventStream","response","responseSchema","initialResponseContainer","memberSchemas","initialResponseMarker","asyncIterable","deserialize","dataObject","read","eventStreamSchema","$unknown","firstEvent","next","done","Error","entries","explicitPayloadMember","isKnownSchema","hasMemberSchema","SCHEMA","DOCUMENT","eventSchema","isStructSchema","memberName","memberSchema","structIterator","eventHeader","eventPayload","getMergedTraits","isNumericSchema","isTimestampSchema","isStringSchema","isBooleanSchema","payloadSchema","isBlobSchema","messageSerialization","utf8Decoder","fromUtf8"],"mappings":";;;;;;AAAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;AAEO,IAAMC,mBAAN,MAAMA;EAFb;;;AAGI,EAAA,WAAA,CAAY,EAAEC,UAAAA,EAAYC,UAAAA,EAAYC,YAAAA,EAAcC,YAAAA,EAAcC,oBAAkB,EAAK;AACrF,IAAA,IAAA,CAAKJ,UAAAA,GAAaA,UAAAA;AAClB,IAAA,IAAA,CAAKC,UAAAA,GAAaA,UAAAA;AAClB,IAAA,IAAA,CAAKC,YAAAA,GAAeA,YAAAA;AACpB,IAAA,IAAA,CAAKC,YAAAA,GAAeA,YAAAA;AACpB,IAAA,IAAA,CAAKC,kBAAAA,GAAqBA,kBAAAA;AAC9B,EAAA;AACA,EAAA,MAAMC,oBAAAA,CAAqB,EAAEC,WAAAA,EAAaC,aAAAA,EAAeC,gBAAc,EAAK;AACxE,IAAA,MAAMR,aAAa,IAAA,CAAKA,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,EAAA;AACJ","file":"VZOUGVXS.cjs","sourcesContent":["export * from \"./EventStreamSerde\";\n","import { SCHEMA } from \"@smithy/core/schema\";\nimport { fromUtf8 } from \"@smithy/util-utf8\";\nexport class EventStreamSerde {\n constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, }) {\n this.marshaller = marshaller;\n this.serializer = serializer;\n this.deserializer = deserializer;\n this.serdeContext = serdeContext;\n this.defaultContentType = defaultContentType;\n }\n async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {\n const marshaller = this.marshaller;\n const eventStreamMember = requestSchema.getEventStreamMember();\n const unionSchema = requestSchema.getMemberSchema(eventStreamMember);\n const memberSchemas = unionSchema.getMemberSchemas();\n const serializer = this.serializer;\n const defaultContentType = this.defaultContentType;\n const initialRequestMarker = Symbol(\"initialRequestMarker\");\n const eventStreamIterable = {\n async *[Symbol.asyncIterator]() {\n if (initialRequest) {\n const headers = {\n \":event-type\": { type: \"string\", value: \"initial-request\" },\n \":message-type\": { type: \"string\", value: \"event\" },\n \":content-type\": { type: \"string\", value: defaultContentType },\n };\n serializer.write(requestSchema, initialRequest);\n const body = serializer.flush();\n yield {\n [initialRequestMarker]: true,\n headers,\n body,\n };\n }\n for await (const page of eventStream) {\n yield page;\n }\n },\n };\n return marshaller.serialize(eventStreamIterable, (event) => {\n if (event[initialRequestMarker]) {\n return {\n headers: event.headers,\n body: event.body,\n };\n }\n const unionMember = Object.keys(event).find((key) => {\n return key !== \"__type\";\n }) ?? \"\";\n const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event);\n const headers = {\n \":event-type\": { type: \"string\", value: eventType },\n \":message-type\": { type: \"string\", value: \"event\" },\n \":content-type\": { type: \"string\", value: explicitPayloadContentType ?? defaultContentType },\n ...additionalHeaders,\n };\n return {\n headers,\n body,\n };\n });\n }\n async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {\n const marshaller = this.marshaller;\n const eventStreamMember = responseSchema.getEventStreamMember();\n const unionSchema = responseSchema.getMemberSchema(eventStreamMember);\n const memberSchemas = unionSchema.getMemberSchemas();\n const initialResponseMarker = Symbol(\"initialResponseMarker\");\n const asyncIterable = marshaller.deserialize(response.body, async (event) => {\n const unionMember = Object.keys(event).find((key) => {\n return key !== \"__type\";\n }) ?? \"\";\n if (unionMember === \"initial-response\") {\n const dataObject = await this.deserializer.read(responseSchema, event[unionMember].body);\n delete dataObject[eventStreamMember];\n return {\n [initialResponseMarker]: true,\n ...dataObject,\n };\n }\n else if (unionMember in memberSchemas) {\n const eventStreamSchema = memberSchemas[unionMember];\n return {\n [unionMember]: await this.deserializer.read(eventStreamSchema, event[unionMember].body),\n };\n }\n else {\n return {\n $unknown: event,\n };\n }\n });\n const asyncIterator = asyncIterable[Symbol.asyncIterator]();\n const firstEvent = await asyncIterator.next();\n if (firstEvent.done) {\n return asyncIterable;\n }\n if (firstEvent.value?.[initialResponseMarker]) {\n if (!responseSchema) {\n throw new Error(\"@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.\");\n }\n for (const [key, value] of Object.entries(firstEvent.value)) {\n initialResponseContainer[key] = value;\n }\n }\n return {\n async *[Symbol.asyncIterator]() {\n if (!firstEvent?.value?.[initialResponseMarker]) {\n yield firstEvent.value;\n }\n while (true) {\n const { done, value } = await asyncIterator.next();\n if (done) {\n break;\n }\n yield value;\n }\n },\n };\n }\n writeEventBody(unionMember, unionSchema, event) {\n const serializer = this.serializer;\n let eventType = unionMember;\n let explicitPayloadMember = null;\n let explicitPayloadContentType;\n const isKnownSchema = unionSchema.hasMemberSchema(unionMember);\n const additionalHeaders = {};\n if (!isKnownSchema) {\n const [type, value] = event[unionMember];\n eventType = type;\n serializer.write(SCHEMA.DOCUMENT, value);\n }\n else {\n const eventSchema = unionSchema.getMemberSchema(unionMember);\n if (eventSchema.isStructSchema()) {\n for (const [memberName, memberSchema] of eventSchema.structIterator()) {\n const { eventHeader, eventPayload } = memberSchema.getMergedTraits();\n if (eventPayload) {\n explicitPayloadMember = memberName;\n break;\n }\n else if (eventHeader) {\n const value = event[unionMember][memberName];\n let type = \"binary\";\n if (memberSchema.isNumericSchema()) {\n if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) {\n type = \"integer\";\n }\n else {\n type = \"long\";\n }\n }\n else if (memberSchema.isTimestampSchema()) {\n type = \"timestamp\";\n }\n else if (memberSchema.isStringSchema()) {\n type = \"string\";\n }\n else if (memberSchema.isBooleanSchema()) {\n type = \"boolean\";\n }\n if (value != null) {\n additionalHeaders[memberName] = {\n type,\n value,\n };\n delete event[unionMember][memberName];\n }\n }\n }\n if (explicitPayloadMember !== null) {\n const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember);\n if (payloadSchema.isBlobSchema()) {\n explicitPayloadContentType = \"application/octet-stream\";\n }\n else if (payloadSchema.isStringSchema()) {\n explicitPayloadContentType = \"text/plain\";\n }\n serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]);\n }\n else {\n serializer.write(eventSchema, event[unionMember]);\n }\n }\n else {\n throw new Error(\"@smithy/core/event-streams - non-struct member not supported in event stream union.\");\n }\n }\n const messageSerialization = serializer.flush();\n const body = typeof messageSerialization === \"string\"\n ? (this.serdeContext?.utf8Decoder ?? fromUtf8)(messageSerialization)\n : messageSerialization;\n return {\n body,\n eventType,\n explicitPayloadContentType,\n additionalHeaders,\n };\n }\n}\n"]}
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
- var VO65XOWD_cjs = require('./VO65XOWD.cjs');
3
+ var U7VZULNU_cjs = require('./U7VZULNU.cjs');
4
4
 
5
5
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/middleware.js
6
- VO65XOWD_cjs.init_cjs_shims();
6
+ U7VZULNU_cjs.init_cjs_shims();
7
7
  var SMITHY_CONTEXT_KEY = "__smithy_context";
8
8
 
9
9
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/index.js
10
- VO65XOWD_cjs.init_cjs_shims();
10
+ U7VZULNU_cjs.init_cjs_shims();
11
11
 
12
12
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/abort.js
13
- VO65XOWD_cjs.init_cjs_shims();
13
+ U7VZULNU_cjs.init_cjs_shims();
14
14
 
15
15
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/index.js
16
- VO65XOWD_cjs.init_cjs_shims();
16
+ U7VZULNU_cjs.init_cjs_shims();
17
17
 
18
18
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/auth.js
19
- VO65XOWD_cjs.init_cjs_shims();
19
+ U7VZULNU_cjs.init_cjs_shims();
20
20
  var HttpAuthLocation;
21
21
  (function(HttpAuthLocation2) {
22
22
  HttpAuthLocation2["HEADER"] = "header";
@@ -24,7 +24,7 @@ var HttpAuthLocation;
24
24
  })(HttpAuthLocation || (HttpAuthLocation = {}));
25
25
 
26
26
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js
27
- VO65XOWD_cjs.init_cjs_shims();
27
+ U7VZULNU_cjs.init_cjs_shims();
28
28
  var HttpApiKeyAuthLocation;
29
29
  (function(HttpApiKeyAuthLocation2) {
30
30
  HttpApiKeyAuthLocation2["HEADER"] = "header";
@@ -32,49 +32,49 @@ var HttpApiKeyAuthLocation;
32
32
  })(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));
33
33
 
34
34
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js
35
- VO65XOWD_cjs.init_cjs_shims();
35
+ U7VZULNU_cjs.init_cjs_shims();
36
36
 
37
37
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js
38
- VO65XOWD_cjs.init_cjs_shims();
38
+ U7VZULNU_cjs.init_cjs_shims();
39
39
 
40
40
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpSigner.js
41
- VO65XOWD_cjs.init_cjs_shims();
41
+ U7VZULNU_cjs.init_cjs_shims();
42
42
 
43
43
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js
44
- VO65XOWD_cjs.init_cjs_shims();
44
+ U7VZULNU_cjs.init_cjs_shims();
45
45
 
46
46
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js
47
- VO65XOWD_cjs.init_cjs_shims();
47
+ U7VZULNU_cjs.init_cjs_shims();
48
48
 
49
49
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/checksum.js
50
- VO65XOWD_cjs.init_cjs_shims();
50
+ U7VZULNU_cjs.init_cjs_shims();
51
51
 
52
52
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/client.js
53
- VO65XOWD_cjs.init_cjs_shims();
53
+ U7VZULNU_cjs.init_cjs_shims();
54
54
 
55
55
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/command.js
56
- VO65XOWD_cjs.init_cjs_shims();
56
+ U7VZULNU_cjs.init_cjs_shims();
57
57
 
58
58
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/index.js
59
- VO65XOWD_cjs.init_cjs_shims();
59
+ U7VZULNU_cjs.init_cjs_shims();
60
60
 
61
61
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/config.js
62
- VO65XOWD_cjs.init_cjs_shims();
62
+ U7VZULNU_cjs.init_cjs_shims();
63
63
 
64
64
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/manager.js
65
- VO65XOWD_cjs.init_cjs_shims();
65
+ U7VZULNU_cjs.init_cjs_shims();
66
66
 
67
67
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/pool.js
68
- VO65XOWD_cjs.init_cjs_shims();
68
+ U7VZULNU_cjs.init_cjs_shims();
69
69
 
70
70
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/crypto.js
71
- VO65XOWD_cjs.init_cjs_shims();
71
+ U7VZULNU_cjs.init_cjs_shims();
72
72
 
73
73
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/encode.js
74
- VO65XOWD_cjs.init_cjs_shims();
74
+ U7VZULNU_cjs.init_cjs_shims();
75
75
 
76
76
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoint.js
77
- VO65XOWD_cjs.init_cjs_shims();
77
+ U7VZULNU_cjs.init_cjs_shims();
78
78
  exports.EndpointURLScheme = void 0;
79
79
  (function(EndpointURLScheme2) {
80
80
  EndpointURLScheme2["HTTP"] = "http";
@@ -82,34 +82,34 @@ exports.EndpointURLScheme = void 0;
82
82
  })(exports.EndpointURLScheme || (exports.EndpointURLScheme = {}));
83
83
 
84
84
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/index.js
85
- VO65XOWD_cjs.init_cjs_shims();
85
+ U7VZULNU_cjs.init_cjs_shims();
86
86
 
87
87
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js
88
- VO65XOWD_cjs.init_cjs_shims();
88
+ U7VZULNU_cjs.init_cjs_shims();
89
89
 
90
90
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js
91
- VO65XOWD_cjs.init_cjs_shims();
91
+ U7VZULNU_cjs.init_cjs_shims();
92
92
 
93
93
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js
94
- VO65XOWD_cjs.init_cjs_shims();
94
+ U7VZULNU_cjs.init_cjs_shims();
95
95
 
96
96
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/shared.js
97
- VO65XOWD_cjs.init_cjs_shims();
97
+ U7VZULNU_cjs.init_cjs_shims();
98
98
 
99
99
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js
100
- VO65XOWD_cjs.init_cjs_shims();
100
+ U7VZULNU_cjs.init_cjs_shims();
101
101
 
102
102
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/eventStream.js
103
- VO65XOWD_cjs.init_cjs_shims();
103
+ U7VZULNU_cjs.init_cjs_shims();
104
104
 
105
105
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/index.js
106
- VO65XOWD_cjs.init_cjs_shims();
106
+ U7VZULNU_cjs.init_cjs_shims();
107
107
 
108
108
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js
109
- VO65XOWD_cjs.init_cjs_shims();
109
+ U7VZULNU_cjs.init_cjs_shims();
110
110
 
111
111
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/checksum.js
112
- VO65XOWD_cjs.init_cjs_shims();
112
+ U7VZULNU_cjs.init_cjs_shims();
113
113
  exports.AlgorithmId = void 0;
114
114
  (function(AlgorithmId2) {
115
115
  AlgorithmId2["MD5"] = "md5";
@@ -120,13 +120,13 @@ exports.AlgorithmId = void 0;
120
120
  })(exports.AlgorithmId || (exports.AlgorithmId = {}));
121
121
 
122
122
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js
123
- VO65XOWD_cjs.init_cjs_shims();
123
+ U7VZULNU_cjs.init_cjs_shims();
124
124
 
125
125
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/feature-ids.js
126
- VO65XOWD_cjs.init_cjs_shims();
126
+ U7VZULNU_cjs.init_cjs_shims();
127
127
 
128
128
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http.js
129
- VO65XOWD_cjs.init_cjs_shims();
129
+ U7VZULNU_cjs.init_cjs_shims();
130
130
  var FieldPosition;
131
131
  (function(FieldPosition2) {
132
132
  FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER";
@@ -134,31 +134,31 @@ var FieldPosition;
134
134
  })(FieldPosition || (FieldPosition = {}));
135
135
 
136
136
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js
137
- VO65XOWD_cjs.init_cjs_shims();
137
+ U7VZULNU_cjs.init_cjs_shims();
138
138
 
139
139
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/index.js
140
- VO65XOWD_cjs.init_cjs_shims();
140
+ U7VZULNU_cjs.init_cjs_shims();
141
141
 
142
142
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js
143
- VO65XOWD_cjs.init_cjs_shims();
143
+ U7VZULNU_cjs.init_cjs_shims();
144
144
 
145
145
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js
146
- VO65XOWD_cjs.init_cjs_shims();
146
+ U7VZULNU_cjs.init_cjs_shims();
147
147
 
148
148
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/identity.js
149
- VO65XOWD_cjs.init_cjs_shims();
149
+ U7VZULNU_cjs.init_cjs_shims();
150
150
 
151
151
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js
152
- VO65XOWD_cjs.init_cjs_shims();
152
+ U7VZULNU_cjs.init_cjs_shims();
153
153
 
154
154
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/logger.js
155
- VO65XOWD_cjs.init_cjs_shims();
155
+ U7VZULNU_cjs.init_cjs_shims();
156
156
 
157
157
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/pagination.js
158
- VO65XOWD_cjs.init_cjs_shims();
158
+ U7VZULNU_cjs.init_cjs_shims();
159
159
 
160
160
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/profile.js
161
- VO65XOWD_cjs.init_cjs_shims();
161
+ U7VZULNU_cjs.init_cjs_shims();
162
162
  exports.IniSectionType = void 0;
163
163
  (function(IniSectionType2) {
164
164
  IniSectionType2["PROFILE"] = "profile";
@@ -167,40 +167,40 @@ exports.IniSectionType = void 0;
167
167
  })(exports.IniSectionType || (exports.IniSectionType = {}));
168
168
 
169
169
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/response.js
170
- VO65XOWD_cjs.init_cjs_shims();
170
+ U7VZULNU_cjs.init_cjs_shims();
171
171
 
172
172
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/retry.js
173
- VO65XOWD_cjs.init_cjs_shims();
173
+ U7VZULNU_cjs.init_cjs_shims();
174
174
 
175
175
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/schema.js
176
- VO65XOWD_cjs.init_cjs_shims();
176
+ U7VZULNU_cjs.init_cjs_shims();
177
177
 
178
178
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/sentinels.js
179
- VO65XOWD_cjs.init_cjs_shims();
179
+ U7VZULNU_cjs.init_cjs_shims();
180
180
 
181
181
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/serde.js
182
- VO65XOWD_cjs.init_cjs_shims();
182
+ U7VZULNU_cjs.init_cjs_shims();
183
183
 
184
184
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/shapes.js
185
- VO65XOWD_cjs.init_cjs_shims();
185
+ U7VZULNU_cjs.init_cjs_shims();
186
186
 
187
187
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/signature.js
188
- VO65XOWD_cjs.init_cjs_shims();
188
+ U7VZULNU_cjs.init_cjs_shims();
189
189
 
190
190
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/stream.js
191
- VO65XOWD_cjs.init_cjs_shims();
191
+ U7VZULNU_cjs.init_cjs_shims();
192
192
 
193
193
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js
194
- VO65XOWD_cjs.init_cjs_shims();
194
+ U7VZULNU_cjs.init_cjs_shims();
195
195
 
196
196
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js
197
- VO65XOWD_cjs.init_cjs_shims();
197
+ U7VZULNU_cjs.init_cjs_shims();
198
198
 
199
199
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js
200
- VO65XOWD_cjs.init_cjs_shims();
200
+ U7VZULNU_cjs.init_cjs_shims();
201
201
 
202
202
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transfer.js
203
- VO65XOWD_cjs.init_cjs_shims();
203
+ U7VZULNU_cjs.init_cjs_shims();
204
204
  var RequestHandlerProtocol;
205
205
  (function(RequestHandlerProtocol2) {
206
206
  RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9";
@@ -209,26 +209,26 @@ var RequestHandlerProtocol;
209
209
  })(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
210
210
 
211
211
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js
212
- VO65XOWD_cjs.init_cjs_shims();
212
+ U7VZULNU_cjs.init_cjs_shims();
213
213
 
214
214
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/mutable.js
215
- VO65XOWD_cjs.init_cjs_shims();
215
+ U7VZULNU_cjs.init_cjs_shims();
216
216
 
217
217
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/no-undefined.js
218
- VO65XOWD_cjs.init_cjs_shims();
218
+ U7VZULNU_cjs.init_cjs_shims();
219
219
 
220
220
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/type-transform.js
221
- VO65XOWD_cjs.init_cjs_shims();
221
+ U7VZULNU_cjs.init_cjs_shims();
222
222
 
223
223
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/uri.js
224
- VO65XOWD_cjs.init_cjs_shims();
224
+ U7VZULNU_cjs.init_cjs_shims();
225
225
 
226
226
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/util.js
227
- VO65XOWD_cjs.init_cjs_shims();
227
+ U7VZULNU_cjs.init_cjs_shims();
228
228
 
229
229
  // ../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/waiter.js
230
- VO65XOWD_cjs.init_cjs_shims();
230
+ U7VZULNU_cjs.init_cjs_shims();
231
231
 
232
232
  exports.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY;
233
- //# sourceMappingURL=DPDVRYLI.cjs.map
234
- //# sourceMappingURL=DPDVRYLI.cjs.map
233
+ //# sourceMappingURL=WDSPHVPJ.cjs.map
234
+ //# sourceMappingURL=WDSPHVPJ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/middleware.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/abort.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/auth.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpSigner.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/checksum.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/client.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/command.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/config.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/manager.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/pool.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/crypto.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/encode.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoint.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/shared.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/eventStream.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/checksum.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/feature-ids.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/identity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/logger.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/pagination.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/profile.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/response.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/retry.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/schema.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/sentinels.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/serde.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/shapes.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/signature.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/stream.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transfer.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/mutable.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/no-undefined.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/type-transform.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/uri.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/util.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/waiter.js"],"names":["init_cjs_shims","SMITHY_CONTEXT_KEY","HttpAuthLocation","HttpApiKeyAuthLocation","EndpointURLScheme","AlgorithmId","FieldPosition","IniSectionType","RequestHandlerProtocol"],"mappings":";;;;;AAAAA,2BAAA,EAAA;AAAO,IAAMC,kBAAAA,GAAqB;;;ACAlCD,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;AAAO,IAAIE,gBAAAA;AACV,CAAA,SAAUA,iBAAAA,EAAgB;AACvBA,EAAAA,iBAAAA,CAAiB,QAAA,CAAA,GAAY,QAAA;AAC7BA,EAAAA,iBAAAA,CAAiB,OAAA,CAAA,GAAW,OAAA;AAChC,CAAA,EAAGA,gBAAAA,KAAqBA,gBAAAA,GAAmB,EAAC,CAAA,CAAA;;;ACJ5CF,2BAAA,EAAA;AAAO,IAAIG,sBAAAA;AACV,CAAA,SAAUA,uBAAAA,EAAsB;AAC7BA,EAAAA,uBAAAA,CAAuB,QAAA,CAAA,GAAY,QAAA;AACnCA,EAAAA,uBAAAA,CAAuB,OAAA,CAAA,GAAW,OAAA;AACtC,CAAA,EAAGA,sBAAAA,KAA2BA,sBAAAA,GAAyB,EAAC,CAAA,CAAA;;;ACJxDH,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;AC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;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA","file":"DPDVRYLI.cjs","sourcesContent":["export const SMITHY_CONTEXT_KEY = \"__smithy_context\";\n","export * from \"./abort\";\nexport * from \"./auth\";\nexport * from \"./blob/blob-payload-input-types\";\nexport * from \"./checksum\";\nexport * from \"./client\";\nexport * from \"./command\";\nexport * from \"./connection\";\nexport * from \"./crypto\";\nexport * from \"./encode\";\nexport * from \"./endpoint\";\nexport * from \"./endpoints\";\nexport * from \"./eventStream\";\nexport * from \"./extensions\";\nexport * from \"./feature-ids\";\nexport * from \"./http\";\nexport * from \"./http/httpHandlerInitialization\";\nexport * from \"./identity\";\nexport * from \"./logger\";\nexport * from \"./middleware\";\nexport * from \"./pagination\";\nexport * from \"./profile\";\nexport * from \"./response\";\nexport * from \"./retry\";\nexport * from \"./schema/schema\";\nexport * from \"./schema/sentinels\";\nexport * from \"./serde\";\nexport * from \"./shapes\";\nexport * from \"./signature\";\nexport * from \"./stream\";\nexport * from \"./streaming-payload/streaming-blob-common-types\";\nexport * from \"./streaming-payload/streaming-blob-payload-input-types\";\nexport * from \"./streaming-payload/streaming-blob-payload-output-types\";\nexport * from \"./transfer\";\nexport * from \"./transform/client-payload-blob-type-narrow\";\nexport * from \"./transform/mutable\";\nexport * from \"./transform/no-undefined\";\nexport * from \"./transform/type-transform\";\nexport * from \"./uri\";\nexport * from \"./util\";\nexport * from \"./waiter\";\n","export {};\n","export * from \"./auth\";\nexport * from \"./HttpApiKeyAuth\";\nexport * from \"./HttpAuthScheme\";\nexport * from \"./HttpAuthSchemeProvider\";\nexport * from \"./HttpSigner\";\nexport * from \"./IdentityProviderConfig\";\n","export var HttpAuthLocation;\n(function (HttpAuthLocation) {\n HttpAuthLocation[\"HEADER\"] = \"header\";\n HttpAuthLocation[\"QUERY\"] = \"query\";\n})(HttpAuthLocation || (HttpAuthLocation = {}));\n","export var HttpApiKeyAuthLocation;\n(function (HttpApiKeyAuthLocation) {\n HttpApiKeyAuthLocation[\"HEADER\"] = \"header\";\n HttpApiKeyAuthLocation[\"QUERY\"] = \"query\";\n})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export * from \"./config\";\nexport * from \"./manager\";\nexport * from \"./pool\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var EndpointURLScheme;\n(function (EndpointURLScheme) {\n EndpointURLScheme[\"HTTP\"] = \"http\";\n EndpointURLScheme[\"HTTPS\"] = \"https\";\n})(EndpointURLScheme || (EndpointURLScheme = {}));\n","export * from \"./EndpointRuleObject\";\nexport * from \"./ErrorRuleObject\";\nexport * from \"./RuleSetObject\";\nexport * from \"./shared\";\nexport * from \"./TreeRuleObject\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export * from \"./defaultClientConfiguration\";\nexport * from \"./defaultExtensionConfiguration\";\nexport { AlgorithmId } from \"./checksum\";\n","import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from \"./checksum\";\nexport const getDefaultClientConfiguration = (runtimeConfig) => {\n return getChecksumConfiguration(runtimeConfig);\n};\nexport const resolveDefaultRuntimeConfig = (config) => {\n return resolveChecksumRuntimeConfig(config);\n};\n","export var AlgorithmId;\n(function (AlgorithmId) {\n AlgorithmId[\"MD5\"] = \"md5\";\n AlgorithmId[\"CRC32\"] = \"crc32\";\n AlgorithmId[\"CRC32C\"] = \"crc32c\";\n AlgorithmId[\"SHA1\"] = \"sha1\";\n AlgorithmId[\"SHA256\"] = \"sha256\";\n})(AlgorithmId || (AlgorithmId = {}));\nexport const getChecksumConfiguration = (runtimeConfig) => {\n const checksumAlgorithms = [];\n if (runtimeConfig.sha256 !== undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.SHA256,\n checksumConstructor: () => runtimeConfig.sha256,\n });\n }\n if (runtimeConfig.md5 != undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.MD5,\n checksumConstructor: () => runtimeConfig.md5,\n });\n }\n return {\n addChecksumAlgorithm(algo) {\n checksumAlgorithms.push(algo);\n },\n checksumAlgorithms() {\n return checksumAlgorithms;\n },\n };\n};\nexport const resolveChecksumRuntimeConfig = (clientConfig) => {\n const runtimeConfig = {};\n clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {\n runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();\n });\n return runtimeConfig;\n};\n","export {};\n","export {};\n","export var FieldPosition;\n(function (FieldPosition) {\n FieldPosition[FieldPosition[\"HEADER\"] = 0] = \"HEADER\";\n FieldPosition[FieldPosition[\"TRAILER\"] = 1] = \"TRAILER\";\n})(FieldPosition || (FieldPosition = {}));\n","export {};\n","export * from \"./apiKeyIdentity\";\nexport * from \"./awsCredentialIdentity\";\nexport * from \"./identity\";\nexport * from \"./tokenIdentity\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var IniSectionType;\n(function (IniSectionType) {\n IniSectionType[\"PROFILE\"] = \"profile\";\n IniSectionType[\"SSO_SESSION\"] = \"sso-session\";\n IniSectionType[\"SERVICES\"] = \"services\";\n})(IniSectionType || (IniSectionType = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var RequestHandlerProtocol;\n(function (RequestHandlerProtocol) {\n RequestHandlerProtocol[\"HTTP_0_9\"] = \"http/0.9\";\n RequestHandlerProtocol[\"HTTP_1_0\"] = \"http/1.0\";\n RequestHandlerProtocol[\"TDS_8_0\"] = \"tds/8.0\";\n})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n"]}
1
+ {"version":3,"sources":["../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/middleware.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/abort.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/auth.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/HttpSigner.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/checksum.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/client.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/command.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/config.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/manager.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/connection/pool.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/crypto.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/encode.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoint.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/shared.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/eventStream.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/checksum.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/feature-ids.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/index.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/identity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/logger.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/pagination.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/profile.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/response.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/retry.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/schema.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/schema/sentinels.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/serde.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/shapes.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/signature.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/stream.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transfer.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/mutable.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/no-undefined.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/transform/type-transform.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/uri.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/util.js","../../../node_modules/.pnpm/@smithy+types@4.3.2/node_modules/@smithy/types/dist-es/waiter.js"],"names":["init_cjs_shims","SMITHY_CONTEXT_KEY","HttpAuthLocation","HttpApiKeyAuthLocation","EndpointURLScheme","AlgorithmId","FieldPosition","IniSectionType","RequestHandlerProtocol"],"mappings":";;;;;AAAAA,2BAAA,EAAA;AAAO,IAAMC,kBAAAA,GAAqB;;;ACAlCD,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;AAAO,IAAIE,gBAAAA;AACV,CAAA,SAAUA,iBAAAA,EAAgB;AACvBA,EAAAA,iBAAAA,CAAiB,QAAA,CAAA,GAAY,QAAA;AAC7BA,EAAAA,iBAAAA,CAAiB,OAAA,CAAA,GAAW,OAAA;AAChC,CAAA,EAAGA,gBAAAA,KAAqBA,gBAAAA,GAAmB,EAAC,CAAA,CAAA;;;ACJ5CF,2BAAA,EAAA;AAAO,IAAIG,sBAAAA;AACV,CAAA,SAAUA,uBAAAA,EAAsB;AAC7BA,EAAAA,uBAAAA,CAAuB,QAAA,CAAA,GAAY,QAAA;AACnCA,EAAAA,uBAAAA,CAAuB,OAAA,CAAA,GAAW,OAAA;AACtC,CAAA,EAAGA,sBAAAA,KAA2BA,sBAAAA,GAAyB,EAAC,CAAA,CAAA;;;ACJxDH,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA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ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA;;;ACAAA,2BAAA,EAAA","file":"WDSPHVPJ.cjs","sourcesContent":["export const SMITHY_CONTEXT_KEY = \"__smithy_context\";\n","export * from \"./abort\";\nexport * from \"./auth\";\nexport * from \"./blob/blob-payload-input-types\";\nexport * from \"./checksum\";\nexport * from \"./client\";\nexport * from \"./command\";\nexport * from \"./connection\";\nexport * from \"./crypto\";\nexport * from \"./encode\";\nexport * from \"./endpoint\";\nexport * from \"./endpoints\";\nexport * from \"./eventStream\";\nexport * from \"./extensions\";\nexport * from \"./feature-ids\";\nexport * from \"./http\";\nexport * from \"./http/httpHandlerInitialization\";\nexport * from \"./identity\";\nexport * from \"./logger\";\nexport * from \"./middleware\";\nexport * from \"./pagination\";\nexport * from \"./profile\";\nexport * from \"./response\";\nexport * from \"./retry\";\nexport * from \"./schema/schema\";\nexport * from \"./schema/sentinels\";\nexport * from \"./serde\";\nexport * from \"./shapes\";\nexport * from \"./signature\";\nexport * from \"./stream\";\nexport * from \"./streaming-payload/streaming-blob-common-types\";\nexport * from \"./streaming-payload/streaming-blob-payload-input-types\";\nexport * from \"./streaming-payload/streaming-blob-payload-output-types\";\nexport * from \"./transfer\";\nexport * from \"./transform/client-payload-blob-type-narrow\";\nexport * from \"./transform/mutable\";\nexport * from \"./transform/no-undefined\";\nexport * from \"./transform/type-transform\";\nexport * from \"./uri\";\nexport * from \"./util\";\nexport * from \"./waiter\";\n","export {};\n","export * from \"./auth\";\nexport * from \"./HttpApiKeyAuth\";\nexport * from \"./HttpAuthScheme\";\nexport * from \"./HttpAuthSchemeProvider\";\nexport * from \"./HttpSigner\";\nexport * from \"./IdentityProviderConfig\";\n","export var HttpAuthLocation;\n(function (HttpAuthLocation) {\n HttpAuthLocation[\"HEADER\"] = \"header\";\n HttpAuthLocation[\"QUERY\"] = \"query\";\n})(HttpAuthLocation || (HttpAuthLocation = {}));\n","export var HttpApiKeyAuthLocation;\n(function (HttpApiKeyAuthLocation) {\n HttpApiKeyAuthLocation[\"HEADER\"] = \"header\";\n HttpApiKeyAuthLocation[\"QUERY\"] = \"query\";\n})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export * from \"./config\";\nexport * from \"./manager\";\nexport * from \"./pool\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var EndpointURLScheme;\n(function (EndpointURLScheme) {\n EndpointURLScheme[\"HTTP\"] = \"http\";\n EndpointURLScheme[\"HTTPS\"] = \"https\";\n})(EndpointURLScheme || (EndpointURLScheme = {}));\n","export * from \"./EndpointRuleObject\";\nexport * from \"./ErrorRuleObject\";\nexport * from \"./RuleSetObject\";\nexport * from \"./shared\";\nexport * from \"./TreeRuleObject\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export * from \"./defaultClientConfiguration\";\nexport * from \"./defaultExtensionConfiguration\";\nexport { AlgorithmId } from \"./checksum\";\n","import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from \"./checksum\";\nexport const getDefaultClientConfiguration = (runtimeConfig) => {\n return getChecksumConfiguration(runtimeConfig);\n};\nexport const resolveDefaultRuntimeConfig = (config) => {\n return resolveChecksumRuntimeConfig(config);\n};\n","export var AlgorithmId;\n(function (AlgorithmId) {\n AlgorithmId[\"MD5\"] = \"md5\";\n AlgorithmId[\"CRC32\"] = \"crc32\";\n AlgorithmId[\"CRC32C\"] = \"crc32c\";\n AlgorithmId[\"SHA1\"] = \"sha1\";\n AlgorithmId[\"SHA256\"] = \"sha256\";\n})(AlgorithmId || (AlgorithmId = {}));\nexport const getChecksumConfiguration = (runtimeConfig) => {\n const checksumAlgorithms = [];\n if (runtimeConfig.sha256 !== undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.SHA256,\n checksumConstructor: () => runtimeConfig.sha256,\n });\n }\n if (runtimeConfig.md5 != undefined) {\n checksumAlgorithms.push({\n algorithmId: () => AlgorithmId.MD5,\n checksumConstructor: () => runtimeConfig.md5,\n });\n }\n return {\n addChecksumAlgorithm(algo) {\n checksumAlgorithms.push(algo);\n },\n checksumAlgorithms() {\n return checksumAlgorithms;\n },\n };\n};\nexport const resolveChecksumRuntimeConfig = (clientConfig) => {\n const runtimeConfig = {};\n clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {\n runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();\n });\n return runtimeConfig;\n};\n","export {};\n","export {};\n","export var FieldPosition;\n(function (FieldPosition) {\n FieldPosition[FieldPosition[\"HEADER\"] = 0] = \"HEADER\";\n FieldPosition[FieldPosition[\"TRAILER\"] = 1] = \"TRAILER\";\n})(FieldPosition || (FieldPosition = {}));\n","export {};\n","export * from \"./apiKeyIdentity\";\nexport * from \"./awsCredentialIdentity\";\nexport * from \"./identity\";\nexport * from \"./tokenIdentity\";\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var IniSectionType;\n(function (IniSectionType) {\n IniSectionType[\"PROFILE\"] = \"profile\";\n IniSectionType[\"SSO_SESSION\"] = \"sso-session\";\n IniSectionType[\"SERVICES\"] = \"services\";\n})(IniSectionType || (IniSectionType = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export var RequestHandlerProtocol;\n(function (RequestHandlerProtocol) {\n RequestHandlerProtocol[\"HTTP_0_9\"] = \"http/0.9\";\n RequestHandlerProtocol[\"HTTP_1_0\"] = \"http/1.0\";\n RequestHandlerProtocol[\"TDS_8_0\"] = \"tds/8.0\";\n})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n","export {};\n"]}
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var FUZCR6WN_cjs = require('./FUZCR6WN.cjs');
4
- var VO65XOWD_cjs = require('./VO65XOWD.cjs');
3
+ var OT5L7ME6_cjs = require('./OT5L7ME6.cjs');
4
+ var U7VZULNU_cjs = require('./U7VZULNU.cjs');
5
5
 
6
6
  // ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js
7
- VO65XOWD_cjs.init_cjs_shims();
7
+ U7VZULNU_cjs.init_cjs_shims();
8
8
  function requestBuilder(input, context) {
9
9
  return new RequestBuilder(input, context);
10
10
  }
11
- VO65XOWD_cjs.__name(requestBuilder, "requestBuilder");
11
+ U7VZULNU_cjs.__name(requestBuilder, "requestBuilder");
12
12
  var RequestBuilder = class {
13
13
  static {
14
- VO65XOWD_cjs.__name(this, "RequestBuilder");
14
+ U7VZULNU_cjs.__name(this, "RequestBuilder");
15
15
  }
16
16
  constructor(input, context) {
17
17
  this.input = input;
@@ -30,7 +30,7 @@ var RequestBuilder = class {
30
30
  for (const resolvePath of this.resolvePathStack) {
31
31
  resolvePath(this.path);
32
32
  }
33
- return new FUZCR6WN_cjs.HttpRequest({
33
+ return new OT5L7ME6_cjs.HttpRequest({
34
34
  protocol,
35
35
  hostname: this.hostname || hostname,
36
36
  port,
@@ -53,7 +53,7 @@ var RequestBuilder = class {
53
53
  }
54
54
  p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {
55
55
  this.resolvePathStack.push((path) => {
56
- this.path = FUZCR6WN_cjs.resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
56
+ this.path = OT5L7ME6_cjs.resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
57
57
  });
58
58
  return this;
59
59
  }
@@ -76,8 +76,8 @@ var RequestBuilder = class {
76
76
  };
77
77
 
78
78
  // ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js
79
- VO65XOWD_cjs.init_cjs_shims();
79
+ U7VZULNU_cjs.init_cjs_shims();
80
80
 
81
81
  exports.requestBuilder = requestBuilder;
82
- //# sourceMappingURL=F2ZPATQF.cjs.map
83
- //# sourceMappingURL=F2ZPATQF.cjs.map
82
+ //# sourceMappingURL=WH45T4LS.cjs.map
83
+ //# sourceMappingURL=WH45T4LS.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js","../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js"],"names":["init_cjs_shims","requestBuilder","input","context","RequestBuilder","query","method","headers","path","body","hostname","resolvePathStack","build","protocol","port","basePath","endpoint","resolvePath","HttpRequest","hn","bp","uriLabel","push","endsWith","slice","p","memberName","labelValueProvider","isGreedyLabel","resolvedPath","h","q","b","m"],"mappings":";;;;;;AAAAA,2BAAA,EAAA;AAEO,SAASC,cAAAA,CAAeC,OAAOC,OAAAA,EAAO;AACzC,EAAA,OAAO,IAAIC,cAAAA,CAAeF,KAAAA,EAAOC,OAAAA,CAAAA;AACrC;AAFgBF,mBAAAA,CAAAA,cAAAA,EAAAA,gBAAAA,CAAAA;AAGT,IAAMG,iBAAN,MAAMA;EALb;;;AAMI,EAAA,WAAA,CAAYF,OAAOC,OAAAA,EAAS;AACxB,IAAA,IAAA,CAAKD,KAAAA,GAAQA,KAAAA;AACb,IAAA,IAAA,CAAKC,OAAAA,GAAUA,OAAAA;AACf,IAAA,IAAA,CAAKE,QAAQ,EAAC;AACd,IAAA,IAAA,CAAKC,MAAAA,GAAS,EAAA;AACd,IAAA,IAAA,CAAKC,UAAU,EAAC;AAChB,IAAA,IAAA,CAAKC,IAAAA,GAAO,EAAA;AACZ,IAAA,IAAA,CAAKC,IAAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAKC,QAAAA,GAAW,EAAA;AAChB,IAAA,IAAA,CAAKC,mBAAmB,EAAA;AAC5B,EAAA;A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AA;AACX,EAAA;EACAI,CAAAA,CAAEC,UAAAA,EAAYC,kBAAAA,EAAoBN,QAAAA,EAAUO,aAAAA,EAAe;AACvD,IAAA,IAAA,CAAKjB,gBAAAA,CAAiBW,IAAAA,CAAK,CAACd,IAAAA,KAAAA;AACxB,MAAA,IAAA,CAAKA,IAAAA,GAAOqB,0BAAarB,IAAAA,EAAM,IAAA,CAAKN,OAAOwB,UAAAA,EAAYC,kBAAAA,EAAoBN,UAAUO,aAAAA,CAAAA;IACzF,CAAA,CAAA;AACA,IAAA,OAAO,IAAA;AACX,EAAA;AACAE,EAAAA,CAAAA,CAAEvB,OAAAA,EAAS;AACP,IAAA,IAAA,CAAKA,OAAAA,GAAUA,OAAAA;AACf,IAAA,OAAO,IAAA;AACX,EAAA;AACAwB,EAAAA,CAAAA,CAAE1B,KAAAA,EAAO;AACL,IAAA,IAAA,CAAKA,KAAAA,GAAQA,KAAAA;AACb,IAAA,OAAO,IAAA;AACX,EAAA;AACA2B,EAAAA,CAAAA,CAAEvB,IAAAA,EAAM;AACJ,IAAA,IAAA,CAAKA,IAAAA,GAAOA,IAAAA;AACZ,IAAA,OAAO,IAAA;AACX,EAAA;AACAwB,EAAAA,CAAAA,CAAE3B,MAAAA,EAAQ;AACN,IAAA,IAAA,CAAKA,MAAAA,GAASA,MAAAA;AACd,IAAA,OAAO,IAAA;AACX,EAAA;AACJ,CAAA;;;AClEAN,2BAAA,EAAA","file":"F2ZPATQF.cjs","sourcesContent":["import { HttpRequest } from \"@smithy/protocol-http\";\nimport { resolvedPath } from \"./resolve-path\";\nexport function requestBuilder(input, context) {\n return new RequestBuilder(input, context);\n}\nexport class RequestBuilder {\n constructor(input, context) {\n this.input = input;\n this.context = context;\n this.query = {};\n this.method = \"\";\n this.headers = {};\n this.path = \"\";\n this.body = null;\n this.hostname = \"\";\n this.resolvePathStack = [];\n }\n async build() {\n const { hostname, protocol = \"https\", port, path: basePath } = await this.context.endpoint();\n this.path = basePath;\n for (const resolvePath of this.resolvePathStack) {\n resolvePath(this.path);\n }\n return new HttpRequest({\n protocol,\n hostname: this.hostname || hostname,\n port,\n method: this.method,\n path: this.path,\n query: this.query,\n body: this.body,\n headers: this.headers,\n });\n }\n hn(hostname) {\n this.hostname = hostname;\n return this;\n }\n bp(uriLabel) {\n this.resolvePathStack.push((basePath) => {\n this.path = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + uriLabel;\n });\n return this;\n }\n p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {\n this.resolvePathStack.push((path) => {\n this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);\n });\n return this;\n }\n h(headers) {\n this.headers = headers;\n return this;\n }\n q(query) {\n this.query = query;\n return this;\n }\n b(body) {\n this.body = body;\n return this;\n }\n m(method) {\n this.method = method;\n return this;\n }\n}\n","export { requestBuilder } from \"@smithy/core/protocols\";\n"]}
1
+ {"version":3,"sources":["../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js","../../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js"],"names":["init_cjs_shims","requestBuilder","input","context","RequestBuilder","query","method","headers","path","body","hostname","resolvePathStack","build","protocol","port","basePath","endpoint","resolvePath","HttpRequest","hn","bp","uriLabel","push","endsWith","slice","p","memberName","labelValueProvider","isGreedyLabel","resolvedPath","h","q","b","m"],"mappings":";;;;;;AAAAA,2BAAA,EAAA;AAEO,SAASC,cAAAA,CAAeC,OAAOC,OAAAA,EAAO;AACzC,EAAA,OAAO,IAAIC,cAAAA,CAAeF,KAAAA,EAAOC,OAAAA,CAAAA;AACrC;AAFgBF,mBAAAA,CAAAA,cAAAA,EAAAA,gBAAAA,CAAAA;AAGT,IAAMG,iBAAN,MAAMA;EALb;;;AAMI,EAAA,WAAA,CAAYF,OAAOC,OAAAA,EAAS;AACxB,IAAA,IAAA,CAAKD,KAAAA,GA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AN,2BAAA,EAAA","file":"WH45T4LS.cjs","sourcesContent":["import { HttpRequest } from \"@smithy/protocol-http\";\nimport { resolvedPath } from \"./resolve-path\";\nexport function requestBuilder(input, context) {\n return new RequestBuilder(input, context);\n}\nexport class RequestBuilder {\n constructor(input, context) {\n this.input = input;\n this.context = context;\n this.query = {};\n this.method = \"\";\n this.headers = {};\n this.path = \"\";\n this.body = null;\n this.hostname = \"\";\n this.resolvePathStack = [];\n }\n async build() {\n const { hostname, protocol = \"https\", port, path: basePath } = await this.context.endpoint();\n this.path = basePath;\n for (const resolvePath of this.resolvePathStack) {\n resolvePath(this.path);\n }\n return new HttpRequest({\n protocol,\n hostname: this.hostname || hostname,\n port,\n method: this.method,\n path: this.path,\n query: this.query,\n body: this.body,\n headers: this.headers,\n });\n }\n hn(hostname) {\n this.hostname = hostname;\n return this;\n }\n bp(uriLabel) {\n this.resolvePathStack.push((basePath) => {\n this.path = `${basePath?.endsWith(\"/\") ? basePath.slice(0, -1) : basePath || \"\"}` + uriLabel;\n });\n return this;\n }\n p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {\n this.resolvePathStack.push((path) => {\n this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);\n });\n return this;\n }\n h(headers) {\n this.headers = headers;\n return this;\n }\n q(query) {\n this.query = query;\n return this;\n }\n b(body) {\n this.body = body;\n return this;\n }\n m(method) {\n this.method = method;\n return this;\n }\n}\n","export { requestBuilder } from \"@smithy/core/protocols\";\n"]}