@zuplo/cli 7.6.9 → 7.7.0

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 (220) 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 +7 -11
  16. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +13 -16
  17. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +7 -11
  18. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +16 -19
  19. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +10 -16
  20. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +18 -21
  21. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwk/embedded.d.ts +3 -1
  22. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwk/thumbprint.d.ts +4 -6
  23. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwks/local.d.ts +5 -4
  24. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwks/remote.d.ts +20 -21
  25. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/compact/sign.d.ts +4 -4
  26. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/compact/verify.d.ts +8 -11
  27. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -5
  28. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/flattened/verify.d.ts +8 -11
  29. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/general/sign.d.ts +10 -14
  30. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/general/verify.d.ts +11 -17
  31. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/decrypt.d.ts +14 -11
  32. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/encrypt.d.ts +24 -22
  33. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/sign.d.ts +3 -7
  34. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -6
  35. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/verify.d.ts +13 -6
  36. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/export.d.ts +6 -6
  37. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/generate_key_pair.d.ts +9 -14
  38. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/generate_secret.d.ts +10 -10
  39. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/import.d.ts +19 -18
  40. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/types.d.ts +152 -247
  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 +6 -1
  43. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_protected_header.d.ts +4 -3
  44. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/errors.d.ts +29 -40
  45. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +1 -2
  46. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +9 -26
  47. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +3 -3
  48. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +11 -30
  49. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/decrypt.js +6 -6
  50. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/encrypt.js +33 -57
  51. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwk/embedded.js +3 -4
  52. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwk/thumbprint.js +3 -6
  53. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/local.js +16 -10
  54. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
  55. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/compact/sign.js +2 -4
  56. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/compact/verify.js +2 -2
  57. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/flattened/sign.js +8 -15
  58. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/flattened/verify.js +4 -14
  59. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/sign.js +4 -11
  60. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/verify.js +5 -7
  61. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/decrypt.js +2 -3
  62. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/encrypt.js +11 -25
  63. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/sign.js +1 -1
  64. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/unsecured.js +1 -2
  65. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/verify.js +4 -4
  66. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/export.js +12 -16
  67. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/generate_key_pair.js +4 -13
  68. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/generate_secret.js +1 -1
  69. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/import.js +5 -9
  70. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/asn1.js +2 -4
  71. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/buffer_utils.js +35 -0
  72. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/content_encryption.js +21 -29
  73. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/deflate.js +9 -19
  74. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -4
  75. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +21 -54
  76. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +26 -59
  77. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_sign.js +29 -43
  78. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_verify.js +37 -45
  79. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +1 -1
  80. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key.js +119 -59
  81. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_management.js +45 -80
  82. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/{options.js → validate.js} +64 -3
  83. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/base64url.js +5 -19
  84. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
  85. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
  86. package/node_modules/@modelcontextprotocol/client/node_modules/jose/package.json +1 -1
  87. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/index.d.ts +1 -2
  88. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +7 -11
  89. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +13 -16
  90. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +7 -11
  91. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +16 -19
  92. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +10 -16
  93. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +18 -21
  94. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwk/embedded.d.ts +3 -1
  95. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwk/thumbprint.d.ts +4 -6
  96. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwks/local.d.ts +5 -4
  97. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwks/remote.d.ts +20 -21
  98. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/compact/sign.d.ts +4 -4
  99. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/compact/verify.d.ts +8 -11
  100. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -5
  101. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/flattened/verify.d.ts +8 -11
  102. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/general/sign.d.ts +10 -14
  103. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/general/verify.d.ts +11 -17
  104. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/decrypt.d.ts +14 -11
  105. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/encrypt.d.ts +24 -22
  106. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/sign.d.ts +3 -7
  107. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -6
  108. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/verify.d.ts +13 -6
  109. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/export.d.ts +6 -6
  110. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/generate_key_pair.d.ts +9 -14
  111. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/generate_secret.d.ts +10 -10
  112. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/import.d.ts +19 -18
  113. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/types.d.ts +152 -247
  114. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/base64url.d.ts +7 -7
  115. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_jwt.d.ts +6 -1
  116. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_protected_header.d.ts +4 -3
  117. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/errors.d.ts +29 -40
  118. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +1 -2
  119. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +9 -26
  120. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +3 -3
  121. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +11 -30
  122. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/decrypt.js +6 -6
  123. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/encrypt.js +33 -57
  124. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwk/embedded.js +3 -4
  125. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwk/thumbprint.js +3 -6
  126. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/local.js +16 -10
  127. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
  128. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/compact/sign.js +2 -4
  129. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/compact/verify.js +2 -2
  130. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/flattened/sign.js +8 -15
  131. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/flattened/verify.js +4 -14
  132. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/sign.js +4 -11
  133. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/verify.js +5 -7
  134. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/decrypt.js +2 -3
  135. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/encrypt.js +11 -25
  136. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/sign.js +1 -1
  137. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/unsecured.js +1 -2
  138. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/verify.js +4 -4
  139. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/export.js +12 -16
  140. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/generate_key_pair.js +4 -13
  141. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/generate_secret.js +1 -1
  142. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/import.js +5 -9
  143. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/asn1.js +2 -4
  144. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/buffer_utils.js +35 -0
  145. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/content_encryption.js +21 -29
  146. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/deflate.js +9 -19
  147. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -4
  148. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +21 -54
  149. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +26 -59
  150. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_sign.js +29 -43
  151. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_verify.js +37 -45
  152. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +1 -1
  153. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key.js +119 -59
  154. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_management.js +45 -80
  155. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/{options.js → validate.js} +64 -3
  156. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/base64url.js +5 -19
  157. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
  158. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
  159. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/package.json +1 -1
  160. package/node_modules/@posthog/core/dist/posthog-core.d.ts +14 -0
  161. package/node_modules/@posthog/core/dist/posthog-core.d.ts.map +1 -1
  162. package/node_modules/@posthog/core/dist/types.d.ts +1 -0
  163. package/node_modules/@posthog/core/dist/types.d.ts.map +1 -1
  164. package/node_modules/@posthog/core/dist/utils/index.d.ts +1 -0
  165. package/node_modules/@posthog/core/dist/utils/index.d.ts.map +1 -1
  166. package/node_modules/@posthog/core/dist/utils/index.js +26 -0
  167. package/node_modules/@posthog/core/dist/utils/index.mjs +1 -0
  168. package/node_modules/@posthog/core/dist/utils/webview-app-utils.d.ts +12 -0
  169. package/node_modules/@posthog/core/dist/utils/webview-app-utils.d.ts.map +1 -0
  170. package/node_modules/@posthog/core/dist/utils/webview-app-utils.js +132 -0
  171. package/node_modules/@posthog/core/dist/utils/webview-app-utils.mjs +94 -0
  172. package/node_modules/@posthog/core/package.json +2 -2
  173. package/node_modules/@posthog/core/src/featureFlagLocalEvaluation.ts +1 -1
  174. package/node_modules/@posthog/core/src/posthog-core.ts +14 -0
  175. package/node_modules/@posthog/core/src/types.ts +1 -0
  176. package/node_modules/@posthog/core/src/utils/index.ts +1 -0
  177. package/node_modules/@posthog/core/src/utils/otlp-any-value.spec.ts +1 -1
  178. package/node_modules/@posthog/core/src/utils/type-utils.ts +4 -4
  179. package/node_modules/@posthog/core/src/utils/webview-app-utils.spec.ts +118 -0
  180. package/node_modules/@posthog/core/src/utils/webview-app-utils.ts +49 -0
  181. package/node_modules/@posthog/types/dist/feature-flags.d.ts +1 -1
  182. package/node_modules/@posthog/types/dist/feature-flags.d.ts.map +1 -1
  183. package/node_modules/@posthog/types/dist/posthog-config.d.ts +7 -1
  184. package/node_modules/@posthog/types/dist/posthog-config.d.ts.map +1 -1
  185. package/node_modules/@posthog/types/package.json +1 -1
  186. package/node_modules/@posthog/types/src/feature-flags.ts +1 -1
  187. package/node_modules/@posthog/types/src/posthog-config.ts +7 -1
  188. package/node_modules/@posthog/types/src/tree-shakeable.ts +1 -1
  189. package/node_modules/@zuplo/core/package.json +1 -1
  190. package/node_modules/@zuplo/graphql/package.json +1 -1
  191. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  192. package/node_modules/@zuplo/otel/package.json +1 -1
  193. package/node_modules/@zuplo/runtime/out/esm/{chunk-Z3IKCP3N.js → chunk-R4PTES5B.js} +93 -93
  194. package/node_modules/@zuplo/runtime/out/esm/chunk-R4PTES5B.js.map +1 -0
  195. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  196. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
  197. package/node_modules/@zuplo/runtime/package.json +1 -1
  198. package/package.json +11 -11
  199. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/base64.js +0 -20
  200. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -27
  201. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/helpers.js +0 -45
  202. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -12
  203. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -19
  204. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -19
  205. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -10
  206. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_options.js +0 -8
  207. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/signing.js +0 -22
  208. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/type_checks.js +0 -30
  209. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/base64.js +0 -20
  210. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -27
  211. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/helpers.js +0 -45
  212. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -12
  213. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -19
  214. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -19
  215. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -10
  216. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_options.js +0 -8
  217. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/signing.js +0 -22
  218. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/type_checks.js +0 -30
  219. package/node_modules/@zuplo/runtime/out/esm/chunk-Z3IKCP3N.js.map +0 -1
  220. /package/node_modules/@zuplo/runtime/out/esm/{chunk-Z3IKCP3N.js.LEGAL.txt → chunk-R4PTES5B.js.LEGAL.txt} +0 -0
@@ -1,53 +1,55 @@
1
1
  import type * as t from '../types.d.ts';
2
- /**
3
- * EncryptJWT constructor
4
- *
5
- * @param payload The JWT Claims Set object. Defaults to an empty object.
6
- */
2
+ /** @param payload Initial JWT Claims Set. Defaults to an empty object. */
7
3
  declare const EncryptJWT_base: new (payload?: t.JWTPayload) => t.ProduceJWT;
8
4
  /** Builds and encrypts Compact JWE-formatted JSON Web Tokens. */
9
5
  export declare class EncryptJWT extends EncryptJWT_base {
10
6
  #private;
11
7
  /**
12
- * Sets the JWE Protected Header on the EncryptJWT object.
8
+ * Sets the JWE Protected Header. May only be called once.
13
9
  *
14
10
  * @param protectedHeader JWE Protected Header. Must contain an "alg" (JWE Algorithm) and "enc"
15
11
  * (JWE Encryption Algorithm) properties.
16
12
  */
17
13
  setProtectedHeader(protectedHeader: t.CompactJWEHeaderParameters): this;
18
14
  /**
19
- * Sets the JWE Key Management parameters to be used when encrypting. Use this method instead of
20
- * the header setters to configure algorithm inputs such as ECDH-ES "apu" (Agreement PartyUInfo)
21
- * and "apv" (Agreement PartyVInfo), or PBES2 "p2c" (PBES2 Count). The parameters are added to the
22
- * appropriate JOSE Header.
15
+ * Sets JWE Key Management parameters, such as ECDH-ES "apu" and "apv" or PBES2 "p2c", and adds
16
+ * them to the appropriate JOSE Header. Use this instead of the header setters for algorithm
17
+ * inputs. May only be called once.
23
18
  */
24
19
  setKeyManagementParameters(parameters: t.JWEKeyManagementHeaderParameters): this;
25
20
  /**
26
- * Sets a content encryption key to use, by default a random suitable one is generated for the JWE
27
- * "enc" (Encryption Algorithm) Header Parameter.
21
+ * Sets the content encryption key. By default, a suitable random key is generated for the JWE
22
+ * "enc" (Encryption Algorithm). May only be called once.
28
23
  *
29
- * @deprecated You should not use this method. It is only really intended for test and vector
30
- * validation purposes.
24
+ * @deprecated For testing and vector validation only; allow random generation in production.
31
25
  */
32
26
  setContentEncryptionKey(cek: Uint8Array): this;
33
27
  /**
34
- * Sets the JWE Initialization Vector to use for content encryption, by default a random suitable
35
- * one is generated for the JWE "enc" (Encryption Algorithm) Header Parameter.
28
+ * Sets the Initialization Vector for content encryption. By default, a suitable random IV is
29
+ * generated for the JWE "enc" (Encryption Algorithm). May only be called once.
36
30
  *
37
- * @deprecated You should not use this method. It is only really intended for test and vector
38
- * validation purposes.
31
+ * @deprecated For testing and vector validation only; allow random generation in production.
39
32
  */
40
33
  setInitializationVector(iv: Uint8Array): this;
41
- /** Replicates the "iss" (Issuer) Claim as a JWE Protected Header Parameter. */
34
+ /**
35
+ * Replicates the "iss" (Issuer) Claim in the JWE Protected Header, exposing it without
36
+ * decryption.
37
+ */
42
38
  replicateIssuerAsHeader(): this;
43
- /** Replicates the "sub" (Subject) Claim as a JWE Protected Header Parameter. */
39
+ /**
40
+ * Replicates the "sub" (Subject) Claim in the JWE Protected Header, exposing it without
41
+ * decryption.
42
+ */
44
43
  replicateSubjectAsHeader(): this;
45
- /** Replicates the "aud" (Audience) Claim as a JWE Protected Header Parameter. */
44
+ /**
45
+ * Replicates the "aud" (Audience) Claim in the JWE Protected Header, exposing it without
46
+ * decryption.
47
+ */
46
48
  replicateAudienceAsHeader(): this;
47
49
  /**
48
50
  * Encrypts and returns the JWT.
49
51
  *
50
- * @param key Public Key or Secret to encrypt the JWT with. See
52
+ * @param key Public key or shared secret to encrypt the JWT with. See
51
53
  * {@link https://github.com/panva/jose/issues/210#jwe-alg Algorithm Key Requirements}.
52
54
  */
53
55
  encrypt(key: t.KeyInput, options?: t.EncryptOptions): Promise<string>;
@@ -1,15 +1,11 @@
1
1
  import type * as t from '../types.d.ts';
2
- /**
3
- * SignJWT constructor
4
- *
5
- * @param payload The JWT Claims Set object. Defaults to an empty object.
6
- */
2
+ /** @param payload Initial JWT Claims Set. Defaults to an empty object. */
7
3
  declare const SignJWT_base: new (payload?: t.JWTPayload) => t.ProduceJWT;
8
4
  /** Builds and signs Compact JWS-formatted JSON Web Tokens. */
9
5
  export declare class SignJWT extends SignJWT_base {
10
6
  #private;
11
7
  /**
12
- * Sets the JWS Protected Header on the SignJWT object.
8
+ * Sets the JWS Protected Header. May only be called once.
13
9
  *
14
10
  * @param protectedHeader JWS Protected Header. Must contain an "alg" (JWS Algorithm) property.
15
11
  */
@@ -17,7 +13,7 @@ export declare class SignJWT extends SignJWT_base {
17
13
  /**
18
14
  * Signs and returns the JWT.
19
15
  *
20
- * @param key Private Key or Secret to sign the JWT with. See
16
+ * @param key Private key or shared secret to sign the JWT with. See
21
17
  * {@link https://github.com/panva/jose/issues/210#jws-alg Algorithm Key Requirements}.
22
18
  */
23
19
  sign(key: t.KeyInput, options?: t.SignOptions): Promise<string>;
@@ -6,18 +6,14 @@ export interface UnsecuredResult<PayloadType = t.JWTPayload> {
6
6
  /** The decoded JOSE Header; always `{ "alg": "none" }` for an Unsecured JWT. */
7
7
  header: t.JWSHeaderParameters;
8
8
  }
9
- /**
10
- * UnsecuredJWT constructor
11
- *
12
- * @param payload The JWT Claims Set object. Defaults to an empty object.
13
- */
9
+ /** @param payload Initial JWT Claims Set. Defaults to an empty object. */
14
10
  declare const UnsecuredJWT_base: new (payload?: t.JWTPayload) => t.ProduceJWT;
15
11
  /** Encodes and decodes `{ "alg": "none" }` Unsecured JWTs. */
16
12
  export declare class UnsecuredJWT extends UnsecuredJWT_base {
17
13
  private jwt;
18
14
  /** Encodes the Unsecured JWT. */
19
15
  encode(): string;
20
- /** Decodes an unsecured JWT. */
16
+ /** Decodes an unsecured JWT and validates its claims without authenticating the token. */
21
17
  static decode<PayloadType = t.JWTPayload>(jwt: string, options?: t.JWTClaimVerificationOptions): UnsecuredResult<PayloadType>;
22
18
  }
23
19
  export {};
@@ -2,27 +2,34 @@ import type * as t from '../types.d.ts';
2
2
  /** JWS verification and JWT Claims Set validation options. */
3
3
  export interface JWTVerifyOptions extends t.VerifyOptions, t.JWTClaimVerificationOptions {
4
4
  }
5
- /** Dynamic key resolver for JWT verification. */
5
+ /**
6
+ * Resolves a JWT verification key. No token components have been authenticated when this function
7
+ * is called.
8
+ */
6
9
  export interface JWTVerifyGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.CompactJWSHeaderParameters, t.FlattenedJWSInput, KeyType | t.KeyObject | t.JWK> {
7
10
  }
8
11
  /**
9
12
  * Verifies a Compact JWS-formatted JWT and validates its Claims Set.
10
13
  *
11
- * @param key Key to verify the JWT with. See
14
+ * @param key Public key or shared secret to verify the JWT with. See
12
15
  * {@link https://github.com/panva/jose/issues/210#jws-alg Algorithm Key Requirements}.
16
+ * @param options JWT Verification and JWT Claims Set validation options.
13
17
  */
14
18
  export declare function jwtVerify<PayloadType = t.JWTPayload>(jwt: string | Uint8Array, key: t.KeyInput, options?: JWTVerifyOptions): Promise<t.JWTVerifyResult<PayloadType>>;
15
19
  /**
16
- * @param getKey Function resolving a key to verify the JWT with. See
20
+ * Verifies the JWT signature and claims, returning the resolved key.
21
+ *
22
+ * @param getKey Function resolving a public key or shared secret to verify the JWT with. See
17
23
  * {@link https://github.com/panva/jose/issues/210#jws-alg Algorithm Key Requirements}.
24
+ * @param options JWT Verification and JWT Claims Set validation options.
18
25
  */
19
26
  export declare function jwtVerify<PayloadType = t.JWTPayload, KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array>(jwt: string | Uint8Array, getKey: JWTVerifyGetKey<KeyType>, options?: JWTVerifyOptions): Promise<t.JWTVerifyResult<PayloadType> & t.ResolvedKey<KeyType>>;
20
27
  /**
21
- * Accepts either form of the `key` argument. Use this overload when forwarding a value that may be
22
- * either a key or a key resolution function; `key` is present on the result only when a resolution
23
- * function was used.
28
+ * Accepts a key or key resolver. Use this overload when forwarding either form; the result includes
29
+ * `key` only when a resolver was used.
24
30
  *
25
31
  * @param key Key, or function resolving a key, to verify the JWT with. See
26
32
  * {@link https://github.com/panva/jose/issues/210#jws-alg Algorithm Key Requirements}.
33
+ * @param options JWT Verification and JWT Claims Set validation options.
27
34
  */
28
35
  export declare function jwtVerify<PayloadType = t.JWTPayload>(jwt: string | Uint8Array, key: t.KeyInput | JWTVerifyGetKey, options?: JWTVerifyOptions): Promise<t.JWTVerifyResult<PayloadType> & Partial<t.ResolvedKey>>;
@@ -1,19 +1,19 @@
1
1
  import type * as t from '../types.d.ts';
2
2
  /**
3
- * Exports a public {@link !CryptoKey} or {@link !KeyObject} to a PEM-encoded SPKI string format.
3
+ * Exports a public key to PEM-encoded SPKI. CryptoKey inputs must be extractable.
4
4
  *
5
- * @param key Key to export to a PEM-encoded SPKI string format.
5
+ * @param key Key to export.
6
6
  */
7
7
  export declare function exportSPKI(key: t.CryptoKey | t.KeyObject): Promise<string>;
8
8
  /**
9
- * Exports a private {@link !CryptoKey} or {@link !KeyObject} to a PEM-encoded PKCS8 string format.
9
+ * Exports a private key to PEM-encoded PKCS#8. CryptoKey inputs must be extractable.
10
10
  *
11
- * @param key Key to export to a PEM-encoded PKCS8 string format.
11
+ * @param key Key to export.
12
12
  */
13
13
  export declare function exportPKCS8(key: t.CryptoKey | t.KeyObject): Promise<string>;
14
14
  /**
15
- * Exports a {@link !CryptoKey}, {@link !KeyObject}, or {@link !Uint8Array} to a JWK.
15
+ * Exports a key to JWK. CryptoKey inputs must be extractable.
16
16
  *
17
- * @param key Key to export as JWK.
17
+ * @param key Key to export.
18
18
  */
19
19
  export declare function exportJWK(key: t.CryptoKey | t.KeyObject | Uint8Array): Promise<t.JWK>;
@@ -1,36 +1,31 @@
1
1
  import type * as t from '../types.d.ts';
2
- /**
3
- * JWA Algorithm Identifiers that {@link generateKeyPair} is able to generate a key pair for, subject
4
- * to runtime support.
5
- */
2
+ /** Algorithms supported by {@link generateKeyPair}, subject to runtime support. */
6
3
  export type GenerateKeyPairAlgorithm = 'PS256' | 'PS384' | 'PS512' | 'RS256' | 'RS384' | 'RS512' | 'RSA-OAEP' | 'RSA-OAEP-256' | 'RSA-OAEP-384' | 'RSA-OAEP-512' | 'ES256' | 'ES384' | 'ES512' | 'Ed25519' | 'EdDSA' | 'ML-DSA-44' | 'ML-DSA-65' | 'ML-DSA-87' | 'ECDH-ES' | 'ECDH-ES+A128KW' | 'ECDH-ES+A192KW' | 'ECDH-ES+A256KW' | (string & {});
7
4
  /** Generated asymmetric key pair. */
8
5
  export interface GenerateKeyPairResult {
9
- /** The generated Private Key. */
10
6
  privateKey: t.CryptoKey;
11
- /** Public Key corresponding to the generated Private Key. */
12
7
  publicKey: t.CryptoKey;
13
8
  }
14
9
  /** Asymmetric key pair generation options. */
15
10
  export interface GenerateKeyPairOptions {
16
11
  /**
17
- * The EC "crv" (Curve) or OKP "crv" (Subtype of Key Pair) value to generate. The curve must be
18
- * both supported on the runtime as well as applicable for the given JWA algorithm identifier.
12
+ * EC curve or OKP key subtype. Must be supported by the algorithm and runtime. ECDH-ES defaults
13
+ * to P-256.
19
14
  */
20
15
  crv?: string;
16
+ /** RSA modulus length in bits. Must be an integer of at least 2048; defaults to 2048. */
17
+ modulusLength?: number;
21
18
  /**
22
- * A hint for RSA algorithms to generate an RSA key of a given `modulusLength` (Key size in bits).
23
- * JOSE requires 2048 bits or larger. Default is 2048.
19
+ * Whether the private key is extractable. Defaults to false; the public key is always
20
+ * extractable.
24
21
  */
25
- modulusLength?: number;
26
- /** The value to use as {@link !SubtleCrypto.generateKey} `extractable` argument. Default is false. */
27
22
  extractable?: boolean;
28
23
  }
29
24
  /**
30
25
  * Generates an asymmetric key pair for a JWA algorithm identifier.
31
26
  *
32
- * > Note: The `privateKey` is generated with `extractable` set to `false` by default. See
33
- * > {@link GenerateKeyPairOptions.extractable} to generate an extractable `privateKey`.
27
+ * > Note: Private keys are not extractable by default. Set {@link GenerateKeyPairOptions.extractable} to
28
+ * > export them; public keys are always extractable.
34
29
  *
35
30
  * @param alg JWA Algorithm Identifier to be used with the generated key pair. See
36
31
  * {@link https://github.com/panva/jose/issues/210 Algorithm Key Requirements}.
@@ -1,18 +1,18 @@
1
1
  import type * as t from '../types.d.ts';
2
+ /** Algorithms supported by {@link generateSecret}, subject to runtime support. */
3
+ export type GenerateSecretAlgorithm = 'HS256' | 'HS384' | 'HS512' | 'A128CBC-HS256' | 'A192CBC-HS384' | 'A256CBC-HS512' | 'A128KW' | 'A192KW' | 'A256KW' | 'A128GCMKW' | 'A192GCMKW' | 'A256GCMKW' | 'A128GCM' | 'A192GCM' | 'A256GCM' | (string & {});
2
4
  /**
3
- * JWA Algorithm Identifiers that {@link generateSecret} is able to generate a secret for, subject to
4
- * runtime support.
5
+ * Maps a JWA algorithm identifier to the value returned by {@link generateSecret}. AES-CBC-HMAC
6
+ * algorithms return {@link !Uint8Array}; other supported algorithms return
7
+ * {@link t.CryptoKey CryptoKey}. When the algorithm is not statically known, the result is their
8
+ * union.
5
9
  */
6
- export type GenerateSecretAlgorithm = 'HS256' | 'HS384' | 'HS512' | 'A128CBC-HS256' | 'A192CBC-HS384' | 'A256CBC-HS512' | 'A128KW' | 'A192KW' | 'A256KW' | 'A128GCMKW' | 'A192GCMKW' | 'A256GCMKW' | 'A128GCM' | 'A192GCM' | 'A256GCM' | (string & {});
7
- /** Maps a JWA algorithm identifier to the value returned by {@link generateSecret}. */
8
10
  export type GeneratedSecret<Alg extends string> = Alg extends 'A128CBC-HS256' | 'A192CBC-HS384' | 'A256CBC-HS512' ? Uint8Array : string extends Alg ? t.CryptoKey | Uint8Array : t.CryptoKey;
9
11
  /** Secret generation options. */
10
12
  export interface GenerateSecretOptions {
11
13
  /**
12
- * The value to use as {@link !SubtleCrypto.generateKey} `extractable` argument. Default is false.
13
- *
14
- * > Note: Because A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512 secrets cannot be represented as
15
- * > {@link !CryptoKey} this option has no effect for them.
14
+ * Whether the generated CryptoKey is extractable. Defaults to false; has no effect for
15
+ * A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512, which return raw bytes.
16
16
  */
17
17
  extractable?: boolean;
18
18
  }
@@ -21,8 +21,8 @@ export interface GenerateSecretOptions {
21
21
  *
22
22
  * > Note: The secret key is generated with `extractable` set to `false` by default.
23
23
  *
24
- * > Note: Because A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512 secrets cannot be represented as
25
- * > {@link !CryptoKey} this method yields a {@link !Uint8Array} for them instead.
24
+ * > Note: A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512 return {@link !Uint8Array} because these secrets
25
+ * > have no CryptoKey representation.
26
26
  *
27
27
  * @param alg JWA Algorithm Identifier to be used with the generated secret. See
28
28
  * {@link https://github.com/panva/jose/issues/210 Algorithm Key Requirements}.
@@ -1,5 +1,9 @@
1
1
  import type * as t from '../types.d.ts';
2
- /** Maps a JWK key type to the value returned by {@link importJWK}. */
2
+ /**
3
+ * Maps a JWK key type to the value returned by {@link importJWK}. An "oct" JWK returns
4
+ * {@link !Uint8Array}; other supported key types return {@link t.CryptoKey CryptoKey}. A JWK
5
+ * whose "kty" is not statically known resolves to their union.
6
+ */
3
7
  export type ImportedJWK<JWKType extends t.JWK> = JWKType extends {
4
8
  kty: 'oct';
5
9
  } ? Uint8Array : JWKType extends {
@@ -8,17 +12,16 @@ export type ImportedJWK<JWKType extends t.JWK> = JWKType extends {
8
12
  /** Key import options. */
9
13
  export interface KeyImportOptions {
10
14
  /**
11
- * The value to use as {@link !SubtleCrypto.importKey} `extractable` argument. Default is false for
12
- * private keys, true otherwise.
15
+ * Whether the imported CryptoKey is extractable. Overrides JWK "ext" when set. Without either,
16
+ * defaults to false for private keys, true otherwise.
13
17
  */
14
18
  extractable?: boolean;
15
19
  }
16
20
  /**
17
21
  * Imports a PEM-encoded SPKI string as a {@link !CryptoKey}.
18
22
  *
19
- * > Note: The OID id-RSASSA-PSS (1.2.840.113549.1.1.10) is not supported in
20
- * > {@link https://w3c.github.io/webcrypto/ Web Cryptography API}, use the OID rsaEncryption
21
- * > (1.2.840.113549.1.1.1) instead for all RSA algorithms.
23
+ * > Note: For RSA keys, use the rsaEncryption OID (1.2.840.113549.1.1.1). The id-RSASSA-PSS OID
24
+ * > (1.2.840.113549.1.1.10) is not supported by the Web Cryptography API.
22
25
  *
23
26
  * @param spki PEM-encoded SPKI string
24
27
  * @param alg JSON Web Algorithm identifier to be used with the imported key. See
@@ -26,11 +29,10 @@ export interface KeyImportOptions {
26
29
  */
27
30
  export declare function importSPKI(spki: string, alg: string, options?: KeyImportOptions): Promise<t.CryptoKey>;
28
31
  /**
29
- * Imports the SPKI from an X.509 string certificate as a {@link !CryptoKey}.
32
+ * Imports a PEM-encoded X.509 certificate's public key as a {@link !CryptoKey}.
30
33
  *
31
- * > Note: The OID id-RSASSA-PSS (1.2.840.113549.1.1.10) is not supported in
32
- * > {@link https://w3c.github.io/webcrypto/ Web Cryptography API}, use the OID rsaEncryption
33
- * > (1.2.840.113549.1.1.1) instead for all RSA algorithms.
34
+ * > Note: For RSA keys, use the rsaEncryption OID (1.2.840.113549.1.1.1). The id-RSASSA-PSS OID
35
+ * > (1.2.840.113549.1.1.10) is not supported by the Web Cryptography API.
34
36
  *
35
37
  * @param x509 X.509 certificate string
36
38
  * @param alg JSON Web Algorithm identifier to be used with the imported key. See
@@ -40,9 +42,8 @@ export declare function importX509(x509: string, alg: string, options?: KeyImpor
40
42
  /**
41
43
  * Imports a PEM-encoded PKCS#8 string as a {@link !CryptoKey}.
42
44
  *
43
- * > Note: The OID id-RSASSA-PSS (1.2.840.113549.1.1.10) is not supported in
44
- * > {@link https://w3c.github.io/webcrypto/ Web Cryptography API}, use the OID rsaEncryption
45
- * > (1.2.840.113549.1.1.1) instead for all RSA algorithms.
45
+ * > Note: For RSA keys, use the rsaEncryption OID (1.2.840.113549.1.1.1). The id-RSASSA-PSS OID
46
+ * > (1.2.840.113549.1.1.10) is not supported by the Web Cryptography API.
46
47
  *
47
48
  * @param pkcs8 PEM-encoded PKCS#8 string
48
49
  * @param alg JSON Web Algorithm identifier to be used with the imported key. See
@@ -50,13 +51,13 @@ export declare function importX509(x509: string, alg: string, options?: KeyImpor
50
51
  */
51
52
  export declare function importPKCS8(pkcs8: string, alg: string, options?: KeyImportOptions): Promise<t.CryptoKey>;
52
53
  /**
53
- * Imports a JWK as a {@link !CryptoKey} or {@link !Uint8Array}.
54
+ * Imports a JWK as a {@link !CryptoKey} or {@link !Uint8Array}. Asymmetric imports require either the
55
+ * "alg" argument or JWK "alg" parameter. For AKP keys, the JWK "alg" parameter is required and must
56
+ * match the argument when provided.
54
57
  *
55
- * > Note: The JSON Web Key parameters "key_ops" and "ext" are also used in the {@link !CryptoKey} import
56
- * > process.
58
+ * > Note: CryptoKey imports honor the JWK "key_ops" and "ext" parameters.
57
59
  *
58
- * > Note: Symmetric JSON Web Keys (i.e. `kty: "oct"`) yield back an {@link !Uint8Array} instead of a
59
- * > {@link !CryptoKey}.
60
+ * > Note: Symmetric JWKs (`kty: "oct"`) return {@link !Uint8Array} instead of CryptoKey.
60
61
  *
61
62
  * @param jwk JSON Web Key.
62
63
  * @param alg JSON Web Algorithm identifier to be used with the imported key. Default is the "alg"