@zuplo/cli 7.6.8 → 7.6.10

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 (390) hide show
  1. package/node_modules/@inquirer/checkbox/package.json +3 -3
  2. package/node_modules/@inquirer/confirm/dist/index.js +1 -1
  3. package/node_modules/@inquirer/confirm/package.json +3 -3
  4. package/node_modules/@inquirer/core/dist/lib/create-prompt.js +66 -47
  5. package/node_modules/@inquirer/core/package.json +2 -2
  6. package/node_modules/@inquirer/editor/package.json +3 -3
  7. package/node_modules/@inquirer/expand/package.json +3 -3
  8. package/node_modules/@inquirer/input/package.json +3 -3
  9. package/node_modules/@inquirer/number/package.json +3 -3
  10. package/node_modules/@inquirer/password/package.json +3 -3
  11. package/node_modules/@inquirer/rawlist/package.json +3 -3
  12. package/node_modules/@inquirer/search/package.json +3 -3
  13. package/node_modules/@inquirer/select/package.json +3 -3
  14. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/index.d.ts +1 -2
  15. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +12 -25
  16. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +18 -32
  17. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +12 -25
  18. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +24 -50
  19. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +15 -30
  20. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +29 -52
  21. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwk/embedded.d.ts +5 -8
  22. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwk/thumbprint.d.ts +7 -9
  23. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwks/local.d.ts +10 -13
  24. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwks/remote.d.ts +29 -41
  25. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/compact/sign.d.ts +8 -13
  26. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/compact/verify.d.ts +14 -26
  27. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/flattened/sign.d.ts +10 -19
  28. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/flattened/verify.d.ts +14 -26
  29. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/general/sign.d.ts +19 -33
  30. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/general/verify.d.ts +17 -32
  31. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/decrypt.d.ts +20 -27
  32. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/encrypt.d.ts +30 -35
  33. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/sign.d.ts +8 -13
  34. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/unsecured.d.ts +10 -19
  35. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/verify.d.ts +19 -22
  36. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/export.d.ts +10 -10
  37. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/generate_key_pair.d.ts +15 -22
  38. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/generate_secret.d.ts +12 -19
  39. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/import.d.ts +25 -31
  40. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/types.d.ts +184 -319
  41. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/base64url.d.ts +7 -7
  42. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_jwt.d.ts +5 -7
  43. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_protected_header.d.ts +6 -5
  44. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/errors.d.ts +50 -88
  45. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/index.js +70 -32
  46. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +6 -8
  47. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +25 -48
  48. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +14 -14
  49. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +34 -64
  50. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/decrypt.js +38 -49
  51. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/encrypt.js +100 -172
  52. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwk/embedded.js +29 -32
  53. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwk/thumbprint.js +51 -70
  54. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/local.js +53 -64
  55. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js +88 -136
  56. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/compact/sign.js +19 -21
  57. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/compact/verify.js +7 -8
  58. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/flattened/sign.js +22 -31
  59. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/flattened/verify.js +11 -24
  60. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/sign.js +55 -73
  61. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/verify.js +43 -69
  62. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/decrypt.js +12 -20
  63. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/encrypt.js +43 -70
  64. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/sign.js +17 -16
  65. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/unsecured.js +31 -40
  66. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/verify.js +12 -14
  67. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/export.js +32 -41
  68. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/generate_key_pair.js +32 -49
  69. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/generate_secret.js +35 -40
  70. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/import.js +48 -56
  71. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/asn1.js +128 -169
  72. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/buffer_utils.js +72 -41
  73. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/content_encryption.js +75 -119
  74. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/deflate.js +35 -47
  75. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +102 -93
  76. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +178 -234
  77. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +71 -138
  78. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_algorithms.js +62 -61
  79. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_sign.js +43 -82
  80. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_verify.js +78 -131
  81. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +123 -209
  82. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key.js +147 -139
  83. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_algorithm.js +13 -8
  84. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_descriptor.js +8 -6
  85. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_management.js +169 -235
  86. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/validate.js +122 -0
  87. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/base64url.js +14 -37
  88. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -31
  89. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/decode_protected_header.js +18 -23
  90. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/errors.js +94 -84
  91. package/node_modules/@modelcontextprotocol/client/node_modules/jose/package.json +17 -81
  92. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/index.d.ts +1 -2
  93. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +12 -25
  94. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +18 -32
  95. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +12 -25
  96. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +24 -50
  97. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +15 -30
  98. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +29 -52
  99. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwk/embedded.d.ts +5 -8
  100. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwk/thumbprint.d.ts +7 -9
  101. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwks/local.d.ts +10 -13
  102. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwks/remote.d.ts +29 -41
  103. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/compact/sign.d.ts +8 -13
  104. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/compact/verify.d.ts +14 -26
  105. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/flattened/sign.d.ts +10 -19
  106. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/flattened/verify.d.ts +14 -26
  107. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/general/sign.d.ts +19 -33
  108. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/general/verify.d.ts +17 -32
  109. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/decrypt.d.ts +20 -27
  110. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/encrypt.d.ts +30 -35
  111. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/sign.d.ts +8 -13
  112. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/unsecured.d.ts +10 -19
  113. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/verify.d.ts +19 -22
  114. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/export.d.ts +10 -10
  115. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/generate_key_pair.d.ts +15 -22
  116. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/generate_secret.d.ts +12 -19
  117. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/import.d.ts +25 -31
  118. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/types.d.ts +184 -319
  119. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/base64url.d.ts +7 -7
  120. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_jwt.d.ts +5 -7
  121. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_protected_header.d.ts +6 -5
  122. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/errors.d.ts +50 -88
  123. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/index.js +70 -32
  124. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +6 -8
  125. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +25 -48
  126. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +14 -14
  127. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +34 -64
  128. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/decrypt.js +38 -49
  129. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/encrypt.js +100 -172
  130. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwk/embedded.js +29 -32
  131. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwk/thumbprint.js +51 -70
  132. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/local.js +53 -64
  133. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/remote.js +88 -136
  134. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/compact/sign.js +19 -21
  135. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/compact/verify.js +7 -8
  136. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/flattened/sign.js +22 -31
  137. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/flattened/verify.js +11 -24
  138. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/sign.js +55 -73
  139. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/verify.js +43 -69
  140. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/decrypt.js +12 -20
  141. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/encrypt.js +43 -70
  142. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/sign.js +17 -16
  143. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/unsecured.js +31 -40
  144. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/verify.js +12 -14
  145. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/export.js +32 -41
  146. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/generate_key_pair.js +32 -49
  147. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/generate_secret.js +35 -40
  148. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/import.js +48 -56
  149. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/asn1.js +128 -169
  150. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/buffer_utils.js +72 -41
  151. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/content_encryption.js +75 -119
  152. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/deflate.js +35 -47
  153. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +102 -93
  154. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +178 -234
  155. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +71 -138
  156. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_algorithms.js +62 -61
  157. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_sign.js +43 -82
  158. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_verify.js +78 -131
  159. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +123 -209
  160. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key.js +147 -139
  161. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_algorithm.js +13 -8
  162. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_descriptor.js +8 -6
  163. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_management.js +169 -235
  164. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/validate.js +122 -0
  165. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/base64url.js +14 -37
  166. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -31
  167. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/decode_protected_header.js +18 -23
  168. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/errors.js +94 -84
  169. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/package.json +17 -81
  170. package/node_modules/@posthog/core/dist/cookie.js +17 -13
  171. package/node_modules/@posthog/core/dist/error-tracking/chunk-ids.js +15 -11
  172. package/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.js +12 -8
  173. package/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.js +12 -8
  174. package/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.js +12 -9
  175. package/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs +0 -1
  176. package/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.js +12 -8
  177. package/node_modules/@posthog/core/dist/error-tracking/coercers/index.js +51 -63
  178. package/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.js +12 -8
  179. package/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.js +12 -8
  180. package/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.js +12 -8
  181. package/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.js +15 -11
  182. package/node_modules/@posthog/core/dist/error-tracking/coercers/utils.js +16 -12
  183. package/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.js +12 -8
  184. package/node_modules/@posthog/core/dist/error-tracking/exception-steps.js +18 -14
  185. package/node_modules/@posthog/core/dist/error-tracking/exception-steps.mjs +2 -2
  186. package/node_modules/@posthog/core/dist/error-tracking/index.js +41 -49
  187. package/node_modules/@posthog/core/dist/error-tracking/parsers/base.d.ts.map +1 -1
  188. package/node_modules/@posthog/core/dist/error-tracking/parsers/base.js +13 -9
  189. package/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs +1 -1
  190. package/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.js +12 -8
  191. package/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.js +12 -8
  192. package/node_modules/@posthog/core/dist/error-tracking/parsers/index.js +17 -13
  193. package/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs +4 -4
  194. package/node_modules/@posthog/core/dist/error-tracking/parsers/node.js +12 -8
  195. package/node_modules/@posthog/core/dist/error-tracking/parsers/opera.js +14 -10
  196. package/node_modules/@posthog/core/dist/error-tracking/parsers/safari.js +12 -8
  197. package/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.js +12 -8
  198. package/node_modules/@posthog/core/dist/error-tracking/release.js +15 -11
  199. package/node_modules/@posthog/core/dist/error-tracking/types.js +15 -11
  200. package/node_modules/@posthog/core/dist/error-tracking/utils.js +15 -11
  201. package/node_modules/@posthog/core/dist/eventemitter.js +15 -11
  202. package/node_modules/@posthog/core/dist/featureFlagLocalEvaluation.js +18 -14
  203. package/node_modules/@posthog/core/dist/featureFlagLocalEvaluation.mjs +1 -1
  204. package/node_modules/@posthog/core/dist/featureFlagUtils.js +30 -25
  205. package/node_modules/@posthog/core/dist/featureFlagUtils.mjs +2 -2
  206. package/node_modules/@posthog/core/dist/gzip.js +16 -12
  207. package/node_modules/@posthog/core/dist/index.js +302 -310
  208. package/node_modules/@posthog/core/dist/index.mjs +12 -12
  209. package/node_modules/@posthog/core/dist/logs/index.js +13 -9
  210. package/node_modules/@posthog/core/dist/logs/index.mjs +1 -1
  211. package/node_modules/@posthog/core/dist/logs/logs-utils.js +16 -12
  212. package/node_modules/@posthog/core/dist/logs/types.js +2 -2
  213. package/node_modules/@posthog/core/dist/logs/types.mjs +1 -0
  214. package/node_modules/@posthog/core/dist/metrics/config.js +15 -11
  215. package/node_modules/@posthog/core/dist/metrics/index.js +15 -11
  216. package/node_modules/@posthog/core/dist/metrics/index.mjs +2 -2
  217. package/node_modules/@posthog/core/dist/metrics/metrics-utils.js +14 -10
  218. package/node_modules/@posthog/core/dist/metrics/types.js +2 -2
  219. package/node_modules/@posthog/core/dist/metrics/types.mjs +1 -0
  220. package/node_modules/@posthog/core/dist/posthog-core-stateless.js +16 -12
  221. package/node_modules/@posthog/core/dist/posthog-core-stateless.mjs +1 -1
  222. package/node_modules/@posthog/core/dist/posthog-core.d.ts +14 -0
  223. package/node_modules/@posthog/core/dist/posthog-core.d.ts.map +1 -1
  224. package/node_modules/@posthog/core/dist/posthog-core.js +12 -8
  225. package/node_modules/@posthog/core/dist/surveys/activation.js +14 -10
  226. package/node_modules/@posthog/core/dist/surveys/events.js +14 -10
  227. package/node_modules/@posthog/core/dist/surveys/index.js +30 -26
  228. package/node_modules/@posthog/core/dist/surveys/index.mjs +6 -7
  229. package/node_modules/@posthog/core/dist/surveys/keys.js +16 -12
  230. package/node_modules/@posthog/core/dist/surveys/property-matching.js +19 -14
  231. package/node_modules/@posthog/core/dist/surveys/translations.js +16 -12
  232. package/node_modules/@posthog/core/dist/surveys/validation.js +13 -9
  233. package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.d.ts +3 -3
  234. package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.d.ts.map +1 -1
  235. package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.js +15 -11
  236. package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.mjs +3 -3
  237. package/node_modules/@posthog/core/dist/testing/index.js +21 -21
  238. package/node_modules/@posthog/core/dist/testing/test-utils.d.ts.map +1 -1
  239. package/node_modules/@posthog/core/dist/testing/test-utils.js +19 -18
  240. package/node_modules/@posthog/core/dist/testing/test-utils.mjs +7 -10
  241. package/node_modules/@posthog/core/dist/tracing-headers.js +12 -8
  242. package/node_modules/@posthog/core/dist/types.d.ts +1 -0
  243. package/node_modules/@posthog/core/dist/types.d.ts.map +1 -1
  244. package/node_modules/@posthog/core/dist/types.js +31 -26
  245. package/node_modules/@posthog/core/dist/types.mjs +1 -1
  246. package/node_modules/@posthog/core/dist/utils/bot-detection.js +16 -12
  247. package/node_modules/@posthog/core/dist/utils/browser-utils.js +12 -8
  248. package/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.js +14 -10
  249. package/node_modules/@posthog/core/dist/utils/index.d.ts +1 -0
  250. package/node_modules/@posthog/core/dist/utils/index.d.ts.map +1 -1
  251. package/node_modules/@posthog/core/dist/utils/index.js +205 -192
  252. package/node_modules/@posthog/core/dist/utils/index.mjs +4 -3
  253. package/node_modules/@posthog/core/dist/utils/json-utils.js +24 -19
  254. package/node_modules/@posthog/core/dist/utils/logger.js +17 -12
  255. package/node_modules/@posthog/core/dist/utils/number-utils.d.ts.map +1 -1
  256. package/node_modules/@posthog/core/dist/utils/number-utils.js +14 -10
  257. package/node_modules/@posthog/core/dist/utils/number-utils.mjs +1 -1
  258. package/node_modules/@posthog/core/dist/utils/otlp-any-value.js +15 -11
  259. package/node_modules/@posthog/core/dist/utils/otlp-any-value.mjs +1 -1
  260. package/node_modules/@posthog/core/dist/utils/otlp-resource.js +17 -13
  261. package/node_modules/@posthog/core/dist/utils/promise-queue.js +12 -8
  262. package/node_modules/@posthog/core/dist/utils/string-utils.js +21 -16
  263. package/node_modules/@posthog/core/dist/utils/type-utils.js +31 -27
  264. package/node_modules/@posthog/core/dist/utils/type-utils.mjs +2 -2
  265. package/node_modules/@posthog/core/dist/utils/user-agent-utils.js +16 -12
  266. package/node_modules/@posthog/core/dist/utils/webview-app-utils.d.ts +12 -0
  267. package/node_modules/@posthog/core/dist/utils/webview-app-utils.d.ts.map +1 -0
  268. package/node_modules/@posthog/core/dist/utils/webview-app-utils.js +132 -0
  269. package/node_modules/@posthog/core/dist/utils/webview-app-utils.mjs +94 -0
  270. package/node_modules/@posthog/core/dist/vendor/uuidv7.js +22 -17
  271. package/node_modules/@posthog/core/dist/vendor/uuidv7.mjs +1 -1
  272. package/node_modules/@posthog/core/package.json +8 -8
  273. package/node_modules/@posthog/core/src/error-tracking/coercers/promise-rejection-event.spec.ts +4 -4
  274. package/node_modules/@posthog/core/src/error-tracking/error-properties-builder.parse.spec.ts +1 -1
  275. package/node_modules/@posthog/core/src/error-tracking/parsers/base.spec.ts +21 -2
  276. package/node_modules/@posthog/core/src/error-tracking/parsers/base.ts +6 -2
  277. package/node_modules/@posthog/core/src/featureFlagLocalEvaluation.ts +1 -1
  278. package/node_modules/@posthog/core/src/featureFlagUtils.ts +4 -4
  279. package/node_modules/@posthog/core/src/logs/index.spec.ts +89 -89
  280. package/node_modules/@posthog/core/src/metrics/index.spec.ts +24 -24
  281. package/node_modules/@posthog/core/src/posthog-core.ts +14 -1
  282. package/node_modules/@posthog/core/src/surveys/activation.spec.ts +1 -1
  283. package/node_modules/@posthog/core/src/surveys/events.spec.ts +1 -1
  284. package/node_modules/@posthog/core/src/surveys/keys.spec.ts +1 -1
  285. package/node_modules/@posthog/core/src/surveys/translations.spec.ts +8 -8
  286. package/node_modules/@posthog/core/src/testing/PostHogCoreTestClient.ts +6 -6
  287. package/node_modules/@posthog/core/src/testing/test-utils.ts +7 -12
  288. package/node_modules/@posthog/core/src/types.ts +1 -0
  289. package/node_modules/@posthog/core/src/utils/bucketed-rate-limiter.spec.ts +13 -13
  290. package/node_modules/@posthog/core/src/utils/index.ts +1 -0
  291. package/node_modules/@posthog/core/src/utils/json-utils.spec.ts +5 -5
  292. package/node_modules/@posthog/core/src/utils/number-utils.spec.ts +20 -0
  293. package/node_modules/@posthog/core/src/utils/number-utils.ts +3 -1
  294. package/node_modules/@posthog/core/src/utils/otlp-any-value.spec.ts +4 -4
  295. package/node_modules/@posthog/core/src/utils/promise-queue.spec.ts +3 -3
  296. package/node_modules/@posthog/core/src/utils/type-utils.ts +4 -4
  297. package/node_modules/@posthog/core/src/utils/webview-app-utils.spec.ts +118 -0
  298. package/node_modules/@posthog/core/src/utils/webview-app-utils.ts +49 -0
  299. package/node_modules/@posthog/types/dist/capture-log.js +2 -2
  300. package/node_modules/@posthog/types/dist/capture-log.mjs +1 -0
  301. package/node_modules/@posthog/types/dist/capture-metric.js +15 -11
  302. package/node_modules/@posthog/types/dist/capture.js +2 -2
  303. package/node_modules/@posthog/types/dist/capture.mjs +1 -0
  304. package/node_modules/@posthog/types/dist/common.js +2 -2
  305. package/node_modules/@posthog/types/dist/common.mjs +1 -0
  306. package/node_modules/@posthog/types/dist/feature-flags.d.ts +1 -1
  307. package/node_modules/@posthog/types/dist/feature-flags.d.ts.map +1 -1
  308. package/node_modules/@posthog/types/dist/feature-flags.js +2 -2
  309. package/node_modules/@posthog/types/dist/feature-flags.mjs +1 -0
  310. package/node_modules/@posthog/types/dist/index.js +12 -8
  311. package/node_modules/@posthog/types/dist/index.mjs +1 -2
  312. package/node_modules/@posthog/types/dist/posthog-config.d.ts +15 -1
  313. package/node_modules/@posthog/types/dist/posthog-config.d.ts.map +1 -1
  314. package/node_modules/@posthog/types/dist/posthog-config.js +2 -2
  315. package/node_modules/@posthog/types/dist/posthog-config.mjs +1 -0
  316. package/node_modules/@posthog/types/dist/posthog.d.ts +2 -2
  317. package/node_modules/@posthog/types/dist/posthog.d.ts.map +1 -1
  318. package/node_modules/@posthog/types/dist/posthog.js +2 -2
  319. package/node_modules/@posthog/types/dist/posthog.mjs +1 -0
  320. package/node_modules/@posthog/types/dist/request.js +2 -2
  321. package/node_modules/@posthog/types/dist/request.mjs +1 -0
  322. package/node_modules/@posthog/types/dist/segment.js +2 -2
  323. package/node_modules/@posthog/types/dist/segment.mjs +1 -0
  324. package/node_modules/@posthog/types/dist/session-recording.js +2 -2
  325. package/node_modules/@posthog/types/dist/session-recording.mjs +1 -0
  326. package/node_modules/@posthog/types/dist/survey.js +2 -2
  327. package/node_modules/@posthog/types/dist/survey.mjs +1 -0
  328. package/node_modules/@posthog/types/dist/toolbar.js +2 -2
  329. package/node_modules/@posthog/types/dist/toolbar.mjs +1 -0
  330. package/node_modules/@posthog/types/dist/tree-shakeable.js +2 -2
  331. package/node_modules/@posthog/types/dist/tree-shakeable.mjs +1 -0
  332. package/node_modules/@posthog/types/package.json +4 -6
  333. package/node_modules/@posthog/types/src/feature-flags.ts +1 -1
  334. package/node_modules/@posthog/types/src/posthog-config.ts +16 -1
  335. package/node_modules/@posthog/types/src/posthog.ts +2 -2
  336. package/node_modules/@posthog/types/src/tree-shakeable.ts +1 -1
  337. package/node_modules/@zuplo/core/package.json +1 -1
  338. package/node_modules/@zuplo/graphql/package.json +1 -1
  339. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  340. package/node_modules/@zuplo/otel/package.json +1 -1
  341. package/node_modules/@zuplo/runtime/out/esm/{chunk-ZZCZZHOD.js → chunk-R4PTES5B.js} +104 -104
  342. package/node_modules/@zuplo/runtime/out/esm/chunk-R4PTES5B.js.map +1 -0
  343. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  344. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
  345. package/node_modules/@zuplo/runtime/out/types/index.d.ts +59 -9
  346. package/node_modules/@zuplo/runtime/package.json +1 -1
  347. package/node_modules/hono/dist/cjs/client/client.js +4 -4
  348. package/node_modules/hono/dist/cjs/hono-base.js +7 -6
  349. package/node_modules/hono/dist/cjs/jsx/base.js +18 -1
  350. package/node_modules/hono/dist/cjs/jsx/components.js +25 -26
  351. package/node_modules/hono/dist/cjs/jsx/context.js +5 -5
  352. package/node_modules/hono/dist/cjs/jsx/dom/server.js +5 -1
  353. package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +2 -2
  354. package/node_modules/hono/dist/cjs/jsx/streaming.js +4 -5
  355. package/node_modules/hono/dist/client/client.js +4 -4
  356. package/node_modules/hono/dist/hono-base.js +7 -6
  357. package/node_modules/hono/dist/jsx/base.js +15 -1
  358. package/node_modules/hono/dist/jsx/components.js +26 -27
  359. package/node_modules/hono/dist/jsx/context.js +6 -6
  360. package/node_modules/hono/dist/jsx/dom/server.js +5 -1
  361. package/node_modules/hono/dist/jsx/intrinsic-element/components.js +3 -3
  362. package/node_modules/hono/dist/jsx/streaming.js +5 -6
  363. package/node_modules/hono/dist/types/context.d.ts +2 -2
  364. package/node_modules/hono/dist/types/jsx/base.d.ts +3 -0
  365. package/node_modules/hono/package.json +2 -2
  366. package/package.json +11 -11
  367. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/base64.js +0 -22
  368. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -28
  369. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/helpers.js +0 -42
  370. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -26
  371. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
  372. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -20
  373. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -17
  374. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_options.js +0 -6
  375. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/options.js +0 -74
  376. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/signing.js +0 -26
  377. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/type_checks.js +0 -33
  378. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/base64.js +0 -22
  379. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -28
  380. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/helpers.js +0 -42
  381. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -26
  382. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
  383. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -20
  384. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -17
  385. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_options.js +0 -6
  386. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/options.js +0 -74
  387. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/signing.js +0 -26
  388. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/type_checks.js +0 -33
  389. package/node_modules/@zuplo/runtime/out/esm/chunk-ZZCZZHOD.js.map +0 -1
  390. /package/node_modules/@zuplo/runtime/out/esm/{chunk-ZZCZZHOD.js.LEGAL.txt → chunk-R4PTES5B.js.LEGAL.txt} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/checkbox",
3
- "version": "5.2.4",
3
+ "version": "5.2.5",
4
4
  "description": "Inquirer checkbox prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@inquirer/ansi": "^2.0.8",
71
- "@inquirer/core": "^12.0.2",
71
+ "@inquirer/core": "^12.0.3",
72
72
  "@inquirer/figures": "^2.0.9",
73
73
  "@inquirer/type": "4.1.1"
74
74
  },
@@ -89,5 +89,5 @@
89
89
  },
90
90
  "main": "./dist/index.js",
91
91
  "types": "./dist/index.d.ts",
92
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
92
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
93
93
  }
@@ -33,7 +33,7 @@ export default createPrompt((config, done) => {
33
33
  }
34
34
  const { transformer = boolToString } = config;
35
35
  function getBooleanValue(value, defaultValue) {
36
- const v = value.toLowerCase();
36
+ const v = value.trim().toLowerCase();
37
37
  if (v === '')
38
38
  return defaultValue !== false;
39
39
  if (yes.toLowerCase().startsWith(v))
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/confirm",
3
- "version": "6.3.1",
3
+ "version": "6.3.2",
4
4
  "description": "Inquirer confirm prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/type": "4.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -87,5 +87,5 @@
87
87
  },
88
88
  "main": "./dist/index.js",
89
89
  "types": "./dist/index.d.ts",
90
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
90
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
91
91
  }
@@ -10,6 +10,18 @@ import path from 'node:path';
10
10
  // Capture the real setImmediate at module load time so it works even when test
11
11
  // frameworks mock timers with vi.useFakeTimers() or similar.
12
12
  const nativeSetImmediate = globalThis.setImmediate;
13
+ /**
14
+ * Register an event listener and return its disposer, so registrations collapse
15
+ * into a single statement: `cleanups.add(listenTo(rl, 'close', handler))`.
16
+ */
17
+ function listenTo(target, event, listener) {
18
+ if ('on' in target) {
19
+ target.on(event, listener);
20
+ return () => target.removeListener(event, listener);
21
+ }
22
+ target.addEventListener(event, listener);
23
+ return () => target.removeEventListener(event, listener);
24
+ }
13
25
  function getCallSites() {
14
26
  // oxlint-disable-next-line typescript/unbound-method
15
27
  const savedPrepareStackTrace = Error.prepareStackTrace;
@@ -53,41 +65,63 @@ export function createPrompt(view) {
53
65
  output.mute();
54
66
  const screen = new ScreenManager(rl);
55
67
  const { promise, resolve, reject } = PromisePolyfill.withResolver();
56
- const cancel = () => reject(new CancelPromptError());
57
- if (signal) {
58
- const abort = () => reject(new AbortPromptError({ cause: signal.reason }));
59
- if (signal.aborted) {
60
- abort();
61
- return Object.assign(promise, { cancel });
62
- }
63
- signal.addEventListener('abort', abort);
64
- cleanups.add(() => signal.removeEventListener('abort', abort));
65
- }
66
- cleanups.add(onSignalExit((code, signal) => {
67
- reject(new ExitPromptError(`User force closed the prompt with ${code} ${signal}`));
68
- }));
69
- // SIGINT must be explicitly handled by the prompt so the ExitPromptError can be handled.
70
- // Otherwise, the prompt will stop and in some scenarios never resolve.
71
- // Ref issue #1741
72
- const sigint = () => reject(new ExitPromptError(`User force closed the prompt with SIGINT`));
73
- rl.on('SIGINT', sigint);
74
- cleanups.add(() => rl.removeListener('SIGINT', sigint));
75
68
  return withHooks(rl, (cycle) => {
76
- // The close event triggers immediately when the user press ctrl+c. SignalExit on the other hand
77
- // triggers after the process is done (which happens after timeouts are done triggering.)
78
- // We triggers the hooks cleanup phase on rl `close` so active timeouts can be cleared.
79
- const hooksCleanup = AsyncResource.bind(() => effectScheduler.clearAll());
80
- rl.on('close', hooksCleanup);
81
- cleanups.add(() => rl.removeListener('close', hooksCleanup));
69
+ // Clear hook effects synchronously before the prompt settles: readline
70
+ // emits keypresses synchronously within a single data event, so a
71
+ // microtask-deferred cleanup would let same-tick input keep driving a
72
+ // settled prompt.
73
+ const clearEffects = AsyncResource.bind(() => effectScheduler.clearAll());
74
+ // The promise resolvers and effectScheduler.clearAll() are both idempotent,
75
+ // so repeated settlement attempts are harmless no-ops. If a hook cleanup
76
+ // throws, the cleanup error supersedes the settlement: the answer (or
77
+ // settlement error, e.g. AbortPromptError) is dropped in favor of
78
+ // rejecting with the cleanup error.
79
+ const settlePrompt = (settle) => {
80
+ try {
81
+ clearEffects();
82
+ settle();
83
+ }
84
+ catch (error) {
85
+ reject(error);
86
+ }
87
+ };
88
+ const resolvePrompt = (value) => settlePrompt(() => resolve(value));
89
+ const rejectPrompt = (error) => settlePrompt(() => reject(error));
90
+ const promptPromise = Object.assign(promise
91
+ .finally(() => {
92
+ cleanups.forEach((cleanup) => cleanup());
93
+ screen.done({ clearContent: Boolean(context.clearPromptOnDone) });
94
+ output.end();
95
+ })
96
+ .then(() => promise), { cancel: () => rejectPrompt(new CancelPromptError()) });
97
+ if (signal) {
98
+ const abort = () => rejectPrompt(new AbortPromptError({ cause: signal.reason }));
99
+ if (signal.aborted) {
100
+ abort();
101
+ return promptPromise;
102
+ }
103
+ cleanups.add(listenTo(signal, 'abort', abort));
104
+ }
105
+ cleanups.add(onSignalExit((code, signal) => {
106
+ rejectPrompt(new ExitPromptError(`User force closed the prompt with ${code} ${signal}`));
107
+ }));
108
+ // SIGINT must be explicitly handled by the prompt so the ExitPromptError can be handled.
109
+ // Otherwise, the prompt will stop and in some scenarios never resolve.
110
+ // Ref issue #1741
111
+ cleanups.add(listenTo(rl, 'SIGINT', () => rejectPrompt(new ExitPromptError(`User force closed the prompt with SIGINT`))));
112
+ // Fallback for readline closing without the prompt settling (e.g. stdin
113
+ // EOF), so active effect timeouts still get cleared. Every settlement
114
+ // path already clears effects through settlePrompt; this event triggers
115
+ // immediately when the user presses ctrl+c, while signal-exit only
116
+ // triggers after the process is done (after timeouts finish triggering).
117
+ cleanups.add(listenTo(rl, 'close', clearEffects));
82
118
  const startCycle = () => {
83
119
  // Re-renders only happen when the state change; but the readline cursor could
84
120
  // change position and that also requires a re-render (and a manual one because
85
121
  // we mute the streams). We set the listener after the initial workLoop to avoid
86
122
  // a double render if render triggered by a state change sets the cursor to the
87
123
  // right position.
88
- const checkCursorPos = () => screen.checkCursorPos();
89
- rl.input.on('keypress', checkCursorPos);
90
- cleanups.add(() => rl.input.removeListener('keypress', checkCursorPos));
124
+ cleanups.add(listenTo(rl.input, 'keypress', () => screen.checkCursorPos()));
91
125
  let pendingDone = null;
92
126
  cycle(() => {
93
127
  let effectsSettled = false;
@@ -97,7 +131,7 @@ export function createPrompt(view) {
97
131
  // After the cycle completes (async validation path), the "done"
98
132
  // render already flushed via setStatus → handleChange, so resolve
99
133
  // immediately.
100
- resolve(value);
134
+ resolvePrompt(value);
101
135
  }
102
136
  else {
103
137
  pendingDone = { value };
@@ -117,13 +151,13 @@ export function createPrompt(view) {
117
151
  effectScheduler.run();
118
152
  }
119
153
  catch (error) {
120
- reject(error);
154
+ rejectPrompt(error);
121
155
  }
122
156
  effectsSettled = true;
123
157
  if (pendingDone !== null) {
124
158
  const { value } = pendingDone;
125
159
  pendingDone = null;
126
- resolve(value);
160
+ resolvePrompt(value);
127
161
  }
128
162
  });
129
163
  };
@@ -143,22 +177,7 @@ export function createPrompt(view) {
143
177
  else {
144
178
  startCycle();
145
179
  }
146
- return Object.assign(promise
147
- .then((answer) => {
148
- effectScheduler.clearAll();
149
- return answer;
150
- }, (error) => {
151
- effectScheduler.clearAll();
152
- throw error;
153
- })
154
- // Wait for the promise to settle, then cleanup.
155
- .finally(() => {
156
- cleanups.forEach((cleanup) => cleanup());
157
- screen.done({ clearContent: Boolean(context.clearPromptOnDone) });
158
- output.end();
159
- })
160
- // Once cleanup is done, let the expose promise resolve/reject to the internal one.
161
- .then(() => promise), { cancel });
180
+ return promptPromise;
162
181
  });
163
182
  };
164
183
  return prompt;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/core",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "description": "Core Inquirer prompt API",
5
5
  "keywords": [
6
6
  "answer",
@@ -94,5 +94,5 @@
94
94
  },
95
95
  "main": "./dist/index.js",
96
96
  "types": "./dist/index.d.ts",
97
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
97
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
98
98
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/editor",
3
- "version": "5.3.2",
3
+ "version": "5.3.3",
4
4
  "description": "Inquirer multiline editor prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/external-editor": "^3.0.5",
72
72
  "@inquirer/type": "4.1.1"
73
73
  },
@@ -88,5 +88,5 @@
88
88
  },
89
89
  "main": "./dist/index.js",
90
90
  "types": "./dist/index.d.ts",
91
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
91
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
92
92
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/expand",
3
- "version": "5.1.4",
3
+ "version": "5.1.5",
4
4
  "description": "Inquirer checkbox prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/type": "4.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -87,5 +87,5 @@
87
87
  },
88
88
  "main": "./dist/index.js",
89
89
  "types": "./dist/index.d.ts",
90
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
90
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
91
91
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/input",
3
- "version": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "Inquirer input text prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/type": "4.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -87,5 +87,5 @@
87
87
  },
88
88
  "main": "./dist/index.js",
89
89
  "types": "./dist/index.d.ts",
90
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
90
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
91
91
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/number",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Inquirer number prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/type": "4.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -87,5 +87,5 @@
87
87
  },
88
88
  "main": "./dist/index.js",
89
89
  "types": "./dist/index.d.ts",
90
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
90
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
91
91
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/password",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
4
4
  "description": "Inquirer password prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@inquirer/ansi": "^2.0.8",
71
- "@inquirer/core": "^12.0.2",
71
+ "@inquirer/core": "^12.0.3",
72
72
  "@inquirer/type": "4.1.1"
73
73
  },
74
74
  "devDependencies": {
@@ -88,5 +88,5 @@
88
88
  },
89
89
  "main": "./dist/index.js",
90
90
  "types": "./dist/index.d.ts",
91
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
91
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
92
92
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/rawlist",
3
- "version": "5.3.4",
3
+ "version": "5.3.5",
4
4
  "description": "Inquirer rawlist prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/type": "4.1.1"
72
72
  },
73
73
  "devDependencies": {
@@ -87,5 +87,5 @@
87
87
  },
88
88
  "main": "./dist/index.js",
89
89
  "types": "./dist/index.d.ts",
90
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
90
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
91
91
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/search",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "Inquirer search prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -67,7 +67,7 @@
67
67
  "tsc": "tsc"
68
68
  },
69
69
  "dependencies": {
70
- "@inquirer/core": "^12.0.2",
70
+ "@inquirer/core": "^12.0.3",
71
71
  "@inquirer/figures": "^2.0.9",
72
72
  "@inquirer/type": "4.1.1"
73
73
  },
@@ -88,5 +88,5 @@
88
88
  },
89
89
  "main": "./dist/index.js",
90
90
  "types": "./dist/index.d.ts",
91
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
91
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
92
92
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/select",
3
- "version": "5.2.4",
3
+ "version": "5.2.5",
4
4
  "description": "Inquirer select/list prompt",
5
5
  "keywords": [
6
6
  "answer",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@inquirer/ansi": "^2.0.8",
71
- "@inquirer/core": "^12.0.2",
71
+ "@inquirer/core": "^12.0.3",
72
72
  "@inquirer/figures": "^2.0.9",
73
73
  "@inquirer/type": "4.1.1"
74
74
  },
@@ -89,5 +89,5 @@
89
89
  },
90
90
  "main": "./dist/index.js",
91
91
  "types": "./dist/index.d.ts",
92
- "gitHead": "5748bd9966b5e175ddf5995ee4cdce6f60c4272e"
92
+ "gitHead": "cbdb34bfc6c245941d80ef88493c50b3d6dbfce6"
93
93
  }
@@ -48,8 +48,7 @@ import * as base64url from './util/base64url.js';
48
48
  export { base64url };
49
49
  export type { AnyJWK, CompactDecryptResult, CompactJWEHeaderParameters, CompactJWSHeaderParameters, CompactVerifyResult, CritOption, CryptoKey, DecryptOptions, EncryptOptions, FlattenedDecryptResult, FlattenedJWE, FlattenedJWS, FlattenedJWSInput, FlattenedVerifyResult, GeneralDecryptResult, GeneralJWE, GeneralJWS, GeneralJWSInput, GeneralVerifyResult, GetKeyFunction, JoseHeaderParameters, JSONWebKeySet, JWEContentEncryptionAlgorithm, JWEHeaderParameters, JWEKeyManagementAlgorithm, JWEKeyManagementHeaderParameters, JWK_AKP_Private, JWK_AKP_Public, JWK_EC_Private, JWK_EC_Public, JWK_oct, JWK_OKP_Private, JWK_OKP_Public, JWK_RSA_Private, JWK_RSA_Public, JWK, JWKKeyType, JWKParameters, JWSAlgorithm, JWSHeaderParameters, JWTClaimVerificationOptions, JWTDecryptResult, JWTHeaderParameters, JWTPayload, JWTVerifyResult, KeyInput, KeyObject, ProduceJWT, ResolvedKey, SignOptions, VerifyOptions, } from './types.d.ts';
50
50
  /**
51
- * In prior releases this indicated whether a Node.js-specific build was loaded, this is now fixed
52
- * to `"WebCryptoAPI"`
51
+ * Identified the loaded runtime-specific build in prior releases; now always `"WebCryptoAPI"`.
53
52
  *
54
53
  * @deprecated Remove any runtime branching on this value; it is always `"WebCryptoAPI"`.
55
54
  */
@@ -1,37 +1,24 @@
1
- import type * as types from '../../types.d.ts';
2
- /**
3
- * Interface for Compact JWE Decryption dynamic key resolution. No token components have been
4
- * verified at the time of this function call.
5
- */
6
- export interface CompactDecryptGetKey<KeyType extends types.CryptoKey | Uint8Array = types.CryptoKey | Uint8Array> extends types.GetKeyFunction<types.CompactJWEHeaderParameters, types.FlattenedJWE, KeyType | types.KeyObject | types.JWK> {
1
+ import type * as t from '../../types.d.ts';
2
+ /** Resolves a key for Compact JWE decryption from unverified headers and token data. */
3
+ export interface CompactDecryptGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.CompactJWEHeaderParameters, t.FlattenedJWE, KeyType | t.KeyObject | t.JWK> {
7
4
  }
8
5
  /**
9
6
  * Decrypts a Compact JWE.
10
7
  *
11
- * @param jwe Compact JWE.
12
- * @param key Private Key or Secret to decrypt the JWE with. See
8
+ * @param key Private key or shared secret. See
13
9
  * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
14
- * @param options JWE Decryption options.
15
10
  */
16
- export declare function compactDecrypt(jwe: string | Uint8Array, key: types.KeyInput, options?: types.DecryptOptions): Promise<types.CompactDecryptResult>;
11
+ export declare function compactDecrypt(jwe: string | Uint8Array, key: t.KeyInput, options?: t.DecryptOptions): Promise<t.CompactDecryptResult>;
17
12
  /**
18
- * Decrypts a Compact JWE, resolving the key dynamically. The result additionally carries the
19
- * {@link types.ResolvedKey.key resolved key}.
13
+ * Decrypts a Compact JWE with a dynamically resolved key, included in the result.
20
14
  *
21
- * @param jwe Compact JWE.
22
- * @param getKey Function resolving Private Key or Secret to decrypt the JWE with. See
23
- * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
24
- * @param options JWE Decryption options.
15
+ * @param getKey Resolves a private key or shared secret from unverified token data.
25
16
  */
26
- export declare function compactDecrypt<KeyType extends types.CryptoKey | Uint8Array = types.CryptoKey | Uint8Array>(jwe: string | Uint8Array, getKey: CompactDecryptGetKey<KeyType>, options?: types.DecryptOptions): Promise<types.CompactDecryptResult & types.ResolvedKey<KeyType>>;
17
+ export declare function compactDecrypt<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array>(jwe: string | Uint8Array, getKey: CompactDecryptGetKey<KeyType>, options?: t.DecryptOptions): Promise<t.CompactDecryptResult & t.ResolvedKey<KeyType>>;
27
18
  /**
28
- * Accepts either form of the `key` argument. Use this overload when forwarding a value that may be
29
- * either a key or a key resolution function; `key` is present on the result only when a resolution
30
- * function was used.
19
+ * Decrypts a Compact JWE with a key or key resolver. The result includes `key` only when a resolver
20
+ * is used.
31
21
  *
32
- * @param jwe Compact JWE.
33
- * @param key Private Key or Secret, or a function resolving one, to decrypt the JWE with. See
34
- * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
35
- * @param options JWE Decryption options.
22
+ * @param key Private key or shared secret, or a function resolving one.
36
23
  */
37
- export declare function compactDecrypt(jwe: string | Uint8Array, key: types.KeyInput | CompactDecryptGetKey, options?: types.DecryptOptions): Promise<types.CompactDecryptResult & Partial<types.ResolvedKey>>;
24
+ export declare function compactDecrypt(jwe: string | Uint8Array, key: t.KeyInput | CompactDecryptGetKey, options?: t.DecryptOptions): Promise<t.CompactDecryptResult & Partial<t.ResolvedKey>>;
@@ -1,54 +1,40 @@
1
- import type * as types from '../../types.d.ts';
2
- /** The CompactEncrypt class is used to build and encrypt Compact JWE strings. */
1
+ import type * as t from '../../types.d.ts';
2
+ /** Builds and encrypts Compact JWE strings. */
3
3
  export declare class CompactEncrypt {
4
4
  #private;
5
5
  /**
6
- * {@link CompactEncrypt} constructor
6
+ * Creates a Compact JWE encryptor.
7
7
  *
8
8
  * @param plaintext Binary representation of the plaintext to encrypt.
9
9
  */
10
10
  constructor(plaintext: Uint8Array);
11
11
  /**
12
- * Sets a content encryption key to use, by default a random suitable one is generated for the JWE
13
- * "enc" (Encryption Algorithm) Header Parameter.
12
+ * Sets a content encryption key instead of generating a random one for the JWE "enc" algorithm.
13
+ * May only be called once.
14
14
  *
15
- * @deprecated You should not use this method. It is only really intended for test and vector
16
- * validation purposes.
17
- *
18
- * @param cek JWE Content Encryption Key.
15
+ * @deprecated Use only for testing and vector validation.
19
16
  */
20
17
  setContentEncryptionKey(cek: Uint8Array): this;
21
18
  /**
22
- * Sets the JWE Initialization Vector to use for content encryption, by default a random suitable
23
- * one is generated for the JWE "enc" (Encryption Algorithm) Header Parameter.
24
- *
25
- * @deprecated You should not use this method. It is only really intended for test and vector
26
- * validation purposes.
19
+ * Sets the content encryption IV instead of generating a random one for the JWE "enc" algorithm.
20
+ * May only be called once.
27
21
  *
28
- * @param iv JWE Initialization Vector.
22
+ * @deprecated Use only for testing and vector validation.
29
23
  */
30
24
  setInitializationVector(iv: Uint8Array): this;
25
+ /** Sets the JWE Protected Header. May only be called once. */
26
+ setProtectedHeader(protectedHeader: t.CompactJWEHeaderParameters): this;
31
27
  /**
32
- * Sets the JWE Protected Header on the CompactEncrypt object.
33
- *
34
- * @param protectedHeader JWE Protected Header object.
35
- */
36
- setProtectedHeader(protectedHeader: types.CompactJWEHeaderParameters): this;
37
- /**
38
- * Sets the JWE Key Management parameters to be used when encrypting. Use this method instead of
39
- * the header setters to configure algorithm inputs such as ECDH-ES "apu" (Agreement PartyUInfo)
40
- * and "apv" (Agreement PartyVInfo), or PBES2 "p2c" (PBES2 Count). The parameters are added to the
41
- * appropriate JOSE Header.
42
- *
43
- * @param parameters JWE Key Management parameters.
28
+ * Sets key management inputs such as ECDH-ES "apu"/"apv" or PBES2 "p2c". Use this method instead
29
+ * of header setters; the resulting parameters are added to the JOSE header. May only be called
30
+ * once.
44
31
  */
45
- setKeyManagementParameters(parameters: types.JWEKeyManagementHeaderParameters): this;
32
+ setKeyManagementParameters(parameters: t.JWEKeyManagementHeaderParameters): this;
46
33
  /**
47
- * Encrypts and resolves the value of the Compact JWE string.
34
+ * Encrypts the plaintext as a Compact JWE.
48
35
  *
49
- * @param key Public Key or Secret to encrypt the JWE with. See
36
+ * @param key Public key or shared secret. See
50
37
  * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
51
- * @param options JWE Encryption options.
52
38
  */
53
- encrypt(key: types.KeyInput, options?: types.EncryptOptions): Promise<string>;
39
+ encrypt(key: t.KeyInput, options?: t.EncryptOptions): Promise<string>;
54
40
  }
@@ -1,37 +1,24 @@
1
- import type * as types from '../../types.d.ts';
2
- /**
3
- * Interface for Flattened JWE Decryption dynamic key resolution. No token components have been
4
- * verified at the time of this function call.
5
- */
6
- export interface FlattenedDecryptGetKey<KeyType extends types.CryptoKey | Uint8Array = types.CryptoKey | Uint8Array> extends types.GetKeyFunction<types.JWEHeaderParameters | undefined, types.FlattenedJWE, KeyType | types.KeyObject | types.JWK> {
1
+ import type * as t from '../../types.d.ts';
2
+ /** Resolves a key for Flattened JWE decryption from unverified headers and token data. */
3
+ export interface FlattenedDecryptGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.JWEHeaderParameters | undefined, t.FlattenedJWE, KeyType | t.KeyObject | t.JWK> {
7
4
  }
8
5
  /**
9
6
  * Decrypts a Flattened JWE.
10
7
  *
11
- * @param jwe Flattened JWE.
12
- * @param key Private Key or Secret to decrypt the JWE with. See
8
+ * @param key Private key or shared secret. See
13
9
  * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
14
- * @param options JWE Decryption options.
15
10
  */
16
- export declare function flattenedDecrypt(jwe: types.FlattenedJWE, key: types.KeyInput, options?: types.DecryptOptions): Promise<types.FlattenedDecryptResult>;
11
+ export declare function flattenedDecrypt(jwe: t.FlattenedJWE, key: t.KeyInput, options?: t.DecryptOptions): Promise<t.FlattenedDecryptResult>;
17
12
  /**
18
- * Decrypts a Flattened JWE, resolving the key dynamically. The result additionally carries the
19
- * {@link types.ResolvedKey.key resolved key}.
13
+ * Decrypts a Flattened JWE with a dynamically resolved key, included in the result.
20
14
  *
21
- * @param jwe Flattened JWE.
22
- * @param getKey Function resolving Private Key or Secret to decrypt the JWE with. See
23
- * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
24
- * @param options JWE Decryption options.
15
+ * @param getKey Resolves a private key or shared secret from unverified token data.
25
16
  */
26
- export declare function flattenedDecrypt<KeyType extends types.CryptoKey | Uint8Array = types.CryptoKey | Uint8Array>(jwe: types.FlattenedJWE, getKey: FlattenedDecryptGetKey<KeyType>, options?: types.DecryptOptions): Promise<types.FlattenedDecryptResult & types.ResolvedKey<KeyType>>;
17
+ export declare function flattenedDecrypt<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array>(jwe: t.FlattenedJWE, getKey: FlattenedDecryptGetKey<KeyType>, options?: t.DecryptOptions): Promise<t.FlattenedDecryptResult & t.ResolvedKey<KeyType>>;
27
18
  /**
28
- * Accepts either form of the `key` argument. Use this overload when forwarding a value that may be
29
- * either a key or a key resolution function; `key` is present on the result only when a resolution
30
- * function was used.
19
+ * Decrypts a Flattened JWE with a key or key resolver. The result includes `key` only when a
20
+ * resolver is used.
31
21
  *
32
- * @param jwe Flattened JWE.
33
- * @param key Private Key or Secret, or a function resolving one, to decrypt the JWE with. See
34
- * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
35
- * @param options JWE Decryption options.
22
+ * @param key Private key or shared secret, or a function resolving one.
36
23
  */
37
- export declare function flattenedDecrypt(jwe: types.FlattenedJWE, key: types.KeyInput | FlattenedDecryptGetKey, options?: types.DecryptOptions): Promise<types.FlattenedDecryptResult & Partial<types.ResolvedKey>>;
24
+ export declare function flattenedDecrypt(jwe: t.FlattenedJWE, key: t.KeyInput | FlattenedDecryptGetKey, options?: t.DecryptOptions): Promise<t.FlattenedDecryptResult & Partial<t.ResolvedKey>>;