@credo-ts/core 0.7.2-pr-2704-20260918194459 → 0.7.2

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 (1630) hide show
  1. package/build/_virtual/{_@oxc-project_runtime@0.112.0/helpers → _@oxc-project_runtime@0.151.0/helpers/esm}/assertClassBrand.mjs +2 -5
  2. package/build/_virtual/{_@oxc-project_runtime@0.112.0/helpers → _@oxc-project_runtime@0.151.0/helpers/esm}/checkPrivateRedeclaration.mjs +2 -5
  3. package/build/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/classPrivateFieldGet2.mjs +7 -0
  4. package/build/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/classPrivateFieldInitSpec.mjs +7 -0
  5. package/build/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/classPrivateFieldSet2.mjs +7 -0
  6. package/build/_virtual/{_@oxc-project_runtime@0.112.0/helpers → _@oxc-project_runtime@0.151.0/helpers/esm}/decorate.mjs +2 -5
  7. package/build/_virtual/{_@oxc-project_runtime@0.112.0/helpers → _@oxc-project_runtime@0.151.0/helpers/esm}/decorateMetadata.mjs +2 -5
  8. package/build/_virtual/{_@oxc-project_runtime@0.112.0/helpers → _@oxc-project_runtime@0.151.0/helpers/esm}/decorateParam.mjs +2 -5
  9. package/build/_virtual/_rolldown/runtime.mjs +6 -13
  10. package/build/agent/Agent.d.mts +1 -3
  11. package/build/agent/Agent.d.mts.map +1 -1
  12. package/build/agent/Agent.mjs +1 -4
  13. package/build/agent/Agent.mjs.map +1 -1
  14. package/build/agent/AgentConfig.d.mts +1 -3
  15. package/build/agent/AgentConfig.d.mts.map +1 -1
  16. package/build/agent/AgentConfig.mjs +8 -11
  17. package/build/agent/AgentConfig.mjs.map +1 -1
  18. package/build/agent/AgentDependencies.d.mts +1 -3
  19. package/build/agent/AgentDependencies.d.mts.map +1 -1
  20. package/build/agent/AgentModules.d.mts +7 -15
  21. package/build/agent/AgentModules.d.mts.map +1 -1
  22. package/build/agent/AgentModules.mjs +1 -4
  23. package/build/agent/AgentModules.mjs.map +1 -1
  24. package/build/agent/BaseAgent.d.mts +1 -3
  25. package/build/agent/BaseAgent.d.mts.map +1 -1
  26. package/build/agent/BaseAgent.mjs +1 -4
  27. package/build/agent/BaseAgent.mjs.map +1 -1
  28. package/build/agent/EventEmitter.d.mts +2 -5
  29. package/build/agent/EventEmitter.d.mts.map +1 -1
  30. package/build/agent/EventEmitter.mjs +5 -9
  31. package/build/agent/EventEmitter.mjs.map +1 -1
  32. package/build/agent/Events.d.mts +3 -5
  33. package/build/agent/Events.d.mts.map +1 -1
  34. package/build/agent/Events.mjs +1 -4
  35. package/build/agent/Events.mjs.map +1 -1
  36. package/build/agent/TrustedIssuerContext.d.mts +1 -3
  37. package/build/agent/TrustedIssuerContext.d.mts.map +1 -1
  38. package/build/agent/TrustedIssuerContext.mjs +1 -4
  39. package/build/agent/TrustedIssuerContext.mjs.map +1 -1
  40. package/build/agent/TrustedIssuersForVerification.d.mts +11 -13
  41. package/build/agent/TrustedIssuersForVerification.d.mts.map +1 -1
  42. package/build/agent/context/AgentContext.d.mts +2 -8
  43. package/build/agent/context/AgentContext.d.mts.map +1 -1
  44. package/build/agent/context/AgentContext.mjs +1 -4
  45. package/build/agent/context/AgentContext.mjs.map +1 -1
  46. package/build/agent/context/AgentContextProvider.d.mts +1 -3
  47. package/build/agent/context/AgentContextProvider.d.mts.map +1 -1
  48. package/build/agent/context/DefaultAgentContextProvider.d.mts +1 -3
  49. package/build/agent/context/DefaultAgentContextProvider.d.mts.map +1 -1
  50. package/build/agent/context/DefaultAgentContextProvider.mjs +4 -8
  51. package/build/agent/context/DefaultAgentContextProvider.mjs.map +1 -1
  52. package/build/agent/context/index.d.mts +2 -1
  53. package/build/agent/context/index.mjs +1 -2
  54. package/build/agent/index.d.mts +2 -1
  55. package/build/agent/index.mjs +1 -2
  56. package/build/constants.d.mts +1 -2
  57. package/build/constants.d.mts.map +1 -1
  58. package/build/constants.mjs +1 -3
  59. package/build/constants.mjs.map +1 -1
  60. package/build/crypto/JwsService.d.mts +8 -25
  61. package/build/crypto/JwsService.d.mts.map +1 -1
  62. package/build/crypto/JwsService.mjs +6 -7
  63. package/build/crypto/JwsService.mjs.map +1 -1
  64. package/build/crypto/JwsSigner.d.mts +5 -7
  65. package/build/crypto/JwsSigner.d.mts.map +1 -1
  66. package/build/crypto/JwsTypes.d.mts +8 -10
  67. package/build/crypto/JwsTypes.d.mts.map +1 -1
  68. package/build/crypto/JwsTypes.mjs +1 -4
  69. package/build/crypto/JwsTypes.mjs.map +1 -1
  70. package/build/crypto/KmsKeyPair.mjs +1 -4
  71. package/build/crypto/KmsKeyPair.mjs.map +1 -1
  72. package/build/crypto/contexts/mac0Context.mjs +1 -4
  73. package/build/crypto/contexts/mac0Context.mjs.map +1 -1
  74. package/build/crypto/contexts/mdocContext.mjs +1 -4
  75. package/build/crypto/contexts/mdocContext.mjs.map +1 -1
  76. package/build/crypto/contexts/sign1Context.mjs +1 -4
  77. package/build/crypto/contexts/sign1Context.mjs.map +1 -1
  78. package/build/crypto/hashes/Hasher.d.mts +2 -3
  79. package/build/crypto/hashes/Hasher.d.mts.map +1 -1
  80. package/build/crypto/hashes/Hasher.mjs +1 -4
  81. package/build/crypto/hashes/Hasher.mjs.map +1 -1
  82. package/build/crypto/hashes/IHash.d.mts +1 -2
  83. package/build/crypto/hashes/IHash.d.mts.map +1 -1
  84. package/build/crypto/hashes/Sha1.d.mts +1 -3
  85. package/build/crypto/hashes/Sha1.d.mts.map +1 -1
  86. package/build/crypto/hashes/Sha1.mjs +1 -4
  87. package/build/crypto/hashes/Sha1.mjs.map +1 -1
  88. package/build/crypto/hashes/Sha256.d.mts +1 -3
  89. package/build/crypto/hashes/Sha256.d.mts.map +1 -1
  90. package/build/crypto/hashes/Sha256.mjs +1 -4
  91. package/build/crypto/hashes/Sha256.mjs.map +1 -1
  92. package/build/crypto/hashes/Sha384.d.mts +1 -3
  93. package/build/crypto/hashes/Sha384.d.mts.map +1 -1
  94. package/build/crypto/hashes/Sha384.mjs +1 -4
  95. package/build/crypto/hashes/Sha384.mjs.map +1 -1
  96. package/build/crypto/hashes/Sha512.d.mts +1 -3
  97. package/build/crypto/hashes/Sha512.d.mts.map +1 -1
  98. package/build/crypto/hashes/Sha512.mjs +1 -4
  99. package/build/crypto/hashes/Sha512.mjs.map +1 -1
  100. package/build/crypto/hashes/index.mjs +1 -2
  101. package/build/crypto/index.d.mts +3 -2
  102. package/build/crypto/index.mjs +1 -2
  103. package/build/crypto/jose/index.d.mts +2 -1
  104. package/build/crypto/jose/index.mjs +1 -2
  105. package/build/crypto/jose/jwt/Jwt.d.mts +1 -3
  106. package/build/crypto/jose/jwt/Jwt.d.mts.map +1 -1
  107. package/build/crypto/jose/jwt/Jwt.mjs +1 -4
  108. package/build/crypto/jose/jwt/Jwt.mjs.map +1 -1
  109. package/build/crypto/jose/jwt/JwtPayload.d.mts +3 -4
  110. package/build/crypto/jose/jwt/JwtPayload.d.mts.map +1 -1
  111. package/build/crypto/jose/jwt/JwtPayload.mjs +3 -15
  112. package/build/crypto/jose/jwt/JwtPayload.mjs.map +1 -1
  113. package/build/crypto/jose/jwt/index.d.mts +2 -1
  114. package/build/crypto/jose/jwt/index.mjs +1 -2
  115. package/build/crypto/webcrypto/CredoSubtle.d.mts +1 -3
  116. package/build/crypto/webcrypto/CredoSubtle.d.mts.map +1 -1
  117. package/build/crypto/webcrypto/CredoSubtle.mjs +1 -4
  118. package/build/crypto/webcrypto/CredoSubtle.mjs.map +1 -1
  119. package/build/crypto/webcrypto/CredoWalletWebCrypto.d.mts +2 -4
  120. package/build/crypto/webcrypto/CredoWalletWebCrypto.d.mts.map +1 -1
  121. package/build/crypto/webcrypto/CredoWalletWebCrypto.mjs +10 -6
  122. package/build/crypto/webcrypto/CredoWalletWebCrypto.mjs.map +1 -1
  123. package/build/crypto/webcrypto/CredoWebCrypto.d.mts +1 -3
  124. package/build/crypto/webcrypto/CredoWebCrypto.d.mts.map +1 -1
  125. package/build/crypto/webcrypto/CredoWebCrypto.mjs +1 -4
  126. package/build/crypto/webcrypto/CredoWebCrypto.mjs.map +1 -1
  127. package/build/crypto/webcrypto/CredoWebCryptoError.mjs +1 -4
  128. package/build/crypto/webcrypto/CredoWebCryptoError.mjs.map +1 -1
  129. package/build/crypto/webcrypto/CredoWebCryptoKey.d.mts +1 -3
  130. package/build/crypto/webcrypto/CredoWebCryptoKey.d.mts.map +1 -1
  131. package/build/crypto/webcrypto/CredoWebCryptoKey.mjs +1 -4
  132. package/build/crypto/webcrypto/CredoWebCryptoKey.mjs.map +1 -1
  133. package/build/crypto/webcrypto/algorithmIdentifiers.mjs +1 -4
  134. package/build/crypto/webcrypto/algorithmIdentifiers.mjs.map +1 -1
  135. package/build/crypto/webcrypto/index.d.mts +2 -1
  136. package/build/crypto/webcrypto/index.mjs +1 -2
  137. package/build/crypto/webcrypto/providers/CredoEcdsaProvider.mjs +1 -4
  138. package/build/crypto/webcrypto/providers/CredoEcdsaProvider.mjs.map +1 -1
  139. package/build/crypto/webcrypto/providers/CredoEd25519Provider.mjs +1 -4
  140. package/build/crypto/webcrypto/providers/CredoEd25519Provider.mjs.map +1 -1
  141. package/build/crypto/webcrypto/providers/CredoRsaPssProvider.mjs +1 -4
  142. package/build/crypto/webcrypto/providers/CredoRsaPssProvider.mjs.map +1 -1
  143. package/build/crypto/webcrypto/providers/CredoRsaSsaProvider.mjs +1 -4
  144. package/build/crypto/webcrypto/providers/CredoRsaSsaProvider.mjs.map +1 -1
  145. package/build/crypto/webcrypto/providers/CredoSha1Provider.mjs +1 -4
  146. package/build/crypto/webcrypto/providers/CredoSha1Provider.mjs.map +1 -1
  147. package/build/crypto/webcrypto/providers/CredoSha256Provider.mjs +1 -4
  148. package/build/crypto/webcrypto/providers/CredoSha256Provider.mjs.map +1 -1
  149. package/build/crypto/webcrypto/providers/index.mjs +1 -2
  150. package/build/crypto/webcrypto/types.d.mts +19 -21
  151. package/build/crypto/webcrypto/types.d.mts.map +1 -1
  152. package/build/crypto/webcrypto/types.mjs +1 -4
  153. package/build/crypto/webcrypto/types.mjs.map +1 -1
  154. package/build/crypto/webcrypto/utils/index.d.mts +2 -1
  155. package/build/crypto/webcrypto/utils/index.mjs +1 -2
  156. package/build/crypto/webcrypto/utils/keyAlgorithmConversion.d.mts +1 -3
  157. package/build/crypto/webcrypto/utils/keyAlgorithmConversion.d.mts.map +1 -1
  158. package/build/crypto/webcrypto/utils/keyAlgorithmConversion.mjs +4 -6
  159. package/build/crypto/webcrypto/utils/keyAlgorithmConversion.mjs.map +1 -1
  160. package/build/error/BaseError.d.mts +1 -3
  161. package/build/error/BaseError.d.mts.map +1 -1
  162. package/build/error/BaseError.mjs +2 -5
  163. package/build/error/BaseError.mjs.map +1 -1
  164. package/build/error/ClassValidationError.d.mts +2 -8
  165. package/build/error/ClassValidationError.d.mts.map +1 -1
  166. package/build/error/ClassValidationError.mjs +1 -4
  167. package/build/error/ClassValidationError.mjs.map +1 -1
  168. package/build/error/CredoError.d.mts +2 -6
  169. package/build/error/CredoError.d.mts.map +1 -1
  170. package/build/error/CredoError.mjs +1 -4
  171. package/build/error/CredoError.mjs.map +1 -1
  172. package/build/error/RecordDuplicateError.d.mts +2 -7
  173. package/build/error/RecordDuplicateError.d.mts.map +1 -1
  174. package/build/error/RecordDuplicateError.mjs +1 -4
  175. package/build/error/RecordDuplicateError.mjs.map +1 -1
  176. package/build/error/RecordNotFoundError.d.mts +2 -7
  177. package/build/error/RecordNotFoundError.d.mts.map +1 -1
  178. package/build/error/RecordNotFoundError.mjs +1 -4
  179. package/build/error/RecordNotFoundError.mjs.map +1 -1
  180. package/build/error/ValidationErrorUtils.mjs +1 -4
  181. package/build/error/ValidationErrorUtils.mjs.map +1 -1
  182. package/build/error/ZodValidationError.d.mts +4 -6
  183. package/build/error/ZodValidationError.d.mts.map +1 -1
  184. package/build/error/ZodValidationError.mjs +2 -5
  185. package/build/error/ZodValidationError.mjs.map +1 -1
  186. package/build/error/index.d.mts +2 -1
  187. package/build/error/index.mjs +1 -2
  188. package/build/index.d.mts +10 -10
  189. package/build/index.d.mts.map +1 -1
  190. package/build/index.mjs +10 -11
  191. package/build/index.mjs.map +1 -1
  192. package/build/logger/BaseLogger.d.mts +1 -3
  193. package/build/logger/BaseLogger.d.mts.map +1 -1
  194. package/build/logger/BaseLogger.mjs +3 -6
  195. package/build/logger/BaseLogger.mjs.map +1 -1
  196. package/build/logger/ConsoleLogger.d.mts +1 -3
  197. package/build/logger/ConsoleLogger.d.mts.map +1 -1
  198. package/build/logger/ConsoleLogger.mjs +15 -18
  199. package/build/logger/ConsoleLogger.mjs.map +1 -1
  200. package/build/logger/Logger.d.mts +2 -3
  201. package/build/logger/Logger.d.mts.map +1 -1
  202. package/build/logger/Logger.mjs +1 -3
  203. package/build/logger/Logger.mjs.map +1 -1
  204. package/build/logger/replaceError.d.mts +1 -2
  205. package/build/logger/replaceError.d.mts.map +1 -1
  206. package/build/logger/replaceError.mjs +1 -3
  207. package/build/logger/replaceError.mjs.map +1 -1
  208. package/build/modules/cache/Cache.d.mts +2 -4
  209. package/build/modules/cache/Cache.d.mts.map +1 -1
  210. package/build/modules/cache/CacheModule.d.mts +2 -4
  211. package/build/modules/cache/CacheModule.d.mts.map +1 -1
  212. package/build/modules/cache/CacheModule.mjs +1 -4
  213. package/build/modules/cache/CacheModule.mjs.map +1 -1
  214. package/build/modules/cache/CacheModuleConfig.d.mts +2 -4
  215. package/build/modules/cache/CacheModuleConfig.d.mts.map +1 -1
  216. package/build/modules/cache/CacheModuleConfig.mjs +1 -3
  217. package/build/modules/cache/CacheModuleConfig.mjs.map +1 -1
  218. package/build/modules/cache/CachedStorageService.d.mts +1 -3
  219. package/build/modules/cache/CachedStorageService.d.mts.map +1 -1
  220. package/build/modules/cache/CachedStorageService.mjs +4 -7
  221. package/build/modules/cache/CachedStorageService.mjs.map +1 -1
  222. package/build/modules/cache/InMemoryLruCache.d.mts +3 -7
  223. package/build/modules/cache/InMemoryLruCache.d.mts.map +1 -1
  224. package/build/modules/cache/InMemoryLruCache.mjs +1 -4
  225. package/build/modules/cache/InMemoryLruCache.mjs.map +1 -1
  226. package/build/modules/cache/index.d.mts +2 -1
  227. package/build/modules/cache/index.mjs +1 -2
  228. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.mts +3 -5
  229. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.mts.map +1 -1
  230. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.mjs +4 -8
  231. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.mjs.map +1 -1
  232. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.mjs +5 -9
  233. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.mjs.map +1 -1
  234. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.mts +3 -7
  235. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.mts.map +1 -1
  236. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs +1 -4
  237. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs.map +1 -1
  238. package/build/modules/cache/singleContextLruCache/index.d.mts +2 -1
  239. package/build/modules/cache/singleContextLruCache/index.mjs +1 -2
  240. package/build/modules/dcql/DcqlError.d.mts +2 -7
  241. package/build/modules/dcql/DcqlError.d.mts.map +1 -1
  242. package/build/modules/dcql/DcqlError.mjs +1 -4
  243. package/build/modules/dcql/DcqlError.mjs.map +1 -1
  244. package/build/modules/dcql/DcqlModule.d.mts +1 -3
  245. package/build/modules/dcql/DcqlModule.d.mts.map +1 -1
  246. package/build/modules/dcql/DcqlModule.mjs +1 -4
  247. package/build/modules/dcql/DcqlModule.mjs.map +1 -1
  248. package/build/modules/dcql/DcqlService.d.mts +115 -1670
  249. package/build/modules/dcql/DcqlService.d.mts.map +1 -1
  250. package/build/modules/dcql/DcqlService.mjs +35 -37
  251. package/build/modules/dcql/DcqlService.mjs.map +1 -1
  252. package/build/modules/dcql/index.d.mts +2 -1
  253. package/build/modules/dcql/index.mjs +1 -2
  254. package/build/modules/dcql/models/DcqlCredentialsForRequest.d.mts +2 -4
  255. package/build/modules/dcql/models/DcqlCredentialsForRequest.d.mts.map +1 -1
  256. package/build/modules/dcql/models/DcqlCredentialsForRequest.mjs +0 -2
  257. package/build/modules/dcql/models/index.d.mts +8 -9
  258. package/build/modules/dcql/models/index.d.mts.map +1 -1
  259. package/build/modules/dcql/models/index.mjs +0 -2
  260. package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.mts +8 -10
  261. package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.mts.map +1 -1
  262. package/build/modules/dcql/utils/DcqlPresentationsToCreate.mjs +13 -16
  263. package/build/modules/dcql/utils/DcqlPresentationsToCreate.mjs.map +1 -1
  264. package/build/modules/dcql/utils/index.d.mts +2 -1
  265. package/build/modules/dcql/utils/index.mjs +1 -2
  266. package/build/modules/dids/DidsApi.d.mts +3 -13
  267. package/build/modules/dids/DidsApi.d.mts.map +1 -1
  268. package/build/modules/dids/DidsApi.mjs +9 -13
  269. package/build/modules/dids/DidsApi.mjs.map +1 -1
  270. package/build/modules/dids/DidsApiOptions.d.mts +2 -4
  271. package/build/modules/dids/DidsApiOptions.d.mts.map +1 -1
  272. package/build/modules/dids/DidsModule.d.mts +1 -3
  273. package/build/modules/dids/DidsModule.d.mts.map +1 -1
  274. package/build/modules/dids/DidsModule.mjs +1 -4
  275. package/build/modules/dids/DidsModule.mjs.map +1 -1
  276. package/build/modules/dids/DidsModuleConfig.d.mts +2 -4
  277. package/build/modules/dids/DidsModuleConfig.d.mts.map +1 -1
  278. package/build/modules/dids/DidsModuleConfig.mjs +1 -4
  279. package/build/modules/dids/DidsModuleConfig.mjs.map +1 -1
  280. package/build/modules/dids/domain/DidDocument.d.mts +6 -14
  281. package/build/modules/dids/domain/DidDocument.d.mts.map +1 -1
  282. package/build/modules/dids/domain/DidDocument.mjs +16 -44
  283. package/build/modules/dids/domain/DidDocument.mjs.map +1 -1
  284. package/build/modules/dids/domain/DidDocumentBuilder.d.mts +1 -3
  285. package/build/modules/dids/domain/DidDocumentBuilder.d.mts.map +1 -1
  286. package/build/modules/dids/domain/DidDocumentBuilder.mjs +1 -4
  287. package/build/modules/dids/domain/DidDocumentBuilder.mjs.map +1 -1
  288. package/build/modules/dids/domain/DidDocumentRole.d.mts +1 -2
  289. package/build/modules/dids/domain/DidDocumentRole.d.mts.map +1 -1
  290. package/build/modules/dids/domain/DidDocumentRole.mjs +1 -3
  291. package/build/modules/dids/domain/DidDocumentRole.mjs.map +1 -1
  292. package/build/modules/dids/domain/DidRegistrar.d.mts +1 -3
  293. package/build/modules/dids/domain/DidRegistrar.d.mts.map +1 -1
  294. package/build/modules/dids/domain/DidResolver.d.mts +1 -3
  295. package/build/modules/dids/domain/DidResolver.d.mts.map +1 -1
  296. package/build/modules/dids/domain/didDocumentKey.d.mts +1 -3
  297. package/build/modules/dids/domain/didDocumentKey.d.mts.map +1 -1
  298. package/build/modules/dids/domain/didDocumentKey.mjs +1 -4
  299. package/build/modules/dids/domain/didDocumentKey.mjs.map +1 -1
  300. package/build/modules/dids/domain/index.d.mts +2 -1
  301. package/build/modules/dids/domain/index.mjs +1 -2
  302. package/build/modules/dids/domain/key-type/ed25519.d.mts +2 -3
  303. package/build/modules/dids/domain/key-type/ed25519.d.mts.map +1 -1
  304. package/build/modules/dids/domain/key-type/ed25519.mjs +1 -4
  305. package/build/modules/dids/domain/key-type/ed25519.mjs.map +1 -1
  306. package/build/modules/dids/domain/key-type/index.d.mts +2 -1
  307. package/build/modules/dids/domain/key-type/index.mjs +1 -2
  308. package/build/modules/dids/domain/key-type/keyDidJsonWebKey.mjs +1 -4
  309. package/build/modules/dids/domain/key-type/keyDidJsonWebKey.mjs.map +1 -1
  310. package/build/modules/dids/domain/key-type/keyDidMapping.d.mts +2 -4
  311. package/build/modules/dids/domain/key-type/keyDidMapping.d.mts.map +1 -1
  312. package/build/modules/dids/domain/key-type/keyDidMapping.mjs +1 -4
  313. package/build/modules/dids/domain/key-type/keyDidMapping.mjs.map +1 -1
  314. package/build/modules/dids/domain/key-type/secp256k1.mjs +1 -4
  315. package/build/modules/dids/domain/key-type/secp256k1.mjs.map +1 -1
  316. package/build/modules/dids/domain/key-type/x25519.d.mts +1 -3
  317. package/build/modules/dids/domain/key-type/x25519.d.mts.map +1 -1
  318. package/build/modules/dids/domain/key-type/x25519.mjs +1 -4
  319. package/build/modules/dids/domain/key-type/x25519.mjs.map +1 -1
  320. package/build/modules/dids/domain/keyDidDocument.mjs +4 -8
  321. package/build/modules/dids/domain/keyDidDocument.mjs.map +1 -1
  322. package/build/modules/dids/domain/parse.d.mts +2 -4
  323. package/build/modules/dids/domain/parse.d.mts.map +1 -1
  324. package/build/modules/dids/domain/parse.mjs +1 -4
  325. package/build/modules/dids/domain/parse.mjs.map +1 -1
  326. package/build/modules/dids/domain/service/DidCommV1Service.d.mts +1 -3
  327. package/build/modules/dids/domain/service/DidCommV1Service.d.mts.map +1 -1
  328. package/build/modules/dids/domain/service/DidCommV1Service.mjs +3 -6
  329. package/build/modules/dids/domain/service/DidCommV1Service.mjs.map +1 -1
  330. package/build/modules/dids/domain/service/DidCommV2Service.d.mts +4 -6
  331. package/build/modules/dids/domain/service/DidCommV2Service.d.mts.map +1 -1
  332. package/build/modules/dids/domain/service/DidCommV2Service.mjs +3 -6
  333. package/build/modules/dids/domain/service/DidCommV2Service.mjs.map +1 -1
  334. package/build/modules/dids/domain/service/DidDocumentService.d.mts +1 -3
  335. package/build/modules/dids/domain/service/DidDocumentService.d.mts.map +1 -1
  336. package/build/modules/dids/domain/service/DidDocumentService.mjs +3 -6
  337. package/build/modules/dids/domain/service/DidDocumentService.mjs.map +1 -1
  338. package/build/modules/dids/domain/service/IndyAgentService.d.mts +1 -3
  339. package/build/modules/dids/domain/service/IndyAgentService.d.mts.map +1 -1
  340. package/build/modules/dids/domain/service/IndyAgentService.mjs +3 -6
  341. package/build/modules/dids/domain/service/IndyAgentService.mjs.map +1 -1
  342. package/build/modules/dids/domain/service/LegacyDidCommV2Service.d.mts +2 -4
  343. package/build/modules/dids/domain/service/LegacyDidCommV2Service.d.mts.map +1 -1
  344. package/build/modules/dids/domain/service/LegacyDidCommV2Service.mjs +3 -6
  345. package/build/modules/dids/domain/service/LegacyDidCommV2Service.mjs.map +1 -1
  346. package/build/modules/dids/domain/service/ServiceTransformer.d.mts +2 -3
  347. package/build/modules/dids/domain/service/ServiceTransformer.d.mts.map +1 -1
  348. package/build/modules/dids/domain/service/ServiceTransformer.mjs +1 -4
  349. package/build/modules/dids/domain/service/ServiceTransformer.mjs.map +1 -1
  350. package/build/modules/dids/domain/service/index.d.mts +2 -1
  351. package/build/modules/dids/domain/service/index.mjs +1 -2
  352. package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.mts +4 -10
  353. package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.mts.map +1 -1
  354. package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.mjs +1 -4
  355. package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.mjs.map +1 -1
  356. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.mts +4 -10
  357. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.mts.map +1 -1
  358. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.mjs +1 -4
  359. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.mjs.map +1 -1
  360. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.mts +4 -10
  361. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.mts.map +1 -1
  362. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.mjs +1 -4
  363. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.mjs.map +1 -1
  364. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.mts +4 -6
  365. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.mts.map +1 -1
  366. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.mjs +1 -4
  367. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.mjs.map +1 -1
  368. package/build/modules/dids/domain/verificationMethod/Multikey.d.mts +4 -10
  369. package/build/modules/dids/domain/verificationMethod/Multikey.d.mts.map +1 -1
  370. package/build/modules/dids/domain/verificationMethod/Multikey.mjs +1 -4
  371. package/build/modules/dids/domain/verificationMethod/Multikey.mjs.map +1 -1
  372. package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.mts +2 -4
  373. package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.mts.map +1 -1
  374. package/build/modules/dids/domain/verificationMethod/VerificationMethod.mjs +3 -6
  375. package/build/modules/dids/domain/verificationMethod/VerificationMethod.mjs.map +1 -1
  376. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.mts +0 -1
  377. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.mts.map +1 -1
  378. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.mjs +1 -4
  379. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.mjs.map +1 -1
  380. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.mts +4 -10
  381. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.mts.map +1 -1
  382. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.mjs +1 -4
  383. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.mjs.map +1 -1
  384. package/build/modules/dids/domain/verificationMethod/index.d.mts +2 -1
  385. package/build/modules/dids/domain/verificationMethod/index.mjs +1 -2
  386. package/build/modules/dids/findMatchingEd25519Key.d.mts +1 -3
  387. package/build/modules/dids/findMatchingEd25519Key.d.mts.map +1 -1
  388. package/build/modules/dids/findMatchingEd25519Key.mjs +3 -5
  389. package/build/modules/dids/findMatchingEd25519Key.mjs.map +1 -1
  390. package/build/modules/dids/helpers.d.mts +5 -7
  391. package/build/modules/dids/helpers.d.mts.map +1 -1
  392. package/build/modules/dids/helpers.mjs +3 -5
  393. package/build/modules/dids/helpers.mjs.map +1 -1
  394. package/build/modules/dids/index.d.mts +2 -1
  395. package/build/modules/dids/index.mjs +1 -2
  396. package/build/modules/dids/methods/index.d.mts +2 -1
  397. package/build/modules/dids/methods/index.mjs +1 -2
  398. package/build/modules/dids/methods/jwk/DidJwk.d.mts +1 -3
  399. package/build/modules/dids/methods/jwk/DidJwk.d.mts.map +1 -1
  400. package/build/modules/dids/methods/jwk/DidJwk.mjs +5 -6
  401. package/build/modules/dids/methods/jwk/DidJwk.mjs.map +1 -1
  402. package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.mts +4 -6
  403. package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.mts.map +1 -1
  404. package/build/modules/dids/methods/jwk/JwkDidRegistrar.mjs +3 -6
  405. package/build/modules/dids/methods/jwk/JwkDidRegistrar.mjs.map +1 -1
  406. package/build/modules/dids/methods/jwk/JwkDidResolver.d.mts +1 -3
  407. package/build/modules/dids/methods/jwk/JwkDidResolver.d.mts.map +1 -1
  408. package/build/modules/dids/methods/jwk/JwkDidResolver.mjs +1 -4
  409. package/build/modules/dids/methods/jwk/JwkDidResolver.mjs.map +1 -1
  410. package/build/modules/dids/methods/jwk/didJwkDidDocument.mjs +1 -4
  411. package/build/modules/dids/methods/jwk/didJwkDidDocument.mjs.map +1 -1
  412. package/build/modules/dids/methods/jwk/index.d.mts +2 -1
  413. package/build/modules/dids/methods/jwk/index.mjs +1 -2
  414. package/build/modules/dids/methods/key/DidKey.d.mts +1 -3
  415. package/build/modules/dids/methods/key/DidKey.d.mts.map +1 -1
  416. package/build/modules/dids/methods/key/DidKey.mjs +3 -5
  417. package/build/modules/dids/methods/key/DidKey.mjs.map +1 -1
  418. package/build/modules/dids/methods/key/KeyDidRegistrar.d.mts +4 -6
  419. package/build/modules/dids/methods/key/KeyDidRegistrar.d.mts.map +1 -1
  420. package/build/modules/dids/methods/key/KeyDidRegistrar.mjs +5 -7
  421. package/build/modules/dids/methods/key/KeyDidRegistrar.mjs.map +1 -1
  422. package/build/modules/dids/methods/key/KeyDidResolver.d.mts +1 -3
  423. package/build/modules/dids/methods/key/KeyDidResolver.d.mts.map +1 -1
  424. package/build/modules/dids/methods/key/KeyDidResolver.mjs +1 -4
  425. package/build/modules/dids/methods/key/KeyDidResolver.mjs.map +1 -1
  426. package/build/modules/dids/methods/key/index.d.mts +2 -1
  427. package/build/modules/dids/methods/key/index.mjs +1 -2
  428. package/build/modules/dids/methods/peer/PeerDidRegistrar.d.mts +8 -10
  429. package/build/modules/dids/methods/peer/PeerDidRegistrar.d.mts.map +1 -1
  430. package/build/modules/dids/methods/peer/PeerDidRegistrar.mjs +8 -11
  431. package/build/modules/dids/methods/peer/PeerDidRegistrar.mjs.map +1 -1
  432. package/build/modules/dids/methods/peer/PeerDidResolver.d.mts +1 -3
  433. package/build/modules/dids/methods/peer/PeerDidResolver.d.mts.map +1 -1
  434. package/build/modules/dids/methods/peer/PeerDidResolver.mjs +5 -8
  435. package/build/modules/dids/methods/peer/PeerDidResolver.mjs.map +1 -1
  436. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.mts +1 -3
  437. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.mts.map +1 -1
  438. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.mjs +1 -4
  439. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.mjs.map +1 -1
  440. package/build/modules/dids/methods/peer/didPeer.d.mts +4 -5
  441. package/build/modules/dids/methods/peer/didPeer.d.mts.map +1 -1
  442. package/build/modules/dids/methods/peer/didPeer.mjs +3 -6
  443. package/build/modules/dids/methods/peer/didPeer.mjs.map +1 -1
  444. package/build/modules/dids/methods/peer/index.d.mts +2 -1
  445. package/build/modules/dids/methods/peer/index.mjs +1 -2
  446. package/build/modules/dids/methods/peer/peerDidNumAlgo0.mjs +7 -8
  447. package/build/modules/dids/methods/peer/peerDidNumAlgo0.mjs.map +1 -1
  448. package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.mts +1 -2
  449. package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.mts.map +1 -1
  450. package/build/modules/dids/methods/peer/peerDidNumAlgo1.mjs +1 -4
  451. package/build/modules/dids/methods/peer/peerDidNumAlgo1.mjs.map +1 -1
  452. package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.mts +1 -4
  453. package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.mts.map +1 -1
  454. package/build/modules/dids/methods/peer/peerDidNumAlgo2.mjs +17 -24
  455. package/build/modules/dids/methods/peer/peerDidNumAlgo2.mjs.map +1 -1
  456. package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.mts +1 -8
  457. package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.mts.map +1 -1
  458. package/build/modules/dids/methods/peer/peerDidNumAlgo4.mjs +2 -14
  459. package/build/modules/dids/methods/peer/peerDidNumAlgo4.mjs.map +1 -1
  460. package/build/modules/dids/methods/web/WebDidResolver.d.mts +1 -3
  461. package/build/modules/dids/methods/web/WebDidResolver.d.mts.map +1 -1
  462. package/build/modules/dids/methods/web/WebDidResolver.mjs +1 -4
  463. package/build/modules/dids/methods/web/WebDidResolver.mjs.map +1 -1
  464. package/build/modules/dids/methods/web/index.d.mts +2 -1
  465. package/build/modules/dids/methods/web/index.mjs +1 -2
  466. package/build/modules/dids/repository/DidRecord.d.mts +3 -5
  467. package/build/modules/dids/repository/DidRecord.d.mts.map +1 -1
  468. package/build/modules/dids/repository/DidRecord.mjs +7 -11
  469. package/build/modules/dids/repository/DidRecord.mjs.map +1 -1
  470. package/build/modules/dids/repository/DidRepository.d.mts +4 -18
  471. package/build/modules/dids/repository/DidRepository.d.mts.map +1 -1
  472. package/build/modules/dids/repository/DidRepository.mjs +13 -17
  473. package/build/modules/dids/repository/DidRepository.mjs.map +1 -1
  474. package/build/modules/dids/repository/didRecordMetadataTypes.d.mts +2 -3
  475. package/build/modules/dids/repository/didRecordMetadataTypes.d.mts.map +1 -1
  476. package/build/modules/dids/repository/didRecordMetadataTypes.mjs +1 -3
  477. package/build/modules/dids/repository/didRecordMetadataTypes.mjs.map +1 -1
  478. package/build/modules/dids/repository/index.d.mts +2 -1
  479. package/build/modules/dids/repository/index.mjs +1 -2
  480. package/build/modules/dids/services/DidRegistrarService.d.mts +1 -3
  481. package/build/modules/dids/services/DidRegistrarService.d.mts.map +1 -1
  482. package/build/modules/dids/services/DidRegistrarService.mjs +6 -10
  483. package/build/modules/dids/services/DidRegistrarService.mjs.map +1 -1
  484. package/build/modules/dids/services/DidResolverService.d.mts +1 -3
  485. package/build/modules/dids/services/DidResolverService.d.mts.map +1 -1
  486. package/build/modules/dids/services/DidResolverService.mjs +6 -10
  487. package/build/modules/dids/services/DidResolverService.mjs.map +1 -1
  488. package/build/modules/dids/services/index.d.mts +2 -1
  489. package/build/modules/dids/services/index.mjs +1 -2
  490. package/build/modules/dids/types.d.mts +19 -21
  491. package/build/modules/dids/types.d.mts.map +1 -1
  492. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.mts +2 -7
  493. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.mts.map +1 -1
  494. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.mjs +1 -4
  495. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.mjs.map +1 -1
  496. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.mts +1 -3
  497. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.mts.map +1 -1
  498. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.mjs +1 -4
  499. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.mjs.map +1 -1
  500. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.mts +4 -8
  501. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.mts.map +1 -1
  502. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.mjs +22 -23
  503. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.mjs.map +1 -1
  504. package/build/modules/dif-presentation-exchange/index.d.mts +3 -2
  505. package/build/modules/dif-presentation-exchange/index.mjs +2 -3
  506. package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.mts +5 -7
  507. package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.mts.map +1 -1
  508. package/build/modules/dif-presentation-exchange/models/index.d.mts +7 -8
  509. package/build/modules/dif-presentation-exchange/models/index.d.mts.map +1 -1
  510. package/build/modules/dif-presentation-exchange/models/index.mjs +1 -4
  511. package/build/modules/dif-presentation-exchange/utils/credentialSelection.d.mts +1 -0
  512. package/build/modules/dif-presentation-exchange/utils/credentialSelection.mjs +7 -11
  513. package/build/modules/dif-presentation-exchange/utils/credentialSelection.mjs.map +1 -1
  514. package/build/modules/dif-presentation-exchange/utils/index.d.mts +2 -1
  515. package/build/modules/dif-presentation-exchange/utils/index.mjs +1 -2
  516. package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.mts +10 -15
  517. package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.mts.map +1 -1
  518. package/build/modules/dif-presentation-exchange/utils/presentationSelection.mjs +5 -8
  519. package/build/modules/dif-presentation-exchange/utils/presentationSelection.mjs.map +1 -1
  520. package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.mjs +6 -9
  521. package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.mjs.map +1 -1
  522. package/build/modules/dif-presentation-exchange/utils/transform.d.mts +1 -1
  523. package/build/modules/dif-presentation-exchange/utils/transform.mjs +1 -4
  524. package/build/modules/dif-presentation-exchange/utils/transform.mjs.map +1 -1
  525. package/build/modules/generic-records/GenericRecordsApi.d.mts +3 -9
  526. package/build/modules/generic-records/GenericRecordsApi.d.mts.map +1 -1
  527. package/build/modules/generic-records/GenericRecordsApi.mjs +6 -10
  528. package/build/modules/generic-records/GenericRecordsApi.mjs.map +1 -1
  529. package/build/modules/generic-records/GenericRecordsModule.d.mts +1 -3
  530. package/build/modules/generic-records/GenericRecordsModule.d.mts.map +1 -1
  531. package/build/modules/generic-records/GenericRecordsModule.mjs +1 -4
  532. package/build/modules/generic-records/GenericRecordsModule.mjs.map +1 -1
  533. package/build/modules/generic-records/index.d.mts +2 -1
  534. package/build/modules/generic-records/index.mjs +1 -2
  535. package/build/modules/generic-records/repository/GenericRecord.d.mts +4 -6
  536. package/build/modules/generic-records/repository/GenericRecord.d.mts.map +1 -1
  537. package/build/modules/generic-records/repository/GenericRecord.mjs +1 -4
  538. package/build/modules/generic-records/repository/GenericRecord.mjs.map +1 -1
  539. package/build/modules/generic-records/repository/GenericRecordsRepository.d.mts +1 -3
  540. package/build/modules/generic-records/repository/GenericRecordsRepository.d.mts.map +1 -1
  541. package/build/modules/generic-records/repository/GenericRecordsRepository.mjs +5 -9
  542. package/build/modules/generic-records/repository/GenericRecordsRepository.mjs.map +1 -1
  543. package/build/modules/generic-records/services/GenericRecordService.d.mts +2 -8
  544. package/build/modules/generic-records/services/GenericRecordService.d.mts.map +1 -1
  545. package/build/modules/generic-records/services/GenericRecordService.mjs +4 -8
  546. package/build/modules/generic-records/services/GenericRecordService.mjs.map +1 -1
  547. package/build/modules/kms/KeyManagementApi.d.mts +1 -3
  548. package/build/modules/kms/KeyManagementApi.d.mts.map +1 -1
  549. package/build/modules/kms/KeyManagementApi.mjs +8 -9
  550. package/build/modules/kms/KeyManagementApi.mjs.map +1 -1
  551. package/build/modules/kms/KeyManagementModule.d.mts +1 -3
  552. package/build/modules/kms/KeyManagementModule.d.mts.map +1 -1
  553. package/build/modules/kms/KeyManagementModule.mjs +1 -4
  554. package/build/modules/kms/KeyManagementModule.mjs.map +1 -1
  555. package/build/modules/kms/KeyManagementModuleConfig.d.mts +2 -4
  556. package/build/modules/kms/KeyManagementModuleConfig.d.mts.map +1 -1
  557. package/build/modules/kms/KeyManagementModuleConfig.mjs +4 -7
  558. package/build/modules/kms/KeyManagementModuleConfig.mjs.map +1 -1
  559. package/build/modules/kms/KeyManagementService.d.mts +1 -3
  560. package/build/modules/kms/KeyManagementService.d.mts.map +1 -1
  561. package/build/modules/kms/cose/algorithm.d.mts +6 -8
  562. package/build/modules/kms/cose/algorithm.d.mts.map +1 -1
  563. package/build/modules/kms/cose/algorithm.mjs +3 -6
  564. package/build/modules/kms/cose/algorithm.mjs.map +1 -1
  565. package/build/modules/kms/cose/index.d.mts +2 -1
  566. package/build/modules/kms/cose/index.mjs +1 -2
  567. package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.d.mts +1 -3
  568. package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.d.mts.map +1 -1
  569. package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.mjs +1 -4
  570. package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.mjs.map +1 -1
  571. package/build/modules/kms/error/KeyManagementError.d.mts +1 -3
  572. package/build/modules/kms/error/KeyManagementError.d.mts.map +1 -1
  573. package/build/modules/kms/error/KeyManagementError.mjs +1 -4
  574. package/build/modules/kms/error/KeyManagementError.mjs.map +1 -1
  575. package/build/modules/kms/error/KeyManagementKeyExistsError.d.mts +1 -3
  576. package/build/modules/kms/error/KeyManagementKeyExistsError.d.mts.map +1 -1
  577. package/build/modules/kms/error/KeyManagementKeyExistsError.mjs +1 -4
  578. package/build/modules/kms/error/KeyManagementKeyExistsError.mjs.map +1 -1
  579. package/build/modules/kms/error/KeyManagementKeyNotFoundError.d.mts +1 -3
  580. package/build/modules/kms/error/KeyManagementKeyNotFoundError.d.mts.map +1 -1
  581. package/build/modules/kms/error/KeyManagementKeyNotFoundError.mjs +1 -4
  582. package/build/modules/kms/error/KeyManagementKeyNotFoundError.mjs.map +1 -1
  583. package/build/modules/kms/index.d.mts +1 -3
  584. package/build/modules/kms/index.mjs +1 -4
  585. package/build/modules/kms/jwk/PublicJwk.d.mts +6 -10
  586. package/build/modules/kms/jwk/PublicJwk.d.mts.map +1 -1
  587. package/build/modules/kms/jwk/PublicJwk.mjs +32 -33
  588. package/build/modules/kms/jwk/PublicJwk.mjs.map +1 -1
  589. package/build/modules/kms/jwk/alg/encryption.d.mts +3 -5
  590. package/build/modules/kms/jwk/alg/encryption.d.mts.map +1 -1
  591. package/build/modules/kms/jwk/alg/encryption.mjs +1 -4
  592. package/build/modules/kms/jwk/alg/encryption.mjs.map +1 -1
  593. package/build/modules/kms/jwk/alg/index.d.mts +2 -1
  594. package/build/modules/kms/jwk/alg/index.mjs +1 -2
  595. package/build/modules/kms/jwk/alg/keyDerivation.d.mts +3 -5
  596. package/build/modules/kms/jwk/alg/keyDerivation.d.mts.map +1 -1
  597. package/build/modules/kms/jwk/alg/keyDerivation.mjs +1 -7
  598. package/build/modules/kms/jwk/alg/keyDerivation.mjs.map +1 -1
  599. package/build/modules/kms/jwk/alg/signing.d.mts +3 -5
  600. package/build/modules/kms/jwk/alg/signing.d.mts.map +1 -1
  601. package/build/modules/kms/jwk/alg/signing.mjs +1 -4
  602. package/build/modules/kms/jwk/alg/signing.mjs.map +1 -1
  603. package/build/modules/kms/jwk/assertSupported.d.mts +2 -4
  604. package/build/modules/kms/jwk/assertSupported.d.mts.map +1 -1
  605. package/build/modules/kms/jwk/assertSupported.mjs +1 -4
  606. package/build/modules/kms/jwk/assertSupported.mjs.map +1 -1
  607. package/build/modules/kms/jwk/equals.d.mts +3 -5
  608. package/build/modules/kms/jwk/equals.d.mts.map +1 -1
  609. package/build/modules/kms/jwk/equals.mjs +1 -4
  610. package/build/modules/kms/jwk/equals.mjs.map +1 -1
  611. package/build/modules/kms/jwk/humanDescription.d.mts +1 -3
  612. package/build/modules/kms/jwk/humanDescription.d.mts.map +1 -1
  613. package/build/modules/kms/jwk/humanDescription.mjs +1 -4
  614. package/build/modules/kms/jwk/humanDescription.mjs.map +1 -1
  615. package/build/modules/kms/jwk/index.d.mts +2 -1
  616. package/build/modules/kms/jwk/index.mjs +1 -2
  617. package/build/modules/kms/jwk/jwa.d.mts +19 -23
  618. package/build/modules/kms/jwk/jwa.d.mts.map +1 -1
  619. package/build/modules/kms/jwk/jwa.mjs +10 -11
  620. package/build/modules/kms/jwk/jwa.mjs.map +1 -1
  621. package/build/modules/kms/jwk/jwk.d.mts +44 -46
  622. package/build/modules/kms/jwk/jwk.d.mts.map +1 -1
  623. package/build/modules/kms/jwk/jwk.mjs +30 -33
  624. package/build/modules/kms/jwk/jwk.mjs.map +1 -1
  625. package/build/modules/kms/jwk/jwkThumbprint.mjs +2 -5
  626. package/build/modules/kms/jwk/jwkThumbprint.mjs.map +1 -1
  627. package/build/modules/kms/jwk/keyOps.d.mts +10 -12
  628. package/build/modules/kms/jwk/keyOps.d.mts.map +1 -1
  629. package/build/modules/kms/jwk/keyOps.mjs +15 -18
  630. package/build/modules/kms/jwk/keyOps.mjs.map +1 -1
  631. package/build/modules/kms/jwk/knownJwk.d.mts +243 -245
  632. package/build/modules/kms/jwk/knownJwk.d.mts.map +1 -1
  633. package/build/modules/kms/jwk/knownJwk.mjs +9 -12
  634. package/build/modules/kms/jwk/knownJwk.mjs.map +1 -1
  635. package/build/modules/kms/jwk/kty/PublicJwk.d.mts +1 -3
  636. package/build/modules/kms/jwk/kty/PublicJwk.d.mts.map +1 -1
  637. package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.mts +3 -5
  638. package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.mts.map +1 -1
  639. package/build/modules/kms/jwk/kty/ec/P256PublicJwk.mjs +6 -13
  640. package/build/modules/kms/jwk/kty/ec/P256PublicJwk.mjs.map +1 -1
  641. package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.mts +1 -3
  642. package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.mts.map +1 -1
  643. package/build/modules/kms/jwk/kty/ec/P384PublicJwk.mjs +5 -6
  644. package/build/modules/kms/jwk/kty/ec/P384PublicJwk.mjs.map +1 -1
  645. package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.mts +1 -3
  646. package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.mts.map +1 -1
  647. package/build/modules/kms/jwk/kty/ec/P521PublicJwk.mjs +5 -6
  648. package/build/modules/kms/jwk/kty/ec/P521PublicJwk.mjs.map +1 -1
  649. package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.mts +1 -3
  650. package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.mts.map +1 -1
  651. package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.mjs +5 -6
  652. package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.mjs.map +1 -1
  653. package/build/modules/kms/jwk/kty/ec/ecJwk.d.mts +35 -37
  654. package/build/modules/kms/jwk/kty/ec/ecJwk.d.mts.map +1 -1
  655. package/build/modules/kms/jwk/kty/ec/ecJwk.mjs +8 -11
  656. package/build/modules/kms/jwk/kty/ec/ecJwk.mjs.map +1 -1
  657. package/build/modules/kms/jwk/kty/ec/ecPublicKey.mjs +4 -5
  658. package/build/modules/kms/jwk/kty/ec/ecPublicKey.mjs.map +1 -1
  659. package/build/modules/kms/jwk/kty/ec/ecSignature.d.mts +2 -4
  660. package/build/modules/kms/jwk/kty/ec/ecSignature.d.mts.map +1 -1
  661. package/build/modules/kms/jwk/kty/ec/ecSignature.mjs +1 -4
  662. package/build/modules/kms/jwk/kty/ec/ecSignature.mjs.map +1 -1
  663. package/build/modules/kms/jwk/kty/index.d.mts +2 -1
  664. package/build/modules/kms/jwk/kty/index.mjs +8 -9
  665. package/build/modules/kms/jwk/kty/oct/octJwk.d.mts +29 -31
  666. package/build/modules/kms/jwk/kty/oct/octJwk.d.mts.map +1 -1
  667. package/build/modules/kms/jwk/kty/oct/octJwk.mjs +7 -10
  668. package/build/modules/kms/jwk/kty/oct/octJwk.mjs.map +1 -1
  669. package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.mts +2 -4
  670. package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.mts.map +1 -1
  671. package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.mjs +5 -6
  672. package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.mjs.map +1 -1
  673. package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.mts +1 -3
  674. package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.mts.map +1 -1
  675. package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.mjs +5 -6
  676. package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.mjs.map +1 -1
  677. package/build/modules/kms/jwk/kty/okp/okpJwk.d.mts +33 -35
  678. package/build/modules/kms/jwk/kty/okp/okpJwk.d.mts.map +1 -1
  679. package/build/modules/kms/jwk/kty/okp/okpJwk.mjs +8 -11
  680. package/build/modules/kms/jwk/kty/okp/okpJwk.mjs.map +1 -1
  681. package/build/modules/kms/jwk/kty/okp/okpPublicKey.mjs +1 -4
  682. package/build/modules/kms/jwk/kty/okp/okpPublicKey.mjs.map +1 -1
  683. package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.mts +2 -4
  684. package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.mts.map +1 -1
  685. package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.mjs +1 -4
  686. package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.mjs.map +1 -1
  687. package/build/modules/kms/jwk/kty/rsa/rsaJwk.d.mts +49 -51
  688. package/build/modules/kms/jwk/kty/rsa/rsaJwk.d.mts.map +1 -1
  689. package/build/modules/kms/jwk/kty/rsa/rsaJwk.mjs +18 -21
  690. package/build/modules/kms/jwk/kty/rsa/rsaJwk.mjs.map +1 -1
  691. package/build/modules/kms/jwk/kty/rsa/rsaPublicKey.mjs +1 -4
  692. package/build/modules/kms/jwk/kty/rsa/rsaPublicKey.mjs.map +1 -1
  693. package/build/modules/kms/legacy.d.mts +1 -3
  694. package/build/modules/kms/legacy.d.mts.map +1 -1
  695. package/build/modules/kms/legacy.mjs +1 -4
  696. package/build/modules/kms/legacy.mjs.map +1 -1
  697. package/build/modules/kms/options/KmsCreateKeyOptions.d.mts +65 -67
  698. package/build/modules/kms/options/KmsCreateKeyOptions.d.mts.map +1 -1
  699. package/build/modules/kms/options/KmsCreateKeyOptions.mjs +32 -32
  700. package/build/modules/kms/options/KmsCreateKeyOptions.mjs.map +1 -1
  701. package/build/modules/kms/options/KmsDecryptOptions.d.mts +205 -365
  702. package/build/modules/kms/options/KmsDecryptOptions.d.mts.map +1 -1
  703. package/build/modules/kms/options/KmsDecryptOptions.mjs +46 -33
  704. package/build/modules/kms/options/KmsDecryptOptions.mjs.map +1 -1
  705. package/build/modules/kms/options/KmsDeleteKeyOptions.d.mts +5 -7
  706. package/build/modules/kms/options/KmsDeleteKeyOptions.d.mts.map +1 -1
  707. package/build/modules/kms/options/KmsDeleteKeyOptions.mjs +7 -6
  708. package/build/modules/kms/options/KmsDeleteKeyOptions.mjs.map +1 -1
  709. package/build/modules/kms/options/KmsEncryptOptions.d.mts +226 -308
  710. package/build/modules/kms/options/KmsEncryptOptions.d.mts.map +1 -1
  711. package/build/modules/kms/options/KmsEncryptOptions.mjs +63 -42
  712. package/build/modules/kms/options/KmsEncryptOptions.mjs.map +1 -1
  713. package/build/modules/kms/options/KmsGetPublicKeyOptions.d.mts +5 -7
  714. package/build/modules/kms/options/KmsGetPublicKeyOptions.d.mts.map +1 -1
  715. package/build/modules/kms/options/KmsGetPublicKeyOptions.mjs +7 -6
  716. package/build/modules/kms/options/KmsGetPublicKeyOptions.mjs.map +1 -1
  717. package/build/modules/kms/options/KmsImportKeyOptions.d.mts +3 -5
  718. package/build/modules/kms/options/KmsImportKeyOptions.d.mts.map +1 -1
  719. package/build/modules/kms/options/KmsImportKeyOptions.mjs +8 -6
  720. package/build/modules/kms/options/KmsImportKeyOptions.mjs.map +1 -1
  721. package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.mts +171 -368
  722. package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.mts.map +1 -1
  723. package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.mjs +41 -25
  724. package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.mjs.map +1 -1
  725. package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.mts +285 -330
  726. package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.mts.map +1 -1
  727. package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.mjs +47 -29
  728. package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.mjs.map +1 -1
  729. package/build/modules/kms/options/KmsOperation.d.mts +10 -12
  730. package/build/modules/kms/options/KmsOperation.d.mts.map +1 -1
  731. package/build/modules/kms/options/KmsOperation.mjs +1 -4
  732. package/build/modules/kms/options/KmsOperation.mjs.map +1 -1
  733. package/build/modules/kms/options/KmsRandomBytesOptions.d.mts +6 -8
  734. package/build/modules/kms/options/KmsRandomBytesOptions.d.mts.map +1 -1
  735. package/build/modules/kms/options/KmsRandomBytesOptions.mjs +7 -6
  736. package/build/modules/kms/options/KmsRandomBytesOptions.mjs.map +1 -1
  737. package/build/modules/kms/options/KmsSignOptions.d.mts +8 -10
  738. package/build/modules/kms/options/KmsSignOptions.d.mts.map +1 -1
  739. package/build/modules/kms/options/KmsSignOptions.mjs +12 -6
  740. package/build/modules/kms/options/KmsSignOptions.mjs.map +1 -1
  741. package/build/modules/kms/options/KmsVerifyOptions.d.mts +64 -66
  742. package/build/modules/kms/options/KmsVerifyOptions.d.mts.map +1 -1
  743. package/build/modules/kms/options/KmsVerifyOptions.mjs +23 -10
  744. package/build/modules/kms/options/KmsVerifyOptions.mjs.map +1 -1
  745. package/build/modules/kms/options/backend.d.mts +2 -4
  746. package/build/modules/kms/options/backend.d.mts.map +1 -1
  747. package/build/modules/kms/options/backend.mjs +3 -6
  748. package/build/modules/kms/options/backend.mjs.map +1 -1
  749. package/build/modules/kms/options/common.mjs +3 -6
  750. package/build/modules/kms/options/common.mjs.map +1 -1
  751. package/build/modules/kms/options/index.d.mts +2 -1
  752. package/build/modules/kms/options/index.mjs +1 -2
  753. package/build/modules/mdoc/Mdoc.d.mts +1 -3
  754. package/build/modules/mdoc/Mdoc.d.mts.map +1 -1
  755. package/build/modules/mdoc/Mdoc.mjs +13 -13
  756. package/build/modules/mdoc/Mdoc.mjs.map +1 -1
  757. package/build/modules/mdoc/MdocApi.d.mts +3 -6
  758. package/build/modules/mdoc/MdocApi.d.mts.map +1 -1
  759. package/build/modules/mdoc/MdocApi.mjs +6 -10
  760. package/build/modules/mdoc/MdocApi.mjs.map +1 -1
  761. package/build/modules/mdoc/MdocDcApiService.d.mts +2 -5
  762. package/build/modules/mdoc/MdocDcApiService.d.mts.map +1 -1
  763. package/build/modules/mdoc/MdocDcApiService.mjs +18 -21
  764. package/build/modules/mdoc/MdocDcApiService.mjs.map +1 -1
  765. package/build/modules/mdoc/MdocDeviceResponse.d.mts +3 -8
  766. package/build/modules/mdoc/MdocDeviceResponse.d.mts.map +1 -1
  767. package/build/modules/mdoc/MdocDeviceResponse.mjs +5 -7
  768. package/build/modules/mdoc/MdocDeviceResponse.mjs.map +1 -1
  769. package/build/modules/mdoc/MdocError.d.mts +3 -5
  770. package/build/modules/mdoc/MdocError.d.mts.map +1 -1
  771. package/build/modules/mdoc/MdocError.mjs +1 -4
  772. package/build/modules/mdoc/MdocError.mjs.map +1 -1
  773. package/build/modules/mdoc/MdocEvents.d.mts +2 -4
  774. package/build/modules/mdoc/MdocEvents.d.mts.map +1 -1
  775. package/build/modules/mdoc/MdocEvents.mjs +1 -3
  776. package/build/modules/mdoc/MdocEvents.mjs.map +1 -1
  777. package/build/modules/mdoc/MdocModule.d.mts +1 -3
  778. package/build/modules/mdoc/MdocModule.d.mts.map +1 -1
  779. package/build/modules/mdoc/MdocModule.mjs +1 -4
  780. package/build/modules/mdoc/MdocModule.mjs.map +1 -1
  781. package/build/modules/mdoc/MdocOptions.d.mts +36 -38
  782. package/build/modules/mdoc/MdocOptions.d.mts.map +1 -1
  783. package/build/modules/mdoc/MdocOptions.mjs +0 -2
  784. package/build/modules/mdoc/MdocService.d.mts +1 -3
  785. package/build/modules/mdoc/MdocService.d.mts.map +1 -1
  786. package/build/modules/mdoc/MdocService.mjs +4 -8
  787. package/build/modules/mdoc/MdocService.mjs.map +1 -1
  788. package/build/modules/mdoc/MdocVerificationSessionState.d.mts +1 -2
  789. package/build/modules/mdoc/MdocVerificationSessionState.d.mts.map +1 -1
  790. package/build/modules/mdoc/MdocVerificationSessionState.mjs +1 -3
  791. package/build/modules/mdoc/MdocVerificationSessionState.mjs.map +1 -1
  792. package/build/modules/mdoc/index.d.mts +1 -1
  793. package/build/modules/mdoc/index.mjs +1 -4
  794. package/build/modules/mdoc/mdocSupportedAlgs.d.mts +3 -5
  795. package/build/modules/mdoc/mdocSupportedAlgs.d.mts.map +1 -1
  796. package/build/modules/mdoc/mdocSupportedAlgs.mjs +1 -4
  797. package/build/modules/mdoc/mdocSupportedAlgs.mjs.map +1 -1
  798. package/build/modules/mdoc/mdocUtil.mjs +2 -5
  799. package/build/modules/mdoc/mdocUtil.mjs.map +1 -1
  800. package/build/modules/mdoc/repository/MdocRecord.d.mts +4 -6
  801. package/build/modules/mdoc/repository/MdocRecord.d.mts.map +1 -1
  802. package/build/modules/mdoc/repository/MdocRecord.mjs +4 -7
  803. package/build/modules/mdoc/repository/MdocRecord.mjs.map +1 -1
  804. package/build/modules/mdoc/repository/MdocRepository.d.mts +1 -3
  805. package/build/modules/mdoc/repository/MdocRepository.d.mts.map +1 -1
  806. package/build/modules/mdoc/repository/MdocRepository.mjs +5 -9
  807. package/build/modules/mdoc/repository/MdocRepository.mjs.map +1 -1
  808. package/build/modules/mdoc/repository/MdocVerificationSessionRecord.d.mts +5 -7
  809. package/build/modules/mdoc/repository/MdocVerificationSessionRecord.d.mts.map +1 -1
  810. package/build/modules/mdoc/repository/MdocVerificationSessionRecord.mjs +4 -8
  811. package/build/modules/mdoc/repository/MdocVerificationSessionRecord.mjs.map +1 -1
  812. package/build/modules/mdoc/repository/MdocVerificationSessionRepository.d.mts +1 -3
  813. package/build/modules/mdoc/repository/MdocVerificationSessionRepository.d.mts.map +1 -1
  814. package/build/modules/mdoc/repository/MdocVerificationSessionRepository.mjs +5 -9
  815. package/build/modules/mdoc/repository/MdocVerificationSessionRepository.mjs.map +1 -1
  816. package/build/modules/mdoc/repository/index.d.mts +2 -1
  817. package/build/modules/mdoc/repository/index.mjs +1 -2
  818. package/build/modules/mdoc/utils/convertDocumentRequest.mjs +1 -3
  819. package/build/modules/mdoc/utils/convertDocumentRequest.mjs.map +1 -1
  820. package/build/modules/mdoc/utils/deviceRequestDefinition.mjs +1 -3
  821. package/build/modules/mdoc/utils/deviceRequestDefinition.mjs.map +1 -1
  822. package/build/modules/sd-jwt-vc/SdJwtVcApi.d.mts +2 -5
  823. package/build/modules/sd-jwt-vc/SdJwtVcApi.d.mts.map +1 -1
  824. package/build/modules/sd-jwt-vc/SdJwtVcApi.mjs +4 -8
  825. package/build/modules/sd-jwt-vc/SdJwtVcApi.mjs.map +1 -1
  826. package/build/modules/sd-jwt-vc/SdJwtVcError.d.mts +1 -3
  827. package/build/modules/sd-jwt-vc/SdJwtVcError.d.mts.map +1 -1
  828. package/build/modules/sd-jwt-vc/SdJwtVcError.mjs +1 -4
  829. package/build/modules/sd-jwt-vc/SdJwtVcError.mjs.map +1 -1
  830. package/build/modules/sd-jwt-vc/SdJwtVcModule.d.mts +1 -3
  831. package/build/modules/sd-jwt-vc/SdJwtVcModule.d.mts.map +1 -1
  832. package/build/modules/sd-jwt-vc/SdJwtVcModule.mjs +1 -4
  833. package/build/modules/sd-jwt-vc/SdJwtVcModule.mjs.map +1 -1
  834. package/build/modules/sd-jwt-vc/SdJwtVcModuleConfig.d.mts +4 -6
  835. package/build/modules/sd-jwt-vc/SdJwtVcModuleConfig.d.mts.map +1 -1
  836. package/build/modules/sd-jwt-vc/SdJwtVcModuleConfig.mjs +1 -3
  837. package/build/modules/sd-jwt-vc/SdJwtVcModuleConfig.mjs.map +1 -1
  838. package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.mts +22 -17
  839. package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.mts.map +1 -1
  840. package/build/modules/sd-jwt-vc/SdJwtVcOptions.mjs +0 -2
  841. package/build/modules/sd-jwt-vc/SdJwtVcService.d.mts +7 -28
  842. package/build/modules/sd-jwt-vc/SdJwtVcService.d.mts.map +1 -1
  843. package/build/modules/sd-jwt-vc/SdJwtVcService.mjs +13 -16
  844. package/build/modules/sd-jwt-vc/SdJwtVcService.mjs.map +1 -1
  845. package/build/modules/sd-jwt-vc/decodeSdJwtVc.mjs +3 -6
  846. package/build/modules/sd-jwt-vc/decodeSdJwtVc.mjs.map +1 -1
  847. package/build/modules/sd-jwt-vc/disclosureFrame.d.mts +1 -3
  848. package/build/modules/sd-jwt-vc/disclosureFrame.d.mts.map +1 -1
  849. package/build/modules/sd-jwt-vc/disclosureFrame.mjs +1 -4
  850. package/build/modules/sd-jwt-vc/disclosureFrame.mjs.map +1 -1
  851. package/build/modules/sd-jwt-vc/index.d.mts +2 -1
  852. package/build/modules/sd-jwt-vc/index.mjs +1 -2
  853. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.mts +4 -6
  854. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.mts.map +1 -1
  855. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs +4 -7
  856. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs.map +1 -1
  857. package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.mts +1 -3
  858. package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.mts.map +1 -1
  859. package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.mjs +5 -9
  860. package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.mjs.map +1 -1
  861. package/build/modules/sd-jwt-vc/repository/index.d.mts +2 -1
  862. package/build/modules/sd-jwt-vc/repository/index.mjs +1 -2
  863. package/build/modules/sd-jwt-vc/typeMetadata.d.mts +5 -7
  864. package/build/modules/sd-jwt-vc/typeMetadata.d.mts.map +1 -1
  865. package/build/modules/sd-jwt-vc/utils.mjs +27 -5
  866. package/build/modules/sd-jwt-vc/utils.mjs.map +1 -1
  867. package/build/modules/token-status-list/TokenStatusListApi.d.mts +1 -3
  868. package/build/modules/token-status-list/TokenStatusListApi.d.mts.map +1 -1
  869. package/build/modules/token-status-list/TokenStatusListApi.mjs +4 -8
  870. package/build/modules/token-status-list/TokenStatusListApi.mjs.map +1 -1
  871. package/build/modules/token-status-list/TokenStatusListModule.d.mts +1 -3
  872. package/build/modules/token-status-list/TokenStatusListModule.d.mts.map +1 -1
  873. package/build/modules/token-status-list/TokenStatusListModule.mjs +1 -4
  874. package/build/modules/token-status-list/TokenStatusListModule.mjs.map +1 -1
  875. package/build/modules/token-status-list/TokenStatusListOptions.d.mts +7 -9
  876. package/build/modules/token-status-list/TokenStatusListOptions.d.mts.map +1 -1
  877. package/build/modules/token-status-list/TokenStatusListOptions.mjs +1 -3
  878. package/build/modules/token-status-list/TokenStatusListService.d.mts +1 -3
  879. package/build/modules/token-status-list/TokenStatusListService.d.mts.map +1 -1
  880. package/build/modules/token-status-list/TokenStatusListService.mjs +21 -22
  881. package/build/modules/token-status-list/TokenStatusListService.mjs.map +1 -1
  882. package/build/modules/token-status-list/TokenStatusListSigner.d.mts +6 -7
  883. package/build/modules/token-status-list/TokenStatusListSigner.d.mts.map +1 -1
  884. package/build/modules/token-status-list/index.d.mts +1 -1
  885. package/build/modules/token-status-list/index.mjs +1 -4
  886. package/build/modules/vc/W3cCredentialService.d.mts +1 -3
  887. package/build/modules/vc/W3cCredentialService.d.mts.map +1 -1
  888. package/build/modules/vc/W3cCredentialService.mjs +11 -15
  889. package/build/modules/vc/W3cCredentialService.mjs.map +1 -1
  890. package/build/modules/vc/W3cCredentialServiceOptions.d.mts +14 -16
  891. package/build/modules/vc/W3cCredentialServiceOptions.d.mts.map +1 -1
  892. package/build/modules/vc/W3cCredentialServiceOptions.mjs +0 -2
  893. package/build/modules/vc/W3cCredentialsApi.d.mts +1 -3
  894. package/build/modules/vc/W3cCredentialsApi.d.mts.map +1 -1
  895. package/build/modules/vc/W3cCredentialsApi.mjs +4 -8
  896. package/build/modules/vc/W3cCredentialsApi.mjs.map +1 -1
  897. package/build/modules/vc/W3cCredentialsModule.d.mts +1 -3
  898. package/build/modules/vc/W3cCredentialsModule.d.mts.map +1 -1
  899. package/build/modules/vc/W3cCredentialsModule.mjs +3 -6
  900. package/build/modules/vc/W3cCredentialsModule.mjs.map +1 -1
  901. package/build/modules/vc/W3cCredentialsModuleConfig.d.mts +2 -4
  902. package/build/modules/vc/W3cCredentialsModuleConfig.d.mts.map +1 -1
  903. package/build/modules/vc/W3cCredentialsModuleConfig.mjs +1 -4
  904. package/build/modules/vc/W3cCredentialsModuleConfig.mjs.map +1 -1
  905. package/build/modules/vc/W3cV2CredentialService.d.mts +1 -3
  906. package/build/modules/vc/W3cV2CredentialService.d.mts.map +1 -1
  907. package/build/modules/vc/W3cV2CredentialService.mjs +14 -18
  908. package/build/modules/vc/W3cV2CredentialService.mjs.map +1 -1
  909. package/build/modules/vc/W3cV2CredentialServiceOptions.d.mts +18 -20
  910. package/build/modules/vc/W3cV2CredentialServiceOptions.d.mts.map +1 -1
  911. package/build/modules/vc/W3cV2CredentialServiceOptions.mjs +0 -2
  912. package/build/modules/vc/W3cV2CredentialsApi.d.mts +1 -3
  913. package/build/modules/vc/W3cV2CredentialsApi.d.mts.map +1 -1
  914. package/build/modules/vc/W3cV2CredentialsApi.mjs +4 -8
  915. package/build/modules/vc/W3cV2CredentialsApi.mjs.map +1 -1
  916. package/build/modules/vc/W3cV2CredentialsModule.d.mts +1 -3
  917. package/build/modules/vc/W3cV2CredentialsModule.d.mts.map +1 -1
  918. package/build/modules/vc/W3cV2CredentialsModule.mjs +1 -4
  919. package/build/modules/vc/W3cV2CredentialsModule.mjs.map +1 -1
  920. package/build/modules/vc/W3cV2CredentialsModuleConfig.d.mts +2 -3
  921. package/build/modules/vc/W3cV2CredentialsModuleConfig.d.mts.map +1 -1
  922. package/build/modules/vc/W3cV2CredentialsModuleConfig.mjs +1 -3
  923. package/build/modules/vc/W3cV2CredentialsModuleConfig.mjs.map +1 -1
  924. package/build/modules/vc/anoncreds-w3c-credential/AnonCredsW3cCredentialProof.d.mts +2 -3
  925. package/build/modules/vc/anoncreds-w3c-credential/AnonCredsW3cCredentialProof.d.mts.map +1 -1
  926. package/build/modules/vc/anoncreds-w3c-credential/AnonCredsW3cCredentialProof.mjs +3 -6
  927. package/build/modules/vc/anoncreds-w3c-credential/AnonCredsW3cCredentialProof.mjs.map +1 -1
  928. package/build/modules/vc/anoncreds-w3c-credential/IAnonCredsW3cCredentialService.d.mts +5 -7
  929. package/build/modules/vc/anoncreds-w3c-credential/IAnonCredsW3cCredentialService.d.mts.map +1 -1
  930. package/build/modules/vc/anoncreds-w3c-credential/IAnonCredsW3cCredentialService.mjs +1 -3
  931. package/build/modules/vc/anoncreds-w3c-credential/IAnonCredsW3cCredentialService.mjs.map +1 -1
  932. package/build/modules/vc/anoncreds-w3c-credential/deprecated.d.mts +7 -9
  933. package/build/modules/vc/anoncreds-w3c-credential/deprecated.d.mts.map +1 -1
  934. package/build/modules/vc/anoncreds-w3c-credential/deprecated.mjs +1 -4
  935. package/build/modules/vc/anoncreds-w3c-credential/deprecated.mjs.map +1 -1
  936. package/build/modules/vc/anoncreds-w3c-credential/index.d.mts +2 -1
  937. package/build/modules/vc/anoncreds-w3c-credential/index.mjs +1 -2
  938. package/build/modules/vc/constants.d.mts +20 -19
  939. package/build/modules/vc/constants.d.mts.map +1 -1
  940. package/build/modules/vc/constants.mjs +4 -4
  941. package/build/modules/vc/constants.mjs.map +1 -1
  942. package/build/modules/vc/data-integrity/W3cV2DataIntegrityContextValidator.d.mts +2 -4
  943. package/build/modules/vc/data-integrity/W3cV2DataIntegrityContextValidator.d.mts.map +1 -1
  944. package/build/modules/vc/data-integrity/W3cV2DataIntegrityContextValidator.mjs +17 -19
  945. package/build/modules/vc/data-integrity/W3cV2DataIntegrityContextValidator.mjs.map +1 -1
  946. package/build/modules/vc/data-integrity/W3cV2DataIntegrityCredentialService.d.mts +1 -3
  947. package/build/modules/vc/data-integrity/W3cV2DataIntegrityCredentialService.d.mts.map +1 -1
  948. package/build/modules/vc/data-integrity/W3cV2DataIntegrityCredentialService.mjs +4 -8
  949. package/build/modules/vc/data-integrity/W3cV2DataIntegrityCredentialService.mjs.map +1 -1
  950. package/build/modules/vc/data-integrity/W3cV2DataIntegrityIssueMapping.d.mts +2 -4
  951. package/build/modules/vc/data-integrity/W3cV2DataIntegrityIssueMapping.d.mts.map +1 -1
  952. package/build/modules/vc/data-integrity/W3cV2DataIntegrityIssueMapping.mjs +1 -4
  953. package/build/modules/vc/data-integrity/W3cV2DataIntegrityIssueMapping.mjs.map +1 -1
  954. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiableCredential.d.mts +3 -5
  955. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiableCredential.d.mts.map +1 -1
  956. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiableCredential.mjs +3 -6
  957. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiableCredential.mjs.map +1 -1
  958. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiablePresentation.d.mts +5 -7
  959. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiablePresentation.d.mts.map +1 -1
  960. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiablePresentation.mjs +3 -6
  961. package/build/modules/vc/data-integrity/W3cV2DataIntegrityVerifiablePresentation.mjs.map +1 -1
  962. package/build/modules/vc/data-integrity/index.d.mts +2 -1
  963. package/build/modules/vc/data-integrity/index.mjs +1 -2
  964. package/build/modules/vc/data-integrity/v2-di-utils.mjs +1 -4
  965. package/build/modules/vc/data-integrity/v2-di-utils.mjs.map +1 -1
  966. package/build/modules/vc/index.d.mts +6 -5
  967. package/build/modules/vc/index.mjs +5 -6
  968. package/build/modules/vc/jsonld/JsonLdModule.d.mts +1 -3
  969. package/build/modules/vc/jsonld/JsonLdModule.d.mts.map +1 -1
  970. package/build/modules/vc/jsonld/JsonLdModule.mjs +1 -4
  971. package/build/modules/vc/jsonld/JsonLdModule.mjs.map +1 -1
  972. package/build/modules/vc/jsonld/JsonLdModuleConfig.d.mts +2 -4
  973. package/build/modules/vc/jsonld/JsonLdModuleConfig.d.mts.map +1 -1
  974. package/build/modules/vc/jsonld/JsonLdModuleConfig.mjs +1 -4
  975. package/build/modules/vc/jsonld/JsonLdModuleConfig.mjs.map +1 -1
  976. package/build/modules/vc/jsonld/contexts/X25519_v1.mjs +1 -3
  977. package/build/modules/vc/jsonld/contexts/X25519_v1.mjs.map +1 -1
  978. package/build/modules/vc/jsonld/contexts/cid_v1.mjs +1 -3
  979. package/build/modules/vc/jsonld/contexts/cid_v1.mjs.map +1 -1
  980. package/build/modules/vc/jsonld/contexts/contextHashes.mjs +1 -3
  981. package/build/modules/vc/jsonld/contexts/contextHashes.mjs.map +1 -1
  982. package/build/modules/vc/jsonld/contexts/credentials_v1.mjs +1 -3
  983. package/build/modules/vc/jsonld/contexts/credentials_v1.mjs.map +1 -1
  984. package/build/modules/vc/jsonld/contexts/credentials_v2.mjs +1 -3
  985. package/build/modules/vc/jsonld/contexts/credentials_v2.mjs.map +1 -1
  986. package/build/modules/vc/jsonld/contexts/dataIntegrity_v2.mjs +1 -3
  987. package/build/modules/vc/jsonld/contexts/dataIntegrity_v2.mjs.map +1 -1
  988. package/build/modules/vc/jsonld/contexts/defaultContexts.mjs +1 -4
  989. package/build/modules/vc/jsonld/contexts/defaultContexts.mjs.map +1 -1
  990. package/build/modules/vc/jsonld/contexts/did_v1.mjs +1 -3
  991. package/build/modules/vc/jsonld/contexts/did_v1.mjs.map +1 -1
  992. package/build/modules/vc/jsonld/contexts/ed25519_2020_v1.mjs +1 -3
  993. package/build/modules/vc/jsonld/contexts/ed25519_2020_v1.mjs.map +1 -1
  994. package/build/modules/vc/jsonld/contexts/ed25519_v1.mjs +1 -3
  995. package/build/modules/vc/jsonld/contexts/ed25519_v1.mjs.map +1 -1
  996. package/build/modules/vc/jsonld/contexts/jwk_v1.mjs +1 -3
  997. package/build/modules/vc/jsonld/contexts/jwk_v1.mjs.map +1 -1
  998. package/build/modules/vc/jsonld/contexts/linkedvp_v1.mjs +1 -3
  999. package/build/modules/vc/jsonld/contexts/linkedvp_v1.mjs.map +1 -1
  1000. package/build/modules/vc/jsonld/contexts/multikey_v1.mjs +1 -3
  1001. package/build/modules/vc/jsonld/contexts/multikey_v1.mjs.map +1 -1
  1002. package/build/modules/vc/jsonld/contexts/odrl.mjs +1 -3
  1003. package/build/modules/vc/jsonld/contexts/odrl.mjs.map +1 -1
  1004. package/build/modules/vc/jsonld/contexts/purl_ob_v3po.mjs +1 -3
  1005. package/build/modules/vc/jsonld/contexts/purl_ob_v3po.mjs.map +1 -1
  1006. package/build/modules/vc/jsonld/contexts/schema_org.mjs +1 -3
  1007. package/build/modules/vc/jsonld/contexts/schema_org.mjs.map +1 -1
  1008. package/build/modules/vc/jsonld/contexts/secp256k1_v1.mjs +1 -3
  1009. package/build/modules/vc/jsonld/contexts/secp256k1_v1.mjs.map +1 -1
  1010. package/build/modules/vc/jsonld/contexts/security_v1.mjs +1 -3
  1011. package/build/modules/vc/jsonld/contexts/security_v1.mjs.map +1 -1
  1012. package/build/modules/vc/jsonld/contexts/security_v2.mjs +1 -3
  1013. package/build/modules/vc/jsonld/contexts/security_v2.mjs.map +1 -1
  1014. package/build/modules/vc/jsonld/contexts/submission.mjs +1 -3
  1015. package/build/modules/vc/jsonld/contexts/submission.mjs.map +1 -1
  1016. package/build/modules/vc/jsonld/contexts/vc_revocation_list_2020.mjs +1 -3
  1017. package/build/modules/vc/jsonld/contexts/vc_revocation_list_2020.mjs.map +1 -1
  1018. package/build/modules/vc/jsonld/documentLoader.d.mts +2 -4
  1019. package/build/modules/vc/jsonld/documentLoader.d.mts.map +1 -1
  1020. package/build/modules/vc/jsonld/documentLoader.mjs +4 -6
  1021. package/build/modules/vc/jsonld/documentLoader.mjs.map +1 -1
  1022. package/build/modules/vc/jsonld/index.d.mts +4 -5
  1023. package/build/modules/vc/jsonld/index.d.mts.map +1 -1
  1024. package/build/modules/vc/jsonld/index.mjs +2 -5
  1025. package/build/modules/vc/jsonld/index.mjs.map +1 -1
  1026. package/build/modules/vc/jsonld/jsonld.d.mts +8 -5
  1027. package/build/modules/vc/jsonld/jsonld.d.mts.map +1 -1
  1028. package/build/modules/vc/jsonld/jsonld.mjs +1 -4
  1029. package/build/modules/vc/jsonld/jsonld.mjs.map +1 -1
  1030. package/build/modules/vc/jsonld/nativeDocumentLoader.mjs +1 -3
  1031. package/build/modules/vc/jsonld/nativeDocumentLoader.mjs.map +1 -1
  1032. package/build/modules/vc/jsonld/nativeDocumentLoader.native.d.mts +1 -3
  1033. package/build/modules/vc/jsonld/nativeDocumentLoader.native.d.mts.map +1 -1
  1034. package/build/modules/vc/jsonld/nativeDocumentLoader.native.mjs +1 -3
  1035. package/build/modules/vc/jsonld/nativeDocumentLoader.native.mjs.map +1 -1
  1036. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.mts +1 -3
  1037. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.mts.map +1 -1
  1038. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.mjs +4 -8
  1039. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.mjs.map +1 -1
  1040. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.mts +2 -4
  1041. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.mts.map +1 -1
  1042. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.mjs +5 -7
  1043. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.mjs.map +1 -1
  1044. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.mts +2 -4
  1045. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.mts.map +1 -1
  1046. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.mjs +3 -6
  1047. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.mjs.map +1 -1
  1048. package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.d.mts +1 -3
  1049. package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.d.mts.map +1 -1
  1050. package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.mjs +4 -8
  1051. package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.mjs.map +1 -1
  1052. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.d.mts +2 -4
  1053. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.d.mts.map +1 -1
  1054. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.mjs +5 -7
  1055. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.mjs.map +1 -1
  1056. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.d.mts +2 -4
  1057. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.d.mts.map +1 -1
  1058. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.mjs +5 -7
  1059. package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.mjs.map +1 -1
  1060. package/build/modules/vc/jwt-vc/credentialTransformer.mjs +1 -4
  1061. package/build/modules/vc/jwt-vc/credentialTransformer.mjs.map +1 -1
  1062. package/build/modules/vc/jwt-vc/index.d.mts +2 -1
  1063. package/build/modules/vc/jwt-vc/index.mjs +1 -2
  1064. package/build/modules/vc/jwt-vc/presentationTransformer.mjs +1 -4
  1065. package/build/modules/vc/jwt-vc/presentationTransformer.mjs.map +1 -1
  1066. package/build/modules/vc/linked-data-proofs/SignatureSuiteRegistry.d.mts +3 -5
  1067. package/build/modules/vc/linked-data-proofs/SignatureSuiteRegistry.d.mts.map +1 -1
  1068. package/build/modules/vc/linked-data-proofs/SignatureSuiteRegistry.mjs +3 -6
  1069. package/build/modules/vc/linked-data-proofs/SignatureSuiteRegistry.mjs.map +1 -1
  1070. package/build/modules/vc/linked-data-proofs/W3cJsonLdCredentialService.d.mts +1 -3
  1071. package/build/modules/vc/linked-data-proofs/W3cJsonLdCredentialService.d.mts.map +1 -1
  1072. package/build/modules/vc/linked-data-proofs/W3cJsonLdCredentialService.mjs +6 -10
  1073. package/build/modules/vc/linked-data-proofs/W3cJsonLdCredentialService.mjs.map +1 -1
  1074. package/build/modules/vc/linked-data-proofs/adapters/jsonld-signatures-adapter.d.mts +6 -6
  1075. package/build/modules/vc/linked-data-proofs/adapters/jsonld-signatures-adapter.d.mts.map +1 -1
  1076. package/build/modules/vc/linked-data-proofs/adapters/jsonld-signatures-adapter.mjs +1 -4
  1077. package/build/modules/vc/linked-data-proofs/adapters/jsonld-signatures-adapter.mjs.map +1 -1
  1078. package/build/modules/vc/linked-data-proofs/adapters/vc-adapter.d.mts +8 -6
  1079. package/build/modules/vc/linked-data-proofs/adapters/vc-adapter.d.mts.map +1 -1
  1080. package/build/modules/vc/linked-data-proofs/adapters/vc-adapter.mjs +1 -4
  1081. package/build/modules/vc/linked-data-proofs/adapters/vc-adapter.mjs.map +1 -1
  1082. package/build/modules/vc/linked-data-proofs/index.d.mts +4 -3
  1083. package/build/modules/vc/linked-data-proofs/index.mjs +3 -4
  1084. package/build/modules/vc/linked-data-proofs/models/LdKeyPair.d.mts +2 -4
  1085. package/build/modules/vc/linked-data-proofs/models/LdKeyPair.d.mts.map +1 -1
  1086. package/build/modules/vc/linked-data-proofs/models/LdKeyPair.mjs +1 -3
  1087. package/build/modules/vc/linked-data-proofs/models/LdKeyPair.mjs.map +1 -1
  1088. package/build/modules/vc/linked-data-proofs/models/LinkedDataProof.d.mts +2 -3
  1089. package/build/modules/vc/linked-data-proofs/models/LinkedDataProof.d.mts.map +1 -1
  1090. package/build/modules/vc/linked-data-proofs/models/LinkedDataProof.mjs +3 -6
  1091. package/build/modules/vc/linked-data-proofs/models/LinkedDataProof.mjs.map +1 -1
  1092. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiableCredential.d.mts +3 -5
  1093. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiableCredential.d.mts.map +1 -1
  1094. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiableCredential.mjs +6 -9
  1095. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiableCredential.mjs.map +1 -1
  1096. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiablePresentation.d.mts +3 -5
  1097. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiablePresentation.d.mts.map +1 -1
  1098. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiablePresentation.mjs +6 -9
  1099. package/build/modules/vc/linked-data-proofs/models/W3cJsonLdVerifiablePresentation.mjs.map +1 -1
  1100. package/build/modules/vc/linked-data-proofs/proof-ops/ProofTransformer.mjs +2 -5
  1101. package/build/modules/vc/linked-data-proofs/proof-ops/ProofTransformer.mjs.map +1 -1
  1102. package/build/modules/vc/linked-data-proofs/proof-ops/deriveProof.d.mts +2 -9
  1103. package/build/modules/vc/linked-data-proofs/proof-ops/deriveProof.d.mts.map +1 -1
  1104. package/build/modules/vc/linked-data-proofs/proof-ops/deriveProof.mjs +1 -4
  1105. package/build/modules/vc/linked-data-proofs/proof-ops/deriveProof.mjs.map +1 -1
  1106. package/build/modules/vc/linked-data-proofs/proof-ops/jsonldUtil.d.mts +5 -7
  1107. package/build/modules/vc/linked-data-proofs/proof-ops/jsonldUtil.d.mts.map +1 -1
  1108. package/build/modules/vc/linked-data-proofs/proof-ops/jsonldUtil.mjs +1 -4
  1109. package/build/modules/vc/linked-data-proofs/proof-ops/jsonldUtil.mjs.map +1 -1
  1110. package/build/modules/vc/linked-data-proofs/proof-purposes/CredentialIssuancePurpose.d.mts +1 -3
  1111. package/build/modules/vc/linked-data-proofs/proof-purposes/CredentialIssuancePurpose.d.mts.map +1 -1
  1112. package/build/modules/vc/linked-data-proofs/proof-purposes/CredentialIssuancePurpose.mjs +1 -4
  1113. package/build/modules/vc/linked-data-proofs/proof-purposes/CredentialIssuancePurpose.mjs.map +1 -1
  1114. package/build/modules/vc/linked-data-proofs/proof-purposes/ProofPurpose.d.mts +1 -2
  1115. package/build/modules/vc/linked-data-proofs/proof-purposes/ProofPurpose.d.mts.map +1 -1
  1116. package/build/modules/vc/linked-data-proofs/proof-purposes/index.d.mts +2 -1
  1117. package/build/modules/vc/linked-data-proofs/proof-purposes/index.mjs +1 -2
  1118. package/build/modules/vc/linked-data-proofs/signature-suites/{ed25519/Ed25519Signature2018.d.mts → Ed25519Signature2018.d.mts} +95 -7
  1119. package/build/modules/vc/linked-data-proofs/signature-suites/Ed25519Signature2018.d.mts.map +1 -0
  1120. package/build/modules/vc/linked-data-proofs/signature-suites/{ed25519/Ed25519Signature2018.mjs → Ed25519Signature2018.mjs} +12 -16
  1121. package/build/modules/vc/linked-data-proofs/signature-suites/Ed25519Signature2018.mjs.map +1 -0
  1122. package/build/modules/vc/linked-data-proofs/signature-suites/{ed25519/Ed25519Signature2020.d.mts → Ed25519Signature2020.d.mts} +97 -7
  1123. package/build/modules/vc/linked-data-proofs/signature-suites/Ed25519Signature2020.d.mts.map +1 -0
  1124. package/build/modules/vc/linked-data-proofs/signature-suites/{ed25519/Ed25519Signature2020.mjs → Ed25519Signature2020.mjs} +14 -17
  1125. package/build/modules/vc/linked-data-proofs/signature-suites/Ed25519Signature2020.mjs.map +1 -0
  1126. package/build/modules/vc/linked-data-proofs/signature-suites/JwsLinkedDataSignature.d.mts +2 -4
  1127. package/build/modules/vc/linked-data-proofs/signature-suites/JwsLinkedDataSignature.d.mts.map +1 -1
  1128. package/build/modules/vc/linked-data-proofs/signature-suites/JwsLinkedDataSignature.mjs +1 -4
  1129. package/build/modules/vc/linked-data-proofs/signature-suites/JwsLinkedDataSignature.mjs.map +1 -1
  1130. package/build/modules/vc/linked-data-proofs/signature-suites/index.d.mts +3 -2
  1131. package/build/modules/vc/linked-data-proofs/signature-suites/index.mjs +3 -4
  1132. package/build/modules/vc/models/ClaimFormat.d.mts +1 -2
  1133. package/build/modules/vc/models/ClaimFormat.d.mts.map +1 -1
  1134. package/build/modules/vc/models/ClaimFormat.mjs +1 -3
  1135. package/build/modules/vc/models/ClaimFormat.mjs.map +1 -1
  1136. package/build/modules/vc/models/W3cV2VerifyResult.d.mts +3 -5
  1137. package/build/modules/vc/models/W3cV2VerifyResult.d.mts.map +1 -1
  1138. package/build/modules/vc/models/W3cVerifyResult.d.mts +3 -4
  1139. package/build/modules/vc/models/W3cVerifyResult.d.mts.map +1 -1
  1140. package/build/modules/vc/models/credential/W3cCredential.d.mts +2 -4
  1141. package/build/modules/vc/models/credential/W3cCredential.d.mts.map +1 -1
  1142. package/build/modules/vc/models/credential/W3cCredential.mjs +8 -12
  1143. package/build/modules/vc/models/credential/W3cCredential.mjs.map +1 -1
  1144. package/build/modules/vc/models/credential/W3cCredentialSchema.d.mts +2 -3
  1145. package/build/modules/vc/models/credential/W3cCredentialSchema.d.mts.map +1 -1
  1146. package/build/modules/vc/models/credential/W3cCredentialSchema.mjs +3 -6
  1147. package/build/modules/vc/models/credential/W3cCredentialSchema.mjs.map +1 -1
  1148. package/build/modules/vc/models/credential/W3cCredentialStatus.d.mts +2 -3
  1149. package/build/modules/vc/models/credential/W3cCredentialStatus.d.mts.map +1 -1
  1150. package/build/modules/vc/models/credential/W3cCredentialStatus.mjs +3 -6
  1151. package/build/modules/vc/models/credential/W3cCredentialStatus.mjs.map +1 -1
  1152. package/build/modules/vc/models/credential/W3cCredentialSubject.d.mts +4 -6
  1153. package/build/modules/vc/models/credential/W3cCredentialSubject.d.mts.map +1 -1
  1154. package/build/modules/vc/models/credential/W3cCredentialSubject.mjs +4 -8
  1155. package/build/modules/vc/models/credential/W3cCredentialSubject.mjs.map +1 -1
  1156. package/build/modules/vc/models/credential/W3cIssuer.d.mts +4 -6
  1157. package/build/modules/vc/models/credential/W3cIssuer.d.mts.map +1 -1
  1158. package/build/modules/vc/models/credential/W3cIssuer.mjs +3 -6
  1159. package/build/modules/vc/models/credential/W3cIssuer.mjs.map +1 -1
  1160. package/build/modules/vc/models/credential/W3cJsonCredential.d.mts +1 -3
  1161. package/build/modules/vc/models/credential/W3cJsonCredential.d.mts.map +1 -1
  1162. package/build/modules/vc/models/credential/W3cV2Credential.d.mts +2 -4
  1163. package/build/modules/vc/models/credential/W3cV2Credential.d.mts.map +1 -1
  1164. package/build/modules/vc/models/credential/W3cV2Credential.mjs +5 -9
  1165. package/build/modules/vc/models/credential/W3cV2Credential.mjs.map +1 -1
  1166. package/build/modules/vc/models/credential/W3cV2CredentialSchema.d.mts +2 -3
  1167. package/build/modules/vc/models/credential/W3cV2CredentialSchema.d.mts.map +1 -1
  1168. package/build/modules/vc/models/credential/W3cV2CredentialSchema.mjs +3 -6
  1169. package/build/modules/vc/models/credential/W3cV2CredentialSchema.mjs.map +1 -1
  1170. package/build/modules/vc/models/credential/W3cV2CredentialStatus.d.mts +2 -3
  1171. package/build/modules/vc/models/credential/W3cV2CredentialStatus.d.mts.map +1 -1
  1172. package/build/modules/vc/models/credential/W3cV2CredentialStatus.mjs +3 -6
  1173. package/build/modules/vc/models/credential/W3cV2CredentialStatus.mjs.map +1 -1
  1174. package/build/modules/vc/models/credential/W3cV2CredentialSubject.d.mts +2 -3
  1175. package/build/modules/vc/models/credential/W3cV2CredentialSubject.d.mts.map +1 -1
  1176. package/build/modules/vc/models/credential/W3cV2CredentialSubject.mjs +3 -6
  1177. package/build/modules/vc/models/credential/W3cV2CredentialSubject.mjs.map +1 -1
  1178. package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.d.mts +5 -7
  1179. package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.d.mts.map +1 -1
  1180. package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.mjs +6 -9
  1181. package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.mjs.map +1 -1
  1182. package/build/modules/vc/models/credential/W3cV2Evidence.d.mts +2 -3
  1183. package/build/modules/vc/models/credential/W3cV2Evidence.d.mts.map +1 -1
  1184. package/build/modules/vc/models/credential/W3cV2Evidence.mjs +3 -6
  1185. package/build/modules/vc/models/credential/W3cV2Evidence.mjs.map +1 -1
  1186. package/build/modules/vc/models/credential/W3cV2Issuer.d.mts +4 -6
  1187. package/build/modules/vc/models/credential/W3cV2Issuer.d.mts.map +1 -1
  1188. package/build/modules/vc/models/credential/W3cV2Issuer.mjs +3 -6
  1189. package/build/modules/vc/models/credential/W3cV2Issuer.mjs.map +1 -1
  1190. package/build/modules/vc/models/credential/W3cV2JsonCredential.d.mts +2 -4
  1191. package/build/modules/vc/models/credential/W3cV2JsonCredential.d.mts.map +1 -1
  1192. package/build/modules/vc/models/credential/W3cV2LocalizedValue.d.mts +3 -4
  1193. package/build/modules/vc/models/credential/W3cV2LocalizedValue.d.mts.map +1 -1
  1194. package/build/modules/vc/models/credential/W3cV2LocalizedValue.mjs +3 -6
  1195. package/build/modules/vc/models/credential/W3cV2LocalizedValue.mjs.map +1 -1
  1196. package/build/modules/vc/models/credential/W3cV2RefreshService.d.mts +2 -3
  1197. package/build/modules/vc/models/credential/W3cV2RefreshService.d.mts.map +1 -1
  1198. package/build/modules/vc/models/credential/W3cV2RefreshService.mjs +3 -6
  1199. package/build/modules/vc/models/credential/W3cV2RefreshService.mjs.map +1 -1
  1200. package/build/modules/vc/models/credential/W3cV2TermsOfUse.d.mts +2 -3
  1201. package/build/modules/vc/models/credential/W3cV2TermsOfUse.d.mts.map +1 -1
  1202. package/build/modules/vc/models/credential/W3cV2TermsOfUse.mjs +3 -6
  1203. package/build/modules/vc/models/credential/W3cV2TermsOfUse.mjs.map +1 -1
  1204. package/build/modules/vc/models/credential/W3cV2VerifiableCredential.d.mts +4 -6
  1205. package/build/modules/vc/models/credential/W3cV2VerifiableCredential.d.mts.map +1 -1
  1206. package/build/modules/vc/models/credential/W3cV2VerifiableCredential.mjs +1 -4
  1207. package/build/modules/vc/models/credential/W3cV2VerifiableCredential.mjs.map +1 -1
  1208. package/build/modules/vc/models/credential/W3cVerifiableCredential.d.mts +2 -4
  1209. package/build/modules/vc/models/credential/W3cVerifiableCredential.d.mts.map +1 -1
  1210. package/build/modules/vc/models/credential/W3cVerifiableCredential.mjs +1 -4
  1211. package/build/modules/vc/models/credential/W3cVerifiableCredential.mjs.map +1 -1
  1212. package/build/modules/vc/models/credential/index.d.mts +2 -1
  1213. package/build/modules/vc/models/credential/index.mjs +1 -2
  1214. package/build/modules/vc/models/index.d.mts +2 -1
  1215. package/build/modules/vc/models/index.mjs +1 -2
  1216. package/build/modules/vc/models/presentation/W3cHolder.d.mts +2 -4
  1217. package/build/modules/vc/models/presentation/W3cHolder.d.mts.map +1 -1
  1218. package/build/modules/vc/models/presentation/W3cHolder.mjs +3 -6
  1219. package/build/modules/vc/models/presentation/W3cHolder.mjs.map +1 -1
  1220. package/build/modules/vc/models/presentation/W3cJsonPresentation.d.mts +1 -3
  1221. package/build/modules/vc/models/presentation/W3cJsonPresentation.d.mts.map +1 -1
  1222. package/build/modules/vc/models/presentation/W3cPresentation.d.mts +2 -4
  1223. package/build/modules/vc/models/presentation/W3cPresentation.d.mts.map +1 -1
  1224. package/build/modules/vc/models/presentation/W3cPresentation.mjs +8 -12
  1225. package/build/modules/vc/models/presentation/W3cPresentation.mjs.map +1 -1
  1226. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.d.mts +4 -6
  1227. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.d.mts.map +1 -1
  1228. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.mjs +5 -8
  1229. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.mjs.map +1 -1
  1230. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentationCodec.d.mts +2 -4
  1231. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentationCodec.d.mts.map +1 -1
  1232. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentationCodec.mjs +1 -4
  1233. package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentationCodec.mjs.map +1 -1
  1234. package/build/modules/vc/models/presentation/W3cV2Holder.d.mts +2 -4
  1235. package/build/modules/vc/models/presentation/W3cV2Holder.d.mts.map +1 -1
  1236. package/build/modules/vc/models/presentation/W3cV2Holder.mjs +3 -6
  1237. package/build/modules/vc/models/presentation/W3cV2Holder.mjs.map +1 -1
  1238. package/build/modules/vc/models/presentation/W3cV2JsonPresentation.d.mts +5 -7
  1239. package/build/modules/vc/models/presentation/W3cV2JsonPresentation.d.mts.map +1 -1
  1240. package/build/modules/vc/models/presentation/W3cV2Presentation.d.mts +6 -8
  1241. package/build/modules/vc/models/presentation/W3cV2Presentation.d.mts.map +1 -1
  1242. package/build/modules/vc/models/presentation/W3cV2Presentation.mjs +6 -10
  1243. package/build/modules/vc/models/presentation/W3cV2Presentation.mjs.map +1 -1
  1244. package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.d.mts +4 -6
  1245. package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.d.mts.map +1 -1
  1246. package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.mjs +1 -4
  1247. package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.mjs.map +1 -1
  1248. package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.mts +1 -3
  1249. package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.mts.map +1 -1
  1250. package/build/modules/vc/models/presentation/index.d.mts +2 -1
  1251. package/build/modules/vc/models/presentation/index.mjs +1 -2
  1252. package/build/modules/vc/repository/W3cCredentialRecord.d.mts +5 -7
  1253. package/build/modules/vc/repository/W3cCredentialRecord.d.mts.map +1 -1
  1254. package/build/modules/vc/repository/W3cCredentialRecord.mjs +7 -10
  1255. package/build/modules/vc/repository/W3cCredentialRecord.mjs.map +1 -1
  1256. package/build/modules/vc/repository/W3cCredentialRepository.d.mts +1 -3
  1257. package/build/modules/vc/repository/W3cCredentialRepository.d.mts.map +1 -1
  1258. package/build/modules/vc/repository/W3cCredentialRepository.mjs +5 -9
  1259. package/build/modules/vc/repository/W3cCredentialRepository.mjs.map +1 -1
  1260. package/build/modules/vc/repository/W3cV2CredentialRecord.d.mts +4 -6
  1261. package/build/modules/vc/repository/W3cV2CredentialRecord.d.mts.map +1 -1
  1262. package/build/modules/vc/repository/W3cV2CredentialRecord.mjs +8 -11
  1263. package/build/modules/vc/repository/W3cV2CredentialRecord.mjs.map +1 -1
  1264. package/build/modules/vc/repository/W3cV2CredentialRepository.d.mts +1 -3
  1265. package/build/modules/vc/repository/W3cV2CredentialRepository.d.mts.map +1 -1
  1266. package/build/modules/vc/repository/W3cV2CredentialRepository.mjs +5 -9
  1267. package/build/modules/vc/repository/W3cV2CredentialRepository.mjs.map +1 -1
  1268. package/build/modules/vc/repository/index.d.mts +2 -1
  1269. package/build/modules/vc/repository/index.mjs +1 -2
  1270. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.mts +5 -7
  1271. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.mts.map +1 -1
  1272. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.mjs +1 -4
  1273. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.mjs.map +1 -1
  1274. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.d.mts +1 -3
  1275. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.d.mts.map +1 -1
  1276. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.mjs +7 -26
  1277. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.mjs.map +1 -1
  1278. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.d.mts +2 -4
  1279. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.d.mts.map +1 -1
  1280. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.mjs +5 -7
  1281. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.mjs.map +1 -1
  1282. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.d.mts +2 -4
  1283. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.d.mts.map +1 -1
  1284. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.mjs +5 -7
  1285. package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.mjs.map +1 -1
  1286. package/build/modules/vc/sd-jwt-vc/disclosureFrame.d.mts +20 -0
  1287. package/build/modules/vc/sd-jwt-vc/disclosureFrame.d.mts.map +1 -0
  1288. package/build/modules/vc/sd-jwt-vc/disclosureFrame.mjs +34 -0
  1289. package/build/modules/vc/sd-jwt-vc/disclosureFrame.mjs.map +1 -0
  1290. package/build/modules/vc/sd-jwt-vc/index.d.mts +3 -1
  1291. package/build/modules/vc/sd-jwt-vc/index.mjs +2 -2
  1292. package/build/modules/vc/util.d.mts +1 -3
  1293. package/build/modules/vc/util.d.mts.map +1 -1
  1294. package/build/modules/vc/util.mjs +1 -4
  1295. package/build/modules/vc/util.mjs.map +1 -1
  1296. package/build/modules/vc/v2-jwt-utils.mjs +1 -4
  1297. package/build/modules/vc/v2-jwt-utils.mjs.map +1 -1
  1298. package/build/modules/vc/validators.mjs +6 -9
  1299. package/build/modules/vc/validators.mjs.map +1 -1
  1300. package/build/modules/w3c-di/W3cDataIntegrityApi.d.mts +1 -3
  1301. package/build/modules/w3c-di/W3cDataIntegrityApi.d.mts.map +1 -1
  1302. package/build/modules/w3c-di/W3cDataIntegrityApi.mjs +6 -10
  1303. package/build/modules/w3c-di/W3cDataIntegrityApi.mjs.map +1 -1
  1304. package/build/modules/w3c-di/W3cDataIntegrityCryptosuiteRegistry.d.mts +1 -3
  1305. package/build/modules/w3c-di/W3cDataIntegrityCryptosuiteRegistry.d.mts.map +1 -1
  1306. package/build/modules/w3c-di/W3cDataIntegrityCryptosuiteRegistry.mjs +5 -9
  1307. package/build/modules/w3c-di/W3cDataIntegrityCryptosuiteRegistry.mjs.map +1 -1
  1308. package/build/modules/w3c-di/W3cDataIntegrityError.d.mts +9 -11
  1309. package/build/modules/w3c-di/W3cDataIntegrityError.d.mts.map +1 -1
  1310. package/build/modules/w3c-di/W3cDataIntegrityError.mjs +4 -6
  1311. package/build/modules/w3c-di/W3cDataIntegrityError.mjs.map +1 -1
  1312. package/build/modules/w3c-di/W3cDataIntegrityModule.d.mts +1 -3
  1313. package/build/modules/w3c-di/W3cDataIntegrityModule.d.mts.map +1 -1
  1314. package/build/modules/w3c-di/W3cDataIntegrityModule.mjs +2 -5
  1315. package/build/modules/w3c-di/W3cDataIntegrityModule.mjs.map +1 -1
  1316. package/build/modules/w3c-di/W3cDataIntegrityProof.d.mts +9 -10
  1317. package/build/modules/w3c-di/W3cDataIntegrityProof.d.mts.map +1 -1
  1318. package/build/modules/w3c-di/W3cDataIntegrityProof.mjs +1 -4
  1319. package/build/modules/w3c-di/W3cDataIntegrityProof.mjs.map +1 -1
  1320. package/build/modules/w3c-di/W3cDataIntegrityProofService.d.mts +4 -6
  1321. package/build/modules/w3c-di/W3cDataIntegrityProofService.d.mts.map +1 -1
  1322. package/build/modules/w3c-di/W3cDataIntegrityProofService.mjs +19 -19
  1323. package/build/modules/w3c-di/W3cDataIntegrityProofService.mjs.map +1 -1
  1324. package/build/modules/w3c-di/cryptosuites/eddsa-jcs-2022/EddsaJcs2022Cryptosuite.mjs +12 -15
  1325. package/build/modules/w3c-di/cryptosuites/eddsa-jcs-2022/EddsaJcs2022Cryptosuite.mjs.map +1 -1
  1326. package/build/modules/w3c-di/cryptosuites/types.d.mts +5 -7
  1327. package/build/modules/w3c-di/cryptosuites/types.d.mts.map +1 -1
  1328. package/build/modules/w3c-di/cryptosuites/types.mjs +1 -3
  1329. package/build/modules/w3c-di/cryptosuites/types.mjs.map +1 -1
  1330. package/build/modules/w3c-di/index.d.mts +2 -1
  1331. package/build/modules/w3c-di/index.mjs +1 -2
  1332. package/build/modules/w3c-di/internal.d.mts +2 -1
  1333. package/build/modules/w3c-di/internal.mjs +7 -8
  1334. package/build/modules/w3c-di/proof-processing/iso8601Datetime.mjs +3 -5
  1335. package/build/modules/w3c-di/proof-processing/iso8601Datetime.mjs.map +1 -1
  1336. package/build/modules/w3c-di/proof-processing/keyUtils.mjs +3 -5
  1337. package/build/modules/w3c-di/proof-processing/keyUtils.mjs.map +1 -1
  1338. package/build/modules/w3c-di/proof-processing/normalization.mjs +1 -3
  1339. package/build/modules/w3c-di/proof-processing/normalization.mjs.map +1 -1
  1340. package/build/modules/w3c-di/proof-processing/parsing.mjs +6 -9
  1341. package/build/modules/w3c-di/proof-processing/parsing.mjs.map +1 -1
  1342. package/build/modules/w3c-di/proof-processing/proofPurposeValidation.mjs +1 -4
  1343. package/build/modules/w3c-di/proof-processing/proofPurposeValidation.mjs.map +1 -1
  1344. package/build/modules/w3c-di/proof-processing/proofSetValidation.mjs +5 -8
  1345. package/build/modules/w3c-di/proof-processing/proofSetValidation.mjs.map +1 -1
  1346. package/build/modules/w3c-di/proof-processing/proofValidation.mjs +14 -13
  1347. package/build/modules/w3c-di/proof-processing/proofValidation.mjs.map +1 -1
  1348. package/build/modules/x509/CertificateSigningRequest.d.mts +2 -4
  1349. package/build/modules/x509/CertificateSigningRequest.d.mts.map +1 -1
  1350. package/build/modules/x509/CertificateSigningRequest.mjs +9 -10
  1351. package/build/modules/x509/CertificateSigningRequest.mjs.map +1 -1
  1352. package/build/modules/x509/X509Api.d.mts +1 -3
  1353. package/build/modules/x509/X509Api.d.mts.map +1 -1
  1354. package/build/modules/x509/X509Api.mjs +4 -8
  1355. package/build/modules/x509/X509Api.mjs.map +1 -1
  1356. package/build/modules/x509/X509Certificate.d.mts +5 -11
  1357. package/build/modules/x509/X509Certificate.d.mts.map +1 -1
  1358. package/build/modules/x509/X509Certificate.mjs +16 -15
  1359. package/build/modules/x509/X509Certificate.mjs.map +1 -1
  1360. package/build/modules/x509/X509CertificateRevocationList.d.mts +5 -10
  1361. package/build/modules/x509/X509CertificateRevocationList.d.mts.map +1 -1
  1362. package/build/modules/x509/X509CertificateRevocationList.mjs +16 -15
  1363. package/build/modules/x509/X509CertificateRevocationList.mjs.map +1 -1
  1364. package/build/modules/x509/X509CrlDistributionPoint.d.mts +19 -20
  1365. package/build/modules/x509/X509CrlDistributionPoint.d.mts.map +1 -1
  1366. package/build/modules/x509/X509CrlDistributionPoint.mjs +1 -3
  1367. package/build/modules/x509/X509CrlDistributionPoint.mjs.map +1 -1
  1368. package/build/modules/x509/X509Error.d.mts +3 -5
  1369. package/build/modules/x509/X509Error.d.mts.map +1 -1
  1370. package/build/modules/x509/X509Error.mjs +1 -4
  1371. package/build/modules/x509/X509Error.mjs.map +1 -1
  1372. package/build/modules/x509/X509Module.d.mts +1 -3
  1373. package/build/modules/x509/X509Module.d.mts.map +1 -1
  1374. package/build/modules/x509/X509Module.mjs +1 -4
  1375. package/build/modules/x509/X509Module.mjs.map +1 -1
  1376. package/build/modules/x509/X509ModuleConfig.d.mts +10 -12
  1377. package/build/modules/x509/X509ModuleConfig.d.mts.map +1 -1
  1378. package/build/modules/x509/X509ModuleConfig.mjs +4 -7
  1379. package/build/modules/x509/X509ModuleConfig.mjs.map +1 -1
  1380. package/build/modules/x509/X509RevocationService.d.mts +4 -16
  1381. package/build/modules/x509/X509RevocationService.d.mts.map +1 -1
  1382. package/build/modules/x509/X509RevocationService.mjs +22 -25
  1383. package/build/modules/x509/X509RevocationService.mjs.map +1 -1
  1384. package/build/modules/x509/X509Service.d.mts +5 -19
  1385. package/build/modules/x509/X509Service.d.mts.map +1 -1
  1386. package/build/modules/x509/X509Service.mjs +11 -13
  1387. package/build/modules/x509/X509Service.mjs.map +1 -1
  1388. package/build/modules/x509/X509ServiceOptions.d.mts +24 -23
  1389. package/build/modules/x509/X509ServiceOptions.d.mts.map +1 -1
  1390. package/build/modules/x509/X509ServiceOptions.mjs +0 -2
  1391. package/build/modules/x509/X509ValidationOptions.d.mts +2 -4
  1392. package/build/modules/x509/X509ValidationOptions.d.mts.map +1 -1
  1393. package/build/modules/x509/X509ValidationOptions.mjs +1 -3
  1394. package/build/modules/x509/X509ValidationOptions.mjs.map +1 -1
  1395. package/build/modules/x509/X509ValidationResult.d.mts +3 -4
  1396. package/build/modules/x509/X509ValidationResult.d.mts.map +1 -1
  1397. package/build/modules/x509/extraction.d.mts +1 -3
  1398. package/build/modules/x509/extraction.d.mts.map +1 -1
  1399. package/build/modules/x509/extraction.mjs +1 -4
  1400. package/build/modules/x509/extraction.mjs.map +1 -1
  1401. package/build/modules/x509/index.d.mts +2 -1
  1402. package/build/modules/x509/index.mjs +1 -2
  1403. package/build/modules/x509/utils/convertLegacyTrustedCertificates.d.mts +2 -4
  1404. package/build/modules/x509/utils/convertLegacyTrustedCertificates.d.mts.map +1 -1
  1405. package/build/modules/x509/utils/convertLegacyTrustedCertificates.mjs +1 -3
  1406. package/build/modules/x509/utils/convertLegacyTrustedCertificates.mjs.map +1 -1
  1407. package/build/modules/x509/utils/criticalExtensions.mjs +12 -15
  1408. package/build/modules/x509/utils/criticalExtensions.mjs.map +1 -1
  1409. package/build/modules/x509/utils/crlFetcher.mjs +2 -5
  1410. package/build/modules/x509/utils/crlFetcher.mjs.map +1 -1
  1411. package/build/modules/x509/utils/crlSummary.mjs +30 -24
  1412. package/build/modules/x509/utils/crlSummary.mjs.map +1 -1
  1413. package/build/modules/x509/utils/extensions.d.mts +14 -16
  1414. package/build/modules/x509/utils/extensions.d.mts.map +1 -1
  1415. package/build/modules/x509/utils/extensions.mjs +5 -6
  1416. package/build/modules/x509/utils/extensions.mjs.map +1 -1
  1417. package/build/modules/x509/utils/index.d.mts +2 -1
  1418. package/build/modules/x509/utils/index.mjs +1 -2
  1419. package/build/modules/x509/utils/nameConversion.d.mts +1 -3
  1420. package/build/modules/x509/utils/nameConversion.d.mts.map +1 -1
  1421. package/build/modules/x509/utils/nameConversion.mjs +1 -4
  1422. package/build/modules/x509/utils/nameConversion.mjs.map +1 -1
  1423. package/build/modules/x509/utils/serialNumber.mjs +1 -3
  1424. package/build/modules/x509/utils/serialNumber.mjs.map +1 -1
  1425. package/build/modules/x509/utils/signatureAlgorithm.d.mts +1 -2
  1426. package/build/modules/x509/utils/signatureAlgorithm.d.mts.map +1 -1
  1427. package/build/modules/x509/utils/signatureAlgorithm.mjs +1 -3
  1428. package/build/modules/x509/utils/signatureAlgorithm.mjs.map +1 -1
  1429. package/build/plugins/DependencyManager.d.mts +2 -3
  1430. package/build/plugins/DependencyManager.d.mts.map +1 -1
  1431. package/build/plugins/DependencyManager.mjs +1 -4
  1432. package/build/plugins/DependencyManager.mjs.map +1 -1
  1433. package/build/plugins/Module.d.mts +2 -4
  1434. package/build/plugins/Module.d.mts.map +1 -1
  1435. package/build/plugins/index.d.mts +1 -1
  1436. package/build/plugins/index.mjs +1 -4
  1437. package/build/plugins/utils.d.mts +3 -5
  1438. package/build/plugins/utils.d.mts.map +1 -1
  1439. package/build/plugins/utils.mjs +1 -3
  1440. package/build/plugins/utils.mjs.map +1 -1
  1441. package/build/storage/BaseRecord.d.mts +7 -9
  1442. package/build/storage/BaseRecord.d.mts.map +1 -1
  1443. package/build/storage/BaseRecord.mjs +6 -10
  1444. package/build/storage/BaseRecord.mjs.map +1 -1
  1445. package/build/storage/FileSystem.d.mts +2 -3
  1446. package/build/storage/FileSystem.d.mts.map +1 -1
  1447. package/build/storage/Metadata.d.mts +2 -3
  1448. package/build/storage/Metadata.d.mts.map +1 -1
  1449. package/build/storage/Metadata.mjs +1 -3
  1450. package/build/storage/Metadata.mjs.map +1 -1
  1451. package/build/storage/Repository.d.mts +2 -6
  1452. package/build/storage/Repository.d.mts.map +1 -1
  1453. package/build/storage/Repository.mjs +7 -10
  1454. package/build/storage/Repository.mjs.map +1 -1
  1455. package/build/storage/RepositoryEvents.d.mts +4 -6
  1456. package/build/storage/RepositoryEvents.d.mts.map +1 -1
  1457. package/build/storage/RepositoryEvents.mjs +1 -3
  1458. package/build/storage/RepositoryEvents.mjs.map +1 -1
  1459. package/build/storage/StorageService.d.mts +9 -11
  1460. package/build/storage/StorageService.d.mts.map +1 -1
  1461. package/build/storage/StorageService.mjs +1 -4
  1462. package/build/storage/StorageService.mjs.map +1 -1
  1463. package/build/storage/index.mjs +1 -2
  1464. package/build/storage/migration/StorageUpdateService.d.mts +1 -3
  1465. package/build/storage/migration/StorageUpdateService.d.mts.map +1 -1
  1466. package/build/storage/migration/StorageUpdateService.mjs +9 -12
  1467. package/build/storage/migration/StorageUpdateService.mjs.map +1 -1
  1468. package/build/storage/migration/UpdateAssistant.d.mts +2 -4
  1469. package/build/storage/migration/UpdateAssistant.d.mts.map +1 -1
  1470. package/build/storage/migration/UpdateAssistant.mjs +1 -4
  1471. package/build/storage/migration/UpdateAssistant.mjs.map +1 -1
  1472. package/build/storage/migration/error/StorageUpdateError.mjs +1 -4
  1473. package/build/storage/migration/error/StorageUpdateError.mjs.map +1 -1
  1474. package/build/storage/migration/index.d.mts +2 -1
  1475. package/build/storage/migration/index.mjs +1 -2
  1476. package/build/storage/migration/isUpToDate.d.mts +1 -3
  1477. package/build/storage/migration/isUpToDate.d.mts.map +1 -1
  1478. package/build/storage/migration/isUpToDate.mjs +1 -4
  1479. package/build/storage/migration/isUpToDate.mjs.map +1 -1
  1480. package/build/storage/migration/repository/StorageVersionRecord.d.mts +2 -4
  1481. package/build/storage/migration/repository/StorageVersionRecord.d.mts.map +1 -1
  1482. package/build/storage/migration/repository/StorageVersionRecord.mjs +1 -4
  1483. package/build/storage/migration/repository/StorageVersionRecord.mjs.map +1 -1
  1484. package/build/storage/migration/repository/StorageVersionRepository.d.mts +1 -3
  1485. package/build/storage/migration/repository/StorageVersionRepository.d.mts.map +1 -1
  1486. package/build/storage/migration/repository/StorageVersionRepository.mjs +5 -9
  1487. package/build/storage/migration/repository/StorageVersionRepository.mjs.map +1 -1
  1488. package/build/storage/migration/updates/0.3-0.3.1/did.mjs +1 -4
  1489. package/build/storage/migration/updates/0.3-0.3.1/did.mjs.map +1 -1
  1490. package/build/storage/migration/updates/0.3-0.3.1/index.d.mts +1 -3
  1491. package/build/storage/migration/updates/0.3-0.3.1/index.d.mts.map +1 -1
  1492. package/build/storage/migration/updates/0.3-0.3.1/index.mjs +1 -4
  1493. package/build/storage/migration/updates/0.3-0.3.1/index.mjs.map +1 -1
  1494. package/build/storage/migration/updates/0.3.1-0.4/cache.mjs +1 -4
  1495. package/build/storage/migration/updates/0.3.1-0.4/cache.mjs.map +1 -1
  1496. package/build/storage/migration/updates/0.3.1-0.4/did.mjs +4 -7
  1497. package/build/storage/migration/updates/0.3.1-0.4/did.mjs.map +1 -1
  1498. package/build/storage/migration/updates/0.3.1-0.4/index.d.mts +1 -3
  1499. package/build/storage/migration/updates/0.3.1-0.4/index.d.mts.map +1 -1
  1500. package/build/storage/migration/updates/0.3.1-0.4/index.mjs +1 -4
  1501. package/build/storage/migration/updates/0.3.1-0.4/index.mjs.map +1 -1
  1502. package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.mjs +1 -4
  1503. package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.mjs.map +1 -1
  1504. package/build/storage/migration/updates/0.4-0.5/index.d.mts +1 -3
  1505. package/build/storage/migration/updates/0.4-0.5/index.d.mts.map +1 -1
  1506. package/build/storage/migration/updates/0.4-0.5/index.mjs +1 -4
  1507. package/build/storage/migration/updates/0.4-0.5/index.mjs.map +1 -1
  1508. package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.mjs +2 -5
  1509. package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.mjs.map +1 -1
  1510. package/build/storage/migration/updates.d.mts +5 -7
  1511. package/build/storage/migration/updates.d.mts.map +1 -1
  1512. package/build/storage/migration/updates.mjs +2 -6
  1513. package/build/storage/migration/updates.mjs.map +1 -1
  1514. package/build/types.d.mts +13 -15
  1515. package/build/types.d.mts.map +1 -1
  1516. package/build/types.mjs +1 -4
  1517. package/build/types.mjs.map +1 -1
  1518. package/build/utils/IntegrityVerifier.d.mts +1 -2
  1519. package/build/utils/IntegrityVerifier.d.mts.map +1 -1
  1520. package/build/utils/IntegrityVerifier.mjs +1 -4
  1521. package/build/utils/IntegrityVerifier.mjs.map +1 -1
  1522. package/build/utils/JsonEncoder.d.mts +1 -2
  1523. package/build/utils/JsonEncoder.d.mts.map +1 -1
  1524. package/build/utils/JsonEncoder.mjs +1 -4
  1525. package/build/utils/JsonEncoder.mjs.map +1 -1
  1526. package/build/utils/JsonTransformer.d.mts +3 -8
  1527. package/build/utils/JsonTransformer.d.mts.map +1 -1
  1528. package/build/utils/JsonTransformer.mjs +1 -4
  1529. package/build/utils/JsonTransformer.mjs.map +1 -1
  1530. package/build/utils/MessageValidator.d.mts +1 -2
  1531. package/build/utils/MessageValidator.d.mts.map +1 -1
  1532. package/build/utils/MessageValidator.mjs +1 -4
  1533. package/build/utils/MessageValidator.mjs.map +1 -1
  1534. package/build/utils/MultiBaseEncoder.d.mts +2 -3
  1535. package/build/utils/MultiBaseEncoder.d.mts.map +1 -1
  1536. package/build/utils/MultiBaseEncoder.mjs +1 -4
  1537. package/build/utils/MultiBaseEncoder.mjs.map +1 -1
  1538. package/build/utils/MultiHashEncoder.d.mts +1 -3
  1539. package/build/utils/MultiHashEncoder.d.mts.map +1 -1
  1540. package/build/utils/MultiHashEncoder.mjs +1 -4
  1541. package/build/utils/MultiHashEncoder.mjs.map +1 -1
  1542. package/build/utils/TypedArrayEncoder.d.mts +1 -2
  1543. package/build/utils/TypedArrayEncoder.d.mts.map +1 -1
  1544. package/build/utils/TypedArrayEncoder.mjs +1 -4
  1545. package/build/utils/TypedArrayEncoder.mjs.map +1 -1
  1546. package/build/utils/VarintEncoder.mjs +1 -4
  1547. package/build/utils/VarintEncoder.mjs.map +1 -1
  1548. package/build/utils/array.d.mts +1 -3
  1549. package/build/utils/array.d.mts.map +1 -1
  1550. package/build/utils/array.mjs +1 -3
  1551. package/build/utils/array.mjs.map +1 -1
  1552. package/build/utils/credentialUse.d.mts +5 -14
  1553. package/build/utils/credentialUse.d.mts.map +1 -1
  1554. package/build/utils/credentialUse.mjs +12 -15
  1555. package/build/utils/credentialUse.mjs.map +1 -1
  1556. package/build/utils/credentialUseTypes.d.mts +3 -4
  1557. package/build/utils/credentialUseTypes.d.mts.map +1 -1
  1558. package/build/utils/credentialUseTypes.mjs +2 -29
  1559. package/build/utils/credentialUseTypes.mjs.map +1 -1
  1560. package/build/utils/deepEquality.d.mts +3 -4
  1561. package/build/utils/deepEquality.d.mts.map +1 -1
  1562. package/build/utils/deepEquality.mjs +1 -4
  1563. package/build/utils/deepEquality.mjs.map +1 -1
  1564. package/build/utils/did.d.mts +2 -3
  1565. package/build/utils/did.d.mts.map +1 -1
  1566. package/build/utils/did.mjs +1 -4
  1567. package/build/utils/did.mjs.map +1 -1
  1568. package/build/utils/domain.d.mts +1 -2
  1569. package/build/utils/domain.d.mts.map +1 -1
  1570. package/build/utils/domain.mjs +1 -3
  1571. package/build/utils/domain.mjs.map +1 -1
  1572. package/build/utils/fetch.mjs +1 -3
  1573. package/build/utils/fetch.mjs.map +1 -1
  1574. package/build/utils/index.d.mts +2 -1
  1575. package/build/utils/index.mjs +1 -2
  1576. package/build/utils/mixins.d.mts +3 -4
  1577. package/build/utils/mixins.d.mts.map +1 -1
  1578. package/build/utils/object.mjs +1 -3
  1579. package/build/utils/object.mjs.map +1 -1
  1580. package/build/utils/objectEquality.d.mts +1 -2
  1581. package/build/utils/objectEquality.d.mts.map +1 -1
  1582. package/build/utils/objectEquality.mjs +1 -3
  1583. package/build/utils/objectEquality.mjs.map +1 -1
  1584. package/build/utils/path.d.mts +2 -3
  1585. package/build/utils/path.d.mts.map +1 -1
  1586. package/build/utils/path.mjs +1 -3
  1587. package/build/utils/path.mjs.map +1 -1
  1588. package/build/utils/timestamp.d.mts +4 -5
  1589. package/build/utils/timestamp.d.mts.map +1 -1
  1590. package/build/utils/timestamp.mjs +1 -3
  1591. package/build/utils/timestamp.mjs.map +1 -1
  1592. package/build/utils/transformers.d.mts +2 -4
  1593. package/build/utils/transformers.d.mts.map +1 -1
  1594. package/build/utils/transformers.mjs +1 -4
  1595. package/build/utils/transformers.mjs.map +1 -1
  1596. package/build/utils/uri.d.mts +1 -2
  1597. package/build/utils/uri.d.mts.map +1 -1
  1598. package/build/utils/uri.mjs +1 -3
  1599. package/build/utils/uri.mjs.map +1 -1
  1600. package/build/utils/uuid.d.mts +2 -3
  1601. package/build/utils/uuid.d.mts.map +1 -1
  1602. package/build/utils/uuid.mjs +1 -4
  1603. package/build/utils/uuid.mjs.map +1 -1
  1604. package/build/utils/validators.d.mts +4 -6
  1605. package/build/utils/validators.d.mts.map +1 -1
  1606. package/build/utils/validators.mjs +1 -4
  1607. package/build/utils/validators.mjs.map +1 -1
  1608. package/build/utils/version.d.mts +1 -2
  1609. package/build/utils/version.d.mts.map +1 -1
  1610. package/build/utils/version.mjs +1 -3
  1611. package/build/utils/version.mjs.map +1 -1
  1612. package/build/utils/zod-error.mjs +3 -6
  1613. package/build/utils/zod-error.mjs.map +1 -1
  1614. package/build/utils/zod.d.mts +1 -1
  1615. package/build/utils/zod.mjs +6 -9
  1616. package/build/utils/zod.mjs.map +1 -1
  1617. package/package.json +11 -11
  1618. package/build/_virtual/_@oxc-project_runtime@0.112.0/helpers/classPrivateFieldGet2.mjs +0 -11
  1619. package/build/_virtual/_@oxc-project_runtime@0.112.0/helpers/classPrivateFieldInitSpec.mjs +0 -11
  1620. package/build/_virtual/_@oxc-project_runtime@0.112.0/helpers/classPrivateFieldSet2.mjs +0 -11
  1621. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/Ed25519Signature2018.d.mts.map +0 -1
  1622. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/Ed25519Signature2018.mjs.map +0 -1
  1623. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/Ed25519Signature2020.d.mts.map +0 -1
  1624. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/Ed25519Signature2020.mjs.map +0 -1
  1625. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/constants.mjs +0 -9
  1626. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/constants.mjs.map +0 -1
  1627. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/context.mjs +0 -96
  1628. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/context.mjs.map +0 -1
  1629. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/context2020.mjs +0 -102
  1630. package/build/modules/vc/linked-data-proofs/signature-suites/ed25519/context2020.mjs.map +0 -1
@@ -1,10 +1,7 @@
1
-
2
-
3
- //#region \0@oxc-project+runtime@0.112.0/helpers/assertClassBrand.js
1
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/assertClassBrand.js
4
2
  function _assertClassBrand(e, t, n) {
5
3
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
6
4
  throw new TypeError("Private element is not present on this object");
7
5
  }
8
-
9
6
  //#endregion
10
- export { _assertClassBrand };
7
+ export { _assertClassBrand as default };
@@ -1,9 +1,6 @@
1
-
2
-
3
- //#region \0@oxc-project+runtime@0.112.0/helpers/checkPrivateRedeclaration.js
1
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/checkPrivateRedeclaration.js
4
2
  function _checkPrivateRedeclaration(e, t) {
5
3
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
6
4
  }
7
-
8
5
  //#endregion
9
- export { _checkPrivateRedeclaration };
6
+ export { _checkPrivateRedeclaration as default };
@@ -0,0 +1,7 @@
1
+ import _assertClassBrand from "./assertClassBrand.mjs";
2
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldGet2.js
3
+ function _classPrivateFieldGet2(s, a) {
4
+ return s.get(_assertClassBrand(s, a));
5
+ }
6
+ //#endregion
7
+ export { _classPrivateFieldGet2 as default };
@@ -0,0 +1,7 @@
1
+ import _checkPrivateRedeclaration from "./checkPrivateRedeclaration.mjs";
2
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldInitSpec.js
3
+ function _classPrivateFieldInitSpec(e, t, a) {
4
+ _checkPrivateRedeclaration(e, t), t.set(e, a);
5
+ }
6
+ //#endregion
7
+ export { _classPrivateFieldInitSpec as default };
@@ -0,0 +1,7 @@
1
+ import _assertClassBrand from "./assertClassBrand.mjs";
2
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/classPrivateFieldSet2.js
3
+ function _classPrivateFieldSet2(s, a, r) {
4
+ return s.set(_assertClassBrand(s, a), r), r;
5
+ }
6
+ //#endregion
7
+ export { _classPrivateFieldSet2 as default };
@@ -1,12 +1,9 @@
1
-
2
-
3
- //#region \0@oxc-project+runtime@0.112.0/helpers/decorate.js
1
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
4
2
  function __decorate(decorators, target, key, desc) {
5
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
7
5
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
8
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
9
7
  }
10
-
11
8
  //#endregion
12
- export { __decorate };
9
+ export { __decorate as default };
@@ -1,9 +1,6 @@
1
-
2
-
3
- //#region \0@oxc-project+runtime@0.112.0/helpers/decorateMetadata.js
1
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
4
2
  function __decorateMetadata(k, v) {
5
3
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
6
4
  }
7
-
8
5
  //#endregion
9
- export { __decorateMetadata };
6
+ export { __decorateMetadata as default };
@@ -1,11 +1,8 @@
1
-
2
-
3
- //#region \0@oxc-project+runtime@0.112.0/helpers/decorateParam.js
1
+ //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateParam.js
4
2
  function __decorateParam(paramIndex, decorator) {
5
3
  return function(target, key) {
6
4
  decorator(target, key, paramIndex);
7
5
  };
8
6
  }
9
-
10
7
  //#endregion
11
- export { __decorateParam };
8
+ export { __decorateParam as default };
@@ -1,20 +1,13 @@
1
-
2
-
3
1
  //#region \0rolldown/runtime.js
4
2
  var __defProp = Object.defineProperty;
5
3
  var __exportAll = (all, no_symbols) => {
6
4
  let target = {};
7
- for (var name in all) {
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- }
13
- if (!no_symbols) {
14
- __defProp(target, Symbol.toStringTag, { value: "Module" });
15
- }
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
16
10
  return target;
17
11
  };
18
-
19
12
  //#endregion
20
- export { __exportAll };
13
+ export { __exportAll };
@@ -5,19 +5,17 @@ import { AgentModulesInput } from "./AgentModules.mjs";
5
5
  import { DependencyManager } from "../plugins/DependencyManager.mjs";
6
6
  import { BaseAgent } from "./BaseAgent.mjs";
7
7
  import "../plugins/index.mjs";
8
-
9
8
  //#region src/agent/Agent.d.ts
10
9
  interface AgentOptions<AgentModules extends AgentModulesInput> {
11
10
  config?: InitConfig;
12
11
  modules?: AgentModules;
13
12
  dependencies: AgentDependencies;
14
13
  }
15
- declare class Agent<AgentModules extends AgentModulesInput = any> extends BaseAgent<AgentModules> {
14
+ export declare class Agent<AgentModules extends AgentModulesInput = any> extends BaseAgent<AgentModules> {
16
15
  constructor(options: AgentOptions<AgentModules>, dependencyManager?: DependencyManager);
17
16
  get events(): EventEmitter;
18
17
  initialize(): Promise<void>;
19
18
  shutdown(): Promise<void>;
20
19
  }
21
20
  //#endregion
22
- export { Agent };
23
21
  //# sourceMappingURL=Agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Agent.d.mts","names":[],"sources":["../../src/agent/Agent.ts"],"mappings":";;;;;;;;;UAeU,YAAA,sBAAkC,iBAAA;EAC1C,MAAA,GAAS,UAAA;EACT,OAAA,GAAU,YAAA;EACV,YAAA,EAAc,iBAAA;AAAA;AAAA,cAKH,KAAA,sBAA2B,iBAAA,gBAAiC,SAAA,CAAU,YAAA;cAC9D,OAAA,EAAS,YAAA,CAAa,YAAA,GAAe,iBAAA,GAAiB,iBAAA;EAAA,IA8C9D,MAAA,CAAA,GAAM,YAAA;EAIJ,UAAA,CAAA,GAAU,OAAA;EAsCV,QAAA,CAAA,GAAQ,OAAA;AAAA"}
1
+ {"version":3,"file":"Agent.d.mts","names":[],"sources":["../../src/agent/Agent.ts"],"mappings":";;;;;;;;UAeU,aAAa,qBAAqB;EAC1C,SAAS;EACT,UAAU;EACV,cAAc;;qBAKH,MAAM,qBAAqB,iCAAiC,UAAU;EAC9D,YAAA,SAAS,aAAa,eAAe,oBAAiB;MA8C9D,UAAM;EAIJ,cAAU;EAsCV,YAAQ"}
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import { InjectionSymbols } from "../constants.mjs";
4
2
  import { CredoError } from "../error/CredoError.mjs";
5
3
  import "../error/index.mjs";
@@ -18,7 +16,6 @@ import "../storage/index.mjs";
18
16
  import { extendModulesWithDefaultModules } from "./AgentModules.mjs";
19
17
  import { BaseAgent } from "./BaseAgent.mjs";
20
18
  import { Subject } from "rxjs";
21
-
22
19
  //#region src/agent/Agent.ts
23
20
  var Agent = class extends BaseAgent {
24
21
  constructor(options, dependencyManager = new DependencyManager()) {
@@ -71,7 +68,7 @@ var Agent = class extends BaseAgent {
71
68
  this._isInitialized = false;
72
69
  }
73
70
  };
74
-
75
71
  //#endregion
76
72
  export { Agent };
73
+
77
74
  //# sourceMappingURL=Agent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Agent.mjs","names":[],"sources":["../../src/agent/Agent.ts"],"sourcesContent":["import { Subject } from 'rxjs'\nimport { InjectionSymbols } from '../constants'\nimport { JwsService } from '../crypto/JwsService'\nimport { CredoError } from '../error'\nimport { DependencyManager } from '../plugins'\nimport { StorageUpdateService, StorageVersionRepository, UpdateAssistant } from '../storage'\nimport type { InitConfig } from '../types'\nimport { AgentConfig } from './AgentConfig'\nimport type { AgentDependencies } from './AgentDependencies'\nimport type { AgentModulesInput } from './AgentModules'\nimport { extendModulesWithDefaultModules } from './AgentModules'\nimport { BaseAgent } from './BaseAgent'\nimport { AgentContext, DefaultAgentContextProvider } from './context'\nimport { EventEmitter } from './EventEmitter'\n\ninterface AgentOptions<AgentModules extends AgentModulesInput> {\n config?: InitConfig\n modules?: AgentModules\n dependencies: AgentDependencies\n}\n\n// Any makes sure you can use Agent as a type without always needing to specify the exact generics for the agent\n// biome-ignore lint/suspicious/noExplicitAny: no explanation\nexport class Agent<AgentModules extends AgentModulesInput = any> extends BaseAgent<AgentModules> {\n public constructor(options: AgentOptions<AgentModules>, dependencyManager = new DependencyManager()) {\n const agentConfig = new AgentConfig(options.config ?? {}, options.dependencies)\n const modulesWithDefaultModules = extendModulesWithDefaultModules(options.modules)\n\n // Register internal dependencies\n dependencyManager.registerSingleton(EventEmitter)\n dependencyManager.registerSingleton(JwsService)\n dependencyManager.registerSingleton(StorageVersionRepository)\n dependencyManager.registerSingleton(StorageUpdateService)\n\n dependencyManager.registerInstance(AgentConfig, agentConfig)\n dependencyManager.registerInstance(InjectionSymbols.AgentDependencies, agentConfig.agentDependencies)\n dependencyManager.registerInstance(InjectionSymbols.Stop$, new Subject<boolean>())\n dependencyManager.registerInstance(InjectionSymbols.FileSystem, new agentConfig.agentDependencies.FileSystem())\n\n // Register all modules. This will also include the default modules\n dependencyManager.registerModules(modulesWithDefaultModules)\n\n if (!dependencyManager.isRegistered(InjectionSymbols.Logger)) {\n dependencyManager.registerInstance(InjectionSymbols.Logger, agentConfig.logger)\n }\n if (!dependencyManager.isRegistered(InjectionSymbols.StorageService)) {\n throw new CredoError(\n \"Missing required dependency: 'StorageService'. You can register it using the AskarModule, DrizzleStorageModule, or implement your own.\"\n )\n }\n\n // TODO: contextCorrelationId for base wallet\n // Bind the default agent context to the container for use in modules etc.\n dependencyManager.registerInstance(\n AgentContext,\n new AgentContext({\n dependencyManager,\n contextCorrelationId: 'default',\n isRootAgentContext: true,\n })\n )\n\n // If no agent context provider has been registered we use the default agent context provider.\n if (!dependencyManager.isRegistered(InjectionSymbols.AgentContextProvider)) {\n dependencyManager.registerSingleton(InjectionSymbols.AgentContextProvider, DefaultAgentContextProvider)\n }\n\n super(agentConfig, dependencyManager)\n }\n\n public get events() {\n return this.eventEmitter\n }\n\n public async initialize() {\n if (this._isInitialized) {\n throw new CredoError(\n 'Agent already initialized. Currently it is not supported to re-initialize an already initialized agent.'\n )\n }\n\n // We first initialize all the modules\n await this.dependencyManager.initializeModules(this.agentContext)\n\n // Then we initialize the root agent context\n await this.dependencyManager.initializeAgentContext(this.agentContext)\n\n // Make sure the storage is up to date\n const storageUpdateService = this.dependencyManager.resolve(StorageUpdateService)\n const isStorageUpToDate = await storageUpdateService.isUpToDate(this.agentContext)\n this.logger.info(`Agent storage is ${isStorageUpToDate ? '' : 'not '}up to date.`)\n\n if (!isStorageUpToDate && this.agentConfig.autoUpdateStorageOnStartup) {\n const updateAssistant = new UpdateAssistant(this)\n\n await updateAssistant.initialize()\n await updateAssistant.update()\n } else if (!isStorageUpToDate) {\n const currentVersion = await storageUpdateService.getCurrentStorageVersion(this.agentContext)\n\n // Close agent context to prevent un-initialized agent with initialized agent context\n await this.dependencyManager.closeAgentContext(this.agentContext)\n\n throw new CredoError(\n // TODO: add link to where documentation on how to update can be found.\n `Current agent storage is not up to date. To prevent the framework state from getting corrupted the agent initialization is aborted. Make sure to update the agent storage (currently at ${currentVersion}) to the latest version (${UpdateAssistant.frameworkStorageVersion}). You can also downgrade your version of Credo.`\n )\n }\n\n this._isInitialized = true\n }\n\n public async shutdown() {\n // TODO: replace stop$, should be replaced by module specific lifecycle methods\n const stop$ = this.dependencyManager.resolve<Subject<boolean>>(InjectionSymbols.Stop$)\n // All observables use takeUntil with the stop$ observable\n // this means all observables will stop running if a value is emitted on this observable\n stop$.next(true)\n\n await this.dependencyManager.shutdownModules(this.agentContext)\n await this.dependencyManager.closeAgentContext(this.agentContext)\n\n this._isInitialized = false\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAuBA,IAAa,QAAb,cAAyE,UAAwB;CAC/F,AAAO,YAAY,SAAqC,oBAAoB,IAAI,mBAAmB,EAAE;EACnG,MAAM,cAAc,IAAI,YAAY,QAAQ,UAAU,EAAE,EAAE,QAAQ,aAAa;EAC/E,MAAM,4BAA4B,gCAAgC,QAAQ,QAAQ;AAGlF,oBAAkB,kBAAkB,aAAa;AACjD,oBAAkB,kBAAkB,WAAW;AAC/C,oBAAkB,kBAAkB,yBAAyB;AAC7D,oBAAkB,kBAAkB,qBAAqB;AAEzD,oBAAkB,iBAAiB,aAAa,YAAY;AAC5D,oBAAkB,iBAAiB,iBAAiB,mBAAmB,YAAY,kBAAkB;AACrG,oBAAkB,iBAAiB,iBAAiB,OAAO,IAAI,SAAkB,CAAC;AAClF,oBAAkB,iBAAiB,iBAAiB,YAAY,IAAI,YAAY,kBAAkB,YAAY,CAAC;AAG/G,oBAAkB,gBAAgB,0BAA0B;AAE5D,MAAI,CAAC,kBAAkB,aAAa,iBAAiB,OAAO,CAC1D,mBAAkB,iBAAiB,iBAAiB,QAAQ,YAAY,OAAO;AAEjF,MAAI,CAAC,kBAAkB,aAAa,iBAAiB,eAAe,CAClE,OAAM,IAAI,WACR,yIACD;AAKH,oBAAkB,iBAChB,cACA,IAAI,aAAa;GACf;GACA,sBAAsB;GACtB,oBAAoB;GACrB,CAAC,CACH;AAGD,MAAI,CAAC,kBAAkB,aAAa,iBAAiB,qBAAqB,CACxE,mBAAkB,kBAAkB,iBAAiB,sBAAsB,4BAA4B;AAGzG,QAAM,aAAa,kBAAkB;;CAGvC,IAAW,SAAS;AAClB,SAAO,KAAK;;CAGd,MAAa,aAAa;AACxB,MAAI,KAAK,eACP,OAAM,IAAI,WACR,0GACD;AAIH,QAAM,KAAK,kBAAkB,kBAAkB,KAAK,aAAa;AAGjE,QAAM,KAAK,kBAAkB,uBAAuB,KAAK,aAAa;EAGtE,MAAM,uBAAuB,KAAK,kBAAkB,QAAQ,qBAAqB;EACjF,MAAM,oBAAoB,MAAM,qBAAqB,WAAW,KAAK,aAAa;AAClF,OAAK,OAAO,KAAK,oBAAoB,oBAAoB,KAAK,OAAO,aAAa;AAElF,MAAI,CAAC,qBAAqB,KAAK,YAAY,4BAA4B;GACrE,MAAM,kBAAkB,IAAI,gBAAgB,KAAK;AAEjD,SAAM,gBAAgB,YAAY;AAClC,SAAM,gBAAgB,QAAQ;aACrB,CAAC,mBAAmB;GAC7B,MAAM,iBAAiB,MAAM,qBAAqB,yBAAyB,KAAK,aAAa;AAG7F,SAAM,KAAK,kBAAkB,kBAAkB,KAAK,aAAa;AAEjE,SAAM,IAAI,WAER,2LAA2L,eAAe,2BAA2B,gBAAgB,wBAAwB,kDAC9Q;;AAGH,OAAK,iBAAiB;;CAGxB,MAAa,WAAW;AAKtB,EAHc,KAAK,kBAAkB,QAA0B,iBAAiB,MAAM,CAGhF,KAAK,KAAK;AAEhB,QAAM,KAAK,kBAAkB,gBAAgB,KAAK,aAAa;AAC/D,QAAM,KAAK,kBAAkB,kBAAkB,KAAK,aAAa;AAEjE,OAAK,iBAAiB"}
1
+ {"version":3,"file":"Agent.mjs","names":[],"sources":["../../src/agent/Agent.ts"],"sourcesContent":["import { Subject } from 'rxjs'\nimport { InjectionSymbols } from '../constants'\nimport { JwsService } from '../crypto/JwsService'\nimport { CredoError } from '../error'\nimport { DependencyManager } from '../plugins'\nimport { StorageUpdateService, StorageVersionRepository, UpdateAssistant } from '../storage'\nimport type { InitConfig } from '../types'\nimport { AgentConfig } from './AgentConfig'\nimport type { AgentDependencies } from './AgentDependencies'\nimport type { AgentModulesInput } from './AgentModules'\nimport { extendModulesWithDefaultModules } from './AgentModules'\nimport { BaseAgent } from './BaseAgent'\nimport { AgentContext, DefaultAgentContextProvider } from './context'\nimport { EventEmitter } from './EventEmitter'\n\ninterface AgentOptions<AgentModules extends AgentModulesInput> {\n config?: InitConfig\n modules?: AgentModules\n dependencies: AgentDependencies\n}\n\n// Any makes sure you can use Agent as a type without always needing to specify the exact generics for the agent\n// biome-ignore lint/suspicious/noExplicitAny: no explanation\nexport class Agent<AgentModules extends AgentModulesInput = any> extends BaseAgent<AgentModules> {\n public constructor(options: AgentOptions<AgentModules>, dependencyManager = new DependencyManager()) {\n const agentConfig = new AgentConfig(options.config ?? {}, options.dependencies)\n const modulesWithDefaultModules = extendModulesWithDefaultModules(options.modules)\n\n // Register internal dependencies\n dependencyManager.registerSingleton(EventEmitter)\n dependencyManager.registerSingleton(JwsService)\n dependencyManager.registerSingleton(StorageVersionRepository)\n dependencyManager.registerSingleton(StorageUpdateService)\n\n dependencyManager.registerInstance(AgentConfig, agentConfig)\n dependencyManager.registerInstance(InjectionSymbols.AgentDependencies, agentConfig.agentDependencies)\n dependencyManager.registerInstance(InjectionSymbols.Stop$, new Subject<boolean>())\n dependencyManager.registerInstance(InjectionSymbols.FileSystem, new agentConfig.agentDependencies.FileSystem())\n\n // Register all modules. This will also include the default modules\n dependencyManager.registerModules(modulesWithDefaultModules)\n\n if (!dependencyManager.isRegistered(InjectionSymbols.Logger)) {\n dependencyManager.registerInstance(InjectionSymbols.Logger, agentConfig.logger)\n }\n if (!dependencyManager.isRegistered(InjectionSymbols.StorageService)) {\n throw new CredoError(\n \"Missing required dependency: 'StorageService'. You can register it using the AskarModule, DrizzleStorageModule, or implement your own.\"\n )\n }\n\n // TODO: contextCorrelationId for base wallet\n // Bind the default agent context to the container for use in modules etc.\n dependencyManager.registerInstance(\n AgentContext,\n new AgentContext({\n dependencyManager,\n contextCorrelationId: 'default',\n isRootAgentContext: true,\n })\n )\n\n // If no agent context provider has been registered we use the default agent context provider.\n if (!dependencyManager.isRegistered(InjectionSymbols.AgentContextProvider)) {\n dependencyManager.registerSingleton(InjectionSymbols.AgentContextProvider, DefaultAgentContextProvider)\n }\n\n super(agentConfig, dependencyManager)\n }\n\n public get events() {\n return this.eventEmitter\n }\n\n public async initialize() {\n if (this._isInitialized) {\n throw new CredoError(\n 'Agent already initialized. Currently it is not supported to re-initialize an already initialized agent.'\n )\n }\n\n // We first initialize all the modules\n await this.dependencyManager.initializeModules(this.agentContext)\n\n // Then we initialize the root agent context\n await this.dependencyManager.initializeAgentContext(this.agentContext)\n\n // Make sure the storage is up to date\n const storageUpdateService = this.dependencyManager.resolve(StorageUpdateService)\n const isStorageUpToDate = await storageUpdateService.isUpToDate(this.agentContext)\n this.logger.info(`Agent storage is ${isStorageUpToDate ? '' : 'not '}up to date.`)\n\n if (!isStorageUpToDate && this.agentConfig.autoUpdateStorageOnStartup) {\n const updateAssistant = new UpdateAssistant(this)\n\n await updateAssistant.initialize()\n await updateAssistant.update()\n } else if (!isStorageUpToDate) {\n const currentVersion = await storageUpdateService.getCurrentStorageVersion(this.agentContext)\n\n // Close agent context to prevent un-initialized agent with initialized agent context\n await this.dependencyManager.closeAgentContext(this.agentContext)\n\n throw new CredoError(\n // TODO: add link to where documentation on how to update can be found.\n `Current agent storage is not up to date. To prevent the framework state from getting corrupted the agent initialization is aborted. Make sure to update the agent storage (currently at ${currentVersion}) to the latest version (${UpdateAssistant.frameworkStorageVersion}). You can also downgrade your version of Credo.`\n )\n }\n\n this._isInitialized = true\n }\n\n public async shutdown() {\n // TODO: replace stop$, should be replaced by module specific lifecycle methods\n const stop$ = this.dependencyManager.resolve<Subject<boolean>>(InjectionSymbols.Stop$)\n // All observables use takeUntil with the stop$ observable\n // this means all observables will stop running if a value is emitted on this observable\n stop$.next(true)\n\n await this.dependencyManager.shutdownModules(this.agentContext)\n await this.dependencyManager.closeAgentContext(this.agentContext)\n\n this._isInitialized = false\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,IAAa,QAAb,cAAyE,UAAwB;CAC/F,YAAmB,SAAqC,oBAAoB,IAAI,kBAAkB,GAAG;EACnG,MAAM,cAAc,IAAI,YAAY,QAAQ,UAAU,CAAC,GAAG,QAAQ,YAAY;EAC9E,MAAM,4BAA4B,gCAAgC,QAAQ,OAAO;EAGjF,kBAAkB,kBAAkB,YAAY;EAChD,kBAAkB,kBAAkB,UAAU;EAC9C,kBAAkB,kBAAkB,wBAAwB;EAC5D,kBAAkB,kBAAkB,oBAAoB;EAExD,kBAAkB,iBAAiB,aAAa,WAAW;EAC3D,kBAAkB,iBAAiB,iBAAiB,mBAAmB,YAAY,iBAAiB;EACpG,kBAAkB,iBAAiB,iBAAiB,OAAO,IAAI,QAAiB,CAAC;EACjF,kBAAkB,iBAAiB,iBAAiB,YAAY,IAAI,YAAY,kBAAkB,WAAW,CAAC;EAG9G,kBAAkB,gBAAgB,yBAAyB;EAE3D,IAAI,CAAC,kBAAkB,aAAa,iBAAiB,MAAM,GACzD,kBAAkB,iBAAiB,iBAAiB,QAAQ,YAAY,MAAM;EAEhF,IAAI,CAAC,kBAAkB,aAAa,iBAAiB,cAAc,GACjE,MAAM,IAAI,WACR,wIACF;EAKF,kBAAkB,iBAChB,cACA,IAAI,aAAa;GACf;GACA,sBAAsB;GACtB,oBAAoB;EACtB,CAAC,CACH;EAGA,IAAI,CAAC,kBAAkB,aAAa,iBAAiB,oBAAoB,GACvE,kBAAkB,kBAAkB,iBAAiB,sBAAsB,2BAA2B;EAGxG,MAAM,aAAa,iBAAiB;CACtC;CAEA,IAAW,SAAS;EAClB,OAAO,KAAK;CACd;CAEA,MAAa,aAAa;EACxB,IAAI,KAAK,gBACP,MAAM,IAAI,WACR,yGACF;EAIF,MAAM,KAAK,kBAAkB,kBAAkB,KAAK,YAAY;EAGhE,MAAM,KAAK,kBAAkB,uBAAuB,KAAK,YAAY;EAGrE,MAAM,uBAAuB,KAAK,kBAAkB,QAAQ,oBAAoB;EAChF,MAAM,oBAAoB,MAAM,qBAAqB,WAAW,KAAK,YAAY;EACjF,KAAK,OAAO,KAAK,oBAAoB,oBAAoB,KAAK,OAAO,YAAY;EAEjF,IAAI,CAAC,qBAAqB,KAAK,YAAY,4BAA4B;GACrE,MAAM,kBAAkB,IAAI,gBAAgB,IAAI;GAEhD,MAAM,gBAAgB,WAAW;GACjC,MAAM,gBAAgB,OAAO;EAC/B,OAAO,IAAI,CAAC,mBAAmB;GAC7B,MAAM,iBAAiB,MAAM,qBAAqB,yBAAyB,KAAK,YAAY;GAG5F,MAAM,KAAK,kBAAkB,kBAAkB,KAAK,YAAY;GAEhE,MAAM,IAAI,WAER,2LAA2L,eAAe,2BAA2B,gBAAgB,wBAAwB,iDAC/Q;EACF;EAEA,KAAK,iBAAiB;CACxB;CAEA,MAAa,WAAW;EAKtB,KAHmB,kBAAkB,QAA0B,iBAAiB,KAG5E,CAAC,CAAC,KAAK,IAAI;EAEf,MAAM,KAAK,kBAAkB,gBAAgB,KAAK,YAAY;EAC9D,MAAM,KAAK,kBAAkB,kBAAkB,KAAK,YAAY;EAEhE,KAAK,iBAAiB;CACxB;AACF"}
@@ -2,9 +2,8 @@ import { LogLevel, Logger } from "../logger/Logger.mjs";
2
2
  import { InitConfig } from "../types.mjs";
3
3
  import { AgentDependencies } from "./AgentDependencies.mjs";
4
4
  import { GetTrustedIssuersForVerification, VerificationSigner } from "./TrustedIssuersForVerification.mjs";
5
-
6
5
  //#region src/agent/AgentConfig.d.ts
7
- declare class AgentConfig {
6
+ export declare class AgentConfig {
8
7
  #private;
9
8
  private initConfig;
10
9
  logger: Logger;
@@ -26,5 +25,4 @@ declare class AgentConfig {
26
25
  };
27
26
  }
28
27
  //#endregion
29
- export { AgentConfig };
30
28
  //# sourceMappingURL=AgentConfig.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentConfig.d.mts","names":[],"sources":["../../src/agent/AgentConfig.ts"],"mappings":";;;;;;cAMa,WAAA;EAAA;UACH,UAAA;EACD,MAAA,EAAQ,MAAA;EAAA,SACC,iBAAA,EAAmB,iBAAA;cAGhB,UAAA,EAAY,UAAA,EAAY,iBAAA,EAAmB,iBAAA;EAAA,IAUnD,qBAAA,CAAA;EAAA,IAIA,0BAAA,CAAA;EAAA,IAIA,mBAAA,CAAA;EAAA,IAIA,gCAAA,CAAA,GAAgC,gCAAA,CAtBoC,kBAAA;EA0BxE,gCAAA,CAAiC,EAAA,EAAI,UAAA;EAIrC,MAAA,CAAO,MAAA,EAAQ,OAAA,CAAQ,UAAA,IAAc,WAAA;EAIrC,MAAA,CAAA"}
1
+ {"version":3,"file":"AgentConfig.d.mts","names":[],"sources":["../../src/agent/AgentConfig.ts"],"mappings":";;;;;qBAMa;;UACH;EACD,QAAQ;WACC,mBAAmB;EAGhB,YAAA,YAAY,YAAY,mBAAmB;MAUnD;MAIA;MAIA;MAIA,oCAAgC,iCAtBmB;EA0BvD,iCAAiC,IAAI;EAIrC,OAAO,QAAQ,QAAQ,cAAc;EAIrC"}
@@ -1,19 +1,16 @@
1
-
2
-
3
- import { DEFAULT_SKEW_TIME } from "../crypto/jose/jwt/JwtPayload.mjs";
4
- import { LogLevel } from "../logger/Logger.mjs";
1
+ import "../crypto/jose/jwt/JwtPayload.mjs";
2
+ import "../logger/Logger.mjs";
5
3
  import { ConsoleLogger } from "../logger/ConsoleLogger.mjs";
6
- import { _classPrivateFieldInitSpec } from "../_virtual/_@oxc-project_runtime@0.112.0/helpers/classPrivateFieldInitSpec.mjs";
7
- import { _classPrivateFieldGet2 } from "../_virtual/_@oxc-project_runtime@0.112.0/helpers/classPrivateFieldGet2.mjs";
8
- import { _classPrivateFieldSet2 } from "../_virtual/_@oxc-project_runtime@0.112.0/helpers/classPrivateFieldSet2.mjs";
9
-
4
+ import _classPrivateFieldInitSpec from "../_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/classPrivateFieldInitSpec.mjs";
5
+ import _classPrivateFieldGet2 from "../_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/classPrivateFieldGet2.mjs";
6
+ import _classPrivateFieldSet2 from "../_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/classPrivateFieldSet2.mjs";
10
7
  //#region src/agent/AgentConfig.ts
11
8
  var _getTrustedIssuersForVerification = /* @__PURE__ */ new WeakMap();
12
9
  var AgentConfig = class AgentConfig {
13
10
  constructor(initConfig, agentDependencies) {
14
11
  _classPrivateFieldInitSpec(this, _getTrustedIssuersForVerification, void 0);
15
12
  this.initConfig = initConfig;
16
- this.logger = initConfig.logger ?? new ConsoleLogger(LogLevel.Off);
13
+ this.logger = initConfig.logger ?? new ConsoleLogger(7);
17
14
  this.agentDependencies = agentDependencies;
18
15
  if (initConfig?.getTrustedIssuersForVerification) this.setTrustedIssuersForVerification(initConfig.getTrustedIssuersForVerification);
19
16
  }
@@ -24,7 +21,7 @@ var AgentConfig = class AgentConfig {
24
21
  return this.initConfig.autoUpdateStorageOnStartup ?? false;
25
22
  }
26
23
  get validitySkewSeconds() {
27
- return this.initConfig.validitySkewSeconds ?? DEFAULT_SKEW_TIME;
24
+ return this.initConfig.validitySkewSeconds ?? 30;
28
25
  }
29
26
  get getTrustedIssuersForVerification() {
30
27
  return _classPrivateFieldGet2(_getTrustedIssuersForVerification, this);
@@ -47,7 +44,7 @@ var AgentConfig = class AgentConfig {
47
44
  };
48
45
  }
49
46
  };
50
-
51
47
  //#endregion
52
48
  export { AgentConfig };
49
+
53
50
  //# sourceMappingURL=AgentConfig.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentConfig.mjs","names":[],"sources":["../../src/agent/AgentConfig.ts"],"sourcesContent":["import { DEFAULT_SKEW_TIME } from '../crypto/jose/jwt/JwtPayload'\nimport type { Logger } from '../logger'\nimport { ConsoleLogger, LogLevel } from '../logger'\nimport type { InitConfig } from '../types'\nimport type { AgentDependencies } from './AgentDependencies'\n\nexport class AgentConfig {\n private initConfig: InitConfig\n public logger: Logger\n public readonly agentDependencies: AgentDependencies\n #getTrustedIssuersForVerification?: InitConfig['getTrustedIssuersForVerification']\n\n public constructor(initConfig: InitConfig, agentDependencies: AgentDependencies) {\n this.initConfig = initConfig\n this.logger = initConfig.logger ?? new ConsoleLogger(LogLevel.Off)\n this.agentDependencies = agentDependencies\n\n if (initConfig?.getTrustedIssuersForVerification) {\n this.setTrustedIssuersForVerification(initConfig.getTrustedIssuersForVerification)\n }\n }\n\n public get allowInsecureHttpUrls() {\n return this.initConfig.allowInsecureHttpUrls ?? false\n }\n\n public get autoUpdateStorageOnStartup() {\n return this.initConfig.autoUpdateStorageOnStartup ?? false\n }\n\n public get validitySkewSeconds() {\n return this.initConfig.validitySkewSeconds ?? DEFAULT_SKEW_TIME\n }\n\n public get getTrustedIssuersForVerification() {\n return this.#getTrustedIssuersForVerification\n }\n\n public setTrustedIssuersForVerification(fn: InitConfig['getTrustedIssuersForVerification']) {\n this.#getTrustedIssuersForVerification = fn\n }\n\n public extend(config: Partial<InitConfig>): AgentConfig {\n return new AgentConfig({ ...this.initConfig, logger: this.logger, ...config }, this.agentDependencies)\n }\n\n public toJSON() {\n return {\n ...this.initConfig,\n logger: this.logger.logLevel,\n agentDependencies: Boolean(this.agentDependencies),\n }\n }\n}\n"],"mappings":";;;;;;;;;;;AAMA,IAAa,cAAb,MAAa,YAAY;CAMvB,AAAO,YAAY,YAAwB,mBAAsC;;AAC/E,OAAK,aAAa;AAClB,OAAK,SAAS,WAAW,UAAU,IAAI,cAAc,SAAS,IAAI;AAClE,OAAK,oBAAoB;AAEzB,MAAI,YAAY,iCACd,MAAK,iCAAiC,WAAW,iCAAiC;;CAItF,IAAW,wBAAwB;AACjC,SAAO,KAAK,WAAW,yBAAyB;;CAGlD,IAAW,6BAA6B;AACtC,SAAO,KAAK,WAAW,8BAA8B;;CAGvD,IAAW,sBAAsB;AAC/B,SAAO,KAAK,WAAW,uBAAuB;;CAGhD,IAAW,mCAAmC;AAC5C,mEAAO,KAAsC;;CAG/C,AAAO,iCAAiC,IAAoD;AAC1F,kEAAyC,GAAE;;CAG7C,AAAO,OAAO,QAA0C;AACtD,SAAO,IAAI,YAAY;GAAE,GAAG,KAAK;GAAY,QAAQ,KAAK;GAAQ,GAAG;GAAQ,EAAE,KAAK,kBAAkB;;CAGxG,AAAO,SAAS;AACd,SAAO;GACL,GAAG,KAAK;GACR,QAAQ,KAAK,OAAO;GACpB,mBAAmB,QAAQ,KAAK,kBAAkB;GACnD"}
1
+ {"version":3,"file":"AgentConfig.mjs","names":[],"sources":["../../src/agent/AgentConfig.ts"],"sourcesContent":["import { DEFAULT_SKEW_TIME } from '../crypto/jose/jwt/JwtPayload'\nimport type { Logger } from '../logger'\nimport { ConsoleLogger, LogLevel } from '../logger'\nimport type { InitConfig } from '../types'\nimport type { AgentDependencies } from './AgentDependencies'\n\nexport class AgentConfig {\n private initConfig: InitConfig\n public logger: Logger\n public readonly agentDependencies: AgentDependencies\n #getTrustedIssuersForVerification?: InitConfig['getTrustedIssuersForVerification']\n\n public constructor(initConfig: InitConfig, agentDependencies: AgentDependencies) {\n this.initConfig = initConfig\n this.logger = initConfig.logger ?? new ConsoleLogger(LogLevel.Off)\n this.agentDependencies = agentDependencies\n\n if (initConfig?.getTrustedIssuersForVerification) {\n this.setTrustedIssuersForVerification(initConfig.getTrustedIssuersForVerification)\n }\n }\n\n public get allowInsecureHttpUrls() {\n return this.initConfig.allowInsecureHttpUrls ?? false\n }\n\n public get autoUpdateStorageOnStartup() {\n return this.initConfig.autoUpdateStorageOnStartup ?? false\n }\n\n public get validitySkewSeconds() {\n return this.initConfig.validitySkewSeconds ?? DEFAULT_SKEW_TIME\n }\n\n public get getTrustedIssuersForVerification() {\n return this.#getTrustedIssuersForVerification\n }\n\n public setTrustedIssuersForVerification(fn: InitConfig['getTrustedIssuersForVerification']) {\n this.#getTrustedIssuersForVerification = fn\n }\n\n public extend(config: Partial<InitConfig>): AgentConfig {\n return new AgentConfig({ ...this.initConfig, logger: this.logger, ...config }, this.agentDependencies)\n }\n\n public toJSON() {\n return {\n ...this.initConfig,\n logger: this.logger.logLevel,\n agentDependencies: Boolean(this.agentDependencies),\n }\n }\n}\n"],"mappings":";;;;;;;;AAMA,IAAa,cAAb,MAAa,YAAY;CAMvB,YAAmB,YAAwB,mBAAsC;;EAC/E,KAAK,aAAa;EAClB,KAAK,SAAS,WAAW,UAAU,IAAI,cAAA,CAA0B;EACjE,KAAK,oBAAoB;EAEzB,IAAI,YAAY,kCACd,KAAK,iCAAiC,WAAW,gCAAgC;CAErF;CAEA,IAAW,wBAAwB;EACjC,OAAO,KAAK,WAAW,yBAAyB;CAClD;CAEA,IAAW,6BAA6B;EACtC,OAAO,KAAK,WAAW,8BAA8B;CACvD;CAEA,IAAW,sBAAsB;EAC/B,OAAO,KAAK,WAAW,uBAAA;CACzB;CAEA,IAAW,mCAAmC;EAC5C,OAAA,uBAAA,mCAAO,IAAA;CACT;CAEA,iCAAwC,IAAoD;EAC1F,uBAAA,mCAAA,MAAyC,EAAA;CAC3C;CAEA,OAAc,QAA0C;EACtD,OAAO,IAAI,YAAY;GAAE,GAAG,KAAK;GAAY,QAAQ,KAAK;GAAQ,GAAG;EAAO,GAAG,KAAK,iBAAiB;CACvG;CAEA,SAAgB;EACd,OAAO;GACL,GAAG,KAAK;GACR,QAAQ,KAAK,OAAO;GACpB,mBAAmB,QAAQ,KAAK,iBAAiB;EACnD;CACF;AACF"}
@@ -1,9 +1,8 @@
1
1
  import { FileSystem } from "../storage/FileSystem.mjs";
2
2
  import { EventEmitter } from "events";
3
3
  import WebSocket from "ws";
4
-
5
4
  //#region src/agent/AgentDependencies.d.ts
6
- interface AgentDependencies {
5
+ export interface AgentDependencies {
7
6
  FileSystem: {
8
7
  new (): FileSystem;
9
8
  };
@@ -12,5 +11,4 @@ interface AgentDependencies {
12
11
  WebSocketClass: typeof WebSocket;
13
12
  }
14
13
  //#endregion
15
- export { AgentDependencies };
16
14
  //# sourceMappingURL=AgentDependencies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentDependencies.d.mts","names":[],"sources":["../../src/agent/AgentDependencies.ts"],"mappings":";;;;;UAIiB,iBAAA;EACf,UAAA;IAAA,QACU,UAAA;EAAA;EAEV,iBAAA,SAA0B,YAAA;EAC1B,KAAA,SAAc,KAAA;EACd,cAAA,SAAuB,SAAA;AAAA"}
1
+ {"version":3,"file":"AgentDependencies.d.mts","names":[],"sources":["../../src/agent/AgentDependencies.ts"],"mappings":";;;;iBAIiB;EACf;YACU;;EAEV,0BAA0B;EAC1B,cAAc;EACd,uBAAuB"}
@@ -24,28 +24,27 @@ import { W3cDataIntegrityModule } from "../modules/w3c-di/W3cDataIntegrityModule
24
24
  import "../modules/w3c-di/index.mjs";
25
25
  import { Module } from "../plugins/Module.mjs";
26
26
  import "../plugins/index.mjs";
27
-
28
27
  //#region src/agent/AgentModules.d.ts
29
28
  /**
30
29
  * Simple utility type that represent a map of modules. This is used to map from moduleKey (api key) to the api in the framework.
31
30
  */
32
- type ModulesMap = {
31
+ export type ModulesMap = {
33
32
  [key: string]: Module;
34
33
  };
35
- type EmptyModuleMap = {};
34
+ export type EmptyModuleMap = {};
36
35
  /**
37
36
  * Default modules can be optionally defined to provide custom configuration. This type makes it so that it is not
38
37
  * possible to use a different key for the default modules
39
38
  */
40
- type AgentModulesInput = ModulesMap;
39
+ export type AgentModulesInput = ModulesMap;
41
40
  /**
42
41
  * Type that represents the default agent modules. This is the {@link ModulesMap} variant for the default modules in the framework.
43
42
  * It uses the return type of the {@link getDefaultAgentModules} method to automatically infer which modules are always available on
44
43
  * the agent and in the agent. namespace.
45
44
  */
46
- type DefaultAgentModules = { [moduleKey in keyof ReturnType<typeof getDefaultAgentModules>]: ReturnType<ReturnType<typeof getDefaultAgentModules>[moduleKey]> };
47
- type WithoutDefaultModules<Modules extends ModulesMap> = { [moduleKey in Exclude<keyof Modules, keyof DefaultAgentModules>]: Modules[moduleKey] };
48
- type ModuleApiInstance<M extends Module> = M['api'] extends Constructor<unknown> ? InstanceType<M['api']> : undefined;
45
+ export type DefaultAgentModules = { [moduleKey in keyof ReturnType<typeof getDefaultAgentModules>]: ReturnType<ReturnType<typeof getDefaultAgentModules>[moduleKey]>; };
46
+ export type WithoutDefaultModules<Modules extends ModulesMap> = { [moduleKey in Exclude<keyof Modules, keyof DefaultAgentModules>]: Modules[moduleKey]; };
47
+ export type ModuleApiInstance<M extends Module> = M['api'] extends Constructor<unknown> ? InstanceType<M['api']> : undefined;
49
48
  /**
50
49
  * Type that represents the api object of the agent (`agent.xxx`). It will extract all keys of the modules and map this to the
51
50
  * registered {@link Module.api} class instance. If the module does not have an api class registered, the property will be removed
@@ -78,7 +77,7 @@ type ModuleApiInstance<M extends Module> = M['api'] extends Constructor<unknown>
78
77
  *
79
78
  * The `indy` module has been ignored because it doesn't define an api class.
80
79
  */
81
- type AgentApi<Modules extends ModulesMap> = { [moduleKey in keyof Modules as Modules[moduleKey]['api'] extends Constructor<unknown> ? moduleKey : never]: ModuleApiInstance<Modules[moduleKey]> };
80
+ export type AgentApi<Modules extends ModulesMap> = { [moduleKey in keyof Modules as Modules[moduleKey]['api'] extends Constructor<unknown> ? moduleKey : never]: ModuleApiInstance<Modules[moduleKey]>; };
82
81
  /**
83
82
  * Method to get the default agent modules to be registered on any agent instance. It doens't configure the modules in any way,
84
83
  * and if that's needed the user needs to provide the module in the agent constructor
@@ -98,12 +97,5 @@ declare function getDefaultAgentModules(): {
98
97
  readonly kms: () => KeyManagementModule;
99
98
  readonly tokenStatusList: () => TokenStatusListModule;
100
99
  };
101
- /**
102
- * Extend the provided modules object with the default agent modules. If the modules property already contains a module with the same
103
- * name as a default module, the module won't be added to the extended module object. This allows users of the framework to override
104
- * the modules with custom configuration. The agent constructor type ensures you can't provide a different module for a key that registered
105
- * on the default agent.
106
- */
107
100
  //#endregion
108
- export { AgentApi, AgentModulesInput, DefaultAgentModules, EmptyModuleMap, ModuleApiInstance, ModulesMap, WithoutDefaultModules };
109
101
  //# sourceMappingURL=AgentModules.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentModules.d.mts","names":[],"sources":["../../src/agent/AgentModules.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmBY,UAAA;EAAA,CAAgB,GAAA,WAAc,MAAA;AAAA;AAAA,KAG9B,cAAA;;;;;KAMA,iBAAA,GAAoB,UAAA;;;;AAThC;;KAgBY,mBAAA,yBACU,UAAA,QAAkB,sBAAA,IAA0B,UAAA,CAC9D,UAAA,QAAkB,sBAAA,EAAwB,SAAA;AAAA,KAIlC,qBAAA,iBAAsC,UAAA,oBAClC,OAAA,OAAc,OAAA,QAAe,mBAAA,IAAuB,OAAA,CAAQ,SAAA;AAAA,KAGhE,iBAAA,WAA4B,MAAA,IACtC,CAAA,gBAAiB,WAAA,YAAuB,YAAA,CAAa,CAAA;;AAlBvD;;;;;AAOA;;;;;;;;;;;;;;;;;;;;AAMA;;;;;;KAuCY,QAAA,iBAAyB,UAAA,0BACf,OAAA,IAAW,OAAA,CAAQ,SAAA,iBAA0B,WAAA,YAC7D,SAAA,WACQ,iBAAA,CAAkB,OAAA,CAAQ,SAAA;;;;;iBAsB/B,sBAAA,CAAA;EAAA;;;;;;;;;;;;;;;;;;AAzBT"}
1
+ {"version":3,"file":"AgentModules.d.mts","names":[],"sources":["../../src/agent/AgentModules.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAmBY;GAAgB,cAAc;;YAG9B;;;;;YAMA,oBAAoB;;;;;;YAOpB,yBACT,mBAAmB,kBAAkB,0BAA0B,WAC9D,kBAAkB,wBAAwB;YAIlC,sBAAsB,gBAAgB,iBAC/C,aAAa,cAAc,eAAe,uBAAuB,QAAQ;YAGhE,kBAAkB,UAAU,UACtC,iBAAiB,uBAAuB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAkC3C,SAAS,gBAAgB,iBAClC,mBAAmB,WAAW,QAAQ,0BAA0B,uBAC7D,oBACQ,kBAAkB,QAAQ;;;;;iBAsB/B"}
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import { KeyManagementModule } from "../modules/kms/KeyManagementModule.mjs";
4
2
  import "../modules/kms/index.mjs";
5
3
  import { SingleContextStorageLruCache } from "../modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs";
@@ -23,7 +21,6 @@ import "../modules/generic-records/index.mjs";
23
21
  import { TokenStatusListModule } from "../modules/token-status-list/TokenStatusListModule.mjs";
24
22
  import { W3cDataIntegrityModule } from "../modules/w3c-di/W3cDataIntegrityModule.mjs";
25
23
  import "../modules/w3c-di/index.mjs";
26
-
27
24
  //#region src/agent/AgentModules.ts
28
25
  /**
29
26
  * Method to get the default agent modules to be registered on any agent instance. It doens't configure the modules in any way,
@@ -105,7 +102,7 @@ function getAgentApi(dependencyManager, excludedApis = []) {
105
102
  };
106
103
  }, {});
107
104
  }
108
-
109
105
  //#endregion
110
106
  export { extendModulesWithDefaultModules, getAgentApi };
107
+
111
108
  //# sourceMappingURL=AgentModules.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"AgentModules.mjs","names":[],"sources":["../../src/agent/AgentModules.ts"],"sourcesContent":["import { CacheModule, SingleContextStorageLruCache } from '../modules/cache'\nimport { DcqlModule } from '../modules/dcql/DcqlModule'\nimport { DidsModule } from '../modules/dids'\nimport { DifPresentationExchangeModule } from '../modules/dif-presentation-exchange'\nimport { GenericRecordsModule } from '../modules/generic-records'\nimport { KeyManagementModule } from '../modules/kms'\nimport { MdocModule } from '../modules/mdoc/MdocModule'\nimport { SdJwtVcModule } from '../modules/sd-jwt-vc'\nimport { TokenStatusListModule } from '../modules/token-status-list/TokenStatusListModule'\nimport { W3cCredentialsModule, W3cV2CredentialsModule } from '../modules/vc'\nimport { W3cDataIntegrityModule } from '../modules/w3c-di'\nimport { X509Module } from '../modules/x509'\nimport type { ApiModule, DependencyManager, Module } from '../plugins'\nimport type { IsAny } from '../types'\nimport type { Constructor } from '../utils/mixins'\n\n/**\n * Simple utility type that represent a map of modules. This is used to map from moduleKey (api key) to the api in the framework.\n */\nexport type ModulesMap = { [key: string]: Module }\n\n// biome-ignore lint/complexity/noBannedTypes: no explanation\nexport type EmptyModuleMap = {}\n\n/**\n * Default modules can be optionally defined to provide custom configuration. This type makes it so that it is not\n * possible to use a different key for the default modules\n */\nexport type AgentModulesInput = ModulesMap\n\n/**\n * Type that represents the default agent modules. This is the {@link ModulesMap} variant for the default modules in the framework.\n * It uses the return type of the {@link getDefaultAgentModules} method to automatically infer which modules are always available on\n * the agent and in the agent. namespace.\n */\nexport type DefaultAgentModules = {\n [moduleKey in keyof ReturnType<typeof getDefaultAgentModules>]: ReturnType<\n ReturnType<typeof getDefaultAgentModules>[moduleKey]\n >\n}\n\nexport type WithoutDefaultModules<Modules extends ModulesMap> = {\n [moduleKey in Exclude<keyof Modules, keyof DefaultAgentModules>]: Modules[moduleKey]\n}\n\nexport type ModuleApiInstance<M extends Module> =\n M['api'] extends Constructor<unknown> ? InstanceType<M['api']> : undefined\n\n/**\n * Type that represents the api object of the agent (`agent.xxx`). It will extract all keys of the modules and map this to the\n * registered {@link Module.api} class instance. If the module does not have an api class registered, the property will be removed\n * and won't be available on the api object.\n *\n * @example\n * If the following AgentModules type was passed:\n * ```ts\n * {\n * connections: DidCommConnectionsModule\n * indy: IndyModule\n * }\n * ```\n *\n * And we use the `AgentApi` type like this:\n * ```ts\n * type MyAgentApi = AgentApi<{\n * connections: DidCommConnectionsModule\n * indy: IndyModule\n * }>\n * ```\n *\n * the resulting agent api will look like:\n *\n * ```ts\n * {\n * connections: ConnectionsApi\n * }\n * ```\n *\n * The `indy` module has been ignored because it doesn't define an api class.\n */\nexport type AgentApi<Modules extends ModulesMap> = {\n [moduleKey in keyof Modules as Modules[moduleKey]['api'] extends Constructor<unknown>\n ? moduleKey\n : never]: ModuleApiInstance<Modules[moduleKey]>\n}\n\n/**\n * Returns the `api` type from the CustomModuleType if the module is an ApiModule. If the module is not defined\n * which is the case if you don't configure a default agent module (e.g. credentials module), it will use the default\n * module type and use that for the typing. This will contain the default typing, and thus provide the correct agent api\n * interface\n */\nexport type CustomOrDefaultApi<CustomModuleType, DefaultModuleType extends ApiModule> =\n IsAny<CustomModuleType> extends true\n ? InstanceType<DefaultModuleType['api']>\n : CustomModuleType extends ApiModule\n ? InstanceType<CustomModuleType['api']>\n : CustomModuleType extends Module\n ? never\n : InstanceType<DefaultModuleType['api']>\n\n/**\n * Method to get the default agent modules to be registered on any agent instance. It doens't configure the modules in any way,\n * and if that's needed the user needs to provide the module in the agent constructor\n */\nfunction getDefaultAgentModules() {\n return {\n dcql: () => new DcqlModule(),\n genericRecords: () => new GenericRecordsModule(),\n dids: () => new DidsModule(),\n w3cCredentials: () => new W3cCredentialsModule(),\n w3cV2Credentials: () => new W3cV2CredentialsModule(),\n w3cDataIntegrity: () => new W3cDataIntegrityModule(),\n cache: () => new CacheModule({ cache: new SingleContextStorageLruCache({ limit: 500 }) }),\n pex: () => new DifPresentationExchangeModule(),\n sdJwtVc: () => new SdJwtVcModule(),\n x509: () => new X509Module(),\n mdoc: () => new MdocModule(),\n kms: () => new KeyManagementModule({}),\n tokenStatusList: () => new TokenStatusListModule(),\n } as const\n}\n\n/**\n * Extend the provided modules object with the default agent modules. If the modules property already contains a module with the same\n * name as a default module, the module won't be added to the extended module object. This allows users of the framework to override\n * the modules with custom configuration. The agent constructor type ensures you can't provide a different module for a key that registered\n * on the default agent.\n */\nexport function extendModulesWithDefaultModules<AgentModules extends AgentModulesInput>(\n modules?: AgentModules\n): AgentModules & DefaultAgentModules {\n const defaultAgentModules = getDefaultAgentModules()\n const defaultAgentModuleKeys = Object.keys(defaultAgentModules)\n\n const defaultModules: Array<[string, Module]> = []\n const customModules: Array<[string, Module]> = Object.entries(modules ?? {}).filter(\n ([key]) => !defaultAgentModuleKeys.includes(key)\n )\n\n // Register all default modules, if not registered yet\n for (const [moduleKey, getConfiguredModule] of Object.entries(defaultAgentModules)) {\n // Prefer user-registered module, otherwise initialize the default module\n defaultModules.push([moduleKey, modules?.[moduleKey] ?? getConfiguredModule()])\n }\n\n return Object.fromEntries([...defaultModules, ...customModules]) as AgentModules & DefaultAgentModules\n}\n\n/**\n * Get the agent api object based on the modules registered in the dependency manager. For each registered module on the\n * dependency manager, the method will extract the api class from the module, resolve it and assign it to the module key\n * as provided in the agent constructor (or the {@link getDefaultAgentModules} method).\n *\n * Modules that don't have an api class defined ({@link Module.api} is undefined) will be ignored and won't be added to the\n * api object.\n *\n * If the api of a module is passed in the `excluded` array, the api will not be added to the resulting api object.\n *\n * @example\n * If the dependency manager has the following modules configured:\n * ```ts\n * {\n * connections: DidCommConnectionsModule\n * indy: IndyModule\n * }\n * ```\n *\n * And we call the `getAgentApi` method like this:\n * ```ts\n * const api = getAgentApi(dependencyManager)\n * ```\n *\n * the resulting agent api will look like:\n *\n * ```ts\n * {\n * connections: ConnectionsApi\n * }\n * ```\n *\n * The `indy` module has been ignored because it doesn't define an api class.\n */\nexport function getAgentApi<AgentModules extends ModulesMap>(\n dependencyManager: DependencyManager,\n excludedApis: unknown[] = []\n): AgentApi<AgentModules> {\n // Create the api object based on the `api` properties on the modules. If no `api` exists\n // on the module it will be ignored.\n const api = Object.entries(dependencyManager.registeredModules).reduce((api, [moduleKey, module]) => {\n // Module has no api\n if (!module.api) return api\n\n const apiInstance = dependencyManager.resolve(module.api)\n\n // Api is excluded\n if (excludedApis.includes(apiInstance)) return api\n // biome-ignore lint/performance/noAccumulatingSpread: no explanation\n return { ...api, [moduleKey]: apiInstance }\n }, {}) as AgentApi<AgentModules>\n\n return api\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGA,SAAS,yBAAyB;AAChC,QAAO;EACL,YAAY,IAAI,YAAY;EAC5B,sBAAsB,IAAI,sBAAsB;EAChD,YAAY,IAAI,YAAY;EAC5B,sBAAsB,IAAI,sBAAsB;EAChD,wBAAwB,IAAI,wBAAwB;EACpD,wBAAwB,IAAI,wBAAwB;EACpD,aAAa,IAAI,YAAY,EAAE,OAAO,IAAI,6BAA6B,EAAE,OAAO,KAAK,CAAC,EAAE,CAAC;EACzF,WAAW,IAAI,+BAA+B;EAC9C,eAAe,IAAI,eAAe;EAClC,YAAY,IAAI,YAAY;EAC5B,YAAY,IAAI,YAAY;EAC5B,WAAW,IAAI,oBAAoB,EAAE,CAAC;EACtC,uBAAuB,IAAI,uBAAuB;EACnD;;;;;;;;AASH,SAAgB,gCACd,SACoC;CACpC,MAAM,sBAAsB,wBAAwB;CACpD,MAAM,yBAAyB,OAAO,KAAK,oBAAoB;CAE/D,MAAM,iBAA0C,EAAE;CAClD,MAAM,gBAAyC,OAAO,QAAQ,WAAW,EAAE,CAAC,CAAC,QAC1E,CAAC,SAAS,CAAC,uBAAuB,SAAS,IAAI,CACjD;AAGD,MAAK,MAAM,CAAC,WAAW,wBAAwB,OAAO,QAAQ,oBAAoB,CAEhF,gBAAe,KAAK,CAAC,WAAW,UAAU,cAAc,qBAAqB,CAAC,CAAC;AAGjF,QAAO,OAAO,YAAY,CAAC,GAAG,gBAAgB,GAAG,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqClE,SAAgB,YACd,mBACA,eAA0B,EAAE,EACJ;AAexB,QAZY,OAAO,QAAQ,kBAAkB,kBAAkB,CAAC,QAAQ,KAAK,CAAC,WAAW,YAAY;AAEnG,MAAI,CAAC,OAAO,IAAK,QAAO;EAExB,MAAM,cAAc,kBAAkB,QAAQ,OAAO,IAAI;AAGzD,MAAI,aAAa,SAAS,YAAY,CAAE,QAAO;AAE/C,SAAO;GAAE,GAAG;IAAM,YAAY;GAAa;IAC1C,EAAE,CAAC"}
1
+ {"version":3,"file":"AgentModules.mjs","names":[],"sources":["../../src/agent/AgentModules.ts"],"sourcesContent":["import { CacheModule, SingleContextStorageLruCache } from '../modules/cache'\nimport { DcqlModule } from '../modules/dcql/DcqlModule'\nimport { DidsModule } from '../modules/dids'\nimport { DifPresentationExchangeModule } from '../modules/dif-presentation-exchange'\nimport { GenericRecordsModule } from '../modules/generic-records'\nimport { KeyManagementModule } from '../modules/kms'\nimport { MdocModule } from '../modules/mdoc/MdocModule'\nimport { SdJwtVcModule } from '../modules/sd-jwt-vc'\nimport { TokenStatusListModule } from '../modules/token-status-list/TokenStatusListModule'\nimport { W3cCredentialsModule, W3cV2CredentialsModule } from '../modules/vc'\nimport { W3cDataIntegrityModule } from '../modules/w3c-di'\nimport { X509Module } from '../modules/x509'\nimport type { ApiModule, DependencyManager, Module } from '../plugins'\nimport type { IsAny } from '../types'\nimport type { Constructor } from '../utils/mixins'\n\n/**\n * Simple utility type that represent a map of modules. This is used to map from moduleKey (api key) to the api in the framework.\n */\nexport type ModulesMap = { [key: string]: Module }\n\n// biome-ignore lint/complexity/noBannedTypes: no explanation\nexport type EmptyModuleMap = {}\n\n/**\n * Default modules can be optionally defined to provide custom configuration. This type makes it so that it is not\n * possible to use a different key for the default modules\n */\nexport type AgentModulesInput = ModulesMap\n\n/**\n * Type that represents the default agent modules. This is the {@link ModulesMap} variant for the default modules in the framework.\n * It uses the return type of the {@link getDefaultAgentModules} method to automatically infer which modules are always available on\n * the agent and in the agent. namespace.\n */\nexport type DefaultAgentModules = {\n [moduleKey in keyof ReturnType<typeof getDefaultAgentModules>]: ReturnType<\n ReturnType<typeof getDefaultAgentModules>[moduleKey]\n >\n}\n\nexport type WithoutDefaultModules<Modules extends ModulesMap> = {\n [moduleKey in Exclude<keyof Modules, keyof DefaultAgentModules>]: Modules[moduleKey]\n}\n\nexport type ModuleApiInstance<M extends Module> =\n M['api'] extends Constructor<unknown> ? InstanceType<M['api']> : undefined\n\n/**\n * Type that represents the api object of the agent (`agent.xxx`). It will extract all keys of the modules and map this to the\n * registered {@link Module.api} class instance. If the module does not have an api class registered, the property will be removed\n * and won't be available on the api object.\n *\n * @example\n * If the following AgentModules type was passed:\n * ```ts\n * {\n * connections: DidCommConnectionsModule\n * indy: IndyModule\n * }\n * ```\n *\n * And we use the `AgentApi` type like this:\n * ```ts\n * type MyAgentApi = AgentApi<{\n * connections: DidCommConnectionsModule\n * indy: IndyModule\n * }>\n * ```\n *\n * the resulting agent api will look like:\n *\n * ```ts\n * {\n * connections: ConnectionsApi\n * }\n * ```\n *\n * The `indy` module has been ignored because it doesn't define an api class.\n */\nexport type AgentApi<Modules extends ModulesMap> = {\n [moduleKey in keyof Modules as Modules[moduleKey]['api'] extends Constructor<unknown>\n ? moduleKey\n : never]: ModuleApiInstance<Modules[moduleKey]>\n}\n\n/**\n * Returns the `api` type from the CustomModuleType if the module is an ApiModule. If the module is not defined\n * which is the case if you don't configure a default agent module (e.g. credentials module), it will use the default\n * module type and use that for the typing. This will contain the default typing, and thus provide the correct agent api\n * interface\n */\nexport type CustomOrDefaultApi<CustomModuleType, DefaultModuleType extends ApiModule> =\n IsAny<CustomModuleType> extends true\n ? InstanceType<DefaultModuleType['api']>\n : CustomModuleType extends ApiModule\n ? InstanceType<CustomModuleType['api']>\n : CustomModuleType extends Module\n ? never\n : InstanceType<DefaultModuleType['api']>\n\n/**\n * Method to get the default agent modules to be registered on any agent instance. It doens't configure the modules in any way,\n * and if that's needed the user needs to provide the module in the agent constructor\n */\nfunction getDefaultAgentModules() {\n return {\n dcql: () => new DcqlModule(),\n genericRecords: () => new GenericRecordsModule(),\n dids: () => new DidsModule(),\n w3cCredentials: () => new W3cCredentialsModule(),\n w3cV2Credentials: () => new W3cV2CredentialsModule(),\n w3cDataIntegrity: () => new W3cDataIntegrityModule(),\n cache: () => new CacheModule({ cache: new SingleContextStorageLruCache({ limit: 500 }) }),\n pex: () => new DifPresentationExchangeModule(),\n sdJwtVc: () => new SdJwtVcModule(),\n x509: () => new X509Module(),\n mdoc: () => new MdocModule(),\n kms: () => new KeyManagementModule({}),\n tokenStatusList: () => new TokenStatusListModule(),\n } as const\n}\n\n/**\n * Extend the provided modules object with the default agent modules. If the modules property already contains a module with the same\n * name as a default module, the module won't be added to the extended module object. This allows users of the framework to override\n * the modules with custom configuration. The agent constructor type ensures you can't provide a different module for a key that registered\n * on the default agent.\n */\nexport function extendModulesWithDefaultModules<AgentModules extends AgentModulesInput>(\n modules?: AgentModules\n): AgentModules & DefaultAgentModules {\n const defaultAgentModules = getDefaultAgentModules()\n const defaultAgentModuleKeys = Object.keys(defaultAgentModules)\n\n const defaultModules: Array<[string, Module]> = []\n const customModules: Array<[string, Module]> = Object.entries(modules ?? {}).filter(\n ([key]) => !defaultAgentModuleKeys.includes(key)\n )\n\n // Register all default modules, if not registered yet\n for (const [moduleKey, getConfiguredModule] of Object.entries(defaultAgentModules)) {\n // Prefer user-registered module, otherwise initialize the default module\n defaultModules.push([moduleKey, modules?.[moduleKey] ?? getConfiguredModule()])\n }\n\n return Object.fromEntries([...defaultModules, ...customModules]) as AgentModules & DefaultAgentModules\n}\n\n/**\n * Get the agent api object based on the modules registered in the dependency manager. For each registered module on the\n * dependency manager, the method will extract the api class from the module, resolve it and assign it to the module key\n * as provided in the agent constructor (or the {@link getDefaultAgentModules} method).\n *\n * Modules that don't have an api class defined ({@link Module.api} is undefined) will be ignored and won't be added to the\n * api object.\n *\n * If the api of a module is passed in the `excluded` array, the api will not be added to the resulting api object.\n *\n * @example\n * If the dependency manager has the following modules configured:\n * ```ts\n * {\n * connections: DidCommConnectionsModule\n * indy: IndyModule\n * }\n * ```\n *\n * And we call the `getAgentApi` method like this:\n * ```ts\n * const api = getAgentApi(dependencyManager)\n * ```\n *\n * the resulting agent api will look like:\n *\n * ```ts\n * {\n * connections: ConnectionsApi\n * }\n * ```\n *\n * The `indy` module has been ignored because it doesn't define an api class.\n */\nexport function getAgentApi<AgentModules extends ModulesMap>(\n dependencyManager: DependencyManager,\n excludedApis: unknown[] = []\n): AgentApi<AgentModules> {\n // Create the api object based on the `api` properties on the modules. If no `api` exists\n // on the module it will be ignored.\n const api = Object.entries(dependencyManager.registeredModules).reduce((api, [moduleKey, module]) => {\n // Module has no api\n if (!module.api) return api\n\n const apiInstance = dependencyManager.resolve(module.api)\n\n // Api is excluded\n if (excludedApis.includes(apiInstance)) return api\n // biome-ignore lint/performance/noAccumulatingSpread: no explanation\n return { ...api, [moduleKey]: apiInstance }\n }, {}) as AgentApi<AgentModules>\n\n return api\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGA,SAAS,yBAAyB;CAChC,OAAO;EACL,YAAY,IAAI,WAAW;EAC3B,sBAAsB,IAAI,qBAAqB;EAC/C,YAAY,IAAI,WAAW;EAC3B,sBAAsB,IAAI,qBAAqB;EAC/C,wBAAwB,IAAI,uBAAuB;EACnD,wBAAwB,IAAI,uBAAuB;EACnD,aAAa,IAAI,YAAY,EAAE,OAAO,IAAI,6BAA6B,EAAE,OAAO,IAAI,CAAC,EAAE,CAAC;EACxF,WAAW,IAAI,8BAA8B;EAC7C,eAAe,IAAI,cAAc;EACjC,YAAY,IAAI,WAAW;EAC3B,YAAY,IAAI,WAAW;EAC3B,WAAW,IAAI,oBAAoB,CAAC,CAAC;EACrC,uBAAuB,IAAI,sBAAsB;CACnD;AACF;;;;;;;AAQA,SAAgB,gCACd,SACoC;CACpC,MAAM,sBAAsB,uBAAuB;CACnD,MAAM,yBAAyB,OAAO,KAAK,mBAAmB;CAE9D,MAAM,iBAA0C,CAAC;CACjD,MAAM,gBAAyC,OAAO,QAAQ,WAAW,CAAC,CAAC,CAAC,CAAC,QAC1E,CAAC,SAAS,CAAC,uBAAuB,SAAS,GAAG,CACjD;CAGA,KAAK,MAAM,CAAC,WAAW,wBAAwB,OAAO,QAAQ,mBAAmB,GAE/E,eAAe,KAAK,CAAC,WAAW,UAAU,cAAc,oBAAoB,CAAC,CAAC;CAGhF,OAAO,OAAO,YAAY,CAAC,GAAG,gBAAgB,GAAG,aAAa,CAAC;AACjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,SAAgB,YACd,mBACA,eAA0B,CAAC,GACH;CAexB,OAZY,OAAO,QAAQ,kBAAkB,iBAAiB,CAAC,CAAC,QAAQ,KAAK,CAAC,WAAW,YAAY;EAEnG,IAAI,CAAC,OAAO,KAAK,OAAO;EAExB,MAAM,cAAc,kBAAkB,QAAQ,OAAO,GAAG;EAGxD,IAAI,aAAa,SAAS,WAAW,GAAG,OAAO;EAE/C,OAAO;GAAE,GAAG;IAAM,YAAY;EAAY;CAC5C,GAAG,CAAC,CAEK;AACX"}
@@ -26,9 +26,8 @@ import { Module } from "../plugins/Module.mjs";
26
26
  import "../plugins/index.mjs";
27
27
  import { AgentContext } from "./context/AgentContext.mjs";
28
28
  import "./context/index.mjs";
29
-
30
29
  //#region src/agent/BaseAgent.d.ts
31
- declare abstract class BaseAgent<AgentModules extends ModulesMap = EmptyModuleMap> {
30
+ export declare abstract class BaseAgent<AgentModules extends ModulesMap = EmptyModuleMap> {
32
31
  protected agentConfig: AgentConfig;
33
32
  readonly dependencyManager: DependencyManager;
34
33
  protected logger: Logger;
@@ -57,5 +56,4 @@ declare abstract class BaseAgent<AgentModules extends ModulesMap = EmptyModuleMa
57
56
  get context(): AgentContext;
58
57
  }
59
58
  //#endregion
60
- export { BaseAgent };
61
59
  //# sourceMappingURL=BaseAgent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseAgent.d.mts","names":[],"sources":["../../src/agent/BaseAgent.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmBsB,SAAA,sBAA+B,UAAA,GAAa,cAAA;EAAA,UAkCpD,WAAA,EAAa,WAAA;EAAA,SACP,iBAAA,EAAmB,iBAAA;EAAA,UAlC3B,MAAA,EAAQ,MAAA;EAAA,UACR,YAAA,EAAc,YAAA;EAAA,UACd,cAAA;EAAA,UACA,YAAA,EAAc,YAAA;EAAA,SAER,IAAA,EAAM,OAAA;EAAA,SACN,cAAA,EAAgB,iBAAA;EAAA,SAChB,IAAA,EAAM,OAAA;EAAA,SACN,gBAAA,EAAkB,mBAAA;EAAA,SAClB,cAAA,EAAgB,iBAAA;EAAA,SAChB,gBAAA,EAAkB,mBAAA;EAAA,SAClB,OAAA,EAAS,UAAA;EAAA,SACT,IAAA,EAAM,OAAA;EAAA,SACN,GAAA,EAAK,gBAAA;EAAA,SACL,eAAA,EAAiB,kBAAA;EAfJ;;;EAAA,SAoBb,OAAA,EAAS,YAAA,oBAAgC,MAAA,GACrD,iBAAA,CAAkB,YAAA;EAAA,SAMN,SAAA,EAAW,YAAA,sBAAkC,MAAA,GACzD,iBAAA,CAAkB,YAAA;EAAA,SAGN,OAAA,EAAS,QAAA,CAAS,qBAAA,CAAsB,YAAA;cAG5C,WAAA,EAAa,WAAA,EACP,iBAAA,EAAmB,iBAAA;EAAA,IA4C1B,aAAA,CAAA;EAAA,IAIA,MAAA,CAAA,GAAM,WAAA;EAAA,IAIN,OAAA,CAAA,GAAO,YAAA;AAAA"}
1
+ {"version":3,"file":"BaseAgent.d.mts","names":[],"sources":["../../src/agent/BaseAgent.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAmBsB,UAAU,qBAAqB,aAAa;YAkCpD,aAAa;WACP,mBAAmB;YAlC3B,QAAQ;YACR,cAAc;YACd;YACA,cAAc;WAER,MAAM;WACN,gBAAgB;WAChB,MAAM;WACN,kBAAkB;WAClB,gBAAgB;WAChB,kBAAkB;WAClB,SAAS;WACT,MAAM;WACN,KAAK;WACL,iBAAiB;;;;WAKjB,SAAS,gCAAgC,SACrD,kBAAkB;WAMN,WAAW,kCAAkC,SACzD,kBAAkB;WAGN,SAAS,SAAS,sBAAsB;EAG5C,YAAA,aAAa,aACP,mBAAmB;MA4C1B;MAIA,UAAM;MAIN,WAAO"}
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  import { AgentContext } from "./context/AgentContext.mjs";
4
2
  import "./context/index.mjs";
5
3
  import { KeyManagementApi } from "../modules/kms/KeyManagementApi.mjs";
@@ -23,7 +21,6 @@ import { TokenStatusListApi } from "../modules/token-status-list/TokenStatusList
23
21
  import "../modules/w3c-di/index.mjs";
24
22
  import { getAgentApi } from "./AgentModules.mjs";
25
23
  import "../modules/token-status-list/index.mjs";
26
-
27
24
  //#region src/agent/BaseAgent.ts
28
25
  var BaseAgent = class {
29
26
  constructor(agentConfig, dependencyManager) {
@@ -70,7 +67,7 @@ var BaseAgent = class {
70
67
  return this.agentContext;
71
68
  }
72
69
  };
73
-
74
70
  //#endregion
75
71
  export { BaseAgent };
72
+
76
73
  //# sourceMappingURL=BaseAgent.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseAgent.mjs","names":[],"sources":["../../src/agent/BaseAgent.ts"],"sourcesContent":["import type { Logger } from '../logger'\nimport { DidsApi } from '../modules/dids'\nimport { GenericRecordsApi } from '../modules/generic-records'\nimport { KeyManagementApi } from '../modules/kms'\nimport { MdocApi } from '../modules/mdoc'\nimport { SdJwtVcApi } from '../modules/sd-jwt-vc'\nimport { TokenStatusListApi } from '../modules/token-status-list'\nimport { W3cV2CredentialsApi } from '../modules/vc'\nimport { W3cCredentialsApi } from '../modules/vc/W3cCredentialsApi'\nimport { W3cDataIntegrityApi } from '../modules/w3c-di'\nimport { X509Api } from '../modules/x509'\nimport type { DependencyManager, Module } from '../plugins'\nimport type { AgentConfig } from './AgentConfig'\nimport type { AgentApi, EmptyModuleMap, ModuleApiInstance, ModulesMap, WithoutDefaultModules } from './AgentModules'\n\nimport { getAgentApi } from './AgentModules'\nimport { AgentContext } from './context'\nimport { EventEmitter } from './EventEmitter'\n\nexport abstract class BaseAgent<AgentModules extends ModulesMap = EmptyModuleMap> {\n protected logger: Logger\n protected eventEmitter: EventEmitter\n protected _isInitialized = false\n protected agentContext: AgentContext\n\n public readonly mdoc: MdocApi\n public readonly genericRecords: GenericRecordsApi\n public readonly dids: DidsApi\n public readonly w3cDataIntegrity: W3cDataIntegrityApi\n public readonly w3cCredentials: W3cCredentialsApi\n public readonly w3cV2Credentials: W3cV2CredentialsApi\n public readonly sdJwtVc: SdJwtVcApi\n public readonly x509: X509Api\n public readonly kms: KeyManagementApi\n public readonly tokenStatusList: TokenStatusListApi\n\n /**\n * The DIDComm module, only available if the didcomm module is registered\n */\n public readonly didcomm: AgentModules['didcomm'] extends Module\n ? ModuleApiInstance<AgentModules['didcomm']>\n : undefined\n\n /*\n * The OpenID4VC module, only available if the openid4vc module is registered\n */\n public readonly openid4vc: AgentModules['openid4vc'] extends Module\n ? ModuleApiInstance<AgentModules['openid4vc']>\n : undefined\n\n public readonly modules: AgentApi<WithoutDefaultModules<AgentModules>>\n\n public constructor(\n protected agentConfig: AgentConfig,\n public readonly dependencyManager: DependencyManager\n ) {\n this.logger = this.agentConfig.logger\n\n this.logger.info('Creating agent with config', {\n agentConfig: agentConfig.toJSON(),\n })\n\n // Resolve instances after everything is registered\n this.eventEmitter = this.dependencyManager.resolve(EventEmitter)\n this.agentContext = this.dependencyManager.resolve(AgentContext)\n\n this.genericRecords = this.dependencyManager.resolve(GenericRecordsApi)\n this.dids = this.dependencyManager.resolve(DidsApi)\n this.w3cDataIntegrity = this.dependencyManager.resolve(W3cDataIntegrityApi)\n this.w3cCredentials = this.dependencyManager.resolve(W3cCredentialsApi)\n this.w3cV2Credentials = this.dependencyManager.resolve(W3cV2CredentialsApi)\n this.sdJwtVc = this.dependencyManager.resolve(SdJwtVcApi)\n this.x509 = this.dependencyManager.resolve(X509Api)\n this.mdoc = this.dependencyManager.resolve(MdocApi)\n this.kms = this.dependencyManager.resolve(KeyManagementApi)\n this.tokenStatusList = this.dependencyManager.resolve(TokenStatusListApi)\n\n const defaultApis = [\n this.genericRecords,\n this.dids,\n this.w3cDataIntegrity,\n this.w3cCredentials,\n this.w3cV2Credentials,\n this.sdJwtVc,\n this.x509,\n this.mdoc,\n this.kms,\n this.tokenStatusList,\n ]\n\n // Set the api of the registered modules on the agent, excluding the default apis\n this.modules = getAgentApi(this.dependencyManager, defaultApis)\n\n // Special case for DIDComm and OpenID4vc modules, to expose it on the top-level of the agent.\n this.didcomm = ('didcomm' in this.modules ? this.modules.didcomm : undefined) as this['didcomm']\n this.openid4vc = ('openid4vc' in this.modules ? this.modules.openid4vc : undefined) as this['openid4vc']\n }\n\n public get isInitialized() {\n return this._isInitialized\n }\n\n public get config() {\n return this.agentConfig\n }\n\n public get context() {\n return this.agentContext\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,IAAsB,YAAtB,MAAkF;CAiChF,AAAO,YACL,AAAU,aACV,AAAgB,mBAChB;EAFU;EACM;OAhCR,iBAAiB;AAkCzB,OAAK,SAAS,KAAK,YAAY;AAE/B,OAAK,OAAO,KAAK,8BAA8B,EAC7C,aAAa,YAAY,QAAQ,EAClC,CAAC;AAGF,OAAK,eAAe,KAAK,kBAAkB,QAAQ,aAAa;AAChE,OAAK,eAAe,KAAK,kBAAkB,QAAQ,aAAa;AAEhE,OAAK,iBAAiB,KAAK,kBAAkB,QAAQ,kBAAkB;AACvE,OAAK,OAAO,KAAK,kBAAkB,QAAQ,QAAQ;AACnD,OAAK,mBAAmB,KAAK,kBAAkB,QAAQ,oBAAoB;AAC3E,OAAK,iBAAiB,KAAK,kBAAkB,QAAQ,kBAAkB;AACvE,OAAK,mBAAmB,KAAK,kBAAkB,QAAQ,oBAAoB;AAC3E,OAAK,UAAU,KAAK,kBAAkB,QAAQ,WAAW;AACzD,OAAK,OAAO,KAAK,kBAAkB,QAAQ,QAAQ;AACnD,OAAK,OAAO,KAAK,kBAAkB,QAAQ,QAAQ;AACnD,OAAK,MAAM,KAAK,kBAAkB,QAAQ,iBAAiB;AAC3D,OAAK,kBAAkB,KAAK,kBAAkB,QAAQ,mBAAmB;EAEzE,MAAM,cAAc;GAClB,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACN;AAGD,OAAK,UAAU,YAAY,KAAK,mBAAmB,YAAY;AAG/D,OAAK,UAAW,aAAa,KAAK,UAAU,KAAK,QAAQ,UAAU;AACnE,OAAK,YAAa,eAAe,KAAK,UAAU,KAAK,QAAQ,YAAY;;CAG3E,IAAW,gBAAgB;AACzB,SAAO,KAAK;;CAGd,IAAW,SAAS;AAClB,SAAO,KAAK;;CAGd,IAAW,UAAU;AACnB,SAAO,KAAK"}
1
+ {"version":3,"file":"BaseAgent.mjs","names":[],"sources":["../../src/agent/BaseAgent.ts"],"sourcesContent":["import type { Logger } from '../logger'\nimport { DidsApi } from '../modules/dids'\nimport { GenericRecordsApi } from '../modules/generic-records'\nimport { KeyManagementApi } from '../modules/kms'\nimport { MdocApi } from '../modules/mdoc'\nimport { SdJwtVcApi } from '../modules/sd-jwt-vc'\nimport { TokenStatusListApi } from '../modules/token-status-list'\nimport { W3cV2CredentialsApi } from '../modules/vc'\nimport { W3cCredentialsApi } from '../modules/vc/W3cCredentialsApi'\nimport { W3cDataIntegrityApi } from '../modules/w3c-di'\nimport { X509Api } from '../modules/x509'\nimport type { DependencyManager, Module } from '../plugins'\nimport type { AgentConfig } from './AgentConfig'\nimport type { AgentApi, EmptyModuleMap, ModuleApiInstance, ModulesMap, WithoutDefaultModules } from './AgentModules'\n\nimport { getAgentApi } from './AgentModules'\nimport { AgentContext } from './context'\nimport { EventEmitter } from './EventEmitter'\n\nexport abstract class BaseAgent<AgentModules extends ModulesMap = EmptyModuleMap> {\n protected logger: Logger\n protected eventEmitter: EventEmitter\n protected _isInitialized = false\n protected agentContext: AgentContext\n\n public readonly mdoc: MdocApi\n public readonly genericRecords: GenericRecordsApi\n public readonly dids: DidsApi\n public readonly w3cDataIntegrity: W3cDataIntegrityApi\n public readonly w3cCredentials: W3cCredentialsApi\n public readonly w3cV2Credentials: W3cV2CredentialsApi\n public readonly sdJwtVc: SdJwtVcApi\n public readonly x509: X509Api\n public readonly kms: KeyManagementApi\n public readonly tokenStatusList: TokenStatusListApi\n\n /**\n * The DIDComm module, only available if the didcomm module is registered\n */\n public readonly didcomm: AgentModules['didcomm'] extends Module\n ? ModuleApiInstance<AgentModules['didcomm']>\n : undefined\n\n /*\n * The OpenID4VC module, only available if the openid4vc module is registered\n */\n public readonly openid4vc: AgentModules['openid4vc'] extends Module\n ? ModuleApiInstance<AgentModules['openid4vc']>\n : undefined\n\n public readonly modules: AgentApi<WithoutDefaultModules<AgentModules>>\n\n public constructor(\n protected agentConfig: AgentConfig,\n public readonly dependencyManager: DependencyManager\n ) {\n this.logger = this.agentConfig.logger\n\n this.logger.info('Creating agent with config', {\n agentConfig: agentConfig.toJSON(),\n })\n\n // Resolve instances after everything is registered\n this.eventEmitter = this.dependencyManager.resolve(EventEmitter)\n this.agentContext = this.dependencyManager.resolve(AgentContext)\n\n this.genericRecords = this.dependencyManager.resolve(GenericRecordsApi)\n this.dids = this.dependencyManager.resolve(DidsApi)\n this.w3cDataIntegrity = this.dependencyManager.resolve(W3cDataIntegrityApi)\n this.w3cCredentials = this.dependencyManager.resolve(W3cCredentialsApi)\n this.w3cV2Credentials = this.dependencyManager.resolve(W3cV2CredentialsApi)\n this.sdJwtVc = this.dependencyManager.resolve(SdJwtVcApi)\n this.x509 = this.dependencyManager.resolve(X509Api)\n this.mdoc = this.dependencyManager.resolve(MdocApi)\n this.kms = this.dependencyManager.resolve(KeyManagementApi)\n this.tokenStatusList = this.dependencyManager.resolve(TokenStatusListApi)\n\n const defaultApis = [\n this.genericRecords,\n this.dids,\n this.w3cDataIntegrity,\n this.w3cCredentials,\n this.w3cV2Credentials,\n this.sdJwtVc,\n this.x509,\n this.mdoc,\n this.kms,\n this.tokenStatusList,\n ]\n\n // Set the api of the registered modules on the agent, excluding the default apis\n this.modules = getAgentApi(this.dependencyManager, defaultApis)\n\n // Special case for DIDComm and OpenID4vc modules, to expose it on the top-level of the agent.\n this.didcomm = ('didcomm' in this.modules ? this.modules.didcomm : undefined) as this['didcomm']\n this.openid4vc = ('openid4vc' in this.modules ? this.modules.openid4vc : undefined) as this['openid4vc']\n }\n\n public get isInitialized() {\n return this._isInitialized\n }\n\n public get config() {\n return this.agentConfig\n }\n\n public get context() {\n return this.agentContext\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAmBA,IAAsB,YAAtB,MAAkF;CAiChF,YACE,aACA,mBACA;EAFU,KAAA,cAAA;EACM,KAAA,oBAAA;EAhClB,KAAU,iBAAiB;EAkCzB,KAAK,SAAS,KAAK,YAAY;EAE/B,KAAK,OAAO,KAAK,8BAA8B,EAC7C,aAAa,YAAY,OAAO,EAClC,CAAC;EAGD,KAAK,eAAe,KAAK,kBAAkB,QAAQ,YAAY;EAC/D,KAAK,eAAe,KAAK,kBAAkB,QAAQ,YAAY;EAE/D,KAAK,iBAAiB,KAAK,kBAAkB,QAAQ,iBAAiB;EACtE,KAAK,OAAO,KAAK,kBAAkB,QAAQ,OAAO;EAClD,KAAK,mBAAmB,KAAK,kBAAkB,QAAQ,mBAAmB;EAC1E,KAAK,iBAAiB,KAAK,kBAAkB,QAAQ,iBAAiB;EACtE,KAAK,mBAAmB,KAAK,kBAAkB,QAAQ,mBAAmB;EAC1E,KAAK,UAAU,KAAK,kBAAkB,QAAQ,UAAU;EACxD,KAAK,OAAO,KAAK,kBAAkB,QAAQ,OAAO;EAClD,KAAK,OAAO,KAAK,kBAAkB,QAAQ,OAAO;EAClD,KAAK,MAAM,KAAK,kBAAkB,QAAQ,gBAAgB;EAC1D,KAAK,kBAAkB,KAAK,kBAAkB,QAAQ,kBAAkB;EAExE,MAAM,cAAc;GAClB,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;EACP;EAGA,KAAK,UAAU,YAAY,KAAK,mBAAmB,WAAW;EAG9D,KAAK,UAAW,aAAa,KAAK,UAAU,KAAK,QAAQ,UAAU,KAAA;EACnE,KAAK,YAAa,eAAe,KAAK,UAAU,KAAK,QAAQ,YAAY,KAAA;CAC3E;CAEA,IAAW,gBAAgB;EACzB,OAAO,KAAK;CACd;CAEA,IAAW,SAAS;EAClB,OAAO,KAAK;CACd;CAEA,IAAW,UAAU;EACnB,OAAO,KAAK;CACd;AACF"}
@@ -2,20 +2,17 @@ import { AgentDependencies } from "./AgentDependencies.mjs";
2
2
  import { BaseEvent } from "./Events.mjs";
3
3
  import { AgentContext } from "./context/AgentContext.mjs";
4
4
  import "./context/index.mjs";
5
- import * as rxjs from "rxjs";
6
5
  import { Subject } from "rxjs";
7
-
8
6
  //#region src/agent/EventEmitter.d.ts
9
7
  type EmitEvent<T extends BaseEvent> = Omit<T, 'metadata'>;
10
- declare class EventEmitter {
8
+ export declare class EventEmitter {
11
9
  private eventEmitter;
12
10
  private stop$;
13
11
  constructor(agentDependencies: AgentDependencies, stop$: Subject<boolean>);
14
12
  emit<T extends BaseEvent>(agentContext: AgentContext, data: EmitEvent<T>): void;
15
13
  on<T extends BaseEvent>(event: T['type'], listener: (data: T) => void | Promise<void>): void;
16
14
  off<T extends BaseEvent>(event: T['type'], listener: (data: T) => void | Promise<void>): void;
17
- observable<T extends BaseEvent>(event: T['type']): rxjs.Observable<T>;
15
+ observable<T extends BaseEvent>(event: T['type']): import("rxjs").Observable<T>;
18
16
  }
19
17
  //#endregion
20
- export { EventEmitter };
21
18
  //# sourceMappingURL=EventEmitter.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventEmitter.d.mts","names":[],"sources":["../../src/agent/EventEmitter.ts"],"mappings":";;;;;;;;KASK,SAAA,WAAoB,SAAA,IAAa,IAAA,CAAK,CAAA;AAAA,cAG9B,YAAA;EAAA,QACH,YAAA;EAAA,QACA,KAAA;cAGsC,iBAAA,EAAmB,iBAAA,EAC/B,KAAA,EAAO,OAAA;EAOlC,IAAA,WAAe,SAAA,CAAA,CAAW,YAAA,EAAc,YAAA,EAAc,IAAA,EAAM,SAAA,CAAU,CAAA;EAStE,EAAA,WAAa,SAAA,CAAA,CAAW,KAAA,EAAO,CAAA,UAAW,QAAA,GAAW,IAAA,EAAM,CAAA,YAAa,OAAA;EAIxE,GAAA,WAAc,SAAA,CAAA,CAAW,KAAA,EAAO,CAAA,UAAW,QAAA,GAAW,IAAA,EAAM,CAAA,YAAa,OAAA;EAIzE,UAAA,WAAqB,SAAA,CAAA,CAAW,KAAA,EAAO,CAAA,WAAS,IAAA,CAAA,UAAA,CAAA,CAAA;AAAA"}
1
+ {"version":3,"file":"EventEmitter.d.mts","names":[],"sources":["../../src/agent/EventEmitter.ts"],"mappings":";;;;;;KASK,UAAU,UAAU,aAAa,KAAK;qBAG9B;UACH;UACA;EAGsC,YAAA,mBAAmB,mBAC/B,OAAO;EAOlC,KAAK,UAAU,WAAW,cAAc,cAAc,MAAM,UAAU;EAStE,GAAG,UAAU,WAAW,OAAO,WAAW,WAAW,MAAM,aAAa;EAIxE,IAAI,UAAU,WAAW,OAAO,WAAW,WAAW,MAAM,aAAa;EAIzE,WAAW,UAAU,WAAW,OAAO,2BAAS,WAAA"}