Commit Graph

153 Commits

Author SHA1 Message Date
Alexander Cerutti
734a9abc3b Improved Localize comments and signature 2019-06-15 23:39:33 +02:00
Alexander Cerutti
1668678f7c Splitted relevance method in beacons, locations, relevantDate and maxDistance as override 2019-06-15 23:34:46 +02:00
Alexander Cerutti
2c2e4ef79d Added PassWithLengthField interface 2019-06-15 23:33:06 +02:00
Alexander Cerutti
e83906102c Removed useless check in fieldsArray 2019-06-15 22:08:50 +02:00
Alexander Cerutti
97ac79f2f4 Indentation fix 2019-06-15 22:08:21 +02:00
Alexander Cerutti
691aa69d50 Updated BRC_AUTC_MISSING_DATA message 2019-06-15 19:07:43 +02:00
Alexander Cerutti
978b5699ce Improved internal typings 2019-06-15 19:07:43 +02:00
Alexander Cerutti
82dd8711ba Added BarcodeFormat as type 2019-06-15 19:07:34 +02:00
Alexander Cerutti
5c5e573fde Recreated Barcodes functions to accept a string and an object 2019-06-15 19:07:34 +02:00
Alexander Cerutti
10ef5f30b6 Set Field semantics field as optional 2019-06-12 23:29:14 +02:00
Alexander Cerutti
48b9cd0b74 Added generic type to assignLength method 2019-06-12 23:28:59 +02:00
Alexander Cerutti
3bf14be4a6 Added Pass fields as property (for typescript) 2019-06-12 23:27:49 +02:00
Alexander Cerutti
5213b5e190 Changed pass.json props patching 2019-06-12 23:26:44 +02:00
Alexander Cerutti
9ed541dca7 Removed String-Date and its format on methods that uses dates for native Date object 2019-06-12 23:23:37 +02:00
Alexander Cerutti
79a55f64d4 Fixed wrong variables, added initialization 2019-06-09 23:41:20 +02:00
Alexander Cerutti
91008de66e Changed pass _sign to accept signerkey content 2019-06-09 12:23:04 +02:00
Alexander Cerutti
688b4da4f7 Changed _patch method to accept Buffer and return patched buffer 2019-06-09 12:22:16 +02:00
Alexander Cerutti
d562053a14 Removed unused methods hasValidType, _parseSettings, readCertificates, etc. 2019-06-09 12:12:48 +02:00
Alexander Cerutti
70b42509c3 Changed generate method: removed 2019-06-09 12:04:39 +02:00
Alexander Cerutti
38d1ccbfb2 Removed unused imported dependencies 2019-06-09 12:00:54 +02:00
Alexander Cerutti
8a841301fa Changed Pass constructor to conform to the new architecture; 2019-06-09 11:51:33 +02:00
Alexander Cerutti
16a9ebcd5c Renamed model in bundle 2019-06-09 11:48:25 +02:00
Alexander Cerutti
61a37eaa24 Fixed problem with bundles 2019-06-09 11:47:42 +02:00
Alexander Cerutti
46bd6d3b3c Moved types from factory to schema 2019-06-09 11:46:28 +02:00
Alexander Cerutti
75ca49d89a Added existence check for readCertificates 2019-06-07 20:48:55 +02:00
Alexander Cerutti
083142330c Added management for non-existing folder-model bundle files 2019-06-07 20:48:55 +02:00
Alexander Cerutti
65b8eea999 Added exports to createPass function;
Integrated missing dependency
2019-06-07 20:48:55 +02:00
Alexander Cerutti
8d9cbe6698 Delegated model checks to getModelContents function;
Added try-catch to handle failure
2019-06-07 20:48:55 +02:00
Alexander Cerutti
66e224205e Uniformed factory cross-functions naming 2019-06-07 20:48:55 +02:00
Alexander Cerutti
6f25dc40cf Improved l10n bundle distribution 2019-06-07 20:48:55 +02:00
Alexander Cerutti
b6005bd821 improved types fix1 2019-06-07 20:48:55 +02:00
Alexander Cerutti
cd3b977b1f Improved interfaces and model 2019-06-07 20:48:55 +02:00
Alexander Cerutti
b3b0b1c877 Added function comments to factory model analysis functions 2019-06-07 20:48:55 +02:00
Alexander Cerutti
3976d86aa1 Improved FactoryOptions model 2019-06-07 20:48:54 +02:00
Alexander Cerutti
1cc8ae2975 Added functions getModelBufferContents, getModelFolderContents and getModelContents; 2019-06-07 20:48:54 +02:00
Alexander Cerutti
95240a91f7 Splitted certificates schema from instance one 2019-06-07 20:48:54 +02:00
Alexander Cerutti
1ec1c55483 Added first version of factory with certificates reading 2019-06-07 20:48:54 +02:00
Alexander Cerutti
ffdaf8ac61 Added more return types 2019-06-07 20:48:54 +02:00
Alexander Cerutti
5971e47853 Added Certificates interface 2019-06-07 20:47:06 +02:00
Alexander Cerutti
9609187fa5 Moved pass.json to typescript; Removed load method from pass implementation 2019-06-07 20:47:05 +02:00
Alexander Cerutti
7ee36c6f87 Moved fieldsArray to typescript 2019-06-07 20:44:40 +02:00
Alexander Cerutti
464f23e965 Moved messages.js to typescript 2019-06-07 20:31:59 +02:00
Alexander Cerutti
680ef5b8b7 Moved utils.js to typescript 2019-06-07 20:31:59 +02:00
Alexander Cerutti
2657ba272f Moved Schema.js to typescript with Joi-matched interfaces 2019-06-07 20:29:07 +02:00
Ian Bale
bc941640fc Adding support for native Dates (#32) by Ianbale 2019-06-07 13:06:16 +02:00
Ian Bale
a0a02bf083 Fixing passes parallel generation (#31) by Ianbale 2019-06-07 13:06:16 +02:00
Alexander Cerutti
f292031494 Added support for logoText in supportedOptions (issues #21, #28) 2019-06-07 12:56:12 +02:00
Alexander Cerutti
6451a3c378 Fixed nfc methods which was accepting and registering an array instead of an object 2019-06-07 12:56:12 +02:00
Alexander Cerutti
4c25002b8d Improved code readability 2019-05-24 23:45:33 +02:00
Alexander Cerutti
903192522c Added windows path slash parsing 2019-05-24 23:45:33 +02:00