@gemeentenijmegen/webapp 1.1.0 → 1.1.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 (472) hide show
  1. package/.jsii +11 -11
  2. package/assets/webapp/auth/auth.lambda/index.js +2 -2
  3. package/assets/webapp/login/login.lambda/index.js +2 -2
  4. package/assets/webapp/logout/logout.lambda/index.js +177 -3
  5. package/lib/webapp/Criticality.js +1 -1
  6. package/lib/webapp/Webapp.js +1 -1
  7. package/lib/webapp/Webpage.js +1 -1
  8. package/lib/webapp/util/Files.js +1 -1
  9. package/node_modules/@aws-sdk/client-dynamodb/README.md +1 -1
  10. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +12 -10
  11. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js +1 -1
  12. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +2 -1
  13. package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js +12 -10
  14. package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js +2 -2
  15. package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +3 -2
  16. package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +3 -3
  17. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +2 -1
  18. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +2 -1
  19. package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +2 -1
  20. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts +7 -1
  21. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  22. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  23. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  24. package/node_modules/@aws-sdk/client-dynamodb/package.json +38 -38
  25. package/node_modules/@aws-sdk/client-s3/README.md +1 -1
  26. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +88 -150
  27. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +1 -1
  28. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +2 -1
  29. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -0
  30. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +4 -28
  31. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +56 -96
  32. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
  33. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +3 -2
  34. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +41 -50
  36. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
  37. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -1
  38. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +19 -19
  40. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +4 -0
  42. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -11
  45. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +40 -40
  49. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +0 -4
  50. package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +0 -4
  51. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +151 -196
  52. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +115 -56
  53. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +2 -1
  54. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -1
  55. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +2 -1
  56. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -3
  57. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +25 -114
  60. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +14 -0
  61. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  62. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +8 -3
  63. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  64. package/node_modules/@aws-sdk/client-s3/package.json +58 -59
  65. package/node_modules/@aws-sdk/client-secrets-manager/README.md +1 -1
  66. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.browser.js +1 -1
  67. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +2 -1
  68. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.browser.js +2 -2
  69. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +3 -2
  70. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +2 -1
  71. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +2 -1
  72. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +2 -1
  73. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  74. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  75. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  76. package/node_modules/@aws-sdk/client-secrets-manager/package.json +36 -36
  77. package/node_modules/@aws-sdk/client-ssm/README.md +1 -1
  78. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
  79. package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +2 -1
  80. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +2 -2
  81. package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +3 -2
  82. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -1
  83. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -1
  84. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -1
  85. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  86. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  87. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  88. package/node_modules/@aws-sdk/client-ssm/package.json +37 -37
  89. package/node_modules/@aws-sdk/client-sso/README.md +1 -1
  90. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  91. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
  92. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
  93. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
  94. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -1
  95. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
  96. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
  97. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  98. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  99. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  100. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  101. package/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
  102. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  103. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
  104. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
  105. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
  106. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -1
  107. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
  108. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
  109. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  110. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  111. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  112. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  113. package/node_modules/@aws-sdk/client-sts/README.md +1 -1
  114. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -2
  115. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
  116. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
  117. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +10 -2
  118. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +2 -2
  119. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -2
  120. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -1
  121. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
  122. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
  123. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
  124. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
  125. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
  126. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  127. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
  128. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
  129. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
  130. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  131. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
  132. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
  133. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
  134. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
  135. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
  136. package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  137. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
  138. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
  139. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
  140. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
  141. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
  142. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
  143. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
  144. package/node_modules/@aws-sdk/core/package.json +14 -11
  145. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
  146. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
  147. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
  148. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
  149. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
  150. package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
  151. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
  152. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
  153. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
  154. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
  155. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  156. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
  157. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  158. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
  159. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  160. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
  161. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
  162. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
  163. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
  164. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
  165. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
  166. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
  167. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
  168. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
  169. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
  170. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
  171. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
  172. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
  173. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -6
  174. package/node_modules/@aws-sdk/endpoint-cache/package.json +3 -2
  175. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -7
  176. package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +10 -8
  177. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -6
  178. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js +6 -0
  179. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +28 -0
  180. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +33 -8
  181. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +16 -0
  182. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js +1 -5
  183. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js +2 -0
  184. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +23 -0
  185. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +2 -2
  186. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js +14 -2
  187. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts +2 -3
  188. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
  189. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +10 -0
  190. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksum.d.ts +2 -8
  191. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
  192. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +12 -0
  193. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +17 -9
  194. package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
  195. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -5
  196. package/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
  197. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
  198. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +18 -15
  199. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +13 -13
  200. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +2 -0
  201. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +19 -16
  202. package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -5
  203. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
  204. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
  205. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
  206. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
  207. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
  208. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
  209. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
  210. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
  211. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
  212. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
  213. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
  214. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
  215. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
  216. package/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
  217. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
  218. package/node_modules/@aws-sdk/s3-request-presigner/README.md +23 -41
  219. package/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js +24 -6
  220. package/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js +8 -4
  221. package/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +2 -2
  222. package/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts +2 -0
  223. package/node_modules/@aws-sdk/s3-request-presigner/package.json +12 -11
  224. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -7
  225. package/node_modules/@aws-sdk/token-providers/package.json +8 -7
  226. package/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  227. package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  228. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  229. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
  230. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  231. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  232. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  233. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
  234. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  235. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  236. package/node_modules/@aws-sdk/types/package.json +2 -2
  237. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +1 -0
  238. package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -2
  239. package/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
  240. package/node_modules/@aws-sdk/util-format-url/package.json +6 -5
  241. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +1 -0
  242. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -2
  243. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
  244. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
  245. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
  246. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
  247. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
  248. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
  249. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
  250. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
  251. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
  252. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
  253. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
  254. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
  255. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
  256. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
  257. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
  258. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
  259. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
  260. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
  261. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
  262. package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
  263. package/node_modules/@aws-sdk/xml-builder/package.json +4 -3
  264. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +5 -5
  265. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
  266. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii +2 -2
  267. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii.tabl.json.gz +0 -0
  268. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/api-call-base.js +1 -1
  269. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/assertions.js +1 -1
  270. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/common.js +2 -2
  271. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/http-call.js +1 -1
  272. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/match.js +1 -1
  273. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/providers/provider.js +1 -1
  274. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.js +2 -2
  275. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/waiter-state-machine.js +1 -1
  276. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/test-case.js +3 -3
  277. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/package.json +7 -7
  278. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +325 -18
  279. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +2 -0
  280. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +3 -1
  281. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/apigateway-defaults.js +2 -2
  282. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +2 -2
  283. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-defaults.js +2 -2
  284. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +2 -2
  285. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.d.ts +15 -0
  286. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.js +33 -0
  287. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.d.ts +56 -0
  288. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.js +197 -0
  289. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.d.ts +2 -1
  290. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +10 -4
  291. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +9 -0
  292. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +28 -2
  293. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +4 -4
  294. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.d.ts +13 -0
  295. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +695 -0
  296. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +35 -1
  297. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +1 -0
  298. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +8 -3
  299. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.js +16 -1
  300. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.jsii +85 -45
  301. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md +841 -255
  302. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/Dockerfile +2 -2
  303. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/README.md +5 -1
  304. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.d.ts +20 -3
  305. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.js +36 -30
  306. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.d.ts +0 -4
  307. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.js +5 -9
  308. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/stack-trace.js +1 -1
  309. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/uniqueid.js +1 -1
  310. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/package.json +35 -31
  311. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
  312. package/node_modules/@gemeentenijmegen/apiclient/package.json +7 -7
  313. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/LICENSE +24 -0
  314. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/README.md +317 -0
  315. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/SECURITY.md +25 -0
  316. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/index.js +274 -0
  317. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/package.json +44 -0
  318. package/node_modules/@gemeentenijmegen/session/package.json +4 -4
  319. package/node_modules/@gemeentenijmegen/utils/package.json +7 -7
  320. package/node_modules/@smithy/abort-controller/package.json +2 -2
  321. package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +8 -23
  322. package/node_modules/@smithy/chunked-blob-reader/dist-es/index.js +8 -22
  323. package/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts +1 -0
  324. package/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts +1 -0
  325. package/node_modules/@smithy/chunked-blob-reader/package.json +2 -2
  326. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
  327. package/node_modules/@smithy/config-resolver/package.json +4 -4
  328. package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
  329. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -2
  330. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +163 -0
  331. package/node_modules/@smithy/core/dist-es/index.js +4 -3
  332. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
  333. package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
  334. package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
  335. package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
  336. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
  337. package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
  338. package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
  339. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
  340. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
  341. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
  342. package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
  343. package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
  344. package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
  345. package/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
  346. package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  347. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
  348. package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
  349. package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
  350. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
  351. package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
  352. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
  353. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
  354. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
  355. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
  356. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
  357. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
  358. package/node_modules/@smithy/core/package.json +15 -8
  359. package/node_modules/@smithy/core/protocols.d.ts +7 -0
  360. package/node_modules/@smithy/core/protocols.js +6 -0
  361. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  362. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  363. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  364. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  365. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  366. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  367. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -27
  368. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +2 -25
  369. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  370. package/node_modules/@smithy/hash-blob-browser/package.json +4 -4
  371. package/node_modules/@smithy/hash-node/package.json +2 -2
  372. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  373. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  374. package/node_modules/@smithy/md5-js/package.json +2 -2
  375. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  376. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -0
  377. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
  378. package/node_modules/@smithy/middleware-endpoint/package.json +8 -7
  379. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  380. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  381. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  382. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  383. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  384. package/node_modules/@smithy/property-provider/package.json +2 -2
  385. package/node_modules/@smithy/protocol-http/package.json +2 -2
  386. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  387. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  388. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  389. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  390. package/node_modules/@smithy/signature-v4/package.json +4 -4
  391. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +59 -36
  392. package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
  393. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
  394. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
  395. package/node_modules/@smithy/smithy-client/dist-es/index.js +2 -0
  396. package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
  397. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
  398. package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
  399. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
  400. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
  401. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +2 -0
  402. package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
  403. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
  404. package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
  405. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
  406. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
  407. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +2 -0
  408. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
  409. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
  410. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
  411. package/node_modules/@smithy/smithy-client/package.json +7 -6
  412. package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
  413. package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
  414. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  415. package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
  416. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  417. package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
  418. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
  419. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  420. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
  421. package/node_modules/@smithy/types/package.json +1 -1
  422. package/node_modules/@smithy/url-parser/package.json +3 -3
  423. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  424. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  425. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  426. package/node_modules/@smithy/util-middleware/package.json +2 -2
  427. package/node_modules/@smithy/util-retry/package.json +3 -3
  428. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js +7 -0
  429. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
  430. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
  431. package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
  432. package/node_modules/@smithy/util-stream/dist-cjs/index.js +5 -1
  433. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js +3 -0
  434. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
  435. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
  436. package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
  437. package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
  438. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts +37 -0
  439. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
  440. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
  441. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
  442. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -0
  443. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +37 -0
  444. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
  445. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
  446. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
  447. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -0
  448. package/node_modules/@smithy/util-stream/package.json +10 -4
  449. package/node_modules/@smithy/util-waiter/package.json +3 -3
  450. package/node_modules/@types/uuid/LICENSE +21 -0
  451. package/node_modules/@types/uuid/README.md +15 -0
  452. package/node_modules/@types/uuid/index.d.mts +12 -0
  453. package/node_modules/@types/uuid/index.d.ts +86 -0
  454. package/node_modules/@types/uuid/package.json +54 -0
  455. package/node_modules/cookie/index.js +118 -57
  456. package/node_modules/cookie/package.json +3 -3
  457. package/node_modules/form-data/Readme.md +4 -4
  458. package/node_modules/form-data/lib/form_data.js +1 -1
  459. package/node_modules/form-data/package.json +9 -6
  460. package/node_modules/tslib/modules/index.d.ts +1 -0
  461. package/node_modules/tslib/modules/index.js +2 -0
  462. package/node_modules/tslib/package.json +1 -1
  463. package/node_modules/tslib/tslib.d.ts +7 -0
  464. package/node_modules/tslib/tslib.es6.js +24 -1
  465. package/node_modules/tslib/tslib.es6.mjs +24 -1
  466. package/node_modules/tslib/tslib.js +56 -1
  467. package/package.json +16 -16
  468. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.gitattributes +0 -28
  469. package/node_modules/form-data/README.md.bak +0 -358
  470. /package/node_modules/{cookie → @gemeentenijmegen/session/node_modules/cookie}/HISTORY.md +0 -0
  471. /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/Endpoint.js → @smithy/core/dist-cjs/setFeature.js} +0 -0
  472. /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/EndpointCache.js → @smithy/smithy-client/dist-cjs/quote-header.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.654.0",
3
+ "version": "3.686.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "directory": "packages/types"
42
42
  },
43
43
  "dependencies": {
44
- "@smithy/types": "^3.4.2",
44
+ "@smithy/types": "^3.6.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-arn-parser",
3
- "version": "3.568.0",
3
+ "version": "3.679.0",
4
4
  "description": "A parser to Amazon Resource Names",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:types": "tsc -p tsconfig.types.json",
13
13
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
14
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
15
- "test": "jest"
15
+ "test": "vitest run",
16
+ "test:watch": "vitest watch"
16
17
  },
17
18
  "author": {
18
19
  "name": "AWS SDK for JavaScript Team",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.654.0",
3
+ "version": "3.686.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -13,8 +13,10 @@
13
13
  "build:types": "tsc -p tsconfig.types.json",
14
14
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
15
15
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
16
- "test": "jest",
17
- "test:integration": "jest --c jest.config.integ.js"
16
+ "test": "vitest run",
17
+ "test:integration": "vitest run -c vitest.config.integ.ts",
18
+ "test:watch": "vitest watch",
19
+ "test:integration:watch": "vitest watch -c vitest.config.integ.ts"
18
20
  },
19
21
  "author": {
20
22
  "name": "AWS SDK for JavaScript Team",
@@ -22,9 +24,9 @@
22
24
  },
23
25
  "license": "Apache-2.0",
24
26
  "dependencies": {
25
- "@aws-sdk/types": "3.654.0",
26
- "@smithy/types": "^3.4.2",
27
- "@smithy/util-endpoints": "^2.1.2",
27
+ "@aws-sdk/types": "3.686.0",
28
+ "@smithy/types": "^3.6.0",
29
+ "@smithy/util-endpoints": "^2.1.4",
28
30
  "tslib": "^2.6.2"
29
31
  },
30
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-format-url",
3
- "version": "3.654.0",
3
+ "version": "3.686.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-format-url",
@@ -9,7 +9,8 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
- "test": "jest"
12
+ "test": "vitest run",
13
+ "test:watch": "vitest watch"
13
14
  },
14
15
  "main": "./dist-cjs/index.js",
15
16
  "module": "./dist-es/index.js",
@@ -20,9 +21,9 @@
20
21
  },
21
22
  "license": "Apache-2.0",
22
23
  "dependencies": {
23
- "@aws-sdk/types": "3.654.0",
24
- "@smithy/querystring-builder": "^3.0.6",
25
- "@smithy/types": "^3.4.2",
24
+ "@aws-sdk/types": "3.686.0",
25
+ "@smithy/querystring-builder": "^3.0.8",
26
+ "@smithy/types": "^3.6.0",
26
27
  "tslib": "^2.6.2"
27
28
  },
28
29
  "engines": {
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.568.0",
3
+ "version": "3.679.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-locate-window",
@@ -9,7 +9,8 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
- "test": "jest"
12
+ "test": "vitest run",
13
+ "test:watch": "vitest watch"
13
14
  },
14
15
  "author": {
15
16
  "name": "AWS SDK for JavaScript Team",
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultUserAgent = void 0;
3
+ exports.defaultUserAgent = exports.createDefaultUserAgentProvider = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const bowser_1 = tslib_1.__importDefault(require("bowser"));
6
- const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
6
+ const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => {
7
7
  const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent
8
8
  ? bowser_1.default.parse(window.navigator.userAgent)
9
9
  : undefined;
10
10
  const sections = [
11
11
  ["aws-sdk-js", clientVersion],
12
- ["ua", "2.0"],
12
+ ["ua", "2.1"],
13
13
  [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version],
14
14
  ["lang/js"],
15
15
  ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`],
@@ -17,6 +17,11 @@ const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
17
17
  if (serviceId) {
18
18
  sections.push([`api/${serviceId}`, clientVersion]);
19
19
  }
20
+ const appId = await config?.userAgentAppId?.();
21
+ if (appId) {
22
+ sections.push([`app/${appId}`]);
23
+ }
20
24
  return sections;
21
25
  };
22
- exports.defaultUserAgent = defaultUserAgent;
26
+ exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider;
27
+ exports.defaultUserAgent = exports.createDefaultUserAgentProvider;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultUserAgent = void 0;
4
- const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
3
+ exports.defaultUserAgent = exports.createDefaultUserAgentProvider = void 0;
4
+ const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => {
5
5
  const sections = [
6
6
  ["aws-sdk-js", clientVersion],
7
- ["ua", "2.0"],
7
+ ["ua", "2.1"],
8
8
  ["os/other"],
9
9
  ["lang/js"],
10
10
  ["md/rn"],
@@ -12,6 +12,11 @@ const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
12
12
  if (serviceId) {
13
13
  sections.push([`api/${serviceId}`, clientVersion]);
14
14
  }
15
+ const appId = await config?.userAgentAppId?.();
16
+ if (appId) {
17
+ sections.push([`app/${appId}`]);
18
+ }
15
19
  return sections;
16
20
  };
17
- exports.defaultUserAgent = defaultUserAgent;
21
+ exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider;
22
+ exports.defaultUserAgent = exports.createDefaultUserAgentProvider;
@@ -1,11 +1,11 @@
1
1
  import bowser from "bowser";
2
- export const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
2
+ export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => {
3
3
  const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent
4
4
  ? bowser.parse(window.navigator.userAgent)
5
5
  : undefined;
6
6
  const sections = [
7
7
  ["aws-sdk-js", clientVersion],
8
- ["ua", "2.0"],
8
+ ["ua", "2.1"],
9
9
  [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version],
10
10
  ["lang/js"],
11
11
  ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`],
@@ -13,5 +13,10 @@ export const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
13
13
  if (serviceId) {
14
14
  sections.push([`api/${serviceId}`, clientVersion]);
15
15
  }
16
+ const appId = await config?.userAgentAppId?.();
17
+ if (appId) {
18
+ sections.push([`app/${appId}`]);
19
+ }
16
20
  return sections;
17
21
  };
22
+ export const defaultUserAgent = createDefaultUserAgentProvider;
@@ -1,7 +1,7 @@
1
- export const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
1
+ export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => {
2
2
  const sections = [
3
3
  ["aws-sdk-js", clientVersion],
4
- ["ua", "2.0"],
4
+ ["ua", "2.1"],
5
5
  ["os/other"],
6
6
  ["lang/js"],
7
7
  ["md/rn"],
@@ -9,5 +9,10 @@ export const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
9
9
  if (serviceId) {
10
10
  sections.push([`api/${serviceId}`, clientVersion]);
11
11
  }
12
+ const appId = await config?.userAgentAppId?.();
13
+ if (appId) {
14
+ sections.push([`app/${appId}`]);
15
+ }
12
16
  return sections;
13
17
  };
18
+ export const defaultUserAgent = createDefaultUserAgentProvider;
@@ -1,9 +1,17 @@
1
1
  import { Provider, UserAgent } from "@smithy/types";
2
2
  import { DefaultUserAgentOptions } from "./configurations";
3
+ export interface PreviouslyResolved {
4
+ userAgentAppId: Provider<string | undefined>;
5
+ }
3
6
  /**
4
7
  * @internal
5
8
  *
6
9
  * Default provider to the user agent in browsers. It's a best effort to infer
7
10
  * the device information. It uses bowser library to detect the browser and version
8
11
  */
9
- export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => Provider<UserAgent>;
12
+ export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
13
+ /**
14
+ * @internal
15
+ * @deprecated use createDefaultUserAgentProvider
16
+ */
17
+ export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
@@ -1,9 +1,17 @@
1
1
  import { Provider, UserAgent } from "@smithy/types";
2
2
  import { DefaultUserAgentOptions } from "./configurations";
3
+ export interface PreviouslyResolved {
4
+ userAgentAppId: Provider<string | undefined>;
5
+ }
3
6
  /**
4
7
  * @internal
5
8
  *
6
9
  * Default provider to the user agent in ReactNative. It's a best effort to infer
7
10
  * the device information. It uses bowser library to detect the browser and virsion
8
11
  */
9
- export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => Provider<UserAgent>;
12
+ export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
13
+ /**
14
+ * @internal
15
+ * @deprecated use createDefaultUserAgentProvider
16
+ */
17
+ export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
@@ -1,6 +1,17 @@
1
1
  import { Provider, UserAgent } from "@smithy/types";
2
2
  import { DefaultUserAgentOptions } from "./configurations";
3
+ export interface PreviouslyResolved {
4
+ userAgentAppId: Provider<string | undefined>;
5
+ }
6
+ export declare const createDefaultUserAgentProvider: ({
7
+ serviceId,
8
+ clientVersion,
9
+ }: DefaultUserAgentOptions) => (
10
+ config?: PreviouslyResolved
11
+ ) => Promise<UserAgent>;
3
12
  export declare const defaultUserAgent: ({
4
13
  serviceId,
5
14
  clientVersion,
6
- }: DefaultUserAgentOptions) => Provider<UserAgent>;
15
+ }: DefaultUserAgentOptions) => (
16
+ config?: PreviouslyResolved
17
+ ) => Promise<UserAgent>;
@@ -1,6 +1,17 @@
1
1
  import { Provider, UserAgent } from "@smithy/types";
2
2
  import { DefaultUserAgentOptions } from "./configurations";
3
+ export interface PreviouslyResolved {
4
+ userAgentAppId: Provider<string | undefined>;
5
+ }
6
+ export declare const createDefaultUserAgentProvider: ({
7
+ serviceId,
8
+ clientVersion,
9
+ }: DefaultUserAgentOptions) => (
10
+ config?: PreviouslyResolved
11
+ ) => Promise<UserAgent>;
3
12
  export declare const defaultUserAgent: ({
4
13
  serviceId,
5
14
  clientVersion,
6
- }: DefaultUserAgentOptions) => Provider<UserAgent>;
15
+ }: DefaultUserAgentOptions) => (
16
+ config?: PreviouslyResolved
17
+ ) => Promise<UserAgent>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.654.0",
3
+ "version": "3.686.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
@@ -9,7 +9,8 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
- "test": "jest"
12
+ "test": "vitest run",
13
+ "test:watch": "vitest watch"
13
14
  },
14
15
  "main": "./dist-cjs/index.js",
15
16
  "module": "./dist-es/index.js",
@@ -22,8 +23,8 @@
22
23
  "license": "Apache-2.0",
23
24
  "react-native": "dist-es/index.native.js",
24
25
  "dependencies": {
25
- "@aws-sdk/types": "3.654.0",
26
- "@smithy/types": "^3.4.2",
26
+ "@aws-sdk/types": "3.686.0",
27
+ "@smithy/types": "^3.6.0",
27
28
  "bowser": "^2.11.0",
28
29
  "tslib": "^2.6.2"
29
30
  },
@@ -21,13 +21,16 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
+ NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS,
24
25
  UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME,
25
26
  UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME,
27
+ createDefaultUserAgentProvider: () => createDefaultUserAgentProvider,
26
28
  crtAvailability: () => crtAvailability,
27
29
  defaultUserAgent: () => defaultUserAgent
28
30
  });
29
31
  module.exports = __toCommonJS(src_exports);
30
- var import_node_config_provider = require("@smithy/node-config-provider");
32
+
33
+ // src/defaultUserAgent.ts
31
34
  var import_os = require("os");
32
35
  var import_process = require("process");
33
36
 
@@ -44,52 +47,56 @@ var isCrtAvailable = /* @__PURE__ */ __name(() => {
44
47
  return null;
45
48
  }, "isCrtAvailable");
46
49
 
47
- // src/index.ts
48
- var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
49
- var UA_APP_ID_INI_NAME = "sdk-ua-app-id";
50
- var defaultUserAgent = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {
51
- const sections = [
52
- // sdk-metadata
53
- ["aws-sdk-js", clientVersion],
54
- // ua-metadata
55
- ["ua", "2.0"],
56
- // os-metadata
57
- [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],
58
- // language-metadata
59
- // ECMAScript edition doesn't matter in JS, so no version needed.
60
- ["lang/js"],
61
- ["md/nodejs", `${import_process.versions.node}`]
62
- ];
63
- const crtAvailable = isCrtAvailable();
64
- if (crtAvailable) {
65
- sections.push(crtAvailable);
66
- }
67
- if (serviceId) {
68
- sections.push([`api/${serviceId}`, clientVersion]);
69
- }
70
- if (import_process.env.AWS_EXECUTION_ENV) {
71
- sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);
72
- }
73
- const appIdPromise = (0, import_node_config_provider.loadConfig)({
74
- environmentVariableSelector: (env2) => env2[UA_APP_ID_ENV_NAME],
75
- configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME],
76
- default: void 0
77
- })();
78
- let resolvedUserAgent = void 0;
79
- return async () => {
80
- if (!resolvedUserAgent) {
81
- const appId = await appIdPromise;
82
- resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
50
+ // src/defaultUserAgent.ts
51
+ var createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => {
52
+ return async (config) => {
53
+ var _a;
54
+ const sections = [
55
+ // sdk-metadata
56
+ ["aws-sdk-js", clientVersion],
57
+ // ua-metadata
58
+ ["ua", "2.1"],
59
+ // os-metadata
60
+ [`os/${(0, import_os.platform)()}`, (0, import_os.release)()],
61
+ // language-metadata
62
+ // ECMAScript edition doesn't matter in JS, so no version needed.
63
+ ["lang/js"],
64
+ ["md/nodejs", `${import_process.versions.node}`]
65
+ ];
66
+ const crtAvailable = isCrtAvailable();
67
+ if (crtAvailable) {
68
+ sections.push(crtAvailable);
83
69
  }
70
+ if (serviceId) {
71
+ sections.push([`api/${serviceId}`, clientVersion]);
72
+ }
73
+ if (import_process.env.AWS_EXECUTION_ENV) {
74
+ sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]);
75
+ }
76
+ const appId = await ((_a = config == null ? void 0 : config.userAgentAppId) == null ? void 0 : _a.call(config));
77
+ const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
84
78
  return resolvedUserAgent;
85
79
  };
86
- }, "defaultUserAgent");
80
+ }, "createDefaultUserAgentProvider");
81
+ var defaultUserAgent = createDefaultUserAgentProvider;
82
+
83
+ // src/nodeAppIdConfigOptions.ts
84
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
85
+ var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
86
+ var UA_APP_ID_INI_NAME = "sdk-ua-app-id";
87
+ var NODE_APP_ID_CONFIG_OPTIONS = {
88
+ environmentVariableSelector: (env2) => env2[UA_APP_ID_ENV_NAME],
89
+ configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME],
90
+ default: import_middleware_user_agent.DEFAULT_UA_APP_ID
91
+ };
87
92
  // Annotate the CommonJS export names for ESM import in node:
88
93
 
89
94
  0 && (module.exports = {
90
95
  crtAvailability,
96
+ createDefaultUserAgentProvider,
97
+ defaultUserAgent,
91
98
  UA_APP_ID_ENV_NAME,
92
99
  UA_APP_ID_INI_NAME,
93
- defaultUserAgent
100
+ NODE_APP_ID_CONFIG_OPTIONS
94
101
  });
95
102
 
@@ -0,0 +1,29 @@
1
+ import { platform, release } from "os";
2
+ import { env, versions } from "process";
3
+ import { isCrtAvailable } from "./is-crt-available";
4
+ export { crtAvailability } from "./crt-availability";
5
+ export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {
6
+ return async (config) => {
7
+ const sections = [
8
+ ["aws-sdk-js", clientVersion],
9
+ ["ua", "2.1"],
10
+ [`os/${platform()}`, release()],
11
+ ["lang/js"],
12
+ ["md/nodejs", `${versions.node}`],
13
+ ];
14
+ const crtAvailable = isCrtAvailable();
15
+ if (crtAvailable) {
16
+ sections.push(crtAvailable);
17
+ }
18
+ if (serviceId) {
19
+ sections.push([`api/${serviceId}`, clientVersion]);
20
+ }
21
+ if (env.AWS_EXECUTION_ENV) {
22
+ sections.push([`exec-env/${env.AWS_EXECUTION_ENV}`]);
23
+ }
24
+ const appId = await config?.userAgentAppId?.();
25
+ const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
26
+ return resolvedUserAgent;
27
+ };
28
+ };
29
+ export const defaultUserAgent = createDefaultUserAgentProvider;
@@ -1,39 +1,2 @@
1
- import { loadConfig } from "@smithy/node-config-provider";
2
- import { platform, release } from "os";
3
- import { env, versions } from "process";
4
- import { isCrtAvailable } from "./is-crt-available";
5
- export { crtAvailability } from "./crt-availability";
6
- export const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
7
- export const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
8
- export const defaultUserAgent = ({ serviceId, clientVersion }) => {
9
- const sections = [
10
- ["aws-sdk-js", clientVersion],
11
- ["ua", "2.0"],
12
- [`os/${platform()}`, release()],
13
- ["lang/js"],
14
- ["md/nodejs", `${versions.node}`],
15
- ];
16
- const crtAvailable = isCrtAvailable();
17
- if (crtAvailable) {
18
- sections.push(crtAvailable);
19
- }
20
- if (serviceId) {
21
- sections.push([`api/${serviceId}`, clientVersion]);
22
- }
23
- if (env.AWS_EXECUTION_ENV) {
24
- sections.push([`exec-env/${env.AWS_EXECUTION_ENV}`]);
25
- }
26
- const appIdPromise = loadConfig({
27
- environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],
28
- configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME],
29
- default: undefined,
30
- })();
31
- let resolvedUserAgent = undefined;
32
- return async () => {
33
- if (!resolvedUserAgent) {
34
- const appId = await appIdPromise;
35
- resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];
36
- }
37
- return resolvedUserAgent;
38
- };
39
- };
1
+ export * from "./defaultUserAgent";
2
+ export * from "./nodeAppIdConfigOptions";
@@ -0,0 +1,8 @@
1
+ import { DEFAULT_UA_APP_ID } from "@aws-sdk/middleware-user-agent";
2
+ export const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
3
+ export const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
4
+ export const NODE_APP_ID_CONFIG_OPTIONS = {
5
+ environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],
6
+ configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME],
7
+ default: DEFAULT_UA_APP_ID,
8
+ };
@@ -0,0 +1,23 @@
1
+ import { Provider, UserAgent } from "@smithy/types";
2
+ export { crtAvailability } from "./crt-availability";
3
+ export interface DefaultUserAgentOptions {
4
+ serviceId?: string;
5
+ clientVersion: string;
6
+ }
7
+ export interface PreviouslyResolved {
8
+ userAgentAppId: Provider<string | undefined>;
9
+ }
10
+ /**
11
+ * @internal
12
+ *
13
+ * Collect metrics from runtime to put into user agent.
14
+ */
15
+ export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
16
+ /**
17
+ *
18
+ * @internal
19
+ *
20
+ * @deprecated use createDefaultUserAgentProvider
21
+ *
22
+ */
23
+ export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
@@ -1,20 +1,2 @@
1
- import { Provider, UserAgent } from "@smithy/types";
2
- export { crtAvailability } from "./crt-availability";
3
- /**
4
- * @internal
5
- */
6
- export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
7
- /**
8
- * @internal
9
- */
10
- export declare const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
11
- interface DefaultUserAgentOptions {
12
- serviceId?: string;
13
- clientVersion: string;
14
- }
15
- /**
16
- * @internal
17
- *
18
- * Collect metrics from runtime to put into user agent.
19
- */
20
- export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => Provider<UserAgent>;
1
+ export * from "./defaultUserAgent";
2
+ export * from "./nodeAppIdConfigOptions";
@@ -0,0 +1,13 @@
1
+ import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
6
+ /**
7
+ * @internal
8
+ */
9
+ export declare const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
10
+ /**
11
+ * @internal
12
+ */
13
+ export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors<string | undefined>;
@@ -0,0 +1,21 @@
1
+ import { Provider, UserAgent } from "@smithy/types";
2
+ export { crtAvailability } from "./crt-availability";
3
+ export interface DefaultUserAgentOptions {
4
+ serviceId?: string;
5
+ clientVersion: string;
6
+ }
7
+ export interface PreviouslyResolved {
8
+ userAgentAppId: Provider<string | undefined>;
9
+ }
10
+ export declare const createDefaultUserAgentProvider: ({
11
+ serviceId,
12
+ clientVersion,
13
+ }: DefaultUserAgentOptions) => (
14
+ config?: PreviouslyResolved
15
+ ) => Promise<UserAgent>;
16
+ export declare const defaultUserAgent: ({
17
+ serviceId,
18
+ clientVersion,
19
+ }: DefaultUserAgentOptions) => (
20
+ config?: PreviouslyResolved
21
+ ) => Promise<UserAgent>;
@@ -1,12 +1,2 @@
1
- import { Provider, UserAgent } from "@smithy/types";
2
- export { crtAvailability } from "./crt-availability";
3
- export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
4
- export declare const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
5
- interface DefaultUserAgentOptions {
6
- serviceId?: string;
7
- clientVersion: string;
8
- }
9
- export declare const defaultUserAgent: ({
10
- serviceId,
11
- clientVersion,
12
- }: DefaultUserAgentOptions) => Provider<UserAgent>;
1
+ export * from "./defaultUserAgent";
2
+ export * from "./nodeAppIdConfigOptions";
@@ -0,0 +1,6 @@
1
+ import { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
+ export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
3
+ export declare const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
4
+ export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors<
5
+ string | undefined
6
+ >;