Commit Graph

402 Commits

Author SHA1 Message Date
Alexander Cerutti
1f41ce7602 Renamed schemas files to conform to Apple official names. Todos have been added for next major 2021-08-25 22:56:44 +02:00
Alexander Cerutti
4470da11ca Added support to requiresAuthentication for NFC schema and interface, along with developer reference link 2021-08-25 22:44:59 +02:00
Alexander Cerutti
0f6088f9c4 Improved names and fixed issue with loop 2021-06-21 22:14:59 +02:00
Alexander Cerutti
27f032c3fe Moved initialization of _fields 2021-06-21 22:08:09 +02:00
Alexander Cerutti
da86956583 Improved spaces, types and casting 2021-06-21 22:06:00 +02:00
Alexander Cerutti
d35cb627e5 Refactored Errors Messages to be references instead of looked up 2021-06-21 21:56:04 +02:00
Alexander Cerutti
6cf07339a5 Splitted _sign method to be a function on its own 2021-06-19 20:26:06 +02:00
Alexander Cerutti
8366c63c8c Refactored manifest creation to use Object.entries 2021-06-19 20:14:41 +02:00
Alexander Cerutti
202e227b3d Refactored l10n bundles generation in .generate() 2021-06-18 00:09:08 +02:00
Alexander Cerutti
a442144ef1 Removed function processRelevancySet 2021-06-17 23:34:53 +02:00
Alexander Cerutti
17de1c7d79 Refactored all the schemas;
Splitted them in a folder and renamed them to have the same name of typescript type;
Added more SemanticKeys;
Removed Schema resolution via string;
2021-06-17 23:34:22 +02:00
Alexander Cerutti
87321b8dc9 Fixed typos on field's property names - Closes #76 2021-06-17 19:58:12 +02:00
Alexander Cerutti
3e08d31d14 Removed moment for internal implementation 2021-02-09 14:16:19 +01:00
Alexander Cerutti
a3719f8eef Improved exporting of types in index 2021-02-08 00:04:03 +01:00
Alexander Cerutti
d5a487a609 Added prettier to project 2021-02-08 00:03:28 +01:00
Alexander Cerutti
1cde704c1b Removed repeated code in createPass and added few tests and moved few tests from index.ts to new factory test file 2021-02-07 22:35:02 +01:00
Alexander Cerutti
960331d737 Changed splitBufferBundle to use Object.entries and added tests for it 2021-02-07 17:23:33 +01:00
Alexander Cerutti
d017a38ac9 Improved few types 2021-02-05 08:11:53 +01:00
Alexander Cerutti
28780ebc72 Moved main index under src folder 2021-02-05 08:11:27 +01:00
Alexander Cerutti
7430ecbbb9 Removed forgotten console.log in abstract 2020-09-05 23:57:43 +02:00
Alexander Cerutti
a3ae92ea7f Moar VSCode autofixes 2020-09-05 23:52:50 +02:00
Alexander Cerutti
10dad6c1af Moved to minimum node version supported to 10 by using fs.promises instead of promisify functions 2020-09-05 23:51:56 +02:00
Alexander Cerutti
bca5d666bc Types and automatic improvements 2020-09-05 23:43:28 +02:00
Alexander Cerutti
a110d76b18 Generic Improvements 2020-09-05 23:29:05 +02:00
Alexander Cerutti
8f6667d97f Moved to more async-await approach a L10N parser 2020-09-05 23:11:05 +02:00
Alexander Cerutti
40437e6275 Setted Certificates to accept signerKey also as a string 2020-09-05 22:34:13 +02:00
Alexander Cerutti
7e528f57a7 VScode syntax auto-improvements 2020-09-05 22:33:34 +02:00
Alexander Cerutti
f171b93977 Improved passphrase extraction 2020-09-05 22:33:13 +02:00
Alexander Cerutti
a441297aa2 Fixed issue with TS types update and signerKey extraction 2020-09-05 22:32:33 +02:00
Alexander Cerutti
2288d018f2 Removed deprecated version of @hapi/joi and replaced it with new Sideway's joi 2020-09-05 22:14:05 +02:00
Alexander Cerutti
d26af1004b Improvements to barcodes signature and generation (removed overhead) 2019-12-14 17:16:19 +01:00
Alexander Cerutti
6e88f69ecb Merge branch 'strict' 2019-12-14 16:10:08 +01:00
nuts-n-bits
2aa27d8527 style
Signed-off-by: nuts-n-bits <nuts-n-bits@outlook.com>
2019-12-14 16:08:58 +01:00
nuts-n-bits
324bd1ba82 casting, parameter rename
Signed-off-by: nuts-n-bits <nuts-n-bits@outlook.com>
2019-12-14 16:08:58 +01:00
nuts-n-bits
9565bf0944 update beacon and location methods to use overload
Signed-off-by: nuts-n-bits <nuts-n-bits@outlook.com>
2019-12-14 16:08:58 +01:00
Alexander Cerutti
93684948ef Strict mode-fixes 2019-12-14 15:59:11 +01:00
Alexander Cerutti
5bae211316 Improved types for readCertificatesFromOptions 2019-12-12 23:04:15 +01:00
Alexander Cerutti
54865f537b Fixed non-existing this context 2019-12-10 22:21:18 +01:00
Alexander Cerutti
7ed8bf52aa Added pool declaration for FieldsArray 2019-12-10 22:11:40 +01:00
Alexander Cerutti
f642ddc444 Improved splitBufferBundle with early return 2019-12-10 22:10:45 +01:00
Alexander Cerutti
168c374ec1 Added safety check on getValidated 2019-12-06 01:14:22 +01:00
Alexander Cerutti
35aaf9f506 Fixed Joi update new Api integration 2019-12-06 01:13:15 +01:00
Alexander Cerutti
78baf78750 Small improvements 2019-12-06 00:23:55 +01:00
Alexander Cerutti
172ff69bd2 Added other previously prohibited field to Overrides 2019-12-06 00:09:23 +01:00
Alexander Cerutti
c74e9bddc5 Improved message type 2019-12-05 23:58:26 +01:00
Alexander Cerutti
356e68378a Improved schemas in the project 2019-12-05 23:55:28 +01:00
Alexander Cerutti
2e94307723 Changed Schemas type with a more detailed type Schema 2019-12-05 23:44:22 +01:00
Viacheslav Osadchiy
4ba86b3c88 Feature: support for overriding 'organizationName' field 2019-12-04 22:54:44 +03:00
Alexander Cerutti
6eba4524a5 Updated webServiceURL and allowed all characters for authenticationToken 2019-11-22 22:40:47 +01:00
Alexander Cerutti
522b2fca62 Added comments 2019-08-14 15:51:04 +02:00