@1shotapi/ows-types 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/README.md +20 -0
  2. package/dist/credentials/credential.d.ts +42 -0
  3. package/dist/credentials/credential.d.ts.map +1 -0
  4. package/dist/credentials/credential.js +2 -0
  5. package/dist/credentials/credential.js.map +1 -0
  6. package/dist/credentials/dcql.d.ts +25 -0
  7. package/dist/credentials/dcql.d.ts.map +1 -0
  8. package/dist/credentials/dcql.js +2 -0
  9. package/dist/credentials/dcql.js.map +1 -0
  10. package/dist/credentials/filter.d.ts +15 -0
  11. package/dist/credentials/filter.d.ts.map +1 -0
  12. package/dist/credentials/filter.js +2 -0
  13. package/dist/credentials/filter.js.map +1 -0
  14. package/dist/credentials/format.d.ts +3 -0
  15. package/dist/credentials/format.d.ts.map +1 -0
  16. package/dist/credentials/format.js +2 -0
  17. package/dist/credentials/format.js.map +1 -0
  18. package/dist/credentials/holder-signer.d.ts +9 -0
  19. package/dist/credentials/holder-signer.d.ts.map +1 -0
  20. package/dist/credentials/holder-signer.js +2 -0
  21. package/dist/credentials/holder-signer.js.map +1 -0
  22. package/dist/credentials/index.d.ts +18 -0
  23. package/dist/credentials/index.d.ts.map +1 -0
  24. package/dist/credentials/index.js +3 -0
  25. package/dist/credentials/index.js.map +1 -0
  26. package/dist/credentials/kyc-profile.d.ts +9 -0
  27. package/dist/credentials/kyc-profile.d.ts.map +1 -0
  28. package/dist/credentials/kyc-profile.js +2 -0
  29. package/dist/credentials/kyc-profile.js.map +1 -0
  30. package/dist/credentials/offer.d.ts +39 -0
  31. package/dist/credentials/offer.d.ts.map +1 -0
  32. package/dist/credentials/offer.js +2 -0
  33. package/dist/credentials/offer.js.map +1 -0
  34. package/dist/credentials/oid4vci-proof.d.ts +21 -0
  35. package/dist/credentials/oid4vci-proof.d.ts.map +1 -0
  36. package/dist/credentials/oid4vci-proof.js +3 -0
  37. package/dist/credentials/oid4vci-proof.js.map +1 -0
  38. package/dist/credentials/oid4vci.d.ts +56 -0
  39. package/dist/credentials/oid4vci.d.ts.map +1 -0
  40. package/dist/credentials/oid4vci.js +2 -0
  41. package/dist/credentials/oid4vci.js.map +1 -0
  42. package/dist/credentials/oid4vp.d.ts +24 -0
  43. package/dist/credentials/oid4vp.d.ts.map +1 -0
  44. package/dist/credentials/oid4vp.js +2 -0
  45. package/dist/credentials/oid4vp.js.map +1 -0
  46. package/dist/credentials/presentation.d.ts +67 -0
  47. package/dist/credentials/presentation.d.ts.map +1 -0
  48. package/dist/credentials/presentation.js +2 -0
  49. package/dist/credentials/presentation.js.map +1 -0
  50. package/dist/credentials/status-validator.d.ts +11 -0
  51. package/dist/credentials/status-validator.d.ts.map +1 -0
  52. package/dist/credentials/status-validator.js +12 -0
  53. package/dist/credentials/status-validator.js.map +1 -0
  54. package/dist/credentials/status.d.ts +8 -0
  55. package/dist/credentials/status.d.ts.map +1 -0
  56. package/dist/credentials/status.js +2 -0
  57. package/dist/credentials/status.js.map +1 -0
  58. package/dist/credentials/storage.d.ts +17 -0
  59. package/dist/credentials/storage.d.ts.map +1 -0
  60. package/dist/credentials/storage.js +2 -0
  61. package/dist/credentials/storage.js.map +1 -0
  62. package/dist/credentials/trust-registry.d.ts +12 -0
  63. package/dist/credentials/trust-registry.d.ts.map +1 -0
  64. package/dist/credentials/trust-registry.js +2 -0
  65. package/dist/credentials/trust-registry.js.map +1 -0
  66. package/dist/credentials/trust.d.ts +10 -0
  67. package/dist/credentials/trust.d.ts.map +1 -0
  68. package/dist/credentials/trust.js +2 -0
  69. package/dist/credentials/trust.js.map +1 -0
  70. package/dist/credentials/wallet-attestation.d.ts +11 -0
  71. package/dist/credentials/wallet-attestation.d.ts.map +1 -0
  72. package/dist/credentials/wallet-attestation.js +2 -0
  73. package/dist/credentials/wallet-attestation.js.map +1 -0
  74. package/dist/eip1193/index.d.ts +3 -0
  75. package/dist/eip1193/index.d.ts.map +1 -0
  76. package/dist/eip1193/index.js +2 -0
  77. package/dist/eip1193/index.js.map +1 -0
  78. package/dist/eip1193/methods.d.ts +17 -0
  79. package/dist/eip1193/methods.d.ts.map +1 -0
  80. package/dist/eip1193/methods.js +69 -0
  81. package/dist/eip1193/methods.js.map +1 -0
  82. package/dist/eip1193/requests.d.ts +46 -0
  83. package/dist/eip1193/requests.d.ts.map +1 -0
  84. package/dist/eip1193/requests.js +2 -0
  85. package/dist/eip1193/requests.js.map +1 -0
  86. package/dist/errors/base.d.ts +5 -0
  87. package/dist/errors/base.d.ts.map +1 -0
  88. package/dist/errors/base.js +8 -0
  89. package/dist/errors/base.js.map +1 -0
  90. package/dist/errors/rpc.d.ts +25 -0
  91. package/dist/errors/rpc.d.ts.map +1 -0
  92. package/dist/errors/rpc.js +60 -0
  93. package/dist/errors/rpc.js.map +1 -0
  94. package/dist/errors/signer.d.ts +18 -0
  95. package/dist/errors/signer.d.ts.map +1 -0
  96. package/dist/errors/signer.js +34 -0
  97. package/dist/errors/signer.js.map +1 -0
  98. package/dist/index.d.ts +17 -0
  99. package/dist/index.d.ts.map +1 -0
  100. package/dist/index.js +13 -0
  101. package/dist/index.js.map +1 -0
  102. package/dist/primitives/AES256CipherText.d.ts +11 -0
  103. package/dist/primitives/AES256CipherText.d.ts.map +1 -0
  104. package/dist/primitives/AES256CipherText.js +3 -0
  105. package/dist/primitives/AES256CipherText.js.map +1 -0
  106. package/dist/primitives/Base64UrlEncodedString.d.ts +5 -0
  107. package/dist/primitives/Base64UrlEncodedString.d.ts.map +1 -0
  108. package/dist/primitives/Base64UrlEncodedString.js +3 -0
  109. package/dist/primitives/Base64UrlEncodedString.js.map +1 -0
  110. package/dist/primitives/BitcoinAccountAddress.d.ts +8 -0
  111. package/dist/primitives/BitcoinAccountAddress.d.ts.map +1 -0
  112. package/dist/primitives/BitcoinAccountAddress.js +3 -0
  113. package/dist/primitives/BitcoinAccountAddress.js.map +1 -0
  114. package/dist/primitives/CredentialClaimName.d.ts +5 -0
  115. package/dist/primitives/CredentialClaimName.d.ts.map +1 -0
  116. package/dist/primitives/CredentialClaimName.js +3 -0
  117. package/dist/primitives/CredentialClaimName.js.map +1 -0
  118. package/dist/primitives/CredentialConfigurationId.d.ts +5 -0
  119. package/dist/primitives/CredentialConfigurationId.d.ts.map +1 -0
  120. package/dist/primitives/CredentialConfigurationId.js +3 -0
  121. package/dist/primitives/CredentialConfigurationId.js.map +1 -0
  122. package/dist/primitives/CredentialFormatId.d.ts +5 -0
  123. package/dist/primitives/CredentialFormatId.d.ts.map +1 -0
  124. package/dist/primitives/CredentialFormatId.js +3 -0
  125. package/dist/primitives/CredentialFormatId.js.map +1 -0
  126. package/dist/primitives/CredentialId.d.ts +5 -0
  127. package/dist/primitives/CredentialId.d.ts.map +1 -0
  128. package/dist/primitives/CredentialId.js +3 -0
  129. package/dist/primitives/CredentialId.js.map +1 -0
  130. package/dist/primitives/CredentialIssuer.d.ts +5 -0
  131. package/dist/primitives/CredentialIssuer.d.ts.map +1 -0
  132. package/dist/primitives/CredentialIssuer.js +3 -0
  133. package/dist/primitives/CredentialIssuer.js.map +1 -0
  134. package/dist/primitives/CredentialOfferUri.d.ts +5 -0
  135. package/dist/primitives/CredentialOfferUri.d.ts.map +1 -0
  136. package/dist/primitives/CredentialOfferUri.js +3 -0
  137. package/dist/primitives/CredentialOfferUri.js.map +1 -0
  138. package/dist/primitives/CredentialScope.d.ts +5 -0
  139. package/dist/primitives/CredentialScope.d.ts.map +1 -0
  140. package/dist/primitives/CredentialScope.js +3 -0
  141. package/dist/primitives/CredentialScope.js.map +1 -0
  142. package/dist/primitives/CredentialTypeName.d.ts +5 -0
  143. package/dist/primitives/CredentialTypeName.d.ts.map +1 -0
  144. package/dist/primitives/CredentialTypeName.js +3 -0
  145. package/dist/primitives/CredentialTypeName.js.map +1 -0
  146. package/dist/primitives/DisplayRequestId.d.ts +5 -0
  147. package/dist/primitives/DisplayRequestId.d.ts.map +1 -0
  148. package/dist/primitives/DisplayRequestId.js +3 -0
  149. package/dist/primitives/DisplayRequestId.js.map +1 -0
  150. package/dist/primitives/ED25519PublicKey.d.ts +5 -0
  151. package/dist/primitives/ED25519PublicKey.d.ts.map +1 -0
  152. package/dist/primitives/ED25519PublicKey.js +3 -0
  153. package/dist/primitives/ED25519PublicKey.js.map +1 -0
  154. package/dist/primitives/EVMAccountAddress.d.ts +8 -0
  155. package/dist/primitives/EVMAccountAddress.d.ts.map +1 -0
  156. package/dist/primitives/EVMAccountAddress.js +3 -0
  157. package/dist/primitives/EVMAccountAddress.js.map +1 -0
  158. package/dist/primitives/EVMChainId.d.ts +8 -0
  159. package/dist/primitives/EVMChainId.d.ts.map +1 -0
  160. package/dist/primitives/EVMChainId.js +3 -0
  161. package/dist/primitives/EVMChainId.js.map +1 -0
  162. package/dist/primitives/EVMSignatureHex.d.ts +8 -0
  163. package/dist/primitives/EVMSignatureHex.d.ts.map +1 -0
  164. package/dist/primitives/EVMSignatureHex.js +3 -0
  165. package/dist/primitives/EVMSignatureHex.js.map +1 -0
  166. package/dist/primitives/HexString.d.ts +5 -0
  167. package/dist/primitives/HexString.d.ts.map +1 -0
  168. package/dist/primitives/HexString.js +3 -0
  169. package/dist/primitives/HexString.js.map +1 -0
  170. package/dist/primitives/ISO8601DateTime.d.ts +5 -0
  171. package/dist/primitives/ISO8601DateTime.d.ts.map +1 -0
  172. package/dist/primitives/ISO8601DateTime.js +3 -0
  173. package/dist/primitives/ISO8601DateTime.js.map +1 -0
  174. package/dist/primitives/JWKThumbprint.d.ts +5 -0
  175. package/dist/primitives/JWKThumbprint.d.ts.map +1 -0
  176. package/dist/primitives/JWKThumbprint.js +3 -0
  177. package/dist/primitives/JWKThumbprint.js.map +1 -0
  178. package/dist/primitives/PasskeyPublicKey.d.ts +5 -0
  179. package/dist/primitives/PasskeyPublicKey.d.ts.map +1 -0
  180. package/dist/primitives/PasskeyPublicKey.js +3 -0
  181. package/dist/primitives/PasskeyPublicKey.js.map +1 -0
  182. package/dist/primitives/PresentationRequestUri.d.ts +5 -0
  183. package/dist/primitives/PresentationRequestUri.d.ts.map +1 -0
  184. package/dist/primitives/PresentationRequestUri.js +3 -0
  185. package/dist/primitives/PresentationRequestUri.js.map +1 -0
  186. package/dist/primitives/RPCCallId.d.ts +7 -0
  187. package/dist/primitives/RPCCallId.d.ts.map +1 -0
  188. package/dist/primitives/RPCCallId.js +3 -0
  189. package/dist/primitives/RPCCallId.js.map +1 -0
  190. package/dist/primitives/SECP256K1PublicKey.d.ts +5 -0
  191. package/dist/primitives/SECP256K1PublicKey.d.ts.map +1 -0
  192. package/dist/primitives/SECP256K1PublicKey.js +3 -0
  193. package/dist/primitives/SECP256K1PublicKey.js.map +1 -0
  194. package/dist/primitives/SdJwtVcPresentationString.d.ts +8 -0
  195. package/dist/primitives/SdJwtVcPresentationString.d.ts.map +1 -0
  196. package/dist/primitives/SdJwtVcPresentationString.js +3 -0
  197. package/dist/primitives/SdJwtVcPresentationString.js.map +1 -0
  198. package/dist/primitives/SolanaAccountAddress.d.ts +8 -0
  199. package/dist/primitives/SolanaAccountAddress.d.ts.map +1 -0
  200. package/dist/primitives/SolanaAccountAddress.js +3 -0
  201. package/dist/primitives/SolanaAccountAddress.js.map +1 -0
  202. package/dist/primitives/UriString.d.ts +5 -0
  203. package/dist/primitives/UriString.d.ts.map +1 -0
  204. package/dist/primitives/UriString.js +3 -0
  205. package/dist/primitives/UriString.js.map +1 -0
  206. package/dist/primitives/index.d.ts +27 -0
  207. package/dist/primitives/index.d.ts.map +1 -0
  208. package/dist/primitives/index.js +27 -0
  209. package/dist/primitives/index.js.map +1 -0
  210. package/dist/protocol/credentials.d.ts +22 -0
  211. package/dist/protocol/credentials.d.ts.map +1 -0
  212. package/dist/protocol/credentials.js +8 -0
  213. package/dist/protocol/credentials.js.map +1 -0
  214. package/dist/protocol/display.d.ts +40 -0
  215. package/dist/protocol/display.d.ts.map +1 -0
  216. package/dist/protocol/display.js +72 -0
  217. package/dist/protocol/display.js.map +1 -0
  218. package/dist/protocol/ows-signer.d.ts +34 -0
  219. package/dist/protocol/ows-signer.d.ts.map +1 -0
  220. package/dist/protocol/ows-signer.js +2 -0
  221. package/dist/protocol/ows-signer.js.map +1 -0
  222. package/dist/protocol/serde.d.ts +5 -0
  223. package/dist/protocol/serde.d.ts.map +1 -0
  224. package/dist/protocol/serde.js +34 -0
  225. package/dist/protocol/serde.js.map +1 -0
  226. package/dist/protocol/signer.d.ts +94 -0
  227. package/dist/protocol/signer.d.ts.map +1 -0
  228. package/dist/protocol/signer.js +2 -0
  229. package/dist/protocol/signer.js.map +1 -0
  230. package/dist/protocol/wallet.d.ts +27 -0
  231. package/dist/protocol/wallet.d.ts.map +1 -0
  232. package/dist/protocol/wallet.js +10 -0
  233. package/dist/protocol/wallet.js.map +1 -0
  234. package/dist/utils/ConversionUtils.d.ts +23 -0
  235. package/dist/utils/ConversionUtils.d.ts.map +1 -0
  236. package/dist/utils/ConversionUtils.js +59 -0
  237. package/dist/utils/ConversionUtils.js.map +1 -0
  238. package/dist/utils/credentials/CredentialCryptoUtils.d.ts +40 -0
  239. package/dist/utils/credentials/CredentialCryptoUtils.d.ts.map +1 -0
  240. package/dist/utils/credentials/CredentialCryptoUtils.js +94 -0
  241. package/dist/utils/credentials/CredentialCryptoUtils.js.map +1 -0
  242. package/dist/utils/credentials/PresentationUtils.d.ts +54 -0
  243. package/dist/utils/credentials/PresentationUtils.d.ts.map +1 -0
  244. package/dist/utils/credentials/PresentationUtils.js +123 -0
  245. package/dist/utils/credentials/PresentationUtils.js.map +1 -0
  246. package/dist/utils/credentials/ProofUtils.d.ts +22 -0
  247. package/dist/utils/credentials/ProofUtils.d.ts.map +1 -0
  248. package/dist/utils/credentials/ProofUtils.js +143 -0
  249. package/dist/utils/credentials/ProofUtils.js.map +1 -0
  250. package/dist/utils/credentials/jwk-thumbprint.d.ts +6 -0
  251. package/dist/utils/credentials/jwk-thumbprint.d.ts.map +1 -0
  252. package/dist/utils/credentials/jwk-thumbprint.js +37 -0
  253. package/dist/utils/credentials/jwk-thumbprint.js.map +1 -0
  254. package/dist/utils/credentials/oid4vci-proof.d.ts +30 -0
  255. package/dist/utils/credentials/oid4vci-proof.d.ts.map +1 -0
  256. package/dist/utils/credentials/oid4vci-proof.js +102 -0
  257. package/dist/utils/credentials/oid4vci-proof.js.map +1 -0
  258. package/dist/utils/credentials/sd-jwt-vc/CredentialCryptoUtils.d.ts +40 -0
  259. package/dist/utils/credentials/sd-jwt-vc/CredentialCryptoUtils.d.ts.map +1 -0
  260. package/dist/utils/credentials/sd-jwt-vc/CredentialCryptoUtils.js +94 -0
  261. package/dist/utils/credentials/sd-jwt-vc/CredentialCryptoUtils.js.map +1 -0
  262. package/dist/utils/credentials/sd-jwt-vc/PresentationUtils.d.ts +54 -0
  263. package/dist/utils/credentials/sd-jwt-vc/PresentationUtils.d.ts.map +1 -0
  264. package/dist/utils/credentials/sd-jwt-vc/PresentationUtils.js +123 -0
  265. package/dist/utils/credentials/sd-jwt-vc/PresentationUtils.js.map +1 -0
  266. package/dist/utils/credentials/sd-jwt-vc/crypto.d.ts +13 -0
  267. package/dist/utils/credentials/sd-jwt-vc/crypto.d.ts.map +1 -0
  268. package/dist/utils/credentials/sd-jwt-vc/crypto.js +51 -0
  269. package/dist/utils/credentials/sd-jwt-vc/crypto.js.map +1 -0
  270. package/dist/utils/credentials/sd-jwt-vc/decode.d.ts +25 -0
  271. package/dist/utils/credentials/sd-jwt-vc/decode.d.ts.map +1 -0
  272. package/dist/utils/credentials/sd-jwt-vc/decode.js +30 -0
  273. package/dist/utils/credentials/sd-jwt-vc/decode.js.map +1 -0
  274. package/dist/utils/credentials/sd-jwt-vc/holder-signer.d.ts +5 -0
  275. package/dist/utils/credentials/sd-jwt-vc/holder-signer.d.ts.map +1 -0
  276. package/dist/utils/credentials/sd-jwt-vc/holder-signer.js +5 -0
  277. package/dist/utils/credentials/sd-jwt-vc/holder-signer.js.map +1 -0
  278. package/dist/utils/credentials/sd-jwt-vc/presentation.d.ts +17 -0
  279. package/dist/utils/credentials/sd-jwt-vc/presentation.d.ts.map +1 -0
  280. package/dist/utils/credentials/sd-jwt-vc/presentation.js +58 -0
  281. package/dist/utils/credentials/sd-jwt-vc/presentation.js.map +1 -0
  282. package/dist/utils/credentials/sd-jwt-vc/unpack-subject.d.ts +8 -0
  283. package/dist/utils/credentials/sd-jwt-vc/unpack-subject.d.ts.map +1 -0
  284. package/dist/utils/credentials/sd-jwt-vc/unpack-subject.js +35 -0
  285. package/dist/utils/credentials/sd-jwt-vc/unpack-subject.js.map +1 -0
  286. package/dist/utils/index.d.ts +5 -0
  287. package/dist/utils/index.d.ts.map +1 -0
  288. package/dist/utils/index.js +5 -0
  289. package/dist/utils/index.js.map +1 -0
  290. package/package.json +47 -0
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # @1shotapi/ows-types
2
+
3
+ Shared TypeScript types and error classes for the Open Wallet Standard (OWS) SDKs.
4
+
5
+ ## Contents
6
+
7
+ - **Host ↔ Branding RPC** — Postmate callback envelopes, JSON-RPC error codes, serde helpers
8
+ - **Branding ↔ Signing RPC** — Signing Layer wire protocol types
9
+ - **Errors** — `OwsRpcError` / `OwsSignerError` hierarchies used by `@1shotapi/ows-provider`, `@1shotapi/ows-wallet-utils`, and `@1shotapi/ows-signer-utils`
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import {
15
+ OwsRpcError,
16
+ OwsUserRejectedError,
17
+ OWS_RPC_CALLBACK_EVENT,
18
+ type RpcRequestEnvelope,
19
+ } from "@1shotapi/ows-types";
20
+ ```
@@ -0,0 +1,42 @@
1
+ import type { CredentialId, CredentialIssuer, CredentialTypeName, ISO8601DateTime, UriString } from "../primitives/index.js";
2
+ import type { CredentialFormat } from "./format.js";
3
+ /** W3C VC 2.0 semantic subset — transport-agnostic. */
4
+ export type CredentialStatus = {
5
+ id?: UriString;
6
+ type: string;
7
+ statusListCredential?: UriString;
8
+ statusListIndex?: string;
9
+ };
10
+ export type CredentialSchemaRef = {
11
+ id: UriString;
12
+ type: string;
13
+ };
14
+ export type CredentialSubject = Record<string, unknown>;
15
+ export type VerifiableCredentialSemantic = {
16
+ id?: UriString;
17
+ type: CredentialTypeName[];
18
+ issuer: CredentialIssuer | {
19
+ id: CredentialIssuer;
20
+ name?: string;
21
+ };
22
+ validFrom?: ISO8601DateTime;
23
+ validUntil?: ISO8601DateTime;
24
+ credentialSubject: CredentialSubject;
25
+ credentialStatus?: CredentialStatus;
26
+ credentialSchema?: CredentialSchemaRef;
27
+ evidence?: unknown[];
28
+ termsOfUse?: unknown[];
29
+ };
30
+ /** Credential as stored in the wallet (payload + metadata). */
31
+ export type StoredCredential = {
32
+ credentialId: CredentialId;
33
+ format: CredentialFormat;
34
+ type: CredentialTypeName[];
35
+ issuer: CredentialIssuer;
36
+ issuedAt: ISO8601DateTime;
37
+ validUntil?: ISO8601DateTime;
38
+ /** Opaque credential payload (SD-JWT, JWT, JSON-LD doc, …). */
39
+ payload: string;
40
+ semantic: VerifiableCredentialSemantic;
41
+ };
42
+ //# sourceMappingURL=credential.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential.d.ts","sourceRoot":"","sources":["../../src/credentials/credential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,CAAC,EAAE,SAAS,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,SAAS,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAExD,MAAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,CAAC,EAAE,SAAS,CAAC;IACf,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,MAAM,EAAE,gBAAgB,GAAG;QAAE,EAAE,EAAE,gBAAgB,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnE,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;CACxB,CAAC;AAEF,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,MAAM,EAAE,gBAAgB,CAAC;IACzB,QAAQ,EAAE,eAAe,CAAC;IAC1B,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,+DAA+D;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,4BAA4B,CAAC;CACxC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=credential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../src/credentials/credential.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import type { CredentialClaimName } from "../primitives/CredentialClaimName.js";
2
+ import type { CredentialTypeName } from "../primitives/CredentialTypeName.js";
3
+ /**
4
+ * Supported DCQL subset for OWS Phase 4 (fail closed on unsupported shapes).
5
+ * Maps to {@link import("./presentation.js").PresentationDefinition} claim lists.
6
+ */
7
+ export type OwsDcqlClaimQuery = {
8
+ path: string[];
9
+ };
10
+ export type OwsDcqlCredentialQuery = {
11
+ id: string;
12
+ format: string;
13
+ meta?: {
14
+ vct_values?: string[];
15
+ };
16
+ claims?: OwsDcqlClaimQuery[];
17
+ };
18
+ export type OwsDcqlQuery = {
19
+ credentials: OwsDcqlCredentialQuery[];
20
+ };
21
+ export type DcqlMapResult = {
22
+ requestedClaims: CredentialClaimName[];
23
+ credentialTypes: CredentialTypeName[];
24
+ };
25
+ //# sourceMappingURL=dcql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dcql.d.ts","sourceRoot":"","sources":["../../src/credentials/dcql.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAE9E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE;QACL,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IACF,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,sBAAsB,EAAE,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,eAAe,EAAE,kBAAkB,EAAE,CAAC;CACvC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dcql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dcql.js","sourceRoot":"","sources":["../../src/credentials/dcql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import type { CredentialId, CredentialIssuer, CredentialTypeName, ISO8601DateTime } from "../primitives/index.js";
2
+ import type { CredentialFormat } from "./format.js";
3
+ export type CredentialFilter = {
4
+ type?: CredentialTypeName;
5
+ issuer?: CredentialIssuer;
6
+ };
7
+ export type CredentialSummary = {
8
+ credentialId: CredentialId;
9
+ type: CredentialTypeName[];
10
+ issuer: CredentialIssuer;
11
+ format: CredentialFormat;
12
+ issuedAt: ISO8601DateTime;
13
+ validUntil?: ISO8601DateTime;
14
+ };
15
+ //# sourceMappingURL=filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../src/credentials/filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,kBAAkB,EAAE,CAAC;IAC3B,MAAM,EAAE,gBAAgB,CAAC;IACzB,MAAM,EAAE,gBAAgB,CAAC;IACzB,QAAQ,EAAE,eAAe,CAAC;IAC1B,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=filter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/credentials/filter.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ /** Pluggable credential encoding formats. */
2
+ export type CredentialFormat = "sd-jwt-vc" | "jwt-vc" | "json-ld" | "mdoc";
3
+ //# sourceMappingURL=format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/credentials/format.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GACxB,WAAW,GACX,QAAQ,GACR,SAAS,GACT,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=format.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.js","sourceRoot":"","sources":["../../src/credentials/format.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import type { Base64UrlEncodedString } from "../primitives/index.js";
2
+ /** Holder key used for SD-JWT VC key binding (`kb+jwt`). Branding wires this to the OWS signer. */
3
+ export interface IHolderSigner {
4
+ /** Ed25519 public key as JWK (`cnf.jwk` at issuance; kb+jwt verification). */
5
+ publicKeyJwk(): Promise<JsonWebKey>;
6
+ /** Signs the kb+jwt unsigned token (UTF-8 JWT signing input). */
7
+ signKbJwt(unsignedJwt: string): Promise<Base64UrlEncodedString>;
8
+ }
9
+ //# sourceMappingURL=holder-signer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holder-signer.d.ts","sourceRoot":"","sources":["../../src/credentials/holder-signer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE,mGAAmG;AACnG,MAAM,WAAW,aAAa;IAC5B,8EAA8E;IAC9E,YAAY,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;IACpC,iEAAiE;IACjE,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACjE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=holder-signer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holder-signer.js","sourceRoot":"","sources":["../../src/credentials/holder-signer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ export type { CredentialFormat } from "./format.js";
2
+ export type { CredentialOffer, CredentialOfferApprovalRequest, CredentialOfferInput, CredentialReceipt, CredentialOfferGrants, PreAuthorizedCodeGrant, } from "./offer.js";
3
+ export type { PresentationDefinition, PresentationRequestInput, PresentationResult, CredentialPresentationApprovalRequest, Oid4vpAuthorizationRequest, Oid4vpClientMetadata, Oid4vpResponseMode, } from "./presentation.js";
4
+ export type { OwsDcqlQuery, OwsDcqlCredentialQuery, OwsDcqlClaimQuery, DcqlMapResult, } from "./dcql.js";
5
+ export type { IWalletAttestationProvider } from "./wallet-attestation.js";
6
+ export type { CredentialStatus, CredentialSchemaRef, CredentialSubject, VerifiableCredentialSemantic, StoredCredential, } from "./credential.js";
7
+ export type { CredentialFilter, CredentialSummary } from "./filter.js";
8
+ export type { CredentialStatusCheck } from "./status.js";
9
+ export type { AssuranceLevel, IssuerTrustMetadata, TrustRegistryEntry, } from "./trust.js";
10
+ export type { KycProfilePolicy } from "./kyc-profile.js";
11
+ export type { IHolderSigner } from "./holder-signer.js";
12
+ export type { ICredentialRepository } from "./storage.js";
13
+ export type { CredentialConfigurationMetadata, IssuerMetadata, CredentialIssuanceContext, CredentialRequestPreparation, Oid4vciJwtProof, IOid4vciClient, } from "./oid4vci.js";
14
+ export { OID4VCI_PROOF_JWT_TYP, type BuildOid4vciProofJwtInput, type VerifyOid4vciProofJwtInput, type VerifyOid4vciProofJwtResult, } from "./oid4vci-proof.js";
15
+ export type { PresentationBuildContext, IOid4vpClient, } from "./oid4vp.js";
16
+ export { type ICredentialStatusValidator, NoopCredentialStatusValidator, } from "./status-validator.js";
17
+ export type { IIssuerTrustRegistry } from "./trust-registry.js";
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/credentials/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,YAAY,EACV,eAAe,EACf,8BAA8B,EAC9B,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,YAAY,CAAC;AACpB,YAAY,EACV,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,qCAAqC,EACrC,0BAA0B,EAC1B,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,GACd,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvE,YAAY,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1D,YAAY,EACV,+BAA+B,EAC/B,cAAc,EACd,yBAAyB,EACzB,4BAA4B,EAC5B,eAAe,EACf,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,qBAAqB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,wBAAwB,EACxB,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,0BAA0B,EAC/B,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { OID4VCI_PROOF_JWT_TYP, } from "./oid4vci-proof.js";
2
+ export { NoopCredentialStatusValidator, } from "./status-validator.js";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/credentials/index.ts"],"names":[],"mappings":"AAkDA,OAAO,EACL,qBAAqB,GAItB,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EAEL,6BAA6B,GAC9B,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { CredentialClaimName, CredentialIssuer } from "../primitives/index.js";
2
+ import type { AssuranceLevel } from "./trust.js";
3
+ export type KycProfilePolicy = {
4
+ requiredClaims: CredentialClaimName[];
5
+ minAssuranceLevel: AssuranceLevel;
6
+ maxAgeDays: number;
7
+ allowedIssuers: CredentialIssuer[];
8
+ };
9
+ //# sourceMappingURL=kyc-profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kyc-profile.d.ts","sourceRoot":"","sources":["../../src/credentials/kyc-profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,cAAc,EAAE,mBAAmB,EAAE,CAAC;IACtC,iBAAiB,EAAE,cAAc,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,gBAAgB,EAAE,CAAC;CACpC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=kyc-profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kyc-profile.js","sourceRoot":"","sources":["../../src/credentials/kyc-profile.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ import type { CredentialConfigurationId, CredentialFormatId, CredentialId, CredentialIssuer, CredentialOfferUri, CredentialScope, CredentialTypeName } from "../primitives/index.js";
2
+ import type { CredentialFormat } from "./format.js";
3
+ /** Pre-authorized code grant (OID4VCI). */
4
+ export type PreAuthorizedCodeGrant = {
5
+ "pre-authorized_code": string;
6
+ tx_code?: {
7
+ input_mode?: string;
8
+ length?: number;
9
+ description?: string;
10
+ };
11
+ user_pin_required?: boolean;
12
+ };
13
+ export type CredentialOfferGrants = {
14
+ "urn:ietf:params:oauth:grant-type:pre-authorized_code"?: PreAuthorizedCodeGrant;
15
+ };
16
+ export type CredentialOffer = {
17
+ credentialIssuer: CredentialIssuer;
18
+ credentialConfigurationIds: CredentialConfigurationId[];
19
+ grants?: CredentialOfferGrants;
20
+ };
21
+ export type CredentialOfferInput = {
22
+ credentialOfferUri?: CredentialOfferUri;
23
+ offer?: CredentialOffer;
24
+ };
25
+ export type CredentialReceipt = {
26
+ credentialId: CredentialId;
27
+ format: CredentialFormat;
28
+ type: CredentialTypeName[];
29
+ };
30
+ export type CredentialOfferApprovalRequest = {
31
+ issuerName: string;
32
+ issuerId: CredentialIssuer;
33
+ offeredCredentials: Array<{
34
+ configurationId: CredentialConfigurationId;
35
+ format: CredentialFormatId;
36
+ scope?: CredentialScope;
37
+ }>;
38
+ };
39
+ //# sourceMappingURL=offer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer.d.ts","sourceRoot":"","sources":["../../src/credentials/offer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,2CAA2C;AAC3C,MAAM,MAAM,sBAAsB,GAAG;IACnC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,sDAAsD,CAAC,EAAE,sBAAsB,CAAC;CACjF,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,0BAA0B,EAAE,yBAAyB,EAAE,CAAC;IACxD,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,gBAAgB,CAAC;IACzB,IAAI,EAAE,kBAAkB,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,kBAAkB,EAAE,KAAK,CAAC;QACxB,eAAe,EAAE,yBAAyB,CAAC;QAC3C,MAAM,EAAE,kBAAkB,CAAC;QAC3B,KAAK,CAAC,EAAE,eAAe,CAAC;KACzB,CAAC,CAAC;CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=offer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer.js","sourceRoot":"","sources":["../../src/credentials/offer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import type { IHolderSigner } from "./holder-signer.js";
2
+ /** OID4VCI JWT proof `typ` header value. */
3
+ export declare const OID4VCI_PROOF_JWT_TYP = "openid4vci-proof+jwt";
4
+ export type BuildOid4vciProofJwtInput = {
5
+ holderSigner: IHolderSigner;
6
+ /** Credential issuer identifier (`aud`). */
7
+ audience: string;
8
+ /** C-nonce from the issuer when available. */
9
+ nonce?: string;
10
+ };
11
+ export type VerifyOid4vciProofJwtInput = {
12
+ jwt: string;
13
+ expectedAudience: string;
14
+ expectedNonce?: string;
15
+ };
16
+ export type VerifyOid4vciProofJwtResult = {
17
+ valid: boolean;
18
+ holderPublicKeyJwk?: JsonWebKey;
19
+ reasons: string[];
20
+ };
21
+ //# sourceMappingURL=oid4vci-proof.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid4vci-proof.d.ts","sourceRoot":"","sources":["../../src/credentials/oid4vci-proof.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,4CAA4C;AAC5C,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAE5D,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,EAAE,aAAa,CAAC;IAC5B,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE,OAAO,CAAC;IACf,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** OID4VCI JWT proof `typ` header value. */
2
+ export const OID4VCI_PROOF_JWT_TYP = "openid4vci-proof+jwt";
3
+ //# sourceMappingURL=oid4vci-proof.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid4vci-proof.js","sourceRoot":"","sources":["../../src/credentials/oid4vci-proof.ts"],"names":[],"mappings":"AAEA,4CAA4C;AAC5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,sBAAsB,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { CredentialConfigurationId, CredentialFormatId, CredentialIssuer, CredentialOfferUri, CredentialScope, UriString } from "../primitives/index.js";
2
+ import type { StoredCredential } from "./credential.js";
3
+ import type { CredentialOffer } from "./offer.js";
4
+ export type CredentialConfigurationMetadata = {
5
+ format: CredentialFormatId;
6
+ scope?: CredentialScope;
7
+ };
8
+ export type IssuerMetadata = {
9
+ credentialIssuer: CredentialIssuer;
10
+ credentialConfigurationsSupported: Record<CredentialConfigurationId, CredentialConfigurationMetadata>;
11
+ /** Absolute credential endpoint URL (from well-known). */
12
+ credentialEndpoint?: UriString;
13
+ /** Absolute token endpoint URL (issuer or AS). */
14
+ tokenEndpoint?: UriString;
15
+ /** Optional JWKS URI for issuer keys. */
16
+ jwksUri?: UriString;
17
+ /** Proof types the issuer accepts (e.g. `jwt`). */
18
+ proofTypesSupported?: string[];
19
+ };
20
+ /** OID4VCI credential-request proof (`proof_type: jwt`). */
21
+ export type Oid4vciJwtProof = {
22
+ proof_type: "jwt";
23
+ jwt: string;
24
+ };
25
+ /**
26
+ * Wallet-supplied holder key material and proof-of-possession for issuance.
27
+ * Mock and HTTP clients verify {@link proof} before embedding `cnf.jwk`.
28
+ */
29
+ export type CredentialIssuanceContext = {
30
+ /** Holder public key embedded as SD-JWT VC `cnf.jwk` after PoP verification. */
31
+ holderPublicKeyJwk: JsonWebKey;
32
+ /** OID4VCI JWT proof proving possession of {@link holderPublicKeyJwk}. */
33
+ proof: Oid4vciJwtProof;
34
+ /** Issuer C-nonce echoed in the proof when the issuer supplied one. */
35
+ nonce?: string;
36
+ /** Wallet attestation JWT when the issuer requires one. */
37
+ walletAttestationJwt?: string;
38
+ };
39
+ /** Result of pre-authorized token exchange (optional on mock clients). */
40
+ export type CredentialRequestPreparation = {
41
+ accessToken?: string;
42
+ /** Issuer C-nonce for the holder proof JWT. */
43
+ cNonce?: string;
44
+ cNonceExpiresIn?: number;
45
+ };
46
+ export interface IOid4vciClient {
47
+ resolveOffer(uri: CredentialOfferUri): Promise<CredentialOffer>;
48
+ fetchIssuerMetadata(issuer: CredentialIssuer): Promise<IssuerMetadata>;
49
+ /**
50
+ * Optional pre-authorized token step. HTTP clients implement this to obtain
51
+ * `c_nonce` before the wallet builds the PoP JWT. Mock clients omit it.
52
+ */
53
+ prepareCredentialRequest?(offer: CredentialOffer, metadata: IssuerMetadata): Promise<CredentialRequestPreparation>;
54
+ requestCredential(offer: CredentialOffer, metadata: IssuerMetadata, context?: CredentialIssuanceContext): Promise<StoredCredential>;
55
+ }
56
+ //# sourceMappingURL=oid4vci.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid4vci.d.ts","sourceRoot":"","sources":["../../src/credentials/oid4vci.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,iCAAiC,EAAE,MAAM,CACvC,yBAAyB,EACzB,+BAA+B,CAChC,CAAC;IACF,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,kDAAkD;IAClD,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,yCAAyC;IACzC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;CAChC,CAAC;AAEF,4DAA4D;AAC5D,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,KAAK,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,gFAAgF;IAChF,kBAAkB,EAAE,UAAU,CAAC;IAC/B,0EAA0E;IAC1E,KAAK,EAAE,eAAe,CAAC;IACvB,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,YAAY,CAAC,GAAG,EAAE,kBAAkB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IAChE,mBAAmB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IACvE;;;OAGG;IACH,wBAAwB,CAAC,CACvB,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC,iBAAiB,CACf,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,cAAc,EACxB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=oid4vci.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid4vci.js","sourceRoot":"","sources":["../../src/credentials/oid4vci.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ import type { PresentationRequestUri } from "../primitives/index.js";
2
+ import type { StoredCredential } from "./credential.js";
3
+ import type { CredentialSummary } from "./filter.js";
4
+ import type { IHolderSigner } from "./holder-signer.js";
5
+ import type { Oid4vpAuthorizationRequest, PresentationDefinition, PresentationResult } from "./presentation.js";
6
+ import type { IWalletAttestationProvider } from "./wallet-attestation.js";
7
+ export type PresentationBuildContext = {
8
+ holderSigner: IHolderSigner;
9
+ /** Optional provider when verifier client_metadata requires attestation. */
10
+ attestationProvider?: IWalletAttestationProvider;
11
+ /** Full auth request when resolved from HTTP `request_uri` (for response_uri / encryption). */
12
+ authorizationRequest?: Oid4vpAuthorizationRequest;
13
+ };
14
+ export interface IOid4vpClient {
15
+ resolveRequest(uri: PresentationRequestUri): Promise<PresentationDefinition>;
16
+ /**
17
+ * Optional: return full authorization request after resolve (HTTP clients).
18
+ * Used for response_uri posting and encryption.
19
+ */
20
+ getAuthorizationRequest?(definitionId: string): Oid4vpAuthorizationRequest | undefined;
21
+ matchCredentials(definition: PresentationDefinition, credentials: CredentialSummary[]): Promise<CredentialSummary[]>;
22
+ buildPresentation(credential: StoredCredential, definition: PresentationDefinition, context?: PresentationBuildContext): Promise<PresentationResult>;
23
+ }
24
+ //# sourceMappingURL=oid4vp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid4vp.d.ts","sourceRoot":"","sources":["../../src/credentials/oid4vp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EACV,0BAA0B,EAC1B,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAE1E,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,aAAa,CAAC;IAC5B,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,0BAA0B,CAAC;IACjD,+FAA+F;IAC/F,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;CACnD,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,cAAc,CAAC,GAAG,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAC7E;;;OAGG;IACH,uBAAuB,CAAC,CACtB,YAAY,EAAE,MAAM,GACnB,0BAA0B,GAAG,SAAS,CAAC;IAC1C,gBAAgB,CACd,UAAU,EAAE,sBAAsB,EAClC,WAAW,EAAE,iBAAiB,EAAE,GAC/B,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAChC,iBAAiB,CACf,UAAU,EAAE,gBAAgB,EAC5B,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=oid4vp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid4vp.js","sourceRoot":"","sources":["../../src/credentials/oid4vp.ts"],"names":[],"mappings":""}
@@ -0,0 +1,67 @@
1
+ import type { CredentialClaimName, CredentialIssuer, CredentialTypeName, PresentationRequestUri, SdJwtVcPresentationString, UriString } from "../primitives/index.js";
2
+ import type { CredentialFormat } from "./format.js";
3
+ import type { OwsDcqlQuery } from "./dcql.js";
4
+ export type PresentationDefinition = {
5
+ id: string;
6
+ verifier: {
7
+ id: UriString;
8
+ name: string;
9
+ };
10
+ requestedClaims: CredentialClaimName[];
11
+ credentialTypes?: CredentialTypeName[];
12
+ nonce?: string;
13
+ audience?: string;
14
+ };
15
+ /**
16
+ * Transport / protocol fields from an OID4VP authorization request
17
+ * (fetched via `request_uri` or embedded). Wallet-facing claim selection
18
+ * still uses {@link PresentationDefinition}.
19
+ */
20
+ export type Oid4vpResponseMode = "direct_post" | "direct_post.jwt" | "fragment";
21
+ export type Oid4vpClientMetadata = {
22
+ /** JWKS for encrypting the presentation response (direct_post.jwt). */
23
+ jwks?: {
24
+ keys: JsonWebKey[];
25
+ };
26
+ jwks_uri?: string;
27
+ authorization_encrypted_response_alg?: string;
28
+ authorization_encrypted_response_enc?: string;
29
+ /** When true, wallet should attach a wallet attestation JWT. */
30
+ require_wallet_attestation?: boolean;
31
+ client_name?: string;
32
+ };
33
+ export type Oid4vpAuthorizationRequest = {
34
+ clientId: string;
35
+ nonce?: string;
36
+ responseUri?: UriString;
37
+ responseMode?: Oid4vpResponseMode;
38
+ clientMetadata?: Oid4vpClientMetadata;
39
+ /** Raw DCQL query when the verifier uses DCQL instead of a claim-list PD. */
40
+ dcqlQuery?: OwsDcqlQuery;
41
+ /** Mapped wallet-facing definition (always populated after resolve). */
42
+ presentationDefinition: PresentationDefinition;
43
+ };
44
+ export type PresentationRequestInput = {
45
+ requestUri?: PresentationRequestUri;
46
+ request?: PresentationDefinition;
47
+ /** Host/verifier allow-list; wallet intersects with matched credentials. */
48
+ acceptedIssuers?: CredentialIssuer[];
49
+ };
50
+ export type PresentationResult = {
51
+ presentation: SdJwtVcPresentationString;
52
+ format: CredentialFormat;
53
+ disclosedClaims: CredentialClaimName[];
54
+ /** When the VP was encrypted for `direct_post.jwt`. */
55
+ encryptedResponse?: string;
56
+ responseMode?: Oid4vpResponseMode;
57
+ /** True when the client already POSTed to `response_uri`. */
58
+ submittedToResponseUri?: boolean;
59
+ };
60
+ export type CredentialPresentationApprovalRequest = {
61
+ verifierName: string;
62
+ verifierId: UriString;
63
+ requestedClaims: CredentialClaimName[];
64
+ credentialType: CredentialTypeName;
65
+ credentialIssuer: CredentialIssuer;
66
+ };
67
+ //# sourceMappingURL=presentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation.d.ts","sourceRoot":"","sources":["../../src/credentials/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,EACzB,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE;QACR,EAAE,EAAE,SAAS,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,iBAAiB,GAAG,UAAU,CAAC;AAEhF,MAAM,MAAM,oBAAoB,GAAG;IACjC,uEAAuE;IACvE,IAAI,CAAC,EAAE;QACL,IAAI,EAAE,UAAU,EAAE,CAAC;KACpB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC,CAAC,EAAE,MAAM,CAAC;IAC9C,oCAAoC,CAAC,EAAE,MAAM,CAAC;IAC9C,gEAAgE;IAChE,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,6EAA6E;IAC7E,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,wEAAwE;IACxE,sBAAsB,EAAE,sBAAsB,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,4EAA4E;IAC5E,eAAe,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,yBAAyB,CAAC;IACxC,MAAM,EAAE,gBAAgB,CAAC;IACzB,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,uDAAuD;IACvD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,6DAA6D;IAC7D,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,SAAS,CAAC;IACtB,eAAe,EAAE,mBAAmB,EAAE,CAAC;IACvC,cAAc,EAAE,kBAAkB,CAAC;IACnC,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=presentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation.js","sourceRoot":"","sources":["../../src/credentials/presentation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import type { StoredCredential } from "./credential.js";
2
+ import type { CredentialStatusCheck } from "./status.js";
3
+ /** Issuer-side status / revocation check (Token Status List, etc.). */
4
+ export interface ICredentialStatusValidator {
5
+ checkStatus(credential: StoredCredential): Promise<CredentialStatusCheck>;
6
+ }
7
+ /** Demo default — always active. Production wallets fail closed on non-active. */
8
+ export declare class NoopCredentialStatusValidator implements ICredentialStatusValidator {
9
+ checkStatus(credential: StoredCredential): Promise<CredentialStatusCheck>;
10
+ }
11
+ //# sourceMappingURL=status-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-validator.d.ts","sourceRoot":"","sources":["../../src/credentials/status-validator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,uEAAuE;AACvE,MAAM,WAAW,0BAA0B;IACzC,WAAW,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;CAC3E;AAED,kFAAkF;AAClF,qBAAa,6BAA8B,YAAW,0BAA0B;IACxE,WAAW,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAOhF"}
@@ -0,0 +1,12 @@
1
+ import { ISO8601DateTime } from "../primitives/index.js";
2
+ /** Demo default — always active. Production wallets fail closed on non-active. */
3
+ export class NoopCredentialStatusValidator {
4
+ async checkStatus(credential) {
5
+ return {
6
+ credentialId: credential.credentialId,
7
+ status: "active",
8
+ checkedAt: ISO8601DateTime(new Date().toISOString()),
9
+ };
10
+ }
11
+ }
12
+ //# sourceMappingURL=status-validator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-validator.js","sourceRoot":"","sources":["../../src/credentials/status-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AASzD,kFAAkF;AAClF,MAAM,OAAO,6BAA6B;IACxC,KAAK,CAAC,WAAW,CAAC,UAA4B;QAC5C,OAAO;YACL,YAAY,EAAE,UAAU,CAAC,YAAY;YACrC,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,eAAe,CAAC,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;SACrD,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,8 @@
1
+ import type { CredentialId, ISO8601DateTime } from "../primitives/index.js";
2
+ export type CredentialStatusCheck = {
3
+ credentialId: CredentialId;
4
+ status: "active" | "revoked" | "suspended" | "unknown";
5
+ checkedAt: ISO8601DateTime;
6
+ details?: string;
7
+ };
8
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/credentials/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IACvD,SAAS,EAAE,eAAe,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/credentials/status.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import type { CredentialId } from "../primitives/index.js";
2
+ import type { StoredCredential } from "./credential.js";
3
+ import type { CredentialFilter, CredentialSummary } from "./filter.js";
4
+ /**
5
+ * Branding-owned credential persistence.
6
+ * Methods take/return full {@link StoredCredential} objects (plaintext JSON at this boundary).
7
+ * Encryption at rest is a branding implementation detail.
8
+ */
9
+ export interface ICredentialRepository {
10
+ store(credential: StoredCredential): Promise<void>;
11
+ get(credentialId: CredentialId): Promise<StoredCredential | undefined>;
12
+ list(filter?: CredentialFilter): Promise<CredentialSummary[]>;
13
+ delete(credentialId: CredentialId): Promise<void>;
14
+ /** Local wallet lifecycle (tombstone / hide) — not issuer-side revocation. */
15
+ revoke(credentialId: CredentialId): Promise<void>;
16
+ }
17
+ //# sourceMappingURL=storage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/credentials/storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEvE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,UAAU,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnD,GAAG,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACvE,IAAI,CAAC,MAAM,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC9D,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClD,8EAA8E;IAC9E,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../src/credentials/storage.ts"],"names":[],"mappings":""}