Commit Graph

67 Commits

Author SHA1 Message Date
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
d5a487a609 Added prettier to project 2021-02-08 00:03:28 +01:00
Alexander Cerutti
d017a38ac9 Improved few types 2021-02-05 08:11:53 +01:00
Alexander Cerutti
bca5d666bc Types and automatic improvements 2020-09-05 23:43:28 +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
78baf78750 Small improvements 2019-12-06 00:23:55 +01:00
Alexander Cerutti
356e68378a Improved schemas in the project 2019-12-05 23:55:28 +01: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
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
f9c7686a5e Added schema-validation for props in pass.json before importing;
Added to props also the other props of pass.json
2019-07-07 15:11:06 +02:00
Alexander Cerutti
60f9e8320b Improved passFile props assignment 2019-07-01 23:50:50 +02:00
Alexander Cerutti
8b6f1ba948 Cleanup 2019-07-01 23:50:49 +02:00
Alexander Cerutti
35789a3d34 Added NFC_INVALID message 2019-07-01 23:50:49 +02:00
Alexander Cerutti
1226bb21c7 Removed forgotter useless parameters and fixed nfc method to accept null;
Added null to more signatures;
2019-07-01 23:50:49 +02:00
Alexander Cerutti
4546774916 Improved how pass props are loaded from overrides and pass.json 2019-07-01 23:50:48 +02:00
Alexander Cerutti
c61921721e Added BRC_NO_POOL error 2019-07-01 23:50:48 +02:00
Alexander Cerutti
a5ac1e13a4 Added props getter to get a copy of current props 2019-07-01 23:50:48 +02:00
Alexander Cerutti
dba3a7a02a Renamed _props to a symbol-property 2019-07-01 23:50:47 +02:00
Alexander Cerutti
e4c39d837a Removed barcodes autocompletion 2019-07-01 23:50:47 +02:00
Alexander Cerutti
c5a8de4964 Renamed barcode to barcodes and backward for barcodes to barcode 2019-07-01 23:50:47 +02:00
Alexander Cerutti
5babdf6854 Removed assignLength;
Removed passing of undefined to get the current value;
2019-07-01 23:50:46 +02:00
Alexander Cerutti
003b584221 Set back beacons and locations to overwrite the current properties;
Merged beacons and locations relevancy logic
2019-07-01 23:50:46 +02:00
Alexander Cerutti
b410a435df Unified date processing of expiration and relevantDate 2019-07-01 23:50:45 +02:00
Alexander Cerutti
a981571c42 Fixed beacons and locations content getting 2019-07-01 23:50:45 +02:00
Alexander Cerutti
75b22daf73 Removed selected patching based on type for a direct replacement of the properties 2019-07-01 23:50:45 +02:00
Alexander Cerutti
05193aa32a Added support to fetching current values of non-overrides props 2019-07-01 23:50:44 +02:00
Alexander Cerutti
9f924bbdcd Added support for pass.json properties to be inserted in _props 2019-07-01 23:50:44 +02:00
Alexander Cerutti
91c6ff1b94 Small Improvements to comments and code 2019-07-01 23:50:41 +02:00
Alexander Cerutti
894266de28 Improved security checks;
Added back the formatted messages and added new ones;
2019-07-01 23:35:08 +02:00
Alexander Cerutti
c733a4ea58 Added optimization for creation of FieldsArray 2019-07-01 23:35:06 +02:00
Alexander Cerutti
816f315fca Small improvements 2019-07-01 23:35:06 +02:00
Alexander Cerutti
8a6b473f84 Replaced Archiver with yazl;
Changed generate interface to return directly the stream;
2019-06-17 23:38:36 +02:00
Alexander Cerutti
7befe2ab98 Improved types 2019-06-16 11:47:51 +02:00
Alexander Cerutti
f5cb43827e Fixed schema names 2019-06-15 23:57:18 +02:00
Alexander Cerutti
734a9abc3b Improved Localize comments and signature 2019-06-15 23:39:33 +02:00