@toa.io/extensions.exposition 1.0.0-alpha.274 → 1.0.0-alpha.277

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 (837) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/components/exposition.atom/operations/meter.js +1 -3
  3. package/components/exposition.octets/operations/delete.js +1 -3
  4. package/components/exposition.octets/operations/get.js +1 -3
  5. package/components/exposition.octets/operations/head.js +1 -3
  6. package/components/exposition.octets/operations/put.js +6 -6
  7. package/components/identity.bans/operations/transit.js +1 -5
  8. package/components/identity.bans/operations/transit.js.map +1 -1
  9. package/components/identity.bans/tsconfig.json +1 -0
  10. package/components/identity.bans/tsconfig.tsbuildinfo +1 -0
  11. package/components/identity.basic/events/principal.js +2 -4
  12. package/components/identity.basic/operations/add.d.ts +1 -1
  13. package/components/identity.basic/operations/add.js +1 -5
  14. package/components/identity.basic/operations/add.js.map +1 -1
  15. package/components/identity.basic/operations/authenticate.d.ts +1 -1
  16. package/components/identity.basic/operations/authenticate.js +3 -7
  17. package/components/identity.basic/operations/authenticate.js.map +1 -1
  18. package/components/identity.basic/operations/check.d.ts +1 -1
  19. package/components/identity.basic/operations/check.js +1 -5
  20. package/components/identity.basic/operations/check.js.map +1 -1
  21. package/components/identity.basic/operations/delete.d.ts +1 -1
  22. package/components/identity.basic/operations/delete.js +1 -5
  23. package/components/identity.basic/operations/delete.js.map +1 -1
  24. package/components/identity.basic/operations/incept.d.ts +1 -1
  25. package/components/identity.basic/operations/incept.js +1 -5
  26. package/components/identity.basic/operations/incept.js.map +1 -1
  27. package/components/identity.basic/operations/info.d.ts +1 -1
  28. package/components/identity.basic/operations/info.js +1 -5
  29. package/components/identity.basic/operations/info.js.map +1 -1
  30. package/components/identity.basic/operations/transit.d.ts +1 -1
  31. package/components/identity.basic/operations/transit.js +4 -8
  32. package/components/identity.basic/operations/transit.js.map +1 -1
  33. package/components/identity.basic/operations/types.js +1 -2
  34. package/components/identity.basic/source/add.ts +1 -1
  35. package/components/identity.basic/source/authenticate.ts +1 -1
  36. package/components/identity.basic/source/check.ts +1 -1
  37. package/components/identity.basic/source/delete.ts +1 -1
  38. package/components/identity.basic/source/incept.ts +1 -1
  39. package/components/identity.basic/source/info.ts +1 -1
  40. package/components/identity.basic/source/transit.ts +1 -1
  41. package/components/identity.basic/tsconfig.json +1 -0
  42. package/components/identity.basic/tsconfig.tsbuildinfo +1 -0
  43. package/components/identity.credentials/operations/list.js +1 -5
  44. package/components/identity.credentials/operations/list.js.map +1 -1
  45. package/components/identity.credentials/source/list.test.ts +12 -8
  46. package/components/identity.credentials/tsconfig.json +2 -1
  47. package/components/identity.credentials/tsconfig.tsbuildinfo +1 -0
  48. package/components/identity.federation/events/principal.js +5 -7
  49. package/components/identity.federation/operations/authenticate.d.ts +1 -1
  50. package/components/identity.federation/operations/authenticate.js +5 -9
  51. package/components/identity.federation/operations/authenticate.js.map +1 -1
  52. package/components/identity.federation/operations/create.d.ts +1 -1
  53. package/components/identity.federation/operations/create.js +3 -7
  54. package/components/identity.federation/operations/create.js.map +1 -1
  55. package/components/identity.federation/operations/decode.d.ts +1 -1
  56. package/components/identity.federation/operations/decode.js +3 -7
  57. package/components/identity.federation/operations/decode.js.map +1 -1
  58. package/components/identity.federation/operations/delete.d.ts +1 -1
  59. package/components/identity.federation/operations/delete.js +1 -5
  60. package/components/identity.federation/operations/delete.js.map +1 -1
  61. package/components/identity.federation/operations/incept.d.ts +1 -1
  62. package/components/identity.federation/operations/incept.js +3 -7
  63. package/components/identity.federation/operations/incept.js.map +1 -1
  64. package/components/identity.federation/operations/lib/Configuration.js +1 -2
  65. package/components/identity.federation/operations/lib/Ctx.d.ts +2 -2
  66. package/components/identity.federation/operations/lib/Ctx.js +1 -2
  67. package/components/identity.federation/operations/lib/Payload.js +1 -2
  68. package/components/identity.federation/operations/lib/decode.d.ts +2 -2
  69. package/components/identity.federation/operations/lib/decode.js +9 -13
  70. package/components/identity.federation/operations/lib/decode.js.map +1 -1
  71. package/components/identity.federation/operations/lib/discovery.d.ts +2 -2
  72. package/components/identity.federation/operations/lib/discovery.js +4 -9
  73. package/components/identity.federation/operations/lib/discovery.js.map +1 -1
  74. package/components/identity.federation/operations/lib/errors.d.ts +10 -10
  75. package/components/identity.federation/operations/lib/errors.js +10 -13
  76. package/components/identity.federation/operations/lib/errors.js.map +1 -1
  77. package/components/identity.federation/operations/lib/exchange.d.ts +2 -2
  78. package/components/identity.federation/operations/lib/exchange.js +8 -35
  79. package/components/identity.federation/operations/lib/exchange.js.map +1 -1
  80. package/components/identity.federation/operations/lib/index.d.ts +4 -4
  81. package/components/identity.federation/operations/lib/index.js +3 -9
  82. package/components/identity.federation/operations/lib/index.js.map +1 -1
  83. package/components/identity.federation/operations/lib/jose.d.ts +1 -41
  84. package/components/identity.federation/operations/lib/jose.js +1 -26
  85. package/components/identity.federation/operations/lib/jose.js.map +1 -1
  86. package/components/identity.federation/operations/lib/resolve.d.ts +2 -2
  87. package/components/identity.federation/operations/lib/resolve.js +5 -9
  88. package/components/identity.federation/operations/lib/resolve.js.map +1 -1
  89. package/components/identity.federation/operations/list.d.ts +1 -1
  90. package/components/identity.federation/operations/list.js +1 -5
  91. package/components/identity.federation/operations/list.js.map +1 -1
  92. package/components/identity.federation/operations/types/Scheme.js +1 -2
  93. package/components/identity.federation/operations/types/configuration.js +1 -2
  94. package/components/identity.federation/operations/types/context.d.ts +2 -2
  95. package/components/identity.federation/operations/types/context.js +1 -2
  96. package/components/identity.federation/operations/types/entity.js +1 -2
  97. package/components/identity.federation/operations/types/index.d.ts +4 -4
  98. package/components/identity.federation/operations/types/index.js +4 -20
  99. package/components/identity.federation/operations/types/index.js.map +1 -1
  100. package/components/identity.federation/source/authenticate.ts +2 -2
  101. package/components/identity.federation/source/create.ts +2 -2
  102. package/components/identity.federation/source/decode.ts +2 -2
  103. package/components/identity.federation/source/delete.ts +1 -1
  104. package/components/identity.federation/source/incept.ts +2 -2
  105. package/components/identity.federation/source/lib/Ctx.ts +2 -2
  106. package/components/identity.federation/source/lib/decode.ts +5 -5
  107. package/components/identity.federation/source/lib/discovery.test.ts +17 -12
  108. package/components/identity.federation/source/lib/discovery.ts +3 -3
  109. package/components/identity.federation/source/lib/exchange.ts +6 -6
  110. package/components/identity.federation/source/lib/index.ts +4 -4
  111. package/components/identity.federation/source/lib/jose.js +1 -5
  112. package/components/identity.federation/source/lib/resolve.ts +5 -5
  113. package/components/identity.federation/source/list.test.ts +9 -6
  114. package/components/identity.federation/source/list.ts +1 -1
  115. package/components/identity.federation/source/types/context.ts +2 -2
  116. package/components/identity.federation/source/types/index.ts +4 -4
  117. package/components/identity.federation/tsconfig.json +2 -1
  118. package/components/identity.federation/tsconfig.tsbuildinfo +1 -0
  119. package/components/identity.keys/operations/create.js +3 -7
  120. package/components/identity.keys/operations/create.js.map +1 -1
  121. package/components/identity.keys/tsconfig.json +1 -0
  122. package/components/identity.keys/tsconfig.tsbuildinfo +1 -0
  123. package/components/identity.otp/operations/authenticate.d.ts +1 -1
  124. package/components/identity.otp/operations/authenticate.js +1 -5
  125. package/components/identity.otp/operations/authenticate.js.map +1 -1
  126. package/components/identity.otp/operations/issue.d.ts +1 -1
  127. package/components/identity.otp/operations/issue.js +1 -5
  128. package/components/identity.otp/operations/issue.js.map +1 -1
  129. package/components/identity.otp/operations/lib/Context.d.ts +1 -1
  130. package/components/identity.otp/operations/lib/Context.js +1 -2
  131. package/components/identity.otp/operations/lib/Entity.js +1 -2
  132. package/components/identity.otp/operations/lib/index.d.ts +1 -1
  133. package/components/identity.otp/operations/lib/index.js +1 -2
  134. package/components/identity.otp/source/authenticate.ts +1 -1
  135. package/components/identity.otp/source/issue.ts +1 -1
  136. package/components/identity.otp/source/lib/Context.ts +1 -1
  137. package/components/identity.otp/source/lib/index.ts +1 -1
  138. package/components/identity.otp/tsconfig.json +1 -0
  139. package/components/identity.otp/tsconfig.tsbuildinfo +1 -0
  140. package/components/identity.passkeys/operations/authenticate.d.ts +1 -1
  141. package/components/identity.passkeys/operations/authenticate.js +1 -5
  142. package/components/identity.passkeys/operations/authenticate.js.map +1 -1
  143. package/components/identity.passkeys/operations/challenge.d.ts +1 -1
  144. package/components/identity.passkeys/operations/challenge.js +7 -11
  145. package/components/identity.passkeys/operations/challenge.js.map +1 -1
  146. package/components/identity.passkeys/operations/create.d.ts +1 -1
  147. package/components/identity.passkeys/operations/create.js +3 -7
  148. package/components/identity.passkeys/operations/create.js.map +1 -1
  149. package/components/identity.passkeys/operations/delete.d.ts +1 -1
  150. package/components/identity.passkeys/operations/delete.js +1 -5
  151. package/components/identity.passkeys/operations/delete.js.map +1 -1
  152. package/components/identity.passkeys/operations/lib/const.js +1 -4
  153. package/components/identity.passkeys/operations/lib/const.js.map +1 -1
  154. package/components/identity.passkeys/operations/list.d.ts +1 -1
  155. package/components/identity.passkeys/operations/list.js +3 -7
  156. package/components/identity.passkeys/operations/list.js.map +1 -1
  157. package/components/identity.passkeys/operations/types/Configuration.js +1 -2
  158. package/components/identity.passkeys/operations/types/Context.d.ts +3 -3
  159. package/components/identity.passkeys/operations/types/Context.js +1 -2
  160. package/components/identity.passkeys/operations/types/Passkey.d.ts +1 -2
  161. package/components/identity.passkeys/operations/types/Passkey.js +1 -2
  162. package/components/identity.passkeys/operations/types/index.d.ts +2 -2
  163. package/components/identity.passkeys/operations/types/index.js +1 -2
  164. package/components/identity.passkeys/operations/use.d.ts +1 -1
  165. package/components/identity.passkeys/operations/use.js +3 -7
  166. package/components/identity.passkeys/operations/use.js.map +1 -1
  167. package/components/identity.passkeys/source/authenticate.ts +1 -1
  168. package/components/identity.passkeys/source/challenge.ts +2 -2
  169. package/components/identity.passkeys/source/create.ts +1 -1
  170. package/components/identity.passkeys/source/delete.ts +1 -1
  171. package/components/identity.passkeys/source/list.ts +2 -2
  172. package/components/identity.passkeys/source/types/Context.ts +3 -3
  173. package/components/identity.passkeys/source/types/Passkey.ts +1 -3
  174. package/components/identity.passkeys/source/types/index.ts +2 -2
  175. package/components/identity.passkeys/source/use.ts +1 -1
  176. package/components/identity.passkeys/tsconfig.json +1 -0
  177. package/components/identity.passkeys/tsconfig.tsbuildinfo +1 -0
  178. package/components/identity.roles/operations/grant.d.ts +1 -1
  179. package/components/identity.roles/operations/grant.js +1 -5
  180. package/components/identity.roles/operations/grant.js.map +1 -1
  181. package/components/identity.roles/operations/lib/Entity.js +1 -2
  182. package/components/identity.roles/operations/list.d.ts +1 -1
  183. package/components/identity.roles/operations/list.js +1 -5
  184. package/components/identity.roles/operations/list.js.map +1 -1
  185. package/components/identity.roles/operations/principal.d.ts +2 -2
  186. package/components/identity.roles/operations/principal.js +1 -5
  187. package/components/identity.roles/operations/principal.js.map +1 -1
  188. package/components/identity.roles/receivers/identity.federation.principal.js +1 -3
  189. package/components/identity.roles/source/grant.ts +1 -1
  190. package/components/identity.roles/source/list.ts +1 -1
  191. package/components/identity.roles/source/principal.ts +2 -2
  192. package/components/identity.roles/tsconfig.json +1 -0
  193. package/components/identity.roles/tsconfig.tsbuildinfo +1 -0
  194. package/components/identity.tokens/operations/authenticate.d.ts +1 -1
  195. package/components/identity.tokens/operations/authenticate.js +1 -5
  196. package/components/identity.tokens/operations/authenticate.js.map +1 -1
  197. package/components/identity.tokens/operations/decrypt.d.ts +1 -1
  198. package/components/identity.tokens/operations/decrypt.js +15 -14
  199. package/components/identity.tokens/operations/decrypt.js.map +1 -1
  200. package/components/identity.tokens/operations/encrypt.d.ts +1 -1
  201. package/components/identity.tokens/operations/encrypt.js +5 -9
  202. package/components/identity.tokens/operations/encrypt.js.map +1 -1
  203. package/components/identity.tokens/operations/issue.d.ts +1 -1
  204. package/components/identity.tokens/operations/issue.js +1 -5
  205. package/components/identity.tokens/operations/issue.js.map +1 -1
  206. package/components/identity.tokens/operations/lib/index.d.ts +3 -3
  207. package/components/identity.tokens/operations/lib/index.js +3 -21
  208. package/components/identity.tokens/operations/lib/index.js.map +1 -1
  209. package/components/identity.tokens/operations/lib/jose.d.ts +1 -41
  210. package/components/identity.tokens/operations/lib/jose.js +1 -26
  211. package/components/identity.tokens/operations/lib/jose.js.map +1 -1
  212. package/components/identity.tokens/operations/lib/key.js +1 -5
  213. package/components/identity.tokens/operations/lib/key.js.map +1 -1
  214. package/components/identity.tokens/operations/lib/pad.js +1 -4
  215. package/components/identity.tokens/operations/lib/pad.js.map +1 -1
  216. package/components/identity.tokens/operations/lib/types.js +1 -2
  217. package/components/identity.tokens/operations/revoke.d.ts +1 -1
  218. package/components/identity.tokens/operations/revoke.js +1 -5
  219. package/components/identity.tokens/operations/revoke.js.map +1 -1
  220. package/components/identity.tokens/receivers/identity.bans.created.js +1 -3
  221. package/components/identity.tokens/receivers/identity.bans.updated.js +1 -3
  222. package/components/identity.tokens/source/authenticate.test.ts +14 -10
  223. package/components/identity.tokens/source/authenticate.ts +1 -1
  224. package/components/identity.tokens/source/decrypt.test.ts +25 -17
  225. package/components/identity.tokens/source/decrypt.ts +12 -5
  226. package/components/identity.tokens/source/encrypt.test.ts +14 -10
  227. package/components/identity.tokens/source/encrypt.ts +3 -3
  228. package/components/identity.tokens/source/issue.ts +1 -1
  229. package/components/identity.tokens/source/lib/index.ts +3 -3
  230. package/components/identity.tokens/source/lib/jose.js +1 -5
  231. package/components/identity.tokens/source/lib/paseto.test.ts +45 -10
  232. package/components/identity.tokens/source/revoke.ts +1 -1
  233. package/components/identity.tokens/tsconfig.json +1 -0
  234. package/components/identity.tokens/tsconfig.tsbuildinfo +1 -0
  235. package/cucumber.mjs +4 -0
  236. package/documentation/protocol.md +24 -0
  237. package/features/octets.cloudinary.feature +8 -2
  238. package/features/octets.download.feature +3 -1
  239. package/features/probes.feature +8 -4
  240. package/features/steps/Captures.ts +3 -1
  241. package/features/steps/Common.ts +27 -2
  242. package/features/steps/Components.ts +10 -4
  243. package/features/steps/Database.ts +4 -1
  244. package/features/steps/Gateway.ts +19 -8
  245. package/features/steps/HTTP.ts +8 -5
  246. package/features/steps/IDP.ts +5 -2
  247. package/features/steps/Identity.ts +7 -4
  248. package/features/steps/OTP.ts +5 -2
  249. package/features/steps/Parameters.ts +5 -1
  250. package/features/steps/Probe.ts +36 -0
  251. package/features/steps/Realtime.ts +8 -5
  252. package/features/steps/Workspace.ts +1 -1
  253. package/features/steps/components/audit/operations/record.js +1 -5
  254. package/features/steps/components/echo/operations/affect.js +1 -5
  255. package/features/steps/components/echo/operations/compute.js +1 -5
  256. package/features/steps/components/echo/operations/echo.js +1 -5
  257. package/features/steps/components/echo/operations/error.js +1 -5
  258. package/features/steps/components/echo/operations/identity.js +1 -5
  259. package/features/steps/components/echo/operations/parameters.js +1 -5
  260. package/features/steps/components/echo/operations/ping.js +1 -5
  261. package/features/steps/components/echo/operations/unwrap.js +1 -5
  262. package/features/steps/components/echo.beacon/operations/hello.js +1 -3
  263. package/features/steps/components/greeter/operations/greet.js +1 -5
  264. package/features/steps/components/notify/operations/send.js +1 -5
  265. package/features/steps/components/octets.tester/operations/authority.js +1 -5
  266. package/features/steps/components/octets.tester/operations/bar.js +1 -3
  267. package/features/steps/components/octets.tester/operations/baz.js +1 -3
  268. package/features/steps/components/octets.tester/operations/concat.js +1 -3
  269. package/features/steps/components/octets.tester/operations/echo.js +1 -3
  270. package/features/steps/components/octets.tester/operations/err.js +1 -3
  271. package/features/steps/components/octets.tester/operations/foo.js +1 -3
  272. package/features/steps/components/octets.tester/operations/id.js +1 -3
  273. package/features/steps/components/octets.tester/operations/identity.js +1 -3
  274. package/features/steps/components/octets.tester/operations/redirect.js +1 -3
  275. package/features/steps/components/octets.tester/operations/yex.js +1 -3
  276. package/features/steps/components/octets.tester/operations/yield.js +1 -3
  277. package/features/steps/components/orders/operations/create.js +1 -5
  278. package/features/steps/components/pricing/operations/quote.js +1 -5
  279. package/features/steps/components/sequences/operations/numbers.js +1 -3
  280. package/features/steps/components/sequences/operations/tokens.js +2 -4
  281. package/features/steps/components/users/operations/create.js +1 -5
  282. package/features/steps/map.ts +5 -1
  283. package/package.json +16 -21
  284. package/readme.md +7 -13
  285. package/schemas/annotation.cos.yaml +11 -0
  286. package/source/Annotation.ts +11 -0
  287. package/source/Branch.test.ts +10 -7
  288. package/source/Branch.ts +2 -2
  289. package/source/Composition.ts +2 -2
  290. package/source/Context.ts +1 -1
  291. package/source/Directive.test.ts +52 -40
  292. package/source/Directive.ts +4 -4
  293. package/source/Endpoint.ts +6 -6
  294. package/source/Factory.ts +18 -18
  295. package/source/Gateway.ts +7 -7
  296. package/source/HTTP/Context.ts +5 -10
  297. package/source/HTTP/Probe.ts +112 -0
  298. package/source/HTTP/Server.ts +126 -77
  299. package/source/HTTP/Timing.ts +1 -1
  300. package/source/HTTP/formats/index.ts +4 -4
  301. package/source/HTTP/formats/yaml.test.ts +6 -4
  302. package/source/HTTP/formats/yaml.ts +1 -1
  303. package/source/HTTP/index.ts +6 -4
  304. package/source/HTTP/messages.test.ts +31 -21
  305. package/source/HTTP/messages.ts +42 -45
  306. package/source/HTTP/types.ts +39 -0
  307. package/source/Interception.ts +1 -1
  308. package/source/Mapping.ts +6 -6
  309. package/source/Query.test.ts +8 -5
  310. package/source/Query.ts +6 -6
  311. package/source/RTD/Context.ts +3 -3
  312. package/source/RTD/Directives.ts +4 -4
  313. package/source/RTD/Endpoint.ts +4 -4
  314. package/source/RTD/Match.ts +1 -1
  315. package/source/RTD/Method.ts +3 -3
  316. package/source/RTD/Node.ts +3 -3
  317. package/source/RTD/Route.ts +3 -3
  318. package/source/RTD/Tree.ts +8 -8
  319. package/source/RTD/expiration.test.ts +20 -17
  320. package/source/RTD/factory.ts +7 -7
  321. package/source/RTD/index.ts +8 -8
  322. package/source/RTD/segment.test.ts +13 -10
  323. package/source/RTD/syntax/index.ts +2 -2
  324. package/source/RTD/syntax/parse.test.ts +30 -28
  325. package/source/RTD/syntax/parse.ts +2 -2
  326. package/source/Remotes.test.ts +27 -14
  327. package/source/Remotes.ts +1 -1
  328. package/source/Tenant.ts +3 -3
  329. package/source/deployment.ts +19 -10
  330. package/source/directives/auth/Anonymous.ts +1 -1
  331. package/source/directives/auth/Anyone.ts +1 -1
  332. package/source/directives/auth/Assert.ts +3 -3
  333. package/source/directives/auth/Authorization.ts +19 -19
  334. package/source/directives/auth/Delegate.ts +3 -3
  335. package/source/directives/auth/Echo.ts +3 -3
  336. package/source/directives/auth/Federation.ts +2 -2
  337. package/source/directives/auth/Id.ts +2 -2
  338. package/source/directives/auth/Incept.ts +6 -6
  339. package/source/directives/auth/Input.ts +3 -3
  340. package/source/directives/auth/Role.test.ts +32 -19
  341. package/source/directives/auth/Role.ts +2 -2
  342. package/source/directives/auth/Rule.ts +2 -2
  343. package/source/directives/auth/Scheme.ts +3 -3
  344. package/source/directives/auth/create.ts +1 -1
  345. package/source/directives/auth/index.ts +1 -1
  346. package/source/directives/auth/schemes.ts +1 -1
  347. package/source/directives/auth/split.ts +2 -2
  348. package/source/directives/auth/types.ts +3 -3
  349. package/source/directives/cache/Cache.ts +6 -6
  350. package/source/directives/cache/Control.ts +1 -1
  351. package/source/directives/cache/Exact.ts +1 -1
  352. package/source/directives/cache/index.ts +1 -1
  353. package/source/directives/cache/types.ts +1 -1
  354. package/source/directives/cors/CORS.ts +2 -2
  355. package/source/directives/cors/index.ts +1 -1
  356. package/source/directives/dev/Development.ts +7 -7
  357. package/source/directives/dev/Faulty.ts +4 -4
  358. package/source/directives/dev/Sleep.ts +5 -5
  359. package/source/directives/dev/Stub.ts +2 -2
  360. package/source/directives/dev/Throw.ts +2 -2
  361. package/source/directives/dev/index.ts +1 -1
  362. package/source/directives/dev/types.ts +1 -1
  363. package/source/directives/flow/Compose.ts +3 -3
  364. package/source/directives/flow/Fetch.ts +6 -6
  365. package/source/directives/flow/Flow.ts +6 -6
  366. package/source/directives/flow/index.ts +1 -1
  367. package/source/directives/flow/types.ts +2 -2
  368. package/source/directives/index.ts +11 -11
  369. package/source/directives/io/Directive.ts +4 -4
  370. package/source/directives/io/IO.ts +8 -8
  371. package/source/directives/io/Input.ts +5 -5
  372. package/source/directives/io/Output.ts +5 -5
  373. package/source/directives/io/Throttle.ts +6 -6
  374. package/source/directives/io/index.ts +1 -1
  375. package/source/directives/io/lib/throttle/Configuration.test.ts +10 -7
  376. package/source/directives/io/lib/throttle/Keys.ts +5 -5
  377. package/source/directives/io/lib/throttle/Quotas.test.ts +48 -45
  378. package/source/directives/io/lib/throttle/Quotas.ts +5 -5
  379. package/source/directives/io/lib/throttle/Sync.test.ts +28 -20
  380. package/source/directives/io/lib/throttle/Sync.ts +1 -1
  381. package/source/directives/io/lib/throttle/components/Component.ts +2 -2
  382. package/source/directives/io/lib/throttle/components/IP.ts +2 -2
  383. package/source/directives/io/lib/throttle/components/Identity.ts +2 -2
  384. package/source/directives/io/lib/throttle/components/Path.ts +2 -2
  385. package/source/directives/io/lib/throttle/components/Route.ts +1 -1
  386. package/source/directives/io/lib/throttle/components/Segment.ts +3 -3
  387. package/source/directives/io/lib/throttle/components/index.ts +7 -7
  388. package/source/directives/io/lib/throttle/conditions/Condition.ts +1 -1
  389. package/source/directives/io/lib/throttle/conditions/Status.ts +2 -2
  390. package/source/directives/io/lib/throttle/conditions/index.ts +3 -3
  391. package/source/directives/io/lib/throttle/index.ts +3 -3
  392. package/source/directives/io/schemas.test.ts +12 -9
  393. package/source/directives/io/schemas.ts +7 -6
  394. package/source/directives/map/Authority.ts +2 -2
  395. package/source/directives/map/Buffer.ts +2 -2
  396. package/source/directives/map/Claims.ts +3 -3
  397. package/source/directives/map/Directive.ts +2 -2
  398. package/source/directives/map/Headers.ts +3 -3
  399. package/source/directives/map/Language.ts +6 -6
  400. package/source/directives/map/Languages.ts +1 -1
  401. package/source/directives/map/Map.ts +14 -14
  402. package/source/directives/map/Mapping.ts +4 -4
  403. package/source/directives/map/Segments.ts +2 -2
  404. package/source/directives/map/index.ts +1 -1
  405. package/source/directives/octets/Context.ts +2 -2
  406. package/source/directives/octets/Delete.ts +9 -9
  407. package/source/directives/octets/Directive.ts +3 -3
  408. package/source/directives/octets/Get.ts +8 -8
  409. package/source/directives/octets/Octets.ts +11 -11
  410. package/source/directives/octets/Put.ts +11 -11
  411. package/source/directives/octets/Workflow.ts +9 -9
  412. package/source/directives/octets/bytes.test.ts +21 -18
  413. package/source/directives/octets/index.ts +1 -1
  414. package/source/directives/octets/schemas.test.ts +10 -5
  415. package/source/directives/octets/schemas.ts +6 -6
  416. package/source/directives/octets/types.ts +2 -2
  417. package/source/directives/octets/workflows/Execution.ts +2 -2
  418. package/source/directives/octets/workflows/Workflow.ts +4 -4
  419. package/source/directives/octets/workflows/index.ts +1 -1
  420. package/source/directives/require/Directive.ts +1 -1
  421. package/source/directives/require/Headers.ts +3 -3
  422. package/source/directives/require/Require.ts +4 -4
  423. package/source/directives/require/index.ts +1 -1
  424. package/source/exceptions.ts +2 -2
  425. package/source/index.ts +5 -5
  426. package/source/io.ts +1 -1
  427. package/source/manifest.test.ts +12 -10
  428. package/source/manifest.ts +3 -3
  429. package/source/root.ts +1 -1
  430. package/source/schemas.ts +5 -5
  431. package/transpiled/Annotation.d.ts +10 -0
  432. package/transpiled/Annotation.js +1 -2
  433. package/transpiled/Branch.d.ts +2 -2
  434. package/transpiled/Branch.js +1 -5
  435. package/transpiled/Branch.js.map +1 -1
  436. package/transpiled/Composition.d.ts +1 -1
  437. package/transpiled/Composition.js +9 -14
  438. package/transpiled/Composition.js.map +1 -1
  439. package/transpiled/Context.d.ts +1 -1
  440. package/transpiled/Context.js +1 -2
  441. package/transpiled/Directive.d.ts +4 -4
  442. package/transpiled/Directive.js +6 -11
  443. package/transpiled/Directive.js.map +1 -1
  444. package/transpiled/Endpoint.d.ts +6 -6
  445. package/transpiled/Endpoint.js +10 -38
  446. package/transpiled/Endpoint.js.map +1 -1
  447. package/transpiled/Factory.d.ts +3 -3
  448. package/transpiled/Factory.js +31 -61
  449. package/transpiled/Factory.js.map +1 -1
  450. package/transpiled/Gateway.d.ts +4 -4
  451. package/transpiled/Gateway.js +25 -55
  452. package/transpiled/Gateway.js.map +1 -1
  453. package/transpiled/HTTP/Context.d.ts +4 -11
  454. package/transpiled/HTTP/Context.js +15 -22
  455. package/transpiled/HTTP/Context.js.map +1 -1
  456. package/transpiled/HTTP/Probe.d.ts +36 -0
  457. package/transpiled/HTTP/Probe.js +90 -0
  458. package/transpiled/HTTP/Probe.js.map +1 -0
  459. package/transpiled/HTTP/Server.d.ts +13 -9
  460. package/transpiled/HTTP/Server.js +134 -130
  461. package/transpiled/HTTP/Server.js.map +1 -1
  462. package/transpiled/HTTP/Timing.d.ts +1 -2
  463. package/transpiled/HTTP/Timing.js +6 -10
  464. package/transpiled/HTTP/Timing.js.map +1 -1
  465. package/transpiled/HTTP/exceptions.js +15 -33
  466. package/transpiled/HTTP/exceptions.js.map +1 -1
  467. package/transpiled/HTTP/formats/index.d.ts +0 -2
  468. package/transpiled/HTTP/formats/index.js +6 -32
  469. package/transpiled/HTTP/formats/index.js.map +1 -1
  470. package/transpiled/HTTP/formats/json.d.ts +0 -2
  471. package/transpiled/HTTP/formats/json.js +4 -9
  472. package/transpiled/HTTP/formats/json.js.map +1 -1
  473. package/transpiled/HTTP/formats/msgpack.d.ts +0 -2
  474. package/transpiled/HTTP/formats/msgpack.js +7 -12
  475. package/transpiled/HTTP/formats/msgpack.js.map +1 -1
  476. package/transpiled/HTTP/formats/text.d.ts +0 -2
  477. package/transpiled/HTTP/formats/text.js +4 -9
  478. package/transpiled/HTTP/formats/text.js.map +1 -1
  479. package/transpiled/HTTP/formats/yaml.d.ts +0 -2
  480. package/transpiled/HTTP/formats/yaml.js +5 -33
  481. package/transpiled/HTTP/formats/yaml.js.map +1 -1
  482. package/transpiled/HTTP/index.d.ts +6 -4
  483. package/transpiled/HTTP/index.js +6 -20
  484. package/transpiled/HTTP/index.js.map +1 -1
  485. package/transpiled/HTTP/messages.d.ts +9 -5
  486. package/transpiled/HTTP/messages.js +56 -90
  487. package/transpiled/HTTP/messages.js.map +1 -1
  488. package/transpiled/HTTP/types.d.ts +37 -0
  489. package/transpiled/HTTP/types.js +2 -0
  490. package/transpiled/HTTP/types.js.map +1 -0
  491. package/transpiled/Interception.d.ts +1 -1
  492. package/transpiled/Interception.js +1 -5
  493. package/transpiled/Interception.js.map +1 -1
  494. package/transpiled/Introspection.js +1 -2
  495. package/transpiled/Mapping.d.ts +6 -6
  496. package/transpiled/Mapping.js +4 -9
  497. package/transpiled/Mapping.js.map +1 -1
  498. package/transpiled/Query.d.ts +4 -4
  499. package/transpiled/Query.js +8 -38
  500. package/transpiled/Query.js.map +1 -1
  501. package/transpiled/RTD/Context.d.ts +3 -3
  502. package/transpiled/RTD/Context.js +1 -2
  503. package/transpiled/RTD/Directives.d.ts +4 -4
  504. package/transpiled/RTD/Directives.js +1 -2
  505. package/transpiled/RTD/Endpoint.d.ts +4 -4
  506. package/transpiled/RTD/Endpoint.js +1 -2
  507. package/transpiled/RTD/Match.d.ts +1 -1
  508. package/transpiled/RTD/Match.js +1 -2
  509. package/transpiled/RTD/Method.d.ts +3 -3
  510. package/transpiled/RTD/Method.js +1 -5
  511. package/transpiled/RTD/Method.js.map +1 -1
  512. package/transpiled/RTD/Node.d.ts +3 -3
  513. package/transpiled/RTD/Node.js +1 -5
  514. package/transpiled/RTD/Node.js.map +1 -1
  515. package/transpiled/RTD/Route.d.ts +3 -3
  516. package/transpiled/RTD/Route.js +1 -5
  517. package/transpiled/RTD/Route.js.map +1 -1
  518. package/transpiled/RTD/Tree.d.ts +5 -5
  519. package/transpiled/RTD/Tree.js +6 -10
  520. package/transpiled/RTD/Tree.js.map +1 -1
  521. package/transpiled/RTD/factory.d.ts +3 -3
  522. package/transpiled/RTD/factory.js +13 -18
  523. package/transpiled/RTD/factory.js.map +1 -1
  524. package/transpiled/RTD/index.d.ts +8 -8
  525. package/transpiled/RTD/index.js +8 -37
  526. package/transpiled/RTD/index.js.map +1 -1
  527. package/transpiled/RTD/segment.js +2 -7
  528. package/transpiled/RTD/segment.js.map +1 -1
  529. package/transpiled/RTD/syntax/index.d.ts +2 -2
  530. package/transpiled/RTD/syntax/index.js +2 -18
  531. package/transpiled/RTD/syntax/index.js.map +1 -1
  532. package/transpiled/RTD/syntax/parse.d.ts +1 -1
  533. package/transpiled/RTD/syntax/parse.js +5 -33
  534. package/transpiled/RTD/syntax/parse.js.map +1 -1
  535. package/transpiled/RTD/syntax/types.js +1 -4
  536. package/transpiled/RTD/syntax/types.js.map +1 -1
  537. package/transpiled/Remotes.d.ts +1 -1
  538. package/transpiled/Remotes.js +3 -7
  539. package/transpiled/Remotes.js.map +1 -1
  540. package/transpiled/Tenant.d.ts +2 -2
  541. package/transpiled/Tenant.js +6 -10
  542. package/transpiled/Tenant.js.map +1 -1
  543. package/transpiled/const.js +1 -4
  544. package/transpiled/const.js.map +1 -1
  545. package/transpiled/deployment.d.ts +1 -1
  546. package/transpiled/deployment.js +22 -45
  547. package/transpiled/deployment.js.map +1 -1
  548. package/transpiled/directives/auth/Anonymous.d.ts +1 -1
  549. package/transpiled/directives/auth/Anonymous.js +1 -5
  550. package/transpiled/directives/auth/Anonymous.js.map +1 -1
  551. package/transpiled/directives/auth/Anyone.d.ts +1 -1
  552. package/transpiled/directives/auth/Anyone.js +1 -5
  553. package/transpiled/directives/auth/Anyone.js.map +1 -1
  554. package/transpiled/directives/auth/Assert.d.ts +1 -1
  555. package/transpiled/directives/auth/Assert.js +7 -37
  556. package/transpiled/directives/auth/Assert.js.map +1 -1
  557. package/transpiled/directives/auth/Authorization.d.ts +5 -5
  558. package/transpiled/directives/auth/Authorization.js +41 -71
  559. package/transpiled/directives/auth/Authorization.js.map +1 -1
  560. package/transpiled/directives/auth/Delegate.d.ts +1 -1
  561. package/transpiled/directives/auth/Delegate.js +5 -9
  562. package/transpiled/directives/auth/Delegate.js.map +1 -1
  563. package/transpiled/directives/auth/Echo.d.ts +2 -2
  564. package/transpiled/directives/auth/Echo.js +3 -7
  565. package/transpiled/directives/auth/Echo.js.map +1 -1
  566. package/transpiled/directives/auth/Federation.d.ts +2 -2
  567. package/transpiled/directives/auth/Federation.js +3 -10
  568. package/transpiled/directives/auth/Federation.js.map +1 -1
  569. package/transpiled/directives/auth/Id.d.ts +2 -2
  570. package/transpiled/directives/auth/Id.js +1 -5
  571. package/transpiled/directives/auth/Id.js.map +1 -1
  572. package/transpiled/directives/auth/Incept.d.ts +2 -2
  573. package/transpiled/directives/auth/Incept.js +16 -46
  574. package/transpiled/directives/auth/Incept.js.map +1 -1
  575. package/transpiled/directives/auth/Input.d.ts +2 -2
  576. package/transpiled/directives/auth/Input.js +3 -7
  577. package/transpiled/directives/auth/Input.js.map +1 -1
  578. package/transpiled/directives/auth/Role.d.ts +2 -2
  579. package/transpiled/directives/auth/Role.js +3 -10
  580. package/transpiled/directives/auth/Role.js.map +1 -1
  581. package/transpiled/directives/auth/Rule.d.ts +2 -2
  582. package/transpiled/directives/auth/Rule.js +1 -5
  583. package/transpiled/directives/auth/Rule.js.map +1 -1
  584. package/transpiled/directives/auth/Scheme.d.ts +1 -1
  585. package/transpiled/directives/auth/Scheme.js +4 -31
  586. package/transpiled/directives/auth/Scheme.js.map +1 -1
  587. package/transpiled/directives/auth/create.d.ts +1 -1
  588. package/transpiled/directives/auth/create.js +3 -7
  589. package/transpiled/directives/auth/create.js.map +1 -1
  590. package/transpiled/directives/auth/index.d.ts +1 -1
  591. package/transpiled/directives/auth/index.js +2 -5
  592. package/transpiled/directives/auth/index.js.map +1 -1
  593. package/transpiled/directives/auth/schemes.d.ts +1 -1
  594. package/transpiled/directives/auth/schemes.js +3 -6
  595. package/transpiled/directives/auth/schemes.js.map +1 -1
  596. package/transpiled/directives/auth/split.d.ts +1 -1
  597. package/transpiled/directives/auth/split.js +2 -29
  598. package/transpiled/directives/auth/split.js.map +1 -1
  599. package/transpiled/directives/auth/types.d.ts +3 -3
  600. package/transpiled/directives/auth/types.js +1 -2
  601. package/transpiled/directives/cache/Cache.d.ts +4 -4
  602. package/transpiled/directives/cache/Cache.js +6 -10
  603. package/transpiled/directives/cache/Cache.js.map +1 -1
  604. package/transpiled/directives/cache/Control.d.ts +1 -1
  605. package/transpiled/directives/cache/Control.js +3 -7
  606. package/transpiled/directives/cache/Control.js.map +1 -1
  607. package/transpiled/directives/cache/Exact.d.ts +1 -1
  608. package/transpiled/directives/cache/Exact.js +2 -6
  609. package/transpiled/directives/cache/Exact.js.map +1 -1
  610. package/transpiled/directives/cache/index.d.ts +1 -1
  611. package/transpiled/directives/cache/index.js +2 -5
  612. package/transpiled/directives/cache/index.js.map +1 -1
  613. package/transpiled/directives/cache/types.d.ts +1 -1
  614. package/transpiled/directives/cache/types.js +1 -2
  615. package/transpiled/directives/cors/CORS.d.ts +2 -2
  616. package/transpiled/directives/cors/CORS.js +1 -5
  617. package/transpiled/directives/cors/CORS.js.map +1 -1
  618. package/transpiled/directives/cors/index.d.ts +1 -1
  619. package/transpiled/directives/cors/index.js +2 -5
  620. package/transpiled/directives/cors/index.js.map +1 -1
  621. package/transpiled/directives/dev/Development.d.ts +3 -3
  622. package/transpiled/directives/dev/Development.js +9 -13
  623. package/transpiled/directives/dev/Development.js.map +1 -1
  624. package/transpiled/directives/dev/Faulty.d.ts +2 -2
  625. package/transpiled/directives/dev/Faulty.js +8 -15
  626. package/transpiled/directives/dev/Faulty.js.map +1 -1
  627. package/transpiled/directives/dev/Sleep.d.ts +2 -2
  628. package/transpiled/directives/dev/Sleep.js +13 -20
  629. package/transpiled/directives/dev/Sleep.js.map +1 -1
  630. package/transpiled/directives/dev/Stub.d.ts +2 -2
  631. package/transpiled/directives/dev/Stub.js +1 -5
  632. package/transpiled/directives/dev/Stub.js.map +1 -1
  633. package/transpiled/directives/dev/Throw.d.ts +2 -2
  634. package/transpiled/directives/dev/Throw.js +1 -5
  635. package/transpiled/directives/dev/Throw.js.map +1 -1
  636. package/transpiled/directives/dev/index.d.ts +1 -1
  637. package/transpiled/directives/dev/index.js +2 -5
  638. package/transpiled/directives/dev/index.js.map +1 -1
  639. package/transpiled/directives/dev/types.d.ts +1 -1
  640. package/transpiled/directives/dev/types.js +1 -2
  641. package/transpiled/directives/flow/Compose.d.ts +2 -2
  642. package/transpiled/directives/flow/Compose.js +10 -37
  643. package/transpiled/directives/flow/Compose.js.map +1 -1
  644. package/transpiled/directives/flow/Fetch.d.ts +5 -5
  645. package/transpiled/directives/flow/Fetch.js +10 -17
  646. package/transpiled/directives/flow/Fetch.js.map +1 -1
  647. package/transpiled/directives/flow/Flow.d.ts +4 -4
  648. package/transpiled/directives/flow/Flow.js +5 -9
  649. package/transpiled/directives/flow/Flow.js.map +1 -1
  650. package/transpiled/directives/flow/index.d.ts +1 -1
  651. package/transpiled/directives/flow/index.js +2 -5
  652. package/transpiled/directives/flow/index.js.map +1 -1
  653. package/transpiled/directives/flow/types.d.ts +2 -2
  654. package/transpiled/directives/flow/types.js +1 -2
  655. package/transpiled/directives/index.d.ts +2 -2
  656. package/transpiled/directives/index.js +11 -14
  657. package/transpiled/directives/index.js.map +1 -1
  658. package/transpiled/directives/io/Directive.d.ts +4 -4
  659. package/transpiled/directives/io/Directive.js +1 -2
  660. package/transpiled/directives/io/IO.d.ts +4 -4
  661. package/transpiled/directives/io/IO.js +11 -15
  662. package/transpiled/directives/io/IO.js.map +1 -1
  663. package/transpiled/directives/io/Input.d.ts +2 -2
  664. package/transpiled/directives/io/Input.js +5 -32
  665. package/transpiled/directives/io/Input.js.map +1 -1
  666. package/transpiled/directives/io/Message.js +1 -2
  667. package/transpiled/directives/io/Output.d.ts +2 -2
  668. package/transpiled/directives/io/Output.js +6 -33
  669. package/transpiled/directives/io/Output.js.map +1 -1
  670. package/transpiled/directives/io/Throttle.d.ts +4 -4
  671. package/transpiled/directives/io/Throttle.js +6 -33
  672. package/transpiled/directives/io/Throttle.js.map +1 -1
  673. package/transpiled/directives/io/index.d.ts +1 -1
  674. package/transpiled/directives/io/index.js +2 -5
  675. package/transpiled/directives/io/index.js.map +1 -1
  676. package/transpiled/directives/io/lib/throttle/Configuration.js +1 -5
  677. package/transpiled/directives/io/lib/throttle/Configuration.js.map +1 -1
  678. package/transpiled/directives/io/lib/throttle/Keys.d.ts +5 -5
  679. package/transpiled/directives/io/lib/throttle/Keys.js +7 -11
  680. package/transpiled/directives/io/lib/throttle/Keys.js.map +1 -1
  681. package/transpiled/directives/io/lib/throttle/Quotas.d.ts +5 -5
  682. package/transpiled/directives/io/lib/throttle/Quotas.js +3 -7
  683. package/transpiled/directives/io/lib/throttle/Quotas.js.map +1 -1
  684. package/transpiled/directives/io/lib/throttle/Sync.d.ts +1 -1
  685. package/transpiled/directives/io/lib/throttle/Sync.js +3 -7
  686. package/transpiled/directives/io/lib/throttle/Sync.js.map +1 -1
  687. package/transpiled/directives/io/lib/throttle/components/Component.d.ts +2 -2
  688. package/transpiled/directives/io/lib/throttle/components/Component.js +1 -2
  689. package/transpiled/directives/io/lib/throttle/components/IP.d.ts +2 -2
  690. package/transpiled/directives/io/lib/throttle/components/IP.js +1 -5
  691. package/transpiled/directives/io/lib/throttle/components/IP.js.map +1 -1
  692. package/transpiled/directives/io/lib/throttle/components/Identity.d.ts +2 -2
  693. package/transpiled/directives/io/lib/throttle/components/Identity.js +1 -5
  694. package/transpiled/directives/io/lib/throttle/components/Identity.js.map +1 -1
  695. package/transpiled/directives/io/lib/throttle/components/Path.d.ts +2 -2
  696. package/transpiled/directives/io/lib/throttle/components/Path.js +1 -5
  697. package/transpiled/directives/io/lib/throttle/components/Path.js.map +1 -1
  698. package/transpiled/directives/io/lib/throttle/components/Route.d.ts +1 -1
  699. package/transpiled/directives/io/lib/throttle/components/Route.js +1 -5
  700. package/transpiled/directives/io/lib/throttle/components/Route.js.map +1 -1
  701. package/transpiled/directives/io/lib/throttle/components/Segment.d.ts +3 -3
  702. package/transpiled/directives/io/lib/throttle/components/Segment.js +3 -10
  703. package/transpiled/directives/io/lib/throttle/components/Segment.js.map +1 -1
  704. package/transpiled/directives/io/lib/throttle/components/index.d.ts +2 -2
  705. package/transpiled/directives/io/lib/throttle/components/index.js +11 -14
  706. package/transpiled/directives/io/lib/throttle/components/index.js.map +1 -1
  707. package/transpiled/directives/io/lib/throttle/conditions/Condition.d.ts +1 -1
  708. package/transpiled/directives/io/lib/throttle/conditions/Condition.js +1 -2
  709. package/transpiled/directives/io/lib/throttle/conditions/Status.d.ts +2 -2
  710. package/transpiled/directives/io/lib/throttle/conditions/Status.js +3 -10
  711. package/transpiled/directives/io/lib/throttle/conditions/Status.js.map +1 -1
  712. package/transpiled/directives/io/lib/throttle/conditions/index.d.ts +2 -2
  713. package/transpiled/directives/io/lib/throttle/conditions/index.js +3 -6
  714. package/transpiled/directives/io/lib/throttle/conditions/index.js.map +1 -1
  715. package/transpiled/directives/io/lib/throttle/index.d.ts +3 -3
  716. package/transpiled/directives/io/lib/throttle/index.js +3 -9
  717. package/transpiled/directives/io/lib/throttle/index.js.map +1 -1
  718. package/transpiled/directives/io/schemas.d.ts +5 -5
  719. package/transpiled/directives/io/schemas.js +8 -14
  720. package/transpiled/directives/io/schemas.js.map +1 -1
  721. package/transpiled/directives/map/Authority.d.ts +2 -2
  722. package/transpiled/directives/map/Authority.js +4 -11
  723. package/transpiled/directives/map/Authority.js.map +1 -1
  724. package/transpiled/directives/map/Buffer.d.ts +2 -2
  725. package/transpiled/directives/map/Buffer.js +4 -11
  726. package/transpiled/directives/map/Buffer.js.map +1 -1
  727. package/transpiled/directives/map/Claims.d.ts +3 -3
  728. package/transpiled/directives/map/Claims.js +5 -12
  729. package/transpiled/directives/map/Claims.js.map +1 -1
  730. package/transpiled/directives/map/Directive.d.ts +2 -2
  731. package/transpiled/directives/map/Directive.js +1 -2
  732. package/transpiled/directives/map/Headers.d.ts +2 -2
  733. package/transpiled/directives/map/Headers.js +7 -14
  734. package/transpiled/directives/map/Headers.js.map +1 -1
  735. package/transpiled/directives/map/Language.d.ts +4 -4
  736. package/transpiled/directives/map/Language.js +10 -17
  737. package/transpiled/directives/map/Language.js.map +1 -1
  738. package/transpiled/directives/map/Languages.d.ts +1 -1
  739. package/transpiled/directives/map/Languages.js +5 -12
  740. package/transpiled/directives/map/Languages.js.map +1 -1
  741. package/transpiled/directives/map/Map.d.ts +6 -6
  742. package/transpiled/directives/map/Map.js +20 -24
  743. package/transpiled/directives/map/Map.js.map +1 -1
  744. package/transpiled/directives/map/Mapping.d.ts +4 -4
  745. package/transpiled/directives/map/Mapping.js +1 -5
  746. package/transpiled/directives/map/Mapping.js.map +1 -1
  747. package/transpiled/directives/map/Properties.js +2 -6
  748. package/transpiled/directives/map/Properties.js.map +1 -1
  749. package/transpiled/directives/map/Segments.d.ts +2 -2
  750. package/transpiled/directives/map/Segments.js +6 -13
  751. package/transpiled/directives/map/Segments.js.map +1 -1
  752. package/transpiled/directives/map/index.d.ts +1 -1
  753. package/transpiled/directives/map/index.js +2 -5
  754. package/transpiled/directives/map/index.js.map +1 -1
  755. package/transpiled/directives/octets/Context.d.ts +2 -2
  756. package/transpiled/directives/octets/Context.js +4 -11
  757. package/transpiled/directives/octets/Context.js.map +1 -1
  758. package/transpiled/directives/octets/Delete.d.ts +6 -6
  759. package/transpiled/directives/octets/Delete.js +9 -36
  760. package/transpiled/directives/octets/Delete.js.map +1 -1
  761. package/transpiled/directives/octets/Directive.d.ts +3 -3
  762. package/transpiled/directives/octets/Directive.js +1 -5
  763. package/transpiled/directives/octets/Directive.js.map +1 -1
  764. package/transpiled/directives/octets/Get.d.ts +3 -3
  765. package/transpiled/directives/octets/Get.js +10 -37
  766. package/transpiled/directives/octets/Get.js.map +1 -1
  767. package/transpiled/directives/octets/Octets.d.ts +5 -5
  768. package/transpiled/directives/octets/Octets.js +15 -19
  769. package/transpiled/directives/octets/Octets.js.map +1 -1
  770. package/transpiled/directives/octets/Put.d.ts +6 -6
  771. package/transpiled/directives/octets/Put.js +17 -44
  772. package/transpiled/directives/octets/Put.js.map +1 -1
  773. package/transpiled/directives/octets/Workflow.d.ts +6 -6
  774. package/transpiled/directives/octets/Workflow.js +7 -34
  775. package/transpiled/directives/octets/Workflow.js.map +1 -1
  776. package/transpiled/directives/octets/bytes.js +3 -10
  777. package/transpiled/directives/octets/bytes.js.map +1 -1
  778. package/transpiled/directives/octets/index.d.ts +1 -1
  779. package/transpiled/directives/octets/index.js +2 -5
  780. package/transpiled/directives/octets/index.js.map +1 -1
  781. package/transpiled/directives/octets/schemas.d.ts +4 -4
  782. package/transpiled/directives/octets/schemas.js +8 -14
  783. package/transpiled/directives/octets/schemas.js.map +1 -1
  784. package/transpiled/directives/octets/types.d.ts +2 -2
  785. package/transpiled/directives/octets/types.js +1 -2
  786. package/transpiled/directives/octets/workflows/Execution.d.ts +2 -3
  787. package/transpiled/directives/octets/workflows/Execution.js +5 -9
  788. package/transpiled/directives/octets/workflows/Execution.js.map +1 -1
  789. package/transpiled/directives/octets/workflows/Workflow.d.ts +3 -3
  790. package/transpiled/directives/octets/workflows/Workflow.js +7 -11
  791. package/transpiled/directives/octets/workflows/Workflow.js.map +1 -1
  792. package/transpiled/directives/octets/workflows/index.d.ts +1 -1
  793. package/transpiled/directives/octets/workflows/index.js +1 -5
  794. package/transpiled/directives/octets/workflows/index.js.map +1 -1
  795. package/transpiled/directives/require/Directive.d.ts +1 -1
  796. package/transpiled/directives/require/Directive.js +1 -2
  797. package/transpiled/directives/require/Headers.d.ts +2 -2
  798. package/transpiled/directives/require/Headers.js +3 -7
  799. package/transpiled/directives/require/Headers.js.map +1 -1
  800. package/transpiled/directives/require/Require.d.ts +3 -3
  801. package/transpiled/directives/require/Require.js +6 -13
  802. package/transpiled/directives/require/Require.js.map +1 -1
  803. package/transpiled/directives/require/index.d.ts +1 -1
  804. package/transpiled/directives/require/index.js +2 -5
  805. package/transpiled/directives/require/index.js.map +1 -1
  806. package/transpiled/discovery.js +1 -2
  807. package/transpiled/exceptions.d.ts +1 -1
  808. package/transpiled/exceptions.js +8 -35
  809. package/transpiled/exceptions.js.map +1 -1
  810. package/transpiled/index.d.ts +5 -5
  811. package/transpiled/index.js +4 -11
  812. package/transpiled/index.js.map +1 -1
  813. package/transpiled/io.d.ts +1 -1
  814. package/transpiled/io.js +1 -2
  815. package/transpiled/manifest.d.ts +1 -1
  816. package/transpiled/manifest.js +8 -38
  817. package/transpiled/manifest.js.map +1 -1
  818. package/transpiled/root.d.ts +1 -1
  819. package/transpiled/root.js +5 -9
  820. package/transpiled/root.js.map +1 -1
  821. package/transpiled/schemas.d.ts +3 -3
  822. package/transpiled/schemas.js +7 -13
  823. package/transpiled/schemas.js.map +1 -1
  824. package/tsconfig.json +2 -1
  825. package/tsconfig.tsbuildinfo +1 -0
  826. package/components/identity.bans/operations/tsconfig.tsbuildinfo +0 -1
  827. package/components/identity.basic/operations/tsconfig.tsbuildinfo +0 -1
  828. package/components/identity.credentials/operations/tsconfig.tsbuildinfo +0 -1
  829. package/components/identity.federation/operations/tsconfig.tsbuildinfo +0 -1
  830. package/components/identity.keys/operations/tsconfig.tsbuildinfo +0 -1
  831. package/components/identity.otp/operations/tsconfig.tsbuildinfo +0 -1
  832. package/components/identity.passkeys/operations/tsconfig.tsbuildinfo +0 -1
  833. package/components/identity.roles/operations/tsconfig.tsbuildinfo +0 -1
  834. package/components/identity.tokens/operations/tsconfig.tsbuildinfo +0 -1
  835. package/cucumber.js +0 -7
  836. package/source/index.test.ts +0 -9
  837. package/transpiled/tsconfig.tsbuildinfo +0 -1
@@ -1,4 +1,4 @@
1
- import type { Entity } from './lib/Entity'
1
+ import type { Entity } from './lib/Entity.js'
2
2
 
3
3
  export function observation (_: unknown, objects: Entity[]): string[] {
4
4
  return objects.map(({ role }) => role)
@@ -1,6 +1,6 @@
1
- import type { Entity } from './lib/Entity'
1
+ import type { Entity } from './lib/Entity.js'
2
2
  import type { Call } from '@toa.io/types'
3
- import type { Input as GrantInput } from './grant'
3
+ import type { Input as GrantInput } from './grant.js'
4
4
 
5
5
  export async function effect (input: Identity, context: Context): Promise<void> {
6
6
  await context.local.grant({
@@ -2,6 +2,7 @@
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "./operations",
5
+ "rootDir": "./source"
5
6
  },
6
7
  "include": [
7
8
  "source"
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/typescript/lib/lib.esnext.error.d.ts","../../node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/typescript/lib/lib.esnext.full.d.ts","./source/lib/Entity.ts","./source/grant.ts","./source/list.ts","../../../../types/source/call.ts","../../../../types/source/operation.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/blob.d.ts","../../../../node_modules/@types/node/web-globals/console.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/encoding.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/round-robin-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/dispatcher1-wrapper.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/socks5-proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/importmeta.d.ts","../../../../node_modules/@types/node/web-globals/messaging.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/performance.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/web-globals/timers.d.ts","../../../../node_modules/@types/node/web-globals/url.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/ffi.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/inspector/promises.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/path/posix.d.ts","../../../../node_modules/@types/node/path/win32.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/quic.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/iter.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/test/reporters.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/util/types.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vfs.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/zlib/iter.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/ioredis/built/types.d.ts","../../../../node_modules/ioredis/built/replyTransformers.d.ts","../../../../node_modules/ioredis/built/Command.d.ts","../../../../node_modules/ioredis/built/ScanStream.d.ts","../../../../node_modules/ioredis/built/utils/RedisCommander.d.ts","../../../../node_modules/ioredis/built/transaction.d.ts","../../../../node_modules/ioredis/built/utils/Commander.d.ts","../../../../node_modules/ioredis/built/connectors/AbstractConnector.d.ts","../../../../node_modules/ioredis/built/connectors/ConnectorConstructor.d.ts","../../../../node_modules/ioredis/built/connectors/SentinelConnector/types.d.ts","../../../../node_modules/ioredis/built/connectors/SentinelConnector/SentinelIterator.d.ts","../../../../node_modules/ioredis/built/connectors/SentinelConnector/index.d.ts","../../../../node_modules/ioredis/built/connectors/StandaloneConnector.d.ts","../../../../node_modules/ioredis/built/himport/types.d.ts","../../../../node_modules/ioredis/built/redis/RedisOptions.d.ts","../../../../node_modules/ioredis/built/cluster/util.d.ts","../../../../node_modules/ioredis/built/cluster/ClusterOptions.d.ts","../../../../node_modules/ioredis/built/cluster/index.d.ts","../../../../node_modules/denque/index.d.ts","../../../../node_modules/ioredis/built/SubscriptionSet.d.ts","../../../../node_modules/ioredis/built/DataHandler.d.ts","../../../../node_modules/ioredis/built/tracing.d.ts","../../../../node_modules/ioredis/built/himport/HimportCoordinator.d.ts","../../../../node_modules/ioredis/built/Redis.d.ts","../../../../node_modules/ioredis/built/Pipeline.d.ts","../../../../node_modules/ioredis/built/index.d.ts","../../../../types/source/stash.ts","../../../../types/source/telemetry.ts","../../../../types/source/octets.ts","../../../../types/source/guard.ts","../../../../types/source/configuration.ts","../../../../types/source/index.ts","./source/principal.ts"],"fileIdsList":[[87,93,158,166,171,174,176,177,178,191],[93,158,166,171,174,176,177,178,191],[87,88,93,158,166,171,174,176,177,178,191,251],[93,155,156,158,166,171,174,176,177,178,191],[93,157,158,166,171,174,176,177,178,191],[158,166,171,174,176,177,178,191],[93,158,166,171,174,176,177,178,191,200],[93,158,159,164,166,169,171,174,176,177,178,180,191,196,209],[93,158,159,160,166,169,171,174,176,177,178,191],[93,158,161,166,171,174,176,177,178,191,210],[93,158,162,163,166,171,174,176,177,178,182,191],[93,158,163,166,171,174,176,177,178,191,196,206],[93,158,164,166,169,171,174,176,177,178,180,191],[93,157,158,165,166,171,174,176,177,178,191],[93,158,166,167,171,174,176,177,178,191],[93,158,166,168,169,171,174,176,177,178,191],[93,157,158,166,169,171,174,176,177,178,191],[93,158,166,169,171,172,174,176,177,178,191,196,209],[93,158,166,169,171,172,174,176,177,178,191,198,200],[93,145,158,166,169,171,173,174,176,177,178,180,191,196,209],[93,158,166,169,171,173,174,176,177,178,180,191,196,206,209],[93,158,166,171,173,174,175,176,177,178,191,196,206,209],[92,93,94,95,96,97,98,99,100,101,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218],[93,158,166,169,171,174,176,177,178,191],[93,158,166,171,174,176,178,191],[93,158,166,171,174,176,177,178,179,191,209],[93,158,166,169,171,174,176,177,178,180,191,196],[93,158,166,171,174,176,177,178,182,191],[93,158,166,171,174,176,177,178,183,191],[93,158,166,169,171,174,176,177,178,186,191],[93,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,214,215,216,217],[93,158,166,171,174,176,177,178,188,191],[93,158,166,171,174,176,177,178,189,191],[93,158,163,166,171,172,174,176,177,178,180,191,198,206],[93,158,166,169,171,174,176,177,178,191,192],[93,158,166,171,174,176,177,178,191,193,210,214],[93,158,166,169,171,174,176,177,178,191,196,198,199,200],[93,158,166,171,174,176,177,178,191,197,200],[93,158,166,169,171,174,176,177,178,191,196,198],[93,158,166,169,171,174,176,177,178,191,196,199,200],[93,158,166,171,174,176,177,178,191,200,210],[93,158,166,171,174,176,177,178,191,201],[93,155,158,166,171,174,176,177,178,191,196,203,209],[93,158,166,171,174,176,177,178,191,196,202],[93,158,166,169,171,174,176,177,178,191,204,205],[93,158,166,171,174,176,177,178,191,204,205],[93,158,163,166,171,174,176,177,178,180,191,196,206],[93,158,166,171,174,176,177,178,191,207],[93,158,166,171,174,176,177,178,180,191,208],[93,158,166,171,173,174,176,177,178,189,191,209],[93,158,166,171,174,176,177,178,191,210,211],[93,158,163,166,171,174,176,177,178,191,211],[93,158,166,171,174,176,177,178,191,196,212],[93,158,166,171,172,174,176,177,178,191],[93,158,166,171,174,176,177,178,179,191,214],[93,158,166,171,174,176,177,178,191,215],[93,158,161,166,171,174,176,177,178,191],[93,158,163,166,171,174,176,177,178,191],[93,158,166,171,174,176,177,178,191,210],[93,145,158,166,171,174,176,177,178,191],[93,158,166,171,174,176,177,178,191,209],[93,158,166,171,174,176,177,178,191,216],[93,158,166,171,174,176,177,178,186,191],[93,158,166,171,174,176,177,178,191,205],[93,145,158,166,169,171,172,174,176,177,178,186,191,196,200,209,212,214,216],[93,158,166,171,174,176,177,178,191,196,217],[93,158,166,171,174,176,177,178,191,198,218],[93,158,166,171,174,176,177,178,191,219,220,221],[93,158,166,169,171,174,176,177,178,191,219,220,238,239],[93,158,166,171,174,176,177,178,191,222,226,237,243],[93,158,166,169,171,174,176,177,178,191,219,220,222,223,225,226,234,237,238,240,241,242],[93,158,166,171,174,176,177,178,191,196,219],[93,158,166,171,174,176,177,178,191,222],[93,158,166,171,174,176,177,178,191,219,220,226,233,234,235],[93,158,166,169,171,174,176,177,178,191,219,220,222,223,225,226,235,236,243],[93,158,166,171,174,176,177,178,191,219,243],[93,158,166,171,174,176,177,178,191,220],[93,158,166,171,174,176,177,178,191,227],[93,158,166,171,174,176,177,178,191,229],[93,158,166,169,171,174,176,177,178,191,206,219,220,227,229,230,236],[93,158,166,171,174,176,177,178,191,234],[93,158,166,171,174,176,177,178,180,191,206,219,220,227],[93,158,166,171,174,176,177,178,191,219,222,233],[93,158,166,171,174,176,177,178,191,219],[93,158,166,171,174,176,177,178,191,220,222,223,224,227,231,232,233,234,235,236,237,241,243,244],[93,158,166,171,174,176,177,178,191,220,226,228,231,232,233],[93,158,166,171,174,176,177,178,191,224],[93,158,166,171,174,176,177,178,180,191,206,219],[93,158,166,171,174,176,177,178,191,220,222,224],[93,158,166,171,174,176,177,178,191,219,220],[93,108,111,114,115,158,166,171,174,176,177,178,191,209],[93,111,158,166,171,174,176,177,178,191,196,209],[93,111,115,158,166,171,174,176,177,178,191,209],[93,158,166,171,174,176,177,178,191,196],[93,105,158,166,171,174,176,177,178,191],[93,109,158,166,171,174,176,177,178,191],[93,107,108,111,158,166,171,174,176,177,178,191,209],[93,158,166,171,174,176,177,178,180,191,206],[93,105,158,166,171,174,176,177,178,191,219],[93,107,111,158,166,171,174,176,177,178,180,191,209],[93,102,103,104,106,110,158,166,169,171,174,176,177,178,191,196,209],[93,111,158,166,171,174,176,177,178,191],[93,111,120,129,158,166,171,174,176,177,178,191],[93,103,109,158,166,171,174,176,177,178,191],[93,111,139,140,158,166,171,174,176,177,178,191],[93,103,106,111,158,166,171,174,176,177,178,191,200,209,219],[93,107,111,158,166,171,174,176,177,178,191,209],[93,102,158,166,171,174,176,177,178,191],[93,105,106,107,109,110,111,112,113,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,140,141,142,143,144,158,166,171,174,176,177,178,191],[93,111,132,135,158,166,171,174,176,177,178,191],[93,111,120,122,123,158,166,171,174,176,177,178,191],[93,109,111,122,124,158,166,171,174,176,177,178,191],[93,110,158,166,171,174,176,177,178,191],[93,103,105,111,158,166,171,174,176,177,178,191],[93,111,115,122,124,158,166,171,174,176,177,178,191],[93,115,158,166,171,174,176,177,178,191],[93,109,111,114,158,166,171,174,176,177,178,191,209],[93,103,107,111,120,158,166,171,174,176,177,178,191],[93,111,132,158,166,171,174,176,177,178,191],[93,124,158,166,171,174,176,177,178,191],[93,103,107,111,115,158,166,171,174,176,177,178,191],[93,105,111,139,158,166,171,174,176,177,178,191,200,216,219],[90,91,93,158,166,171,174,176,177,178,191,246,247,248,249,250],[93,158,166,171,174,176,177,178,191,245]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"bde31fd423cd93b0eff97197a3f66df7c93e8c0c335cbeb113b7ff1ac35c23f4","impliedFormat":1},{"version":"952c6f858978b85a6aa100f367c4890e2965fbdd1978cf260af0d9717236f862","signature":"8dc906bd2bbc57c9e98e830345ef50d2a3504bc3d4e99e0e242b175ff9a1e013","impliedFormat":99},{"version":"83460a57cafae13473a1e33ffb9f12f96e97ecbd6955d5173366f4d600e3b6b3","signature":"4e91d97ae0e1d51089c63f27c062bbcfcddae2e632a18f82be64d4941b6de80f","impliedFormat":99},{"version":"0a142d4e0fbbb0dbbf1ecfdf9533e62c1d93567710e9b55c73c47bd561b20106","signature":"77e27fd5da0550f5b0aaaa090453d2e9cf2a9ee4b8bf47602708bc17f392cf47","impliedFormat":99},{"version":"265e767c95531dd6803788b42796a4058d60eaede2e980e08cc57dcbe77c9e88","impliedFormat":99},{"version":"50ffb91d1ad1e8952b9f9ba82628d988aa6e6c4cd3efecbba968a15350dc3e41","impliedFormat":99},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9b68a1c3f8f45b4c199fa5b3ac09497230cb8f2f0cdcfebe5817b30b836a64a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f53a7652392cf26ebbe4e29fd0672aa87c93bd6d0241289c13fab87b9ac35c8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"b00a630557d1622ad312633bdbfbdb9c6b7220d948dca9f899db30679f160074","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"88809d6c1b9c78d04a133646a6feb926def05a8774c308c7c93bc32ee163d271","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"3ac40516c33b87f751f7507346933081a26cdb8a3e11a6b3aa07d23f803c85db","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"14e9acf826baba0ef4b5665704084896e7bcc06f65a9ab13af7e93d27d6b7069","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"829bc57ee8f287b490ab5bbc5a962fca57e432c1e38ec680ecd3ecaf12800613","impliedFormat":1},{"version":"eec76bf6b9346f3f95fa402621b889489e96930e72295b0369022f332e9b4a6a","impliedFormat":1},{"version":"3a3ff14da53d5013f3e6d8c4ad55225e3649c08786c4421ce639c00d8d589b7d","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"38004e6801340cb890afb8cb5a9fc8972297e7f88ab94026e4b0b3c61fb32f8a","impliedFormat":1},{"version":"d243db6b25788f439e7e2f03c05688e92f46764351673bb0e7b2f3631232e186","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"149f9a9e7f04e67afa0e2a49fc0ff421035c01d6b793cfcae7d2e9f6819431e2","impliedFormat":1},{"version":"e8a9dfa4c75ef6d25df8b40eaa9c31e0a69452aaf2ced4a3f4215dbdbaa876f4","impliedFormat":1},{"version":"a70af845a2eb9dd6e2723e319e14ea7fb28b129ec1361c21509b49305448c323","impliedFormat":1},{"version":"b53dc572d4f187904207ae1166652de47aab8eeb00c254d009cb226863076b56","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"f501234c5aeeeb5d7659412335227466aaacf30b952372d60afeb21c02c96348","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"9ac977503f15bf13ca7c82ad9a32a782f42d43e474824e8b3bffe228fd5f2639","impliedFormat":1},{"version":"8b91ff5bb912be3ea213cbcf0075aace1f5d4ff249a0d227ed673868cb7bfabc","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"98498b101803bb3dde9f76a56e65c14b75db1cc8bec5f4db72be541570f74fc5","impliedFormat":1},{"version":"7cb4f431a4591b0e23002bed805dc871a874dfed6b9a3994dce68a6df73e6739","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"436d7b4543b340b0f3eef4310d524242e41369b9652aa9c70428767c4dcac455","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"e99963ae1e3a48ca7a7958c02f3e88bb963eb7978c28b68ae6b8c9f03309d83c","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"594ae90cacd813fa392ff80d2e0a8eff4e41f4a136329a940e321399dd8895b4","impliedFormat":1},{"version":"d1f333ade8ff35a409b4984e1f11956fe11c61855b0c7e9b59f0313e48b40c4a","impliedFormat":1},{"version":"0224aa4b3464895d69c413a640a19ac2166778a74eb5eb3b36b021c72d42b274","impliedFormat":1},{"version":"2e6fca0024dd8a076a886d9ec031a936ea59ad878a25b944820495d92f8381dd","affectsGlobalScope":true,"impliedFormat":1},{"version":"47d917e731d06acf182baa38ac2fbd720c3555fa9160e6a40d47994515f7f0ea","impliedFormat":1},{"version":"2fbf504c4791f9d32cd766cfe6b605bcda63289b925401953a7900db9af85348","impliedFormat":1},{"version":"ed0fb633cae35948d9e144004299a4bdf1ab912667c787b7fbffcd6d8c7b92a2","impliedFormat":1},{"version":"1678b04557dca52feab73cc67610918a7f5e25bfdba3e7fa081acd625d93106d","impliedFormat":1},{"version":"4c8a22ece1ef9fb4659ec034e1131310ca188975f39948ab38f7e4485cb46d1f","impliedFormat":1},{"version":"9c90f502816bd0179556bb875e86c944af3f6b995cde63199edbe4e0b1219aba","impliedFormat":1},{"version":"98fc7231d6c846a8ed19bdef026ddffe5e2182cc818be74899287421ad370a87","impliedFormat":1},{"version":"e494b286c8e27c52f8c7f945aa80ff223f2a3cd4f7a2619fa8991f1459e26f07","impliedFormat":1},{"version":"f54f5f9e10bbceba7515dfad0ffc89dffdb8d749d0604594c57a725cf6d79c20","impliedFormat":1},{"version":"41d17e1ad9a002feb11c8cdd2777e5bbc0cdb1e3f595d237e4dded0b6949983b","impliedFormat":1},{"version":"8c7e618c2a91ea7f6b5cca272a295864e92c16413be8fc56a943e8c7d5320011","affectsGlobalScope":true,"impliedFormat":1},{"version":"beabd75eab00f72e79feb85f6bbe81b549461a2c870674923c24a8d180d6cf07","impliedFormat":1},{"version":"9d37b8a9678efbcdf38238b59ce8e6f7db70aba1a516f3a4a671a301dbacfb3d","impliedFormat":1},{"version":"a47a792b8cff71443be8dfb199f2b77e102a7bf9d4f90c18059f05d9af2d7413","impliedFormat":1},{"version":"77c33fa85a1485ccf0d7cd8e0f50677924045cc4086a39af564f608e21a46343","impliedFormat":1},{"version":"22e77cc53de19959fdb4c4876e7bafd2f2a8cf8ead059abf7b299efe85f76251","impliedFormat":1},{"version":"2c2bdaa1d8ead9f68628d6d9d250e46ee8e81aa4898b4769a36956ae15e060fe","impliedFormat":1},{"version":"ba389fd3d7fba6670e97bc82eb12469dcb371d22f24e63859c1df5a083c823ed","impliedFormat":1},{"version":"5ff4433a2deae4f85ab1377e90a7554ce6b47ae51c69a84ca30a6e22fae85834","impliedFormat":1},{"version":"82b91e4e42e6c41bc7fc1b6c2dc5eba6a2ba98375eb1f210e6ff6bba2d54177e","impliedFormat":1},{"version":"97234c5303866576f913d0ccae7d58d6322d9e803c7bf1228a3fda46ab8087b2","affectsGlobalScope":true,"impliedFormat":1},{"version":"5336674547d832b901f47d5602c61dd4ba91796a4711235aa4aead3386ce05a4","impliedFormat":1},{"version":"ef18cbf1d8374576e3db03ff33c2c7499845972eb0c4adf87392949709c5e160","impliedFormat":1},{"version":"73eeb740dacc45adc607a4f59f90fa9dbe2717d93d82f115f45f34e18f8d644a","impliedFormat":1},{"version":"ec501101c2a96133a6c695f934c8f6642149cc728571b29cbb7b770984c1088e","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"b17f272f903d155b9ec21791b5889b638977bc1dee181efb2bc317ce006d8c9b","impliedFormat":1},{"version":"18b03a8395192811131170042d6af50c4292b0d708789dbf5bc805b6dd9f4c14","affectsGlobalScope":true,"impliedFormat":1},{"version":"230763250f20449fa7b3c9273e1967adb0023dc890d4be1553faca658ee65971","impliedFormat":1},{"version":"c3e9078b60cb329d1221f5878e88cecfa3e74460550e605a58fcfb41a66029ff","impliedFormat":1},{"version":"cd2f3cdc3954c55199d688feebdc2aaa68670e86963e30b7fab2f27c0dc94553","impliedFormat":1},{"version":"441b9bb09013654aa3d050e68b06464d8959b473e85868249d9d18f692acd35b","impliedFormat":1},{"version":"bc18a1991ba681f03e13285fa1d7b99b03b67ee671b7bc936254467177543890","impliedFormat":1},{"version":"55246f15e33ff1e2e9e679b25fa9790a48db55dc63d567fe25fac8b6a0efe911","impliedFormat":1},{"version":"fa94bbf532b7af8f394b95fa310980d6e20bd2d4c871c6a6cb9f70f03750a44b","impliedFormat":1},{"version":"925734f303b7f0cc111d42aeb21781d38a79e6d5ac05b2b1400cd1861a75d27b","impliedFormat":1},{"version":"5b26c4dd672d88336bb929787c9bfb55119e80ba89ec6dc923da1c063892843e","affectsGlobalScope":true,"impliedFormat":1},{"version":"7fa2214bb0d64701bc6f9ce8cde2fd2ff8c571e0b23065fa04a8a5a6beb91511","impliedFormat":1},{"version":"b8e805bcd8cfb7986d2bcf5e785e34fdfe0cb2f31a89b585e2c9204513efa8cf","impliedFormat":1},{"version":"f12624a4a8d042b68914eac1b0a16571fc1c523173fcdf2517c65d191bd5a86c","impliedFormat":1},{"version":"b4769767f13a1692a66186e01c3aa186ff808d5ff72ed36eda8c37738fb2ac92","impliedFormat":1},{"version":"841983e39bd4cbb463be385e92fda11057cab368bf27100a801c492f1d86cbaa","impliedFormat":1},{"version":"441a29b18cc64c37fb196172ec1e499f60d5792edc89648e6cb550180c81050f","impliedFormat":1},{"version":"1ec3f3a5f04cc42df33274fbe5c0937d9a9e06f249a7a26288d7d54f0763ffd4","impliedFormat":1},{"version":"e4156ddb25aa0e3b5303d372f26957b36778f0f6bbd4326359269873295e3058","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc1b433a84cae05ddc5672d4823170af78606ad21ecef60dbc4570190cbf1357","impliedFormat":1},{"version":"76619734a63492651c3467de6fd43d93d7bdd836aff49b86f0e83e2c1e17111a","impliedFormat":1},{"version":"7f78cfb2b343838612c192cb251746e3a7c62ac7675726a47e130d9b213f6580","impliedFormat":1},{"version":"aed8f3e5c7e53462565eedf34a9bcb700393cb2c1ab0c768602b929c3ed3145d","impliedFormat":1},{"version":"8e2577e7262051fd3c5bd6ca2b2056d358ff8853565720f92455860824c25188","impliedFormat":1},{"version":"7ec8d7d483f7394f9da611b10d3a0e402f76ff5c991261e6ce43a15f81ca4258","impliedFormat":1},{"version":"bb9dbb4b2ad81e3e71ec5ba4314973718555b9d04ba2a17dfbf875efecb8e2c0","impliedFormat":1},{"version":"9021dc5be8f3a87af5cede29221188a6497e2092b6889e0be212ef6b6b7153e9","impliedFormat":1},{"version":"db3939c70002734d9e344f35f33d151cf302d326ef08338e9beb8e7f9937d2a2","impliedFormat":1},{"version":"32eccc272f35e34ff1c3d33d2c8d05e6821a6e95f648e118a5f4a0f3512895ac","impliedFormat":1},{"version":"99ab6d0d660ce4d21efb52288a39fd35bb3f556980ec5463b1ae8f304a3bbc85","impliedFormat":1},{"version":"632c45ccb4cdc2c3a80c7a36a63dd7763016e59cac5e07bfb3e37e3548957028","impliedFormat":1},{"version":"c9a2daf6cd1eb854cd5b9e424247c5e306692055738c2effd35f7871d942b76e","impliedFormat":1},{"version":"afa1c49f8e559e413d57343339db857d2a8159435cf9cf7d4deb41718fff1b88","impliedFormat":1},{"version":"c46f111af647c4134ae869653130610d62da321f90ebf19e186a3ea4bed79350","impliedFormat":1},{"version":"1fff2fd720fe74d687c527303e0dc8a2f6696a7ca0fb97a8a20da4b99552de89","impliedFormat":1},{"version":"a63ef462d78168dcea667ad5f9e43a0793cdbc8e8e7a7b2378c55c6566ff4d0a","impliedFormat":1},{"version":"9cf9d3f4c0aee7c05b062a114a4b3537cf8b06e9bf3486d44830c77c3bb95829","impliedFormat":1},{"version":"d83f3c0362467589b3a65d3a83088c068099c665a39061bf9b477f16708fa0f9","impliedFormat":1},{"version":"28a0a726d7440a439987a7968f20c6851161e9620b46ee10d425b3010dfb35e6","impliedFormat":1},{"version":"fca7e122c503a19bbdf27c72b1f0cd414782a59abf631def4e30bb379d2a13e7","impliedFormat":1},{"version":"f4260022f7af38e533d364ea62eb7ae01b0a32050033d7f6772073e1dc908025","impliedFormat":1},{"version":"b741cade739369862f1caa276fbc3995033886b2556c749e33d39aa284c964c1","impliedFormat":1},{"version":"3f8e68bd94e82fe4362553aa03030fcf94c381716ce3599d242535b0d9953e49","impliedFormat":1},{"version":"63e628515ec7017458620e1624c594c9bd76382f606890c8eebf2532bcab3b7c","impliedFormat":1},{"version":"355d5e2ba58012bc059e347a70aa8b72d18d82f0c3491e9660adaf852648f032","impliedFormat":1},{"version":"f0df7cab5e24e90ac955810c921fc9fa317e159272f6f05001bcf578ff1a53ca","impliedFormat":1},{"version":"c354961c4b20890871b0b5ebbdf5ef173ac1edb1cdbcbb9e131447dd1d603f22","impliedFormat":1},{"version":"847fbe898c25e438d615a357623753af4243fc55243bc10ce1d3504e9c501478","impliedFormat":1},{"version":"d44407177041edab412256d3ae2949923de16300ee055f948eb503d44ef72902","impliedFormat":1},{"version":"af32e3a3176a0b43a0258b82af4d331ebfc2bfc1f39f43fd9124bd059d554a7e","impliedFormat":1},{"version":"1fffd7416886a1c6e102c0bc46f058bfc2e2d9696b70e779e6179c07d0830cc6","impliedFormat":1},{"version":"a6186513bc698255729f86d2d33f9f6de9ff6bd77e0f21f8fb1f7687e42c24c7","impliedFormat":1},{"version":"ed849d616865076f44a41c87f27698f7cdf230290c44bafc71d7c2bc6919b202","impliedFormat":1},{"version":"776327c0bc9b69ec90c50c163737a955e350d40668f51a85fc794d6bb7f1ef73","impliedFormat":1},{"version":"a725bbc4f8f5400e38df917805ca7fb3f8667748ecb7e5471a7a402dc71816cb","impliedFormat":1},{"version":"974182ac9363694af81841bbc105dd520d20878491353df560c2e3a81387d02e","impliedFormat":1},{"version":"184083e4cce8894a5de837a67dd48ac608b89eb58b1d472b33d421becf3e1f39","impliedFormat":1},{"version":"39719ad735b973bd3a8f4354262e8152fa52bb93bd13a4aaa514230182618153","impliedFormat":1},{"version":"34d206f6ba993e601dade2791944bdf742ab0f7a8caccc661106c87438f4f904","impliedFormat":1},{"version":"bbb7bc52a505cea002b32b661f4af71aa287d6c3ba4cd818140f638c105f765e","impliedFormat":1},{"version":"deaa8f23e2f3b152512a57f1de29f7de43b328825eaabf92d5fd528f1515984c","impliedFormat":99},{"version":"6f0277ec4c736c5b5e41c86340d02ba4674c07b87d85b17ed212ec64e89920fe","impliedFormat":99},{"version":"0006bc39c33bf897be44b54dd97e3307c6b0c881828f8a411d55197f69e07297","impliedFormat":99},{"version":"dc5a3d018532c903f5449f78001ba66e1cffc768657c6056e665755ee52681cf","impliedFormat":99},{"version":"7332518e3fb4a786ba19f68b9b3d29ae0c5ae7082c5ae06f303659745fbbed2a","impliedFormat":99},{"version":"20a34a8be871fcf110da20968610574d6ab3bf1259d9fcc361ab605c31e6da87","impliedFormat":99},{"version":"5e84ed6a07702d281645db3d70f8b00b21e822405a0b0e91622156c3d70f5a33","signature":"3e21ac109822bb8fe79a7e3f2ab3021ba6f33f66c7cb35a2581bbf8e11ac6a68","impliedFormat":99}],"root":[[87,89],252],"options":{"allowJs":true,"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":199,"noImplicitOverride":true,"outDir":"./operations","rootDir":"./source","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"referencedMap":[[88,1],[87,2],[89,1],[252,3],[84,2],[85,2],[15,2],[13,2],[14,2],[19,2],[18,2],[2,2],[20,2],[21,2],[22,2],[23,2],[24,2],[25,2],[26,2],[27,2],[3,2],[28,2],[29,2],[4,2],[30,2],[34,2],[31,2],[32,2],[33,2],[35,2],[36,2],[37,2],[5,2],[38,2],[39,2],[40,2],[41,2],[6,2],[45,2],[42,2],[43,2],[44,2],[46,2],[7,2],[47,2],[52,2],[53,2],[48,2],[49,2],[50,2],[51,2],[8,2],[57,2],[54,2],[55,2],[56,2],[58,2],[9,2],[59,2],[60,2],[61,2],[63,2],[62,2],[64,2],[65,2],[10,2],[66,2],[67,2],[68,2],[11,2],[69,2],[70,2],[71,2],[72,2],[73,2],[1,2],[74,2],[75,2],[12,2],[79,2],[77,2],[82,2],[81,2],[86,2],[76,2],[80,2],[78,2],[83,2],[17,2],[16,2],[155,4],[156,4],[157,5],[93,6],[158,7],[159,8],[160,9],[161,10],[162,11],[163,12],[164,13],[165,14],[166,15],[167,15],[168,16],[169,17],[170,2],[171,18],[172,19],[94,2],[92,2],[173,20],[174,21],[175,22],[219,23],[176,24],[177,25],[178,24],[179,26],[180,27],[182,28],[183,29],[184,29],[185,29],[186,30],[187,31],[188,32],[189,33],[190,34],[191,35],[192,35],[193,36],[194,2],[195,2],[196,37],[197,38],[198,39],[199,40],[200,41],[201,42],[202,43],[203,44],[204,45],[205,46],[206,47],[207,48],[208,49],[209,50],[210,51],[211,52],[212,53],[213,54],[214,55],[215,56],[95,24],[96,2],[97,57],[98,58],[99,2],[100,59],[101,2],[146,60],[147,61],[148,62],[149,62],[150,63],[151,2],[152,7],[153,64],[154,61],[216,65],[217,66],[218,67],[181,2],[238,2],[222,68],[240,69],[244,70],[243,71],[223,72],[239,73],[236,74],[237,75],[235,76],[227,77],[228,78],[230,79],[231,80],[229,81],[232,82],[242,83],[233,84],[245,85],[234,86],[221,77],[241,77],[225,87],[220,88],[226,89],[224,90],[120,91],[134,92],[117,93],[135,94],[144,95],[108,96],[109,97],[107,98],[143,84],[138,99],[142,100],[111,101],[121,102],[131,103],[110,104],[141,105],[105,106],[106,99],[112,102],[113,2],[119,107],[116,102],[103,108],[145,109],[136,110],[124,111],[123,102],[125,112],[128,113],[122,114],[126,115],[139,84],[114,116],[115,117],[129,118],[104,94],[133,119],[132,102],[118,117],[127,120],[130,121],[137,2],[102,2],[140,122],[90,2],[250,2],[249,2],[251,123],[248,2],[91,2],[246,124],[247,2]],"version":"5.9.3"}
@@ -1,5 +1,5 @@
1
1
  import type { Maybe, Operation } from '@toa.io/types';
2
- import type { AuthenticateInput, AuthenticateOutput, Context } from './lib';
2
+ import type { AuthenticateInput, AuthenticateOutput, Context } from './lib/index.js';
3
3
  export declare class Computation implements Operation {
4
4
  private refresh;
5
5
  private decrypt;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Computation = void 0;
4
- class Computation {
1
+ export class Computation {
5
2
  refresh = 0;
6
3
  decrypt;
7
4
  observe;
@@ -32,7 +29,6 @@ class Computation {
32
29
  };
33
30
  }
34
31
  }
35
- exports.Computation = Computation;
36
32
  const ERR_AUTHORITY = new (class AuthorityMismatchError extends Error {
37
33
  code = 'AUTHORITY_MISMATCH';
38
34
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"authenticate.js","sourceRoot":"","sources":["../source/authenticate.ts"],"names":[],"mappings":";;;AAGA,MAAa,WAAW;IACd,OAAO,GAAW,CAAC,CAAA;IACnB,OAAO,CAA8B;IACr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C,GAAG,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;QAE5D,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YAErE,IAAI,UAAU,EAAE,SAAS,KAAK,SAAS,IAAI,GAAG,GAAG,UAAU,CAAC,SAAS;gBACnE,OAAO,iBAAiB,CAAA;QAC5B,CAAC;QAED,MAAM,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,OAAO,CAAA;QAEvC,OAAO;YACL,QAAQ;YACR,OAAO;SACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,sBAAuB,SAAQ,KAAK;IACnD,IAAI,GAAG,oBAAoB,CAAA;CAC5C,CAAC,EAAE,CAAA;AAEJ,MAAM,iBAAiB,GAAG,IAAI,CAAC,MAAM,iBAAkB,SAAQ,KAAK;IAClD,IAAI,GAAG,eAAe,CAAA;CACvC,CAAC,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Maybe, Operation } from '@toa.io/types';
2
- import type { Context, DecryptOutput } from './lib';
2
+ import type { Context, DecryptOutput } from './lib/index.js';
3
3
  export declare class Computation implements Operation {
4
4
  private readonly keys;
5
5
  private readonly legacy;
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Computation = void 0;
4
- const paseto_1 = require("paseto");
5
- const lru_cache_1 = require("lru-cache");
6
- const lib_1 = require("./lib");
7
- const jose_1 = require("./lib/jose");
8
- class Computation {
1
+ import { DecryptFactory, ImportKeyFactory } from 'paseto/v3/local';
2
+ import { LRUCache } from 'lru-cache';
3
+ import { jweKey } from './lib/index.js';
4
+ import { load } from './lib/jose.js';
5
+ export class Computation {
9
6
  keys = {};
10
7
  legacy = {};
11
8
  cache;
@@ -18,7 +15,7 @@ class Computation {
18
15
  throw new TypeError('At least one JWE key must be configured');
19
16
  this.latest = latest.id;
20
17
  this.remote = context.remote.identity.keys;
21
- this.cache = new lru_cache_1.LRUCache(context.configuration.cache);
18
+ this.cache = new LRUCache(context.configuration.cache);
22
19
  this.logs = context.logs;
23
20
  for (const { id, key, format } of context.configuration.keys) {
24
21
  const branch = format === 'paseto' ? this.legacy : this.keys;
@@ -66,7 +63,7 @@ class Computation {
66
63
  }
67
64
  async jweKid(token) {
68
65
  try {
69
- const { decodeProtectedHeader } = await (0, jose_1.load)();
66
+ const { decodeProtectedHeader } = await load();
70
67
  const header = decodeProtectedHeader(token);
71
68
  if (header.alg !== 'dir' || header.enc !== 'A256GCM' || header.typ !== 'JWT' ||
72
69
  typeof header.kid !== 'string')
@@ -89,10 +86,12 @@ class Computation {
89
86
  return entry?.value ?? ERR_INVALID_KEY;
90
87
  }
91
88
  }
92
- exports.Computation = Computation;
93
89
  async function decryptPaseto(token, key) {
94
90
  try {
95
- return await paseto_1.V3.decrypt(token, key);
91
+ const secret = await importKey(key);
92
+ // paseto 3 read a token that never expires; these are tokens already in the wild
93
+ const { claims } = await decryptLocal(secret, token, { allowNonExpiring: true });
94
+ return claims;
96
95
  }
97
96
  catch {
98
97
  return ERR_INVALID_TOKEN;
@@ -100,8 +99,8 @@ async function decryptPaseto(token, key) {
100
99
  }
101
100
  async function decryptJWE(token, key) {
102
101
  try {
103
- const { jwtDecrypt } = await (0, jose_1.load)();
104
- const { payload } = await jwtDecrypt(token, (0, lib_1.jweKey)(key), {
102
+ const { jwtDecrypt } = await load();
103
+ const { payload } = await jwtDecrypt(token, jweKey(key), {
105
104
  keyManagementAlgorithms: ['dir'],
106
105
  contentEncryptionAlgorithms: ['A256GCM']
107
106
  });
@@ -121,6 +120,8 @@ async function decryptJWE(token, key) {
121
120
  return ERR_INVALID_TOKEN;
122
121
  }
123
122
  }
123
+ const importKey = ImportKeyFactory().run;
124
+ const decryptLocal = DecryptFactory().run;
124
125
  const ERR_INVALID_TOKEN = new (class InvalidTokenError extends Error {
125
126
  code = 'INVALID_TOKEN';
126
127
  })();
@@ -1 +1 @@
1
- {"version":3,"file":"decrypt.js","sourceRoot":"","sources":["../source/decrypt.ts"],"names":[],"mappings":";;;AAAA,mCAA2B;AAC3B,yCAAoC;AACpC,+BAA8B;AAC9B,qCAAiC;AAIjC,MAAa,WAAW;IACL,IAAI,GAAwB,EAAE,CAAA;IAC9B,MAAM,GAAwB,EAAE,CAAA;IACzC,KAAK,CAA6B;IAClC,MAAM,CAAS;IACf,MAAM,CAAwC;IAC9C,IAAI,CAAkB;IAEvB,KAAK,CAAE,OAAgB;QAC5B,MAAM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAA;QAEnF,IAAI,MAAM,KAAK,SAAS;YACtB,MAAM,IAAI,SAAS,CAAC,yCAAyC,CAAC,CAAA;QAEhE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;QACvB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAA;QAC1C,IAAI,CAAC,KAAK,GAAG,IAAI,oBAAQ,CAAmB,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;QACxE,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAA;QAExB,KAAK,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,OAAO,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;YAC7D,MAAM,MAAM,GAAG,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAA;YAE5D,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,G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S,IAAI,OAAO,CAAC,GAAG,GAAG,IAAI,IAAI,IAAI,CAAC,GAAG,EAAE;YAC/D,OAAO,iBAAiB,CAAA;QAE1B,OAAO;YACL,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,GAAG,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC,WAAW,EAAE;YAC/C,GAAG,CAAC,OAAO,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;YACzF,QAAQ,EAAE,OAAO,CAAC,QAAQ;SAC3B,CAAA;IACH,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,iBAAiB,CAAA;IAC1B,CAAC;AACH,CAAC;AAED,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC,GAAG,CAAA;AACxC,MAAM,YAAY,GAAG,cAAc,EAAE,CAAC,GAAG,CAAA;AAWzC,MAAM,iBAAiB,GAAG,IAAI,CAAC,MAAM,iBAAkB,SAAQ,KAAK;IAClD,IAAI,GAAG,eAAe,CAAA;CACvC,CAAC,EAAE,CAAA;AAEJ,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,eAAgB,SAAQ,KAAK;IAC9C,IAAI,GAAG,aAAa,CAAA;CACrC,CAAC,EAAE,CAAA;AAEJ,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,cAAe,SAAQ,KAAK;IAC5C,IAAI,GAAG,YAAY,CAAA;CACpC,CAAC,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Operation, Maybe } from '@toa.io/types';
2
- import type { Context, EncryptInput } from './lib';
2
+ import type { Context, EncryptInput } from './lib/index.js';
3
3
  export declare class Effect implements Operation {
4
4
  private key;
5
5
  private lifetime;
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Effect = void 0;
4
- const lib_1 = require("./lib");
5
- const jose_1 = require("./lib/jose");
6
- class Effect {
1
+ import { jweKey } from './lib/index.js';
2
+ import { load } from './lib/jose.js';
3
+ export class Effect {
7
4
  key;
8
5
  lifetime;
9
6
  mount(context) {
@@ -14,7 +11,7 @@ class Effect {
14
11
  this.lifetime = context.configuration.lifetime * 1000;
15
12
  }
16
13
  async execute(input) {
17
- const { EncryptJWT } = await (0, jose_1.load)();
14
+ const { EncryptJWT } = await load();
18
15
  if (input.scopes?.some((scope) => !within(scope, input.identity.roles)) === true)
19
16
  return ERR_INACCESSIBLE_SCOPE;
20
17
  const lifetime = input.lifetime === undefined ? this.lifetime : (input.lifetime * 1000);
@@ -31,10 +28,9 @@ class Effect {
31
28
  .setIssuedAt(Date.now() / 1000);
32
29
  if (lifetime !== 0)
33
30
  token = token.setExpirationTime((Date.now() + lifetime) / 1000);
34
- return await token.encrypt((0, lib_1.jweKey)(key.key));
31
+ return await token.encrypt(jweKey(key.key));
35
32
  }
36
33
  }
37
- exports.Effect = Effect;
38
34
  function within(scope, roles) {
39
35
  return roles.some((role) => role === scope || scope.startsWith(role + ':'));
40
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"encrypt.js","sourceRoot":"","sources":["../source/encrypt.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAC9B,qCAAiC;AAIjC,MAAa,MAAM;IACT,GAAG,CAA0B;IAC7B,QAAQ,CAAS;IAElB,KAAK,CAAE,OAAgB;QAC5B,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAA;QAEhF,IAAI,GAAG,KAAK,SAAS;YACnB,MAAM,IAAI,SAAS,CAAC,yCAAyC,CAAC,CAAA;QAEhE,IAAI,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE,GAAG,CAA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AAC,CAAA;QAEjC,IAAI,QAAQ,KAAK,CAAC;YAChB,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAA;QAEjE,OAAO,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;IAC7C,CAAC;CACF;AAED,SAAS,MAAM,CAAE,KAAa,EAAE,KAAe;IAC7C,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,KAAK,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC,CAAA;AAC7E,CAAC;AAED,MAAM,sBAAsB,GAAG,IAAI,CAAC,MAAM,sBAAuB,SAAQ,KAAK;IAC5D,IAAI,GAAG,oBAAoB,CAAA;CAC5C,CAAC,EAAE,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { Maybe, Operation } from '@toa.io/types';
2
- import type { Context } from './lib';
2
+ import type { Context } from './lib/index.js';
3
3
  export declare class Effect implements Operation {
4
4
  private keys;
5
5
  private roles;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Effect = void 0;
4
- class Effect {
1
+ export class Effect {
5
2
  keys;
6
3
  roles;
7
4
  encrypt;
@@ -55,5 +52,4 @@ class Effect {
55
52
  };
56
53
  }
57
54
  }
58
- exports.Effect = Effect;
59
55
  //# sourceMappingURL=issue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue.js","sourceRoot":"","sources":["../source/issue.ts"],"names":[],"mappings":";;;AAGA,MAAa,MAAM;IACT,IAAI,CAAwC;IAC5C,KAAK,CAAyC;IAC9C,OAAO,CAA8B;IACrC,QAAQ,CAAS;IAElB,KAAK,CAAE,OAAgB;QAC5B,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,MAAM,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AAK,EAAE,KAAK,CAAC,KAAK;gBAClB,OAAO;aACR;SACF,CAAC,CAAA;QAEF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YAClC,KAAK,EAAE;gBACL,QAAQ,EAAE,aAAa,KAAK,CAAC,QAAQ,EAAE;gBACvC,KAAK,EAAE,IAAI;aACZ;SACF,CAAC,CAAA;QAEF,MAAM,QAAQ,GAAa;YACzB,EAAE,EAAE,KAAK,CAAC,QAAQ;YAClB,KAAK;SACN,CAAA;QAED,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAA;QAEhD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAC/B,KAAK,EAAE;gBACL,SAAS;gBACT,QAAQ;gBACR,QAAQ;gBACR,MAAM;gBACN,WAAW;gBACX,GAAG;aACJ;SACF,CAAC,CAAA;QAEF,IAAI,KAAK,YAAY,KAAK;YACxB,OAAO,KAAK,CAAA;QAEd,OAAO;YACL,GAAG,EAAE,GAAG,CAAC,EAAE;YACX,iDAAiD;YACjD,GAAG,CAAC,OAAO,KAAK,SAAS,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;YAC9C,KAAK;SACN,CAAA;IACH,CAAC;CACF"}
@@ -1,3 +1,3 @@
1
- export * from './pad';
2
- export * from './types';
3
- export { jweKey } from './key';
1
+ export * from './pad.js';
2
+ export * from './types.js';
3
+ export { jweKey } from './key.js';
@@ -1,22 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.jweKey = void 0;
18
- __exportStar(require("./pad"), exports);
19
- __exportStar(require("./types"), exports);
20
- var key_1 = require("./key");
21
- Object.defineProperty(exports, "jweKey", { enumerable: true, get: function () { return key_1.jweKey; } });
1
+ export * from './pad.js';
2
+ export * from './types.js';
3
+ export { jweKey } from './key.js';
22
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,0CAAuB;AACvB,6BAA8B;AAArB,6FAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}
@@ -1,41 +1 @@
1
- export function load(): Promise<{
2
- default: typeof import("jose");
3
- compactDecrypt: typeof import("jose").compactDecrypt;
4
- flattenedDecrypt: typeof import("jose").flattenedDecrypt;
5
- generalDecrypt: typeof import("jose").generalDecrypt;
6
- GeneralEncrypt: typeof import("jose").GeneralEncrypt;
7
- compactVerify: typeof import("jose").compactVerify;
8
- flattenedVerify: typeof import("jose").flattenedVerify;
9
- generalVerify: typeof import("jose").generalVerify;
10
- jwtVerify: typeof import("jose").jwtVerify;
11
- jwtDecrypt: typeof import("jose").jwtDecrypt;
12
- CompactEncrypt: typeof import("jose").CompactEncrypt;
13
- FlattenedEncrypt: typeof import("jose").FlattenedEncrypt;
14
- CompactSign: typeof import("jose").CompactSign;
15
- FlattenedSign: typeof import("jose").FlattenedSign;
16
- GeneralSign: typeof import("jose").GeneralSign;
17
- SignJWT: typeof import("jose").SignJWT;
18
- EncryptJWT: typeof import("jose").EncryptJWT;
19
- calculateJwkThumbprint: typeof import("jose").calculateJwkThumbprint;
20
- calculateJwkThumbprintUri: typeof import("jose").calculateJwkThumbprintUri;
21
- EmbeddedJWK: typeof import("jose").EmbeddedJWK;
22
- createLocalJWKSet: typeof import("jose").createLocalJWKSet;
23
- createRemoteJWKSet: typeof import("jose").createRemoteJWKSet;
24
- jwksCache: typeof import("jose").jwksCache;
25
- customFetch: typeof import("jose").customFetch;
26
- UnsecuredJWT: typeof import("jose").UnsecuredJWT;
27
- exportPKCS8: typeof import("jose").exportPKCS8;
28
- exportSPKI: typeof import("jose").exportSPKI;
29
- exportJWK: typeof import("jose").exportJWK;
30
- importSPKI: typeof import("jose").importSPKI;
31
- importPKCS8: typeof import("jose").importPKCS8;
32
- importX509: typeof import("jose").importX509;
33
- importJWK: typeof import("jose").importJWK;
34
- decodeProtectedHeader: typeof import("jose").decodeProtectedHeader;
35
- decodeJwt: typeof import("jose").decodeJwt;
36
- errors: typeof import("jose/dist/types/util/errors");
37
- generateKeyPair: typeof import("jose").generateKeyPair;
38
- generateSecret: typeof import("jose").generateSecret;
39
- base64url: typeof import("jose/dist/types/util/base64url");
40
- cryptoRuntime: "WebCryptoAPI";
41
- }>;
1
+ export function load(): Promise<typeof import("jose")>;
@@ -1,27 +1,2 @@
1
- 'use strict';
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- const load = async () => await Promise.resolve().then(() => __importStar(require('jose')));
26
- exports.load = load;
1
+ export const load = async () => await import('jose');
27
2
  //# sourceMappingURL=jose.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"jose.js","sourceRoot":"","sources":["../../source/lib/jose.js"],"names":[],"mappings":"AAAA,YAAY,CAAA;;;;;;;;;;;;;;;;;;;;;;;;AAEZ,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC,wDAAa,MAAM,GAAC,CAAA;AAE7C,OAAO,CAAC,IAAI,GAAG,IAAI,CAAA"}
1
+ {"version":3,"file":"jose.js","sourceRoot":"","sources":["../../source/lib/jose.js"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,CAAA"}
@@ -1,11 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jweKey = void 0;
4
- function jweKey(value) {
1
+ export function jweKey(value) {
5
2
  const key = Buffer.from(value, 'base64url');
6
3
  if (key.length !== 32 || key.toString('base64url') !== value)
7
4
  throw new TypeError('JWE key must be a base64url-encoded 256-bit secret');
8
5
  return new Uint8Array(key);
9
6
  }
10
- exports.jweKey = jweKey;
11
7
  //# sourceMappingURL=key.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"key.js","sourceRoot":"","sources":["../../source/lib/key.ts"],"names":[],"mappings":";;;AAAA,SAAgB,MAAM,CAAE,KAAa;IACnC,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;IAE3C,IAAI,GAAG,CAAC,MAAM,KAAK,EAAE,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK,KAAK;QAC1D,MAAM,IAAI,SAAS,CAAC,oDAAoD,CAAC,CAAA;IAE3E,OAAO,IAAI,UAAU,CAAC,GAAG,CAAC,CAAA;AAC5B,CAAC;AAPD,wBAOC"}
1
+ {"version":3,"file":"key.js","sourceRoot":"","sources":["../../source/lib/key.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,MAAM,CAAE,KAAa;IACnC,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAA;IAE3C,IAAI,GAAG,CAAC,MAAM,KAAK,EAAE,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK,KAAK;QAC1D,MAAM,IAAI,SAAS,CAAC,oDAAoD,CAAC,CAAA;IAE3E,OAAO,IAAI,UAAU,CAAC,GAAG,CAAC,CAAA;AAC5B,CAAC"}
@@ -1,5 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PAD = void 0;
4
- exports.PAD = 'v3.local.';
1
+ export const PAD = 'v3.local.';
5
2
  //# sourceMappingURL=pad.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pad.js","sourceRoot":"","sources":["../../source/lib/pad.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG,WAAW,CAAA"}
1
+ {"version":3,"file":"pad.js","sourceRoot":"","sources":["../../source/lib/pad.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAA"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=types.js.map
@@ -1,2 +1,2 @@
1
- import type { Entity } from './lib';
1
+ import type { Entity } from './lib/index.js';
2
2
  export declare function transition(_: unknown, object: Entity): void;
@@ -1,8 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.transition = void 0;
4
- function transition(_, object) {
1
+ export function transition(_, object) {
5
2
  object.revokedAt = Date.now();
6
3
  }
7
- exports.transition = transition;
8
4
  //# sourceMappingURL=revoke.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"revoke.js","sourceRoot":"","sources":["../source/revoke.ts"],"names":[],"mappings":";;;AAEA,SAAgB,UAAU,CAAE,CAAU,EAAE,MAAc;IACpD,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;AAC/B,CAAC;AAFD,gCAEC"}
1
+ {"version":3,"file":"revoke.js","sourceRoot":"","sources":["../source/revoke.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,UAAU,CAAE,CAAU,EAAE,MAAc;IACpD,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;AAC/B,CAAC"}
@@ -1,3 +1 @@
1
- 'use strict'
2
-
3
- exports.request = (payload) => ({ query: { id: payload.id } })
1
+ export const request = (payload) => ({ query: { id: payload.id } })
@@ -1,3 +1 @@
1
- 'use strict'
2
-
3
- exports.request = (payload) => ({ query: { id: payload.id } })
1
+ export const request = (payload) => ({ query: { id: payload.id } })