Commit Graph

631 Commits

Author SHA1 Message Date
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
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
7c0a667a3c Adapted barcode example to new implementation 2019-06-15 19:07:34 +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
f9206bafac Moved tests to typescript 2019-06-12 23:42:23 +02:00
Alexander Cerutti
8ff9ed51c8 Converted examples to Typescript 2019-06-12 23:36:38 +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
85a107f7ed Added jasmine typs as dev dependency 2019-06-12 23:28:21 +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
48e8f4ef84 Removed older version of index.js for tests and project 2019-06-10 21:00:38 +02:00
Alexander Cerutti
833aac08f2 Changes tsconfig.json 2019-06-10 20:58:37 +02:00
Alexander Cerutti
79a55f64d4 Fixed wrong variables, added initialization 2019-06-09 23:41:20 +02:00
Alexander Cerutti
85e9f63907 Removed download example 2019-06-09 23:39:35 +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