Commit Graph

  • b44d8d764f Added createPass support to AbstractModel Alexander Cerutti 2019-07-25 23:08:48 +02:00
  • 9321ccc4ba Improved types, messages and exported objects Alexander Cerutti 2019-07-25 23:08:21 +02:00
  • 040e4a891f Added implementation of abstract models Alexander Cerutti 2019-07-25 23:07:53 +02:00
  • 8bd7978e0b Examples improvements Alexander Cerutti 2019-07-25 23:06:52 +02:00
  • 693694a9eb Improved modelPath composition Alexander Cerutti 2019-07-25 22:09:27 +02:00
  • 492f5239df Small improvements and fixes Alexander Cerutti 2019-07-25 21:41:16 +02:00
  • 1036b553c8 Added german language folder to examplePass Alexander Cerutti 2019-07-13 00:04:47 +02:00
  • 4ec86415bf Fixed problem with localization files path/fileNames Alexander Cerutti 2019-07-11 23:31:48 +02:00
  • 6ce2b9ab22 Optimized Buffer model content splitting through splitBufferBundle Alexander Cerutti 2019-07-11 23:30:43 +02:00
  • 92a48eccbe Renamed splitBundle to splitBufferBundle and edited it to return splitted l10n/rootBundle object Alexander Cerutti 2019-07-11 23:29:23 +02:00
  • ef4ce53dd6 Fixed problem with buffer models Alexander Cerutti 2019-07-11 23:27:20 +02:00
  • 29a90d7dc2 Improved CP_INIT_ERROR Alexander Cerutti 2019-07-10 00:25:07 +02:00
  • f4dabb42b0 Moved splitBundle to utils and set optional to additionalBuffers Alexander Cerutti 2019-07-10 00:24:53 +02:00
  • 6d39139dc7 Removed left console.log Alexander Cerutti 2019-07-09 23:55:21 +02:00
  • 6252f4d6a4 Added support for additional buffers Alexander Cerutti 2019-07-09 23:44:36 +02:00
  • d4f67d9b12 Update API.md Alexander Cerutti 2019-07-07 16:15:39 +02:00
  • fd4c0ff7f5 1.6.7 Alexander Cerutti 2019-07-07 15:51:26 +02:00
  • 54c8f83ffd 1.6.6 Alexander Cerutti 2019-07-07 15:48:18 +02:00
  • f37f978e2c Fixed problem with fieldsArray: field were being added even if the keys check was failing Alexander Cerutti 2019-07-07 15:41:59 +02:00
  • 09707694ba Added 2.0.0 beta message in readme Alexander Cerutti 2019-07-07 15:32:17 +02:00
  • d2c97a0d6d Added beta notice Alexander Cerutti 2019-07-07 15:08:00 +02:00
  • 2c882f17d8 Updated API and README documents Alexander Cerutti 2019-07-07 03:01:29 +02:00
  • f9c7686a5e Added schema-validation for props in pass.json before importing; Added to props also the other props of pass.json Alexander Cerutti 2019-07-07 03:00:40 +02:00
  • e0be1e7527 Moved factory methods to new parser file Alexander Cerutti 2019-07-02 22:05:14 +02:00
  • 5a96f5004a Updated declarations Alexander Cerutti 2019-07-01 23:48:48 +02:00
  • 60f9e8320b Improved passFile props assignment Alexander Cerutti 2019-06-30 23:28:06 +02:00
  • 8b6f1ba948 Cleanup Alexander Cerutti 2019-06-30 02:25:30 +02:00
  • 35789a3d34 Added NFC_INVALID message Alexander Cerutti 2019-06-30 02:10:12 +02:00
  • 1226bb21c7 Removed forgotter useless parameters and fixed nfc method to accept null; Added null to more signatures; Alexander Cerutti 2019-06-30 02:06:55 +02:00
  • 4546774916 Improved how pass props are loaded from overrides and pass.json Alexander Cerutti 2019-06-30 02:03:24 +02:00
  • c61921721e Added BRC_NO_POOL error Alexander Cerutti 2019-06-30 02:02:24 +02:00
  • 25aa60ba99 Updated tests and barcode example to latest changes Alexander Cerutti 2019-06-30 02:01:17 +02:00
  • a5ac1e13a4 Added props getter to get a copy of current props Alexander Cerutti 2019-06-30 02:00:39 +02:00
  • dba3a7a02a Renamed _props to a symbol-property Alexander Cerutti 2019-06-29 23:51:38 +02:00
  • e4c39d837a Removed barcodes autocompletion Alexander Cerutti 2019-06-29 18:15:07 +02:00
  • c5a8de4964 Renamed barcode to barcodes and backward for barcodes to barcode Alexander Cerutti 2019-06-29 18:10:55 +02:00
  • 5babdf6854 Removed assignLength; Removed passing of undefined to get the current value; Alexander Cerutti 2019-06-29 18:09:02 +02:00
  • 003b584221 Set back beacons and locations to overwrite the current properties; Merged beacons and locations relevancy logic Alexander Cerutti 2019-06-29 17:56:19 +02:00
  • b410a435df Unified date processing of expiration and relevantDate Alexander Cerutti 2019-06-29 17:50:50 +02:00
  • a981571c42 Fixed beacons and locations content getting Alexander Cerutti 2019-06-28 00:18:55 +02:00
  • 75b22daf73 Removed selected patching based on type for a direct replacement of the properties Alexander Cerutti 2019-06-27 23:49:52 +02:00
  • 53441a9b2f Updated examples and tests Alexander Cerutti 2019-06-27 23:43:44 +02:00
  • 05193aa32a Added support to fetching current values of non-overrides props Alexander Cerutti 2019-06-27 23:43:29 +02:00
  • 9f924bbdcd Added support for pass.json properties to be inserted in _props Alexander Cerutti 2019-06-27 22:39:52 +02:00
  • a82057d61b Added export on Pass declaration Alexander Cerutti 2019-06-27 00:47:19 +02:00
  • 701e020116 Added Pass as exported type Alexander Cerutti 2019-06-27 00:43:50 +02:00
  • 91c6ff1b94 Small Improvements to comments and code Alexander Cerutti 2019-06-23 16:45:06 +02:00
  • 18bacc8f47 Updated declarations Alexander Cerutti 2019-06-23 15:14:01 +02:00
  • f2383fee99 Improved schema Alexander Cerutti 2019-06-20 00:30:23 +02:00
  • 894266de28 Improved security checks; Added back the formatted messages and added new ones; Alexander Cerutti 2019-06-20 00:30:12 +02:00
  • c733a4ea58 Added optimization for creation of FieldsArray Alexander Cerutti 2019-06-18 22:33:09 +02:00
  • 816f315fca Small improvements Alexander Cerutti 2019-06-18 00:03:22 +02:00
  • 96c9dfa912 Changed BeaconDict.minor Joi signature Alexander Cerutti 2019-06-18 00:02:30 +02:00
  • 0e2f61cfef Changed tests to reflect new relevancy methods Alexander Cerutti 2019-06-18 00:02:06 +02:00
  • 0e13c6137f Changed all examples to new generate signature; Added internal package.json for examples Alexander Cerutti 2019-06-18 00:01:33 +02:00
  • 8a6b473f84 Replaced Archiver with yazl; Changed generate interface to return directly the stream; Alexander Cerutti 2019-06-17 23:38:36 +02:00
  • 7befe2ab98 Improved types Alexander Cerutti 2019-06-16 11:47:51 +02:00
  • f5cb43827e Fixed schema names Alexander Cerutti 2019-06-15 23:57:18 +02:00
  • 734a9abc3b Improved Localize comments and signature Alexander Cerutti 2019-06-15 23:39:33 +02:00
  • 1668678f7c Splitted relevance method in beacons, locations, relevantDate and maxDistance as override Alexander Cerutti 2019-06-15 23:34:46 +02:00
  • 2c2e4ef79d Added PassWithLengthField interface Alexander Cerutti 2019-06-15 23:33:06 +02:00
  • e83906102c Removed useless check in fieldsArray Alexander Cerutti 2019-06-15 22:08:50 +02:00
  • 97ac79f2f4 Indentation fix Alexander Cerutti 2019-06-15 22:08:21 +02:00
  • 691aa69d50 Updated BRC_AUTC_MISSING_DATA message Alexander Cerutti 2019-06-15 19:05:50 +02:00
  • 978b5699ce Improved internal typings Alexander Cerutti 2019-06-15 19:05:32 +02:00
  • 7c0a667a3c Adapted barcode example to new implementation Alexander Cerutti 2019-06-15 19:04:08 +02:00
  • 82dd8711ba Added BarcodeFormat as type Alexander Cerutti 2019-06-15 01:22:01 +02:00
  • 5c5e573fde Recreated Barcodes functions to accept a string and an object Alexander Cerutti 2019-06-15 01:21:26 +02:00
  • f9206bafac Moved tests to typescript Alexander Cerutti 2019-06-12 23:42:23 +02:00
  • 8ff9ed51c8 Converted examples to Typescript Alexander Cerutti 2019-06-12 23:36:38 +02:00
  • 10ef5f30b6 Set Field semantics field as optional Alexander Cerutti 2019-06-12 23:29:14 +02:00
  • 48b9cd0b74 Added generic type to assignLength method Alexander Cerutti 2019-06-12 23:28:59 +02:00
  • 85a107f7ed Added jasmine typs as dev dependency Alexander Cerutti 2019-06-12 23:28:21 +02:00
  • 3bf14be4a6 Added Pass fields as property (for typescript) Alexander Cerutti 2019-06-12 23:27:49 +02:00
  • 5213b5e190 Changed pass.json props patching Alexander Cerutti 2019-06-12 23:26:44 +02:00
  • 9ed541dca7 Removed String-Date and its format on methods that uses dates for native Date object Alexander Cerutti 2019-06-12 23:23:37 +02:00
  • 48e8f4ef84 Removed older version of index.js for tests and project Alexander Cerutti 2019-06-10 21:00:38 +02:00
  • 833aac08f2 Changes tsconfig.json Alexander Cerutti 2019-06-10 20:58:37 +02:00
  • 79a55f64d4 Fixed wrong variables, added initialization Alexander Cerutti 2019-06-09 23:41:20 +02:00
  • 85e9f63907 Removed download example Alexander Cerutti 2019-06-09 23:39:35 +02:00
  • 91008de66e Changed pass _sign to accept signerkey content Alexander Cerutti 2019-06-09 12:23:04 +02:00
  • 688b4da4f7 Changed _patch method to accept Buffer and return patched buffer Alexander Cerutti 2019-06-09 12:22:16 +02:00
  • d562053a14 Removed unused methods hasValidType, _parseSettings, readCertificates, etc. Alexander Cerutti 2019-06-09 12:12:48 +02:00
  • 70b42509c3 Changed generate method: removed Alexander Cerutti 2019-06-09 12:04:39 +02:00
  • 38d1ccbfb2 Removed unused imported dependencies Alexander Cerutti 2019-06-09 12:00:54 +02:00
  • 8a841301fa Changed Pass constructor to conform to the new architecture; Alexander Cerutti 2019-06-09 11:51:33 +02:00
  • 16a9ebcd5c Renamed model in bundle Alexander Cerutti 2019-06-09 11:48:25 +02:00
  • 61a37eaa24 Fixed problem with bundles Alexander Cerutti 2019-06-09 11:47:42 +02:00
  • 46bd6d3b3c Moved types from factory to schema Alexander Cerutti 2019-06-09 11:46:28 +02:00
  • d02ed747e3 Added index.ts Alexander Cerutti 2019-06-09 11:43:27 +02:00
  • 75ca49d89a Added existence check for readCertificates Alexander Cerutti 2019-06-01 14:01:25 +02:00
  • 083142330c Added management for non-existing folder-model bundle files Alexander Cerutti 2019-06-01 13:58:40 +02:00
  • 65b8eea999 Added exports to createPass function; Integrated missing dependency Alexander Cerutti 2019-06-01 00:49:04 +02:00
  • 8d9cbe6698 Delegated model checks to getModelContents function; Added try-catch to handle failure Alexander Cerutti 2019-06-01 00:48:32 +02:00
  • 66e224205e Uniformed factory cross-functions naming Alexander Cerutti 2019-06-01 00:45:20 +02:00
  • 6f25dc40cf Improved l10n bundle distribution Alexander Cerutti 2019-06-01 00:40:34 +02:00
  • b6005bd821 improved types fix1 Alexander Cerutti 2019-06-01 00:38:42 +02:00
  • cd3b977b1f Improved interfaces and model Alexander Cerutti 2019-06-01 00:26:23 +02:00
  • b3b0b1c877 Added function comments to factory model analysis functions Alexander Cerutti 2019-06-01 00:25:16 +02:00
  • 3976d86aa1 Improved FactoryOptions model Alexander Cerutti 2019-05-28 23:20:17 +02:00