Commit Graph

387 Commits

Author SHA1 Message Date
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
Alexander Cerutti
80b874077f Moved row field in schema from Field to PassFields.auxiliaryFields;
Added optional row on typings
2019-07-31 23:21:58 +02:00
Alexander Cerutti
0175a2858e Removed a TODO left 2019-07-27 00:53:37 +02:00
Alexander Cerutti
9aa151ebb3 Removed @ from personalizationLogo search 2019-07-27 00:51:25 +02:00
Alexander Cerutti
eecfdb048f Added support for personalization / Rewards Enrollment passes 2019-07-27 00:41:48 +02:00
Alexander Cerutti
2444d52cb2 Added personalization messages and schemas 2019-07-27 00:40:54 +02:00
Alexander Cerutti
d650dbb31f Added more utils functions 2019-07-27 00:40:28 +02:00
Alexander Cerutti
b44d8d764f Added createPass support to AbstractModel 2019-07-25 23:09:18 +02:00
Alexander Cerutti
9321ccc4ba Improved types, messages and exported objects 2019-07-25 23:09:18 +02:00
Alexander Cerutti
040e4a891f Added implementation of abstract models 2019-07-25 23:09:17 +02:00
Alexander Cerutti
693694a9eb Improved modelPath composition 2019-07-25 23:09:16 +02:00
Alexander Cerutti
492f5239df Small improvements and fixes 2019-07-25 21:41:16 +02:00
Alexander Cerutti
4ec86415bf Fixed problem with localization files path/fileNames 2019-07-11 23:31:48 +02:00
Alexander Cerutti
6ce2b9ab22 Optimized Buffer model content splitting through splitBufferBundle 2019-07-11 23:30:43 +02:00
Alexander Cerutti
92a48eccbe Renamed splitBundle to splitBufferBundle and edited it to return splitted l10n/rootBundle object 2019-07-11 23:29:23 +02:00
Alexander Cerutti
ef4ce53dd6 Fixed problem with buffer models 2019-07-11 23:27:20 +02:00