@psnext/slingcli 3.0.20260811-3 → 3.0.20260820-1

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 (197) hide show
  1. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  2. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
  3. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
  4. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
  5. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  6. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
  7. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
  8. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
  9. package/node_modules/@aws-sdk/core/package.json +4 -4
  10. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  11. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +9 -2
  12. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -2
  13. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  14. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  15. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +5 -13
  16. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  17. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  18. package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
  19. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  20. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  21. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +5 -5
  22. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  23. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  24. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +3 -3
  25. package/node_modules/@aws-sdk/middleware-eventstream/package.json +3 -3
  26. package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
  27. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  32. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
  33. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
  39. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  40. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
  41. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
  42. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
  43. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
  44. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
  45. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
  46. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
  47. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  48. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
  49. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
  50. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
  51. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  52. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
  53. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
  54. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
  55. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
  56. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
  57. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
  58. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
  59. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
  60. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
  61. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
  62. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
  63. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
  64. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
  65. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
  66. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
  67. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
  68. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
  69. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
  70. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
  71. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
  72. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +9 -2
  73. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -2
  74. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  75. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  76. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +5 -13
  77. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  78. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  79. package/node_modules/@aws-sdk/types/package.json +2 -2
  80. package/node_modules/@aws-sdk/util-locate-window/package.json +27 -27
  81. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  82. package/node_modules/@earendil-works/pi-coding-agent/dist/core/system-prompt.js +4 -1
  83. package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
  84. package/node_modules/@hono/node-server/dist/index.cjs +151 -9
  85. package/node_modules/@hono/node-server/dist/index.mjs +151 -9
  86. package/node_modules/@hono/node-server/package.json +1 -1
  87. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -2
  88. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +23 -23
  89. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +23 -23
  90. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -13
  91. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
  92. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
  93. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -4
  94. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +19 -19
  95. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -4
  96. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
  97. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
  98. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
  99. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
  100. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
  101. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
  102. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
  103. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  104. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  105. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  106. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  107. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  108. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  109. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  110. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  111. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  112. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  113. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  114. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  115. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
  116. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  117. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  118. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  119. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  120. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  121. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  122. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  123. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  124. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  125. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  126. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  127. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  128. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
  129. package/node_modules/@smithy/core/package.json +3 -11
  130. package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
  131. package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
  132. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +9 -9
  133. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +9 -9
  134. package/node_modules/@smithy/signature-v4/package.json +4 -12
  135. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
  136. package/node_modules/@smithy/types/package.json +29 -39
  137. package/node_modules/body-parser/node_modules/content-type/README.md +2 -0
  138. package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +20 -0
  139. package/node_modules/body-parser/node_modules/content-type/dist/index.js +20 -14
  140. package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -1
  141. package/node_modules/body-parser/node_modules/content-type/package.json +1 -1
  142. package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
  143. package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
  144. package/node_modules/gaxios/package.json +3 -3
  145. package/node_modules/hono/dist/cjs/client/client.js +3 -3
  146. package/node_modules/hono/dist/cjs/client/utils.js +1 -1
  147. package/node_modules/hono/dist/cjs/context.js +4 -0
  148. package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +1 -1
  149. package/node_modules/hono/dist/cjs/middleware/cors/index.js +16 -13
  150. package/node_modules/hono/dist/cjs/middleware/csrf/index.js +1 -1
  151. package/node_modules/hono/dist/cjs/middleware/etag/digest.js +47 -1
  152. package/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -2
  153. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +3 -1
  154. package/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +6 -3
  155. package/node_modules/hono/dist/cjs/router/linear-router/router.js +7 -2
  156. package/node_modules/hono/dist/cjs/router/pattern-router/router.js +3 -9
  157. package/node_modules/hono/dist/cjs/router/trie-router/node.js +43 -67
  158. package/node_modules/hono/dist/cjs/router/trie-router/router.js +3 -11
  159. package/node_modules/hono/dist/cjs/utils/ipaddr.js +5 -3
  160. package/node_modules/hono/dist/cjs/utils/url.js +2 -2
  161. package/node_modules/hono/dist/client/client.js +3 -3
  162. package/node_modules/hono/dist/client/utils.js +1 -1
  163. package/node_modules/hono/dist/context.js +4 -0
  164. package/node_modules/hono/dist/jsx/intrinsic-element/components.js +1 -1
  165. package/node_modules/hono/dist/middleware/cors/index.js +16 -13
  166. package/node_modules/hono/dist/middleware/csrf/index.js +1 -1
  167. package/node_modules/hono/dist/middleware/etag/digest.js +47 -1
  168. package/node_modules/hono/dist/middleware/etag/index.js +2 -2
  169. package/node_modules/hono/dist/middleware/pretty-json/index.js +3 -1
  170. package/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +6 -3
  171. package/node_modules/hono/dist/router/linear-router/router.js +7 -2
  172. package/node_modules/hono/dist/router/pattern-router/router.js +3 -9
  173. package/node_modules/hono/dist/router/trie-router/node.js +43 -67
  174. package/node_modules/hono/dist/router/trie-router/router.js +3 -11
  175. package/node_modules/hono/dist/types/context.d.ts +4 -0
  176. package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +3 -3
  177. package/node_modules/hono/dist/types/router/trie-router/node.d.ts +1 -2
  178. package/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -1
  179. package/node_modules/hono/dist/utils/ipaddr.js +5 -3
  180. package/node_modules/hono/dist/utils/url.js +2 -2
  181. package/node_modules/hono/package.json +1 -1
  182. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -3
  183. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +4 -3
  184. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +4 -3
  185. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +4 -3
  186. package/node_modules/jose/dist/types/types.d.ts +4 -2
  187. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +7 -3
  188. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  189. package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +6 -2
  190. package/node_modules/jose/package.json +1 -1
  191. package/node_modules/type-is/node_modules/content-type/README.md +2 -0
  192. package/node_modules/type-is/node_modules/content-type/dist/index.d.ts +20 -0
  193. package/node_modules/type-is/node_modules/content-type/dist/index.js +20 -14
  194. package/node_modules/type-is/node_modules/content-type/dist/index.js.map +1 -1
  195. package/node_modules/type-is/node_modules/content-type/package.json +1 -1
  196. package/package.json +2 -2
  197. package/slingshot/index.js +295 -279
@@ -71,27 +71,27 @@ class HeaderMarshaller {
71
71
  formatHeaderValue(header) {
72
72
  switch (header.type) {
73
73
  case "boolean":
74
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
74
+ return Uint8Array.from([header.value ? 0 : 1]);
75
75
  case "byte":
76
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
76
+ return Uint8Array.from([2, header.value]);
77
77
  case "short":
78
78
  const shortView = new DataView(new ArrayBuffer(3));
79
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
79
+ shortView.setUint8(0, 3);
80
80
  shortView.setInt16(1, header.value, false);
81
81
  return new Uint8Array(shortView.buffer);
82
82
  case "integer":
83
83
  const intView = new DataView(new ArrayBuffer(5));
84
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
84
+ intView.setUint8(0, 4);
85
85
  intView.setInt32(1, header.value, false);
86
86
  return new Uint8Array(intView.buffer);
87
87
  case "long":
88
88
  const longBytes = new Uint8Array(9);
89
- longBytes[0] = HEADER_VALUE_TYPE.long;
89
+ longBytes[0] = 5;
90
90
  longBytes.set(header.value.bytes, 1);
91
91
  return longBytes;
92
92
  case "binary":
93
93
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
94
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
94
+ binView.setUint8(0, 6);
95
95
  binView.setUint16(1, header.value.byteLength, false);
96
96
  const binBytes = new Uint8Array(binView.buffer);
97
97
  binBytes.set(header.value, 3);
@@ -99,14 +99,14 @@ class HeaderMarshaller {
99
99
  case "string":
100
100
  const utf8Bytes = this.fromUtf8(header.value);
101
101
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
102
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
102
+ strView.setUint8(0, 7);
103
103
  strView.setUint16(1, utf8Bytes.byteLength, false);
104
104
  const strBytes = new Uint8Array(strView.buffer);
105
105
  strBytes.set(utf8Bytes, 3);
106
106
  return strBytes;
107
107
  case "timestamp":
108
108
  const tsBytes = new Uint8Array(9);
109
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
109
+ tsBytes[0] = 8;
110
110
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
111
111
  return tsBytes;
112
112
  case "uuid":
@@ -114,7 +114,7 @@ class HeaderMarshaller {
114
114
  throw new Error(`Invalid UUID received: ${header.value}`);
115
115
  }
116
116
  const uuidBytes = new Uint8Array(17);
117
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
117
+ uuidBytes[0] = 9;
118
118
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
119
119
  return uuidBytes;
120
120
  }
@@ -127,46 +127,46 @@ class HeaderMarshaller {
127
127
  const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
128
128
  position += nameLength;
129
129
  switch (headers.getUint8(position++)) {
130
- case HEADER_VALUE_TYPE.boolTrue:
130
+ case 0:
131
131
  out[name] = {
132
132
  type: BOOLEAN_TAG,
133
133
  value: true,
134
134
  };
135
135
  break;
136
- case HEADER_VALUE_TYPE.boolFalse:
136
+ case 1:
137
137
  out[name] = {
138
138
  type: BOOLEAN_TAG,
139
139
  value: false,
140
140
  };
141
141
  break;
142
- case HEADER_VALUE_TYPE.byte:
142
+ case 2:
143
143
  out[name] = {
144
144
  type: BYTE_TAG,
145
145
  value: headers.getInt8(position++),
146
146
  };
147
147
  break;
148
- case HEADER_VALUE_TYPE.short:
148
+ case 3:
149
149
  out[name] = {
150
150
  type: SHORT_TAG,
151
151
  value: headers.getInt16(position, false),
152
152
  };
153
153
  position += 2;
154
154
  break;
155
- case HEADER_VALUE_TYPE.integer:
155
+ case 4:
156
156
  out[name] = {
157
157
  type: INT_TAG,
158
158
  value: headers.getInt32(position, false),
159
159
  };
160
160
  position += 4;
161
161
  break;
162
- case HEADER_VALUE_TYPE.long:
162
+ case 5:
163
163
  out[name] = {
164
164
  type: LONG_TAG,
165
165
  value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
166
166
  };
167
167
  position += 8;
168
168
  break;
169
- case HEADER_VALUE_TYPE.byteArray:
169
+ case 6:
170
170
  const binaryLength = headers.getUint16(position, false);
171
171
  position += 2;
172
172
  out[name] = {
@@ -175,7 +175,7 @@ class HeaderMarshaller {
175
175
  };
176
176
  position += binaryLength;
177
177
  break;
178
- case HEADER_VALUE_TYPE.string:
178
+ case 7:
179
179
  const stringLength = headers.getUint16(position, false);
180
180
  position += 2;
181
181
  out[name] = {
@@ -184,14 +184,14 @@ class HeaderMarshaller {
184
184
  };
185
185
  position += stringLength;
186
186
  break;
187
- case HEADER_VALUE_TYPE.timestamp:
187
+ case 8:
188
188
  out[name] = {
189
189
  type: TIMESTAMP_TAG,
190
190
  value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
191
191
  };
192
192
  position += 8;
193
193
  break;
194
- case HEADER_VALUE_TYPE.uuid:
194
+ case 9:
195
195
  const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
196
196
  position += 16;
197
197
  out[name] = {
@@ -626,7 +626,7 @@ class EventStreamSerde {
626
626
  this.defaultContentType = defaultContentType;
627
627
  this.compositeErrorRegistry = compositeErrorRegistry;
628
628
  }
629
- async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
629
+ async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType, }) {
630
630
  const marshaller = this.marshaller;
631
631
  const eventStreamMember = requestSchema.getEventStreamMember();
632
632
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
@@ -637,7 +637,7 @@ class EventStreamSerde {
637
637
  async *[Symbol.asyncIterator]() {
638
638
  if (initialRequest) {
639
639
  const headers = {
640
- ":event-type": { type: "string", value: "initial-request" },
640
+ ":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
641
641
  ":message-type": { type: "string", value: "event" },
642
642
  ":content-type": { type: "string", value: defaultContentType },
643
643
  };
@@ -681,7 +681,7 @@ class EventStreamSerde {
681
681
  };
682
682
  });
683
683
  }
684
- async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {
684
+ async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType, }) {
685
685
  const marshaller = this.marshaller;
686
686
  const eventStreamMember = responseSchema.getEventStreamMember();
687
687
  const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
@@ -696,7 +696,7 @@ class EventStreamSerde {
696
696
  }
697
697
  }
698
698
  const body = event[unionMember].body;
699
- if (unionMember === "initial-response") {
699
+ if (unionMember === (initialMessageType ?? "initial-response")) {
700
700
  const dataObject = await this.deserializer.read(responseSchema, body);
701
701
  delete dataObject[eventStreamMember];
702
702
  return {
@@ -494,10 +494,9 @@ class RpcProtocol extends HttpProtocol {
494
494
  if (eventStreamMember) {
495
495
  if (input[eventStreamMember]) {
496
496
  const initialRequest = {};
497
- for (const [memberName, memberSchema] of ns.structIterator()) {
498
- if (memberName !== eventStreamMember && input[memberName]) {
499
- serializer.write(memberSchema, input[memberName]);
500
- initialRequest[memberName] = serializer.flush();
497
+ for (const [memberName] of ns.structIterator()) {
498
+ if (memberName !== eventStreamMember && input[memberName] != null) {
499
+ initialRequest[memberName] = input[memberName];
501
500
  }
502
501
  }
503
502
  payload = await this.serializeEventStream({
@@ -928,24 +927,27 @@ class Fields {
928
927
  }
929
928
 
930
929
  const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
930
+ if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
931
+ runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
932
+ }
931
933
  return {
932
934
  setHttpHandler(handler) {
933
- runtimeConfig.httpHandler = handler;
935
+ runtimeConfig.requestHandler = handler;
934
936
  },
935
937
  httpHandler() {
936
- return runtimeConfig.httpHandler;
938
+ return runtimeConfig.requestHandler;
937
939
  },
938
940
  updateHttpClientConfig(key, value) {
939
- runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
941
+ runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);
940
942
  },
941
943
  httpHandlerConfigs() {
942
- return runtimeConfig.httpHandler.httpHandlerConfigs();
944
+ return runtimeConfig.requestHandler.httpHandlerConfigs();
943
945
  },
944
946
  };
945
947
  };
946
948
  const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
947
949
  return {
948
- httpHandler: httpHandlerExtensionConfiguration.httpHandler(),
950
+ requestHandler: httpHandlerExtensionConfiguration.httpHandler(),
949
951
  };
950
952
  };
951
953
 
@@ -961,10 +963,12 @@ function contentLengthMiddleware(bodyLengthChecker) {
961
963
  .indexOf(CONTENT_LENGTH_HEADER) === -1) {
962
964
  try {
963
965
  const length = bodyLengthChecker(body);
964
- request.headers = {
965
- ...request.headers,
966
- [CONTENT_LENGTH_HEADER]: String(length),
967
- };
966
+ if (length != null) {
967
+ request.headers = {
968
+ ...request.headers,
969
+ [CONTENT_LENGTH_HEADER]: String(length),
970
+ };
971
+ }
968
972
  }
969
973
  catch (ignored) {
970
974
  }
@@ -140,8 +140,6 @@ class Schema {
140
140
 
141
141
  class ListSchema extends Schema {
142
142
  static symbol = Symbol.for("@smithy/lis");
143
- name;
144
- traits;
145
143
  valueSchema;
146
144
  symbol = ListSchema.symbol;
147
145
  }
@@ -154,8 +152,6 @@ const list = (namespace, name, traits, valueSchema) => Schema.assign(new ListSch
154
152
 
155
153
  class MapSchema extends Schema {
156
154
  static symbol = Symbol.for("@smithy/map");
157
- name;
158
- traits;
159
155
  keySchema;
160
156
  valueSchema;
161
157
  symbol = MapSchema.symbol;
@@ -170,8 +166,6 @@ const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(n
170
166
 
171
167
  class OperationSchema extends Schema {
172
168
  static symbol = Symbol.for("@smithy/ope");
173
- name;
174
- traits;
175
169
  input;
176
170
  output;
177
171
  symbol = OperationSchema.symbol;
@@ -186,8 +180,6 @@ const op = (namespace, name, traits, input, output) => Schema.assign(new Operati
186
180
 
187
181
  class StructureSchema extends Schema {
188
182
  static symbol = Symbol.for("@smithy/str");
189
- name;
190
- traits;
191
183
  memberNames;
192
184
  memberList;
193
185
  symbol = StructureSchema.symbol;
@@ -545,9 +537,7 @@ const isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
545
537
 
546
538
  class SimpleSchema extends Schema {
547
539
  static symbol = Symbol.for("@smithy/sim");
548
- name;
549
540
  schemaRef;
550
- traits;
551
541
  symbol = SimpleSchema.symbol;
552
542
  }
553
543
  const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
@@ -32,10 +32,9 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
32
32
  this.serializer.write(15, {});
33
33
  request.body = this.serializer.flush();
34
34
  }
35
- try {
35
+ if (request.body instanceof Uint8Array) {
36
36
  request.headers["content-length"] = String(request.body.byteLength);
37
37
  }
38
- catch (ignored) { }
39
38
  }
40
39
  const { service, operation } = getSmithyContext(context);
41
40
  const path = `/service/${service}/operation/${operation}`;
@@ -15,7 +15,7 @@ export class EventStreamSerde {
15
15
  this.defaultContentType = defaultContentType;
16
16
  this.compositeErrorRegistry = compositeErrorRegistry;
17
17
  }
18
- async serializeEventStream({ eventStream, requestSchema, initialRequest, }) {
18
+ async serializeEventStream({ eventStream, requestSchema, initialRequest, initialMessageType, }) {
19
19
  const marshaller = this.marshaller;
20
20
  const eventStreamMember = requestSchema.getEventStreamMember();
21
21
  const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
@@ -26,7 +26,7 @@ export class EventStreamSerde {
26
26
  async *[Symbol.asyncIterator]() {
27
27
  if (initialRequest) {
28
28
  const headers = {
29
- ":event-type": { type: "string", value: "initial-request" },
29
+ ":event-type": { type: "string", value: initialMessageType ?? "initial-request" },
30
30
  ":message-type": { type: "string", value: "event" },
31
31
  ":content-type": { type: "string", value: defaultContentType },
32
32
  };
@@ -70,7 +70,7 @@ export class EventStreamSerde {
70
70
  };
71
71
  });
72
72
  }
73
- async deserializeEventStream({ response, responseSchema, initialResponseContainer, }) {
73
+ async deserializeEventStream({ response, responseSchema, initialResponseContainer, initialMessageType, }) {
74
74
  const marshaller = this.marshaller;
75
75
  const eventStreamMember = responseSchema.getEventStreamMember();
76
76
  const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
@@ -85,7 +85,7 @@ export class EventStreamSerde {
85
85
  }
86
86
  }
87
87
  const body = event[unionMember].body;
88
- if (unionMember === "initial-response") {
88
+ if (unionMember === (initialMessageType ?? "initial-response")) {
89
89
  const dataObject = await this.deserializer.read(responseSchema, body);
90
90
  delete dataObject[eventStreamMember];
91
91
  return {
@@ -24,27 +24,27 @@ export class HeaderMarshaller {
24
24
  formatHeaderValue(header) {
25
25
  switch (header.type) {
26
26
  case "boolean":
27
- return Uint8Array.from([header.value ? HEADER_VALUE_TYPE.boolTrue : HEADER_VALUE_TYPE.boolFalse]);
27
+ return Uint8Array.from([header.value ? 0 : 1]);
28
28
  case "byte":
29
- return Uint8Array.from([HEADER_VALUE_TYPE.byte, header.value]);
29
+ return Uint8Array.from([2, header.value]);
30
30
  case "short":
31
31
  const shortView = new DataView(new ArrayBuffer(3));
32
- shortView.setUint8(0, HEADER_VALUE_TYPE.short);
32
+ shortView.setUint8(0, 3);
33
33
  shortView.setInt16(1, header.value, false);
34
34
  return new Uint8Array(shortView.buffer);
35
35
  case "integer":
36
36
  const intView = new DataView(new ArrayBuffer(5));
37
- intView.setUint8(0, HEADER_VALUE_TYPE.integer);
37
+ intView.setUint8(0, 4);
38
38
  intView.setInt32(1, header.value, false);
39
39
  return new Uint8Array(intView.buffer);
40
40
  case "long":
41
41
  const longBytes = new Uint8Array(9);
42
- longBytes[0] = HEADER_VALUE_TYPE.long;
42
+ longBytes[0] = 5;
43
43
  longBytes.set(header.value.bytes, 1);
44
44
  return longBytes;
45
45
  case "binary":
46
46
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
47
- binView.setUint8(0, HEADER_VALUE_TYPE.byteArray);
47
+ binView.setUint8(0, 6);
48
48
  binView.setUint16(1, header.value.byteLength, false);
49
49
  const binBytes = new Uint8Array(binView.buffer);
50
50
  binBytes.set(header.value, 3);
@@ -52,14 +52,14 @@ export class HeaderMarshaller {
52
52
  case "string":
53
53
  const utf8Bytes = this.fromUtf8(header.value);
54
54
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
55
- strView.setUint8(0, HEADER_VALUE_TYPE.string);
55
+ strView.setUint8(0, 7);
56
56
  strView.setUint16(1, utf8Bytes.byteLength, false);
57
57
  const strBytes = new Uint8Array(strView.buffer);
58
58
  strBytes.set(utf8Bytes, 3);
59
59
  return strBytes;
60
60
  case "timestamp":
61
61
  const tsBytes = new Uint8Array(9);
62
- tsBytes[0] = HEADER_VALUE_TYPE.timestamp;
62
+ tsBytes[0] = 8;
63
63
  tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
64
64
  return tsBytes;
65
65
  case "uuid":
@@ -67,7 +67,7 @@ export class HeaderMarshaller {
67
67
  throw new Error(`Invalid UUID received: ${header.value}`);
68
68
  }
69
69
  const uuidBytes = new Uint8Array(17);
70
- uuidBytes[0] = HEADER_VALUE_TYPE.uuid;
70
+ uuidBytes[0] = 9;
71
71
  uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
72
72
  return uuidBytes;
73
73
  }
@@ -80,46 +80,46 @@ export class HeaderMarshaller {
80
80
  const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
81
81
  position += nameLength;
82
82
  switch (headers.getUint8(position++)) {
83
- case HEADER_VALUE_TYPE.boolTrue:
83
+ case 0:
84
84
  out[name] = {
85
85
  type: BOOLEAN_TAG,
86
86
  value: true,
87
87
  };
88
88
  break;
89
- case HEADER_VALUE_TYPE.boolFalse:
89
+ case 1:
90
90
  out[name] = {
91
91
  type: BOOLEAN_TAG,
92
92
  value: false,
93
93
  };
94
94
  break;
95
- case HEADER_VALUE_TYPE.byte:
95
+ case 2:
96
96
  out[name] = {
97
97
  type: BYTE_TAG,
98
98
  value: headers.getInt8(position++),
99
99
  };
100
100
  break;
101
- case HEADER_VALUE_TYPE.short:
101
+ case 3:
102
102
  out[name] = {
103
103
  type: SHORT_TAG,
104
104
  value: headers.getInt16(position, false),
105
105
  };
106
106
  position += 2;
107
107
  break;
108
- case HEADER_VALUE_TYPE.integer:
108
+ case 4:
109
109
  out[name] = {
110
110
  type: INT_TAG,
111
111
  value: headers.getInt32(position, false),
112
112
  };
113
113
  position += 4;
114
114
  break;
115
- case HEADER_VALUE_TYPE.long:
115
+ case 5:
116
116
  out[name] = {
117
117
  type: LONG_TAG,
118
118
  value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),
119
119
  };
120
120
  position += 8;
121
121
  break;
122
- case HEADER_VALUE_TYPE.byteArray:
122
+ case 6:
123
123
  const binaryLength = headers.getUint16(position, false);
124
124
  position += 2;
125
125
  out[name] = {
@@ -128,7 +128,7 @@ export class HeaderMarshaller {
128
128
  };
129
129
  position += binaryLength;
130
130
  break;
131
- case HEADER_VALUE_TYPE.string:
131
+ case 7:
132
132
  const stringLength = headers.getUint16(position, false);
133
133
  position += 2;
134
134
  out[name] = {
@@ -137,14 +137,14 @@ export class HeaderMarshaller {
137
137
  };
138
138
  position += stringLength;
139
139
  break;
140
- case HEADER_VALUE_TYPE.timestamp:
140
+ case 8:
141
141
  out[name] = {
142
142
  type: TIMESTAMP_TAG,
143
143
  value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),
144
144
  };
145
145
  position += 8;
146
146
  break;
147
- case HEADER_VALUE_TYPE.uuid:
147
+ case 9:
148
148
  const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
149
149
  position += 16;
150
150
  out[name] = {
@@ -31,10 +31,9 @@ export class RpcProtocol extends HttpProtocol {
31
31
  if (eventStreamMember) {
32
32
  if (input[eventStreamMember]) {
33
33
  const initialRequest = {};
34
- for (const [memberName, memberSchema] of ns.structIterator()) {
35
- if (memberName !== eventStreamMember && input[memberName]) {
36
- serializer.write(memberSchema, input[memberName]);
37
- initialRequest[memberName] = serializer.flush();
34
+ for (const [memberName] of ns.structIterator()) {
35
+ if (memberName !== eventStreamMember && input[memberName] != null) {
36
+ initialRequest[memberName] = input[memberName];
38
37
  }
39
38
  }
40
39
  payload = await this.serializeEventStream({
@@ -11,10 +11,12 @@ export function contentLengthMiddleware(bodyLengthChecker) {
11
11
  .indexOf(CONTENT_LENGTH_HEADER) === -1) {
12
12
  try {
13
13
  const length = bodyLengthChecker(body);
14
- request.headers = {
15
- ...request.headers,
16
- [CONTENT_LENGTH_HEADER]: String(length),
17
- };
14
+ if (length != null) {
15
+ request.headers = {
16
+ ...request.headers,
17
+ [CONTENT_LENGTH_HEADER]: String(length),
18
+ };
19
+ }
18
20
  }
19
21
  catch (ignored) {
20
22
  }
@@ -1,21 +1,24 @@
1
1
  export const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
2
+ if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
3
+ runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
4
+ }
2
5
  return {
3
6
  setHttpHandler(handler) {
4
- runtimeConfig.httpHandler = handler;
7
+ runtimeConfig.requestHandler = handler;
5
8
  },
6
9
  httpHandler() {
7
- return runtimeConfig.httpHandler;
10
+ return runtimeConfig.requestHandler;
8
11
  },
9
12
  updateHttpClientConfig(key, value) {
10
- runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
13
+ runtimeConfig.requestHandler?.updateHttpClientConfig(key, value);
11
14
  },
12
15
  httpHandlerConfigs() {
13
- return runtimeConfig.httpHandler.httpHandlerConfigs();
16
+ return runtimeConfig.requestHandler.httpHandlerConfigs();
14
17
  },
15
18
  };
16
19
  };
17
20
  export const resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
18
21
  return {
19
- httpHandler: httpHandlerExtensionConfiguration.httpHandler(),
22
+ requestHandler: httpHandlerExtensionConfiguration.httpHandler(),
20
23
  };
21
24
  };
@@ -1,8 +1,6 @@
1
1
  import { Schema } from "./Schema";
2
2
  export class ListSchema extends Schema {
3
3
  static symbol = Symbol.for("@smithy/lis");
4
- name;
5
- traits;
6
4
  valueSchema;
7
5
  symbol = ListSchema.symbol;
8
6
  }
@@ -1,8 +1,6 @@
1
1
  import { Schema } from "./Schema";
2
2
  export class MapSchema extends Schema {
3
3
  static symbol = Symbol.for("@smithy/map");
4
- name;
5
- traits;
6
4
  keySchema;
7
5
  valueSchema;
8
6
  symbol = MapSchema.symbol;
@@ -1,8 +1,6 @@
1
1
  import { Schema } from "./Schema";
2
2
  export class OperationSchema extends Schema {
3
3
  static symbol = Symbol.for("@smithy/ope");
4
- name;
5
- traits;
6
4
  input;
7
5
  output;
8
6
  symbol = OperationSchema.symbol;
@@ -1,9 +1,7 @@
1
1
  import { Schema } from "./Schema";
2
2
  export class SimpleSchema extends Schema {
3
3
  static symbol = Symbol.for("@smithy/sim");
4
- name;
5
4
  schemaRef;
6
- traits;
7
5
  symbol = SimpleSchema.symbol;
8
6
  }
9
7
  export const sim = (namespace, name, schemaRef, traits) => Schema.assign(new SimpleSchema(), {
@@ -1,8 +1,6 @@
1
1
  import { Schema } from "./Schema";
2
2
  export class StructureSchema extends Schema {
3
3
  static symbol = Symbol.for("@smithy/str");
4
- name;
5
- traits;
6
4
  memberNames;
7
5
  memberList;
8
6
  symbol = StructureSchema.symbol;
@@ -23,13 +23,7 @@ export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultEx
23
23
  * @internal
24
24
  * @deprecated use getDefaultExtensionConfiguration
25
25
  */
26
- export declare const getDefaultClientConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
27
- addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
28
- checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
29
- } & {
30
- setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategyV2 | import("@smithy/types").RetryStrategy>): void;
31
- retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategyV2 | import("@smithy/types").RetryStrategy>;
32
- };
26
+ export declare const getDefaultClientConfiguration: typeof getDefaultExtensionConfiguration;
33
27
  /**
34
28
  * Helper function to resolve runtime config from default extension configuration
35
29
  *
@@ -1,3 +1,4 @@
1
+ import { isValidHostLabel } from "@smithy/core/transport";
1
2
  /**
2
3
  * Checks whether region can be a host component.
3
4
  *
@@ -6,4 +7,4 @@
6
7
  *
7
8
  * @internal
8
9
  */
9
- export declare const checkRegion: (region: string, check?: (value: string, allowSubDomains?: boolean) => boolean) => void;
10
+ export declare const checkRegion: (region: string, check?: typeof isValidHostLabel) => void;
@@ -6,6 +6,6 @@ export declare const evaluateCondition: (condition: ConditionObject, options: Ev
6
6
  value: import("../types").FunctionReturn;
7
7
  };
8
8
  } | {
9
- result: boolean;
10
9
  toAssign?: undefined;
10
+ result: boolean;
11
11
  };
@@ -3,6 +3,6 @@ export declare const evaluateConditions: (conditions: ConditionObject[] | undefi
3
3
  result: boolean;
4
4
  referenceRecord: Record<string, FunctionReturn>;
5
5
  } | {
6
- result: boolean;
7
6
  referenceRecord?: undefined;
7
+ result: boolean;
8
8
  };
@@ -2,6 +2,6 @@ import { type EvaluateOptions, type Expression, type FunctionObject, type Functi
2
2
  export declare const evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn;
3
3
  export declare const callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn;
4
4
  export declare const group: {
5
- evaluateExpression: (obj: Expression, keyName: string, options: EvaluateOptions) => FunctionReturn;
6
- callFunction: ({ fn, argv }: FunctionObject, options: EvaluateOptions) => FunctionReturn;
5
+ evaluateExpression: typeof evaluateExpression;
6
+ callFunction: typeof callFunction;
7
7
  };
@@ -3,6 +3,6 @@ import { type EvaluateOptions, type RuleSetRules, type TreeRuleObject } from "..
3
3
  export declare const evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2;
4
4
  export declare const evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined;
5
5
  export declare const group: {
6
- evaluateRules: (rules: RuleSetRules, options: EvaluateOptions) => EndpointV2;
7
- evaluateTreeRule: (treeRule: TreeRuleObject, options: EvaluateOptions) => EndpointV2 | undefined;
6
+ evaluateRules: typeof evaluateRules;
7
+ evaluateTreeRule: typeof evaluateTreeRule;
8
8
  };