Commit Graph

557 Commits

Author SHA1 Message Date
Alexander Cerutti
6d39139dc7 Removed left console.log 2019-07-09 23:55:21 +02:00
Alexander Cerutti
6252f4d6a4 Added support for additional buffers 2019-07-09 23:44:36 +02:00
Alexander Cerutti
d4f67d9b12 Update API.md
Generic improvements and fixes to API Document
2019-07-07 16:15:39 +02:00
Alexander Cerutti
fd4c0ff7f5 1.6.7 2019-07-07 15:51:26 +02:00
Alexander Cerutti
54c8f83ffd 1.6.6 2019-07-07 15:48:18 +02:00
Alexander Cerutti
f37f978e2c Fixed problem with fieldsArray: field were being added even if the keys check was failing 2019-07-07 15:41:59 +02:00
Alexander Cerutti
09707694ba Added 2.0.0 beta message in readme 2019-07-07 15:32:17 +02:00
Alexander Cerutti
d2c97a0d6d Added beta notice 2019-07-07 15:11:08 +02:00
Alexander Cerutti
2c882f17d8 Updated API and README documents 2019-07-07 15:11:07 +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
e0be1e7527 Moved factory methods to new parser file 2019-07-02 22:05:14 +02:00
Alexander Cerutti
5a96f5004a Updated declarations 2019-07-01 23:56:16 +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
25aa60ba99 Updated tests and barcode example to latest changes 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
53441a9b2f Updated examples and tests 2019-07-01 23:50:44 +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
a82057d61b Added export on Pass declaration 2019-07-01 23:50:43 +02:00
Alexander Cerutti
701e020116 Added Pass as exported type 2019-07-01 23:50:42 +02:00
Alexander Cerutti
91c6ff1b94 Small Improvements to comments and code 2019-07-01 23:50:41 +02:00
Alexander Cerutti
18bacc8f47 Updated declarations 2019-07-01 23:50:41 +02:00
Alexander Cerutti
f2383fee99 Improved schema 2019-07-01 23:50:40 +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
96c9dfa912 Changed BeaconDict.minor Joi signature 2019-06-18 00:02:30 +02:00
Alexander Cerutti
0e2f61cfef Changed tests to reflect new relevancy methods 2019-06-18 00:02:06 +02:00
Alexander Cerutti
0e13c6137f Changed all examples to new generate signature;
Added internal package.json for examples
2019-06-18 00:01:33 +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
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