@pagopa/io-react-native-iso18013 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 (113) hide show
  1. package/IoReactNativeIso18013.podspec +29 -0
  2. package/LICENSE +20 -0
  3. package/README.md +30 -0
  4. package/android/build.gradle +83 -0
  5. package/android/gradle.properties +5 -0
  6. package/android/src/main/AndroidManifest.xml +3 -0
  7. package/android/src/main/AndroidManifestNew.xml +2 -0
  8. package/android/src/main/java/com/ioreactnativeiso18013/Base64Utils.kt +56 -0
  9. package/android/src/main/java/com/ioreactnativeiso18013/IoReactNativeCborModule.kt +209 -0
  10. package/android/src/main/java/com/ioreactnativeiso18013/IoReactNativeIso18013Module.kt +439 -0
  11. package/android/src/main/java/com/ioreactnativeiso18013/IoReactNativeIso18013Package.kt +17 -0
  12. package/ios/Base64Utils.swift +47 -0
  13. package/ios/IoReactNativeCbor.mm +32 -0
  14. package/ios/IoReactNativeCbor.swift +188 -0
  15. package/ios/IoReactNativeIso18013-Bridging-Header.h +2 -0
  16. package/ios/IoReactNativeIso18013.mm +43 -0
  17. package/ios/IoReactNativeIso18013.swift +491 -0
  18. package/lib/module/cbor/cbor/README.md +95 -0
  19. package/lib/module/cbor/cbor/decoder.js +51 -0
  20. package/lib/module/cbor/cbor/decoder.js.map +1 -0
  21. package/lib/module/cbor/cbor/failure.js +2 -0
  22. package/lib/module/cbor/cbor/failure.js.map +1 -0
  23. package/lib/module/cbor/cbor/index.js +5 -0
  24. package/lib/module/cbor/cbor/index.js.map +1 -0
  25. package/lib/module/cbor/cbor/schema.js +117 -0
  26. package/lib/module/cbor/cbor/schema.js.map +1 -0
  27. package/lib/module/cbor/cbor/schema.utils.js +16 -0
  28. package/lib/module/cbor/cbor/schema.utils.js.map +1 -0
  29. package/lib/module/cbor/cose/README.md +53 -0
  30. package/lib/module/cbor/cose/failure.js +2 -0
  31. package/lib/module/cbor/cose/failure.js.map +1 -0
  32. package/lib/module/cbor/cose/index.js +4 -0
  33. package/lib/module/cbor/cose/index.js.map +1 -0
  34. package/lib/module/cbor/cose/sign.js +23 -0
  35. package/lib/module/cbor/cose/sign.js.map +1 -0
  36. package/lib/module/cbor/index.js +13 -0
  37. package/lib/module/cbor/index.js.map +1 -0
  38. package/lib/module/index.js +8 -0
  39. package/lib/module/index.js.map +1 -0
  40. package/lib/module/iso18013/index.js +14 -0
  41. package/lib/module/iso18013/index.js.map +1 -0
  42. package/lib/module/iso18013/iso18013-5/README.md +234 -0
  43. package/lib/module/iso18013/iso18013-5/index.js +5 -0
  44. package/lib/module/iso18013/iso18013-5/index.js.map +1 -0
  45. package/lib/module/iso18013/iso18013-5/proximity.js +112 -0
  46. package/lib/module/iso18013/iso18013-5/proximity.js.map +1 -0
  47. package/lib/module/iso18013/iso18013-5/schema.js +79 -0
  48. package/lib/module/iso18013/iso18013-5/schema.js.map +1 -0
  49. package/lib/module/iso18013/iso18013-7/README.md +59 -0
  50. package/lib/module/iso18013/iso18013-7/index.js +4 -0
  51. package/lib/module/iso18013/iso18013-7/index.js.map +1 -0
  52. package/lib/module/iso18013/iso18013-7/remote.js +31 -0
  53. package/lib/module/iso18013/iso18013-7/remote.js.map +1 -0
  54. package/lib/module/iso18013/types.js +2 -0
  55. package/lib/module/iso18013/types.js.map +1 -0
  56. package/lib/module/package.json +1 -0
  57. package/lib/typescript/package.json +1 -0
  58. package/lib/typescript/src/cbor/cbor/decoder.d.ts +35 -0
  59. package/lib/typescript/src/cbor/cbor/decoder.d.ts.map +1 -0
  60. package/lib/typescript/src/cbor/cbor/failure.d.ts +15 -0
  61. package/lib/typescript/src/cbor/cbor/failure.d.ts.map +1 -0
  62. package/lib/typescript/src/cbor/cbor/index.d.ts +4 -0
  63. package/lib/typescript/src/cbor/cbor/index.d.ts.map +1 -0
  64. package/lib/typescript/src/cbor/cbor/schema.d.ts +2420 -0
  65. package/lib/typescript/src/cbor/cbor/schema.d.ts.map +1 -0
  66. package/lib/typescript/src/cbor/cbor/schema.utils.d.ts +8 -0
  67. package/lib/typescript/src/cbor/cbor/schema.utils.d.ts.map +1 -0
  68. package/lib/typescript/src/cbor/cose/failure.d.ts +15 -0
  69. package/lib/typescript/src/cbor/cose/failure.d.ts.map +1 -0
  70. package/lib/typescript/src/cbor/cose/index.d.ts +3 -0
  71. package/lib/typescript/src/cbor/cose/index.d.ts.map +1 -0
  72. package/lib/typescript/src/cbor/cose/sign.d.ts +19 -0
  73. package/lib/typescript/src/cbor/cose/sign.d.ts.map +1 -0
  74. package/lib/typescript/src/cbor/index.d.ts +2 -0
  75. package/lib/typescript/src/cbor/index.d.ts.map +1 -0
  76. package/lib/typescript/src/index.d.ts +6 -0
  77. package/lib/typescript/src/index.d.ts.map +1 -0
  78. package/lib/typescript/src/iso18013/index.d.ts +3 -0
  79. package/lib/typescript/src/iso18013/index.d.ts.map +1 -0
  80. package/lib/typescript/src/iso18013/iso18013-5/index.d.ts +4 -0
  81. package/lib/typescript/src/iso18013/iso18013-5/index.d.ts.map +1 -0
  82. package/lib/typescript/src/iso18013/iso18013-5/proximity.d.ts +88 -0
  83. package/lib/typescript/src/iso18013/iso18013-5/proximity.d.ts.map +1 -0
  84. package/lib/typescript/src/iso18013/iso18013-5/schema.d.ts +85 -0
  85. package/lib/typescript/src/iso18013/iso18013-5/schema.d.ts.map +1 -0
  86. package/lib/typescript/src/iso18013/iso18013-7/index.d.ts +3 -0
  87. package/lib/typescript/src/iso18013/iso18013-7/index.d.ts.map +1 -0
  88. package/lib/typescript/src/iso18013/iso18013-7/remote.d.ts +29 -0
  89. package/lib/typescript/src/iso18013/iso18013-7/remote.d.ts.map +1 -0
  90. package/lib/typescript/src/iso18013/types.d.ts +16 -0
  91. package/lib/typescript/src/iso18013/types.d.ts.map +1 -0
  92. package/package.json +163 -0
  93. package/src/cbor/cbor/README.md +95 -0
  94. package/src/cbor/cbor/decoder.ts +56 -0
  95. package/src/cbor/cbor/failure.ts +18 -0
  96. package/src/cbor/cbor/index.ts +9 -0
  97. package/src/cbor/cbor/schema.ts +150 -0
  98. package/src/cbor/cbor/schema.utils.ts +13 -0
  99. package/src/cbor/cose/README.md +53 -0
  100. package/src/cbor/cose/failure.ts +20 -0
  101. package/src/cbor/cose/index.ts +2 -0
  102. package/src/cbor/cose/sign.ts +25 -0
  103. package/src/cbor/index.ts +18 -0
  104. package/src/index.tsx +5 -0
  105. package/src/iso18013/index.ts +25 -0
  106. package/src/iso18013/iso18013-5/README.md +234 -0
  107. package/src/iso18013/iso18013-5/index.ts +23 -0
  108. package/src/iso18013/iso18013-5/proximity.ts +134 -0
  109. package/src/iso18013/iso18013-5/schema.ts +87 -0
  110. package/src/iso18013/iso18013-7/README.md +59 -0
  111. package/src/iso18013/iso18013-7/index.ts +7 -0
  112. package/src/iso18013/iso18013-7/remote.ts +54 -0
  113. package/src/iso18013/types.ts +16 -0
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ import { z } from 'zod';
4
+
5
+ // Inner data: a record of booleans with the attributes and the intent to retain flag
6
+ const booleanFieldGroup = z.record(z.boolean());
7
+ const credentialEntrySchema = z.object({
8
+ isAuthenticated: z.boolean()
9
+ }).catchall(booleanFieldGroup);
10
+ const VerifierRequest = z.object({
11
+ request: z.record(credentialEntrySchema)
12
+ });
13
+
14
+ /**
15
+ * VerifierRequest type returned by the `onDocumentRequestReceived` event in `Events`.
16
+ * The outermost key represents the credential doctype, the inner key represents the namespace and the innermost key represents the requested fields with a boolean value
17
+ * indicating whether the verifier app wants to retain the field or not. The isAuthenticated field is present for each requested credentials and indicates wether or not the verifier is authenticated.
18
+ * Example:
19
+ * `{
20
+ * "org.iso.18013.5.1.mDL": {
21
+ * "isAuthenticated": true,
22
+ * "org.iso.18013.5.1": {
23
+ * "hair_colour": true,
24
+ * "given_name_national_character": true,
25
+ * "family_name_national_character": true,
26
+ * "given_name": true,
27
+ * }
28
+ * }
29
+ * }`
30
+ * The request type can be also be used as input for the `generateResponse` method. The structure is the same, however the boolean value for each claim
31
+ * indicates the willing to present the claim.
32
+ */
33
+
34
+ /**
35
+ * Parses the input to a VerifierRequest object.
36
+ * This function is used to parse the request received from the verifier app.
37
+ * @param input - The input to be parsed
38
+ * @returns The parsed VerifierRequest object
39
+ */
40
+ export const parseVerifierRequest = input => {
41
+ return VerifierRequest.parse(input);
42
+ };
43
+
44
+ /**
45
+ * Zod schema for the type returned by the `onError` event in Proximity `Events`.
46
+ */
47
+ const EventError = z.string().catch('Unknown error');
48
+
49
+ /**
50
+ * Error type returned by the `onError` event in Proximity `Events`.
51
+ */
52
+
53
+ /**
54
+ * Parses the input to an Error object.
55
+ * This function is used to parse the error received from the verifier app via the `onError` event.
56
+ * @param input - The input to be parsed
57
+ * @returns The parsed Error object or a default error message if parsing fails
58
+ */
59
+ export const parseEventError = input => {
60
+ return EventError.parse(input);
61
+ };
62
+
63
+ /**
64
+ * This is the type definition for the accepted fields that will be presented to the verifier app.
65
+ * It contains of a nested object structure, where the outermost key represents the credential doctype.
66
+ * The inner dictionary contains namespaces, and for each namespace, there is another dictionary mapping requested claims to a boolean value,
67
+ * which indicates whether the user is willing to present the corresponding claim. Example:
68
+ * `{
69
+ * "org.iso.18013.5.1.mDL": {
70
+ * "org.iso.18013.5.1": {
71
+ * "hair_colour": true, // Indicates the user is willing to present this claim
72
+ * "given_name_national_character": true,
73
+ * "family_name_national_character": true,
74
+ * "given_name": true,
75
+ * }
76
+ * }
77
+ * }`
78
+ **/
79
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["z","booleanFieldGroup","record","boolean","credentialEntrySchema","object","isAuthenticated","catchall","VerifierRequest","request","parseVerifierRequest","input","parse","EventError","string","catch","parseEventError"],"sourceRoot":"../../../../src","sources":["iso18013/iso18013-5/schema.ts"],"mappings":";;AAAA,SAASA,CAAC,QAAQ,KAAK;;AAEvB;AACA,MAAMC,iBAAiB,GAAGD,CAAC,CAACE,MAAM,CAACF,CAAC,CAACG,OAAO,CAAC,CAAC,CAAC;AAE/C,MAAMC,qBAAqB,GAAGJ,CAAC,CAC5BK,MAAM,CAAC;EACNC,eAAe,EAAEN,CAAC,CAACG,OAAO,CAAC;AAC7B,CAAC,CAAC,CACDI,QAAQ,CAACN,iBAAiB,CAAC;AAE9B,MAAMO,eAAe,GAAGR,CAAC,CAACK,MAAM,CAAC;EAC/BI,OAAO,EAAET,CAAC,CAACE,MAAM,CAACE,qBAAqB;AACzC,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMM,oBAAoB,GAAIC,KAAc,IAAsB;EACvE,OAAOH,eAAe,CAACI,KAAK,CAACD,KAAK,CAAC;AACrC,CAAC;;AAED;AACA;AACA;AACA,MAAME,UAAU,GAAGb,CAAC,CAACc,MAAM,CAAC,CAAC,CAACC,KAAK,CAAC,eAAe,CAAC;;AAEpD;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAIL,KAAc,IAAiB;EAC7D,OAAOE,UAAU,CAACD,KAAK,CAACD,KAAK,CAAC;AAChC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,59 @@
1
+ ## ISO18013-7
2
+
3
+ This module provides methods to obtain data structures necessary for the processes defined in the `ISO-18013` standard.
4
+
5
+ ```typescript
6
+ import { ISO18013_7 } from '@pagopa/io-react-native-cbor';
7
+ ```
8
+
9
+ ### Methods
10
+
11
+ #### `generateOID4VPDeviceResponse`
12
+
13
+ Generates CBOR of the _Device Response_ containing all the claims that have been chosen to be presented during an _OID4VP_ session.
14
+
15
+ Returns a `Promise` which resolves to a `string` containing the CBOR of the **Device Response** object or rejects with an instance of `CoseFailure` in case of failures.
16
+
17
+ ```typescript
18
+ try {
19
+ const result = await ISO18013_7.generateOID4VPDeviceResponse(
20
+ clientId,
21
+ responseUri,
22
+ authorizationRequestNonce,
23
+ mdocGeneratedNonce,
24
+ documents,
25
+ fieldRequestedAndAccepted
26
+ );
27
+ } catch (error: any) {
28
+ const { message, userInfo } = e as CoseFailure;
29
+ }
30
+ ```
31
+
32
+ #### Signature
33
+
34
+ ```typescript
35
+ type RequestedDocument = {
36
+ issuerSignedContent : string,
37
+ alias : string,
38
+ docType : string
39
+ }
40
+
41
+ export const generateOID4VPDeviceResponse = async (
42
+ clientId: string,
43
+ responseUri: string,
44
+ authorizationRequestNonce: string,
45
+ mdocGeneratedNonce: string,
46
+ documents: Array<RequestedDocument>,
47
+ fieldRequestedAndAccepted: Record<string, any> | string
48
+ ) : Promise<string> => {...};
49
+ ```
50
+
51
+ ### Error Codes
52
+
53
+ | Type | Platform | Description |
54
+ | --------------------------------- | ----------- | ------------------------------------------------------------------ |
55
+ | UNABLE_TO_GENERATE_RESPONSE | Android/iOS | Failure during the generation of a response |
56
+ | DOC_REQUESTED_PARSING_EXCEPTION | Android/iOS | The passed documents where in a bad format or contained wrong data |
57
+ | REQUESTED_ITEMS_PARSING_EXCEPTION | iOS | The passed items where in a bad format |
58
+ | UNABLE_TO_GENERATE_TRANSCRIPT | Android | There has been an error generating the session transcript |
59
+ | UNKNOWN_EXCEPTION | Android/iOS | Unexpected failure |
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { generateOID4VPDeviceResponse } from "./remote.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["generateOID4VPDeviceResponse"],"sourceRoot":"../../../../src","sources":["iso18013/iso18013-7/index.ts"],"mappings":";;AAAA,SACEA,4BAA4B,QAGvB,aAAU","ignoreList":[]}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ import { IoReactNativeProximity } from "../index.js";
4
+
5
+ /**
6
+ * All error codes that the module could return.
7
+ */
8
+
9
+ /**
10
+ * Error type returned by a rejected promise.
11
+ *
12
+ * If additional error information are available,
13
+ * they are stored in the {@link OID4VPFailure["userInfo"]} field.
14
+ */
15
+
16
+ /**
17
+ *
18
+ * @param clientId extracted from OID4VP session
19
+ * @param responseUri extracted from OID4VP session
20
+ * @param authorizationRequestNonce extracted from OID4VP session
21
+ * @param mdocGeneratedNonce To be generated
22
+ * @param documents An Array of {@link DocRequested}
23
+ * @param fieldRequestedAndAccepted extracted from OID4VP session, it's a record of claims
24
+ * accepted for disclosure or its stringification
25
+ * @throws {OID4VPFailure} in case of failure
26
+ * @returns the Device Response in CBOR format
27
+ */
28
+ export const generateOID4VPDeviceResponse = async (clientId, responseUri, authorizationRequestNonce, mdocGeneratedNonce, documents, fieldRequestedAndAccepted) => {
29
+ return await IoReactNativeProximity.generateOID4VPDeviceResponse(clientId, responseUri, authorizationRequestNonce, mdocGeneratedNonce, documents, typeof fieldRequestedAndAccepted === 'string' ? fieldRequestedAndAccepted : JSON.stringify(fieldRequestedAndAccepted));
30
+ };
31
+ //# sourceMappingURL=remote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["IoReactNativeProximity","generateOID4VPDeviceResponse","clientId","responseUri","authorizationRequestNonce","mdocGeneratedNonce","documents","fieldRequestedAndAccepted","JSON","stringify"],"sourceRoot":"../../../../src","sources":["iso18013/iso18013-7/remote.ts"],"mappings":";;AAAA,SAASA,sBAAsB,QAAQ,aAAI;;AAG3C;AACA;AACA;;AAOA;AACA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,4BAA4B,GAAG,MAAAA,CAC1CC,QAAgB,EAChBC,WAAmB,EACnBC,yBAAiC,EACjCC,kBAA0B,EAC1BC,SAAmC,EACnCC,yBAAuD,KACnC;EACpB,OAAO,MAAMP,sBAAsB,CAACC,4BAA4B,CAC9DC,QAAQ,EACRC,WAAW,EACXC,yBAAyB,EACzBC,kBAAkB,EAClBC,SAAS,EACT,OAAOC,yBAAyB,KAAK,QAAQ,GACzCA,yBAAyB,GACzBC,IAAI,CAACC,SAAS,CAACF,yBAAyB,CAC9C,CAAC;AACH,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["iso18013/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,35 @@
1
+ import { Documents, IssuerSigned } from './schema';
2
+ /**
3
+ * Decode base64 encoded CBOR data to JSON object.
4
+ *
5
+ * If it is not possibile to decode the provided data, the promise will be rejected with
6
+ * an instance of {@link CborFailure}.
7
+ *
8
+ * **NOTE**: this method does not handle nested CBOR data, which will need additional
9
+ * parsing.
10
+ *
11
+ * @param data - The base64 or base64url encoded CBOR data
12
+ * @returns The decoded data as JSON object
13
+ */
14
+ export declare const decode: (data: string) => Promise<any>;
15
+ /**
16
+ * Decode base64 or base64url encoded CBOR data to mDOC object
17
+ *
18
+ * If it is not possibile to decode the provided data, the promise will be rejected with
19
+ * an instance of {@link CborFailure}.
20
+ *
21
+ * @param data - The base64 encoded MDOC data
22
+ * @returns The decoded data as mDOC object
23
+ */
24
+ export declare const decodeDocuments: (data: string) => Promise<Documents>;
25
+ /**
26
+ * Extract and decode the {@link IssuerSigned} with the {@link IssuerAuth} decoded from base64 encoded CBOR
27
+ *
28
+ * If it is not possibile to decode the provided data, the promise will be rejected with
29
+ * an instance of {@link CborFailure}.
30
+ *
31
+ * @param issuerSigned - The base64 or base64url encoded MDOC data
32
+ * @returns The decoded {@link IssuerSigned} contained in the mDOC object
33
+ */
34
+ export declare const decodeIssuerSigned: (issuerSigned: string) => Promise<IssuerSigned>;
35
+ //# sourceMappingURL=decoder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decoder.d.ts","sourceRoot":"","sources":["../../../../../src/cbor/cbor/decoder.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EAET,YAAY,EAEb,MAAM,UAAU,CAAC;AAGlB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,MAAM,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,GAAG,CAGtD,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,SAAS,CAGrE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,GAC7B,cAAc,MAAM,KACnB,OAAO,CAAC,YAAY,CAItB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * All error codes that the module could return.
3
+ */
4
+ export type CborFailureCodes = 'UNABLE_TO_DECODE' | 'INVALID_ENCODING' | 'UNKNOWN_EXCEPTION';
5
+ /**
6
+ * Error type returned by a rejected promise.
7
+ *
8
+ * If additional error information are available,
9
+ * they are stored in the {@link CborFailure["userInfo"]} field.
10
+ */
11
+ export type CborFailure = {
12
+ message: CborFailureCodes;
13
+ userInfo: Record<string, string>;
14
+ };
15
+ //# sourceMappingURL=failure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"failure.d.ts","sourceRoot":"","sources":["../../../../../src/cbor/cbor/failure.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,kBAAkB,GAClB,kBAAkB,GAClB,mBAAmB,CAAC;AAExB;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { decode, decodeDocuments, decodeIssuerSigned } from './decoder';
2
+ export { DocumentValue, Documents, DocumentsFromString, IssuerSigned, MDOC, } from './schema';
3
+ export { type CborFailure, type CborFailureCodes } from './failure';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/cbor/cbor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EACL,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,YAAY,EACZ,IAAI,GACL,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC"}