Commit Graph

  • 8b6cabfc2c Changed PKPass.prototype.type to be the symbol (forgot to commit) Alexander Cerutti 2021-09-30 23:54:23 +02:00
  • 37b52d37c9 Improved Template schema and interface; Renamed Template.overrides to Template.props Alexander Cerutti 2021-09-30 23:53:54 +02:00
  • 64179d1f12 Added forgotten FileBuffers (not commited yet) Alexander Cerutti 2021-09-30 23:53:15 +02:00
  • fc957a4a24 Added optional props parameter to PKPass.from and renamed constructor parameter "overrides" to "props"; Alexander Cerutti 2021-09-30 23:52:52 +02:00
  • 24ff0e47eb Improved comment on PKPass.pack() Alexander Cerutti 2021-09-30 22:58:23 +02:00
  • 3f9cff62a0 Moved NamedBuffers in Schemas ad renamed it in FileBuffers Alexander Cerutti 2021-09-30 22:57:53 +02:00
  • 38fe473f07 Removed Schemas.Manifest Alexander Cerutti 2021-09-30 22:44:20 +02:00
  • 342f3934b8 Fixed translations adding and improved a comment Alexander Cerutti 2021-09-30 22:14:10 +02:00
  • 1fe4355c26 Added merging of pass.json props in this[propsSymbol] with an overwrite warning Alexander Cerutti 2021-09-29 23:55:46 +02:00
  • b0b0a9555f Added new couple of setter/getter for pass type, that resets the current fields to prevent old data to remain Alexander Cerutti 2021-09-29 23:45:12 +02:00
  • e151afa0ed Added accessors Alexander Cerutti 2021-09-29 23:02:05 +02:00
  • ac6d61021d Removed void() method as it does not require validation Alexander Cerutti 2021-09-29 22:38:50 +02:00
  • c6091ec9ca Removed this return from data setup methods to allow developers to receive thrown erros Alexander Cerutti 2021-09-29 22:38:18 +02:00
  • 331cb72a67 Moved translationsFile regex Alexander Cerutti 2021-09-28 21:52:13 +02:00
  • 2ed39b3c59 Added overrides handling in PKPass.from Alexander Cerutti 2021-09-28 21:49:03 +02:00
  • 27a941f2f1 Added (untested) implementation for personalization Alexander Cerutti 2021-09-28 21:43:15 +02:00
  • bc8e354a11 Changed first transitType set to come from props Alexander Cerutti 2021-09-28 01:31:36 +02:00
  • 4bff9a2fe3 Removed TransitTypes type in PKPass for the one in Schemas Alexander Cerutti 2021-09-28 01:06:38 +02:00
  • 945a653f22 Changed comment and warn Alexander Cerutti 2021-09-28 01:02:41 +02:00
  • ba3a2df001 Added overrides validation and changed PKPass.prototype.type's type Alexander Cerutti 2021-09-28 01:01:11 +02:00
  • 56bb7b9a16 Added check to prevent the addition of empty undefined / null as buffers Alexander Cerutti 2021-09-28 00:56:30 +02:00
  • 770a5e780b Updated Schemas Alexander Cerutti 2021-09-28 00:47:50 +02:00
  • e8a40c4554 Deleted factory.ts file Alexander Cerutti 2021-09-27 23:48:25 +02:00
  • ac1c994b75 Moved Template type to Schemas Alexander Cerutti 2021-09-27 00:32:58 +02:00
  • cabb0daab4 Replaced BundleState with freeze state of Bundle.prototype[filesSymbol] Alexander Cerutti 2021-09-26 23:42:17 +02:00
  • aaea9c1304 Revert "Added Bundle.prototype.files getter to prevent exposing filesSymbol" Alexander Cerutti 2021-09-26 23:32:21 +02:00
  • 6f7a597cbe Added Bundle.prototype.files getter to prevent exposing filesSymbol Alexander Cerutti 2021-09-26 18:21:25 +02:00
  • 1b3647da8f Added Bundle.prototype.isFrozen getter and used it to close pass if it is not yet frozen Alexander Cerutti 2021-09-26 18:17:24 +02:00
  • d41a592a69 Added color parsing in closePassSymbol method Alexander Cerutti 2021-09-26 16:39:00 +02:00
  • 4fe4f5e487 Added forgotten imports and symbols, and replaced \n as separator for stringFile with EOL Alexander Cerutti 2021-09-26 16:17:50 +02:00
  • 58bb4bdd9a Made string file to be added only if stringsFile has a length Alexander Cerutti 2021-09-26 16:07:04 +02:00
  • 039b636262 Added manifest creation, signature creation, pass.strings creation and pass-close methods Alexander Cerutti 2021-09-26 14:53:15 +02:00
  • b1f4739db9 Improved PKPass.from Alexander Cerutti 2021-09-25 23:41:33 +02:00
  • 3cbb1b46b8 Edited getModelFolderContents to return just one object of buffers (to be tested yet) Alexander Cerutti 2021-09-25 23:27:25 +02:00
  • 662b437295 Changed from buffers clone strategy Alexander Cerutti 2021-09-25 21:53:00 +02:00
  • 344c33c54c Added localize implementation along with its tests Alexander Cerutti 2021-09-25 21:41:06 +02:00
  • 7a23cba582 Added accessors on getters and setters Alexander Cerutti 2021-09-25 20:21:22 +02:00
  • c0dfdf1d3d Removed forgotten design comment Alexander Cerutti 2021-09-25 20:18:41 +02:00
  • 690e2d4689 Changed again fields as they should not be directly under props, but under its type Alexander Cerutti 2021-09-25 20:01:12 +02:00
  • fb0fac0cab Moved fields to be have only a getter and a place in props Alexander Cerutti 2021-09-25 18:12:41 +02:00
  • 3ad4c42041 Removed duplicated addBuffer call Alexander Cerutti 2021-09-25 17:42:49 +02:00
  • 2c3ca1076c Unified file import strategy flow in constructor with the one in addBuffer Alexander Cerutti 2021-09-25 17:31:31 +02:00
  • e326a25b4f Added parsing of pass.strings files when using addBuffer Alexander Cerutti 2021-09-25 17:30:08 +02:00
  • d4a4c267fb Added pass importing method Alexander Cerutti 2021-09-24 23:09:09 +02:00
  • 84823794d8 Added partial implementation of addBuffer Alexander Cerutti 2021-09-22 22:58:54 +02:00
  • 9d76856d67 Added implementation of transitType along with tests to be modified yet and tested when we'll have a good content saving Alexander Cerutti 2021-09-21 22:28:57 +02:00
  • 461caaaed7 Changed filterValid to use getValidated instead of isValid and to reduce the valid values Alexander Cerutti 2021-09-21 22:24:37 +02:00
  • c49aad4098 Added setBarcodes implementation along with tests Alexander Cerutti 2021-09-21 21:34:28 +02:00
  • d3eb66b2c8 Added setRelevantDate implementation along tests and added and fixed tests of setExpirationDate Alexander Cerutti 2021-09-21 20:26:03 +02:00
  • 59d9e693a3 Added docs references in some comments Alexander Cerutti 2021-09-21 00:20:21 +02:00
  • 208faee460 Added setExpirationDate implementation along with tests Alexander Cerutti 2021-09-21 00:02:03 +02:00
  • 389aa96532 Added setNFCCapability implementation along with tests Alexander Cerutti 2021-09-19 22:45:37 +02:00
  • a3195e7d21 Added forgotten return this Alexander Cerutti 2021-09-19 20:17:09 +02:00
  • 59efe84bc8 Added implementation of setLocations along with tests Alexander Cerutti 2021-09-19 20:09:32 +02:00
  • 8a814e46f0 Added implementation for setBeacons along with some tests Alexander Cerutti 2021-09-19 19:52:08 +02:00
  • a73b367a62 Setted PKPass to be exported as default Alexander Cerutti 2021-09-19 19:29:30 +02:00
  • bdbbf235d2 Added propsSymbol and prop getter implementation Alexander Cerutti 2021-09-19 18:55:43 +02:00
  • 37b7b8698f Moved Bundle.autoFreezable creation in the attempt of creating the bundle after processing promises and leveraging event loop Alexander Cerutti 2021-09-18 23:23:03 +02:00
  • 658bb287a8 Added comment for PKPass.pack Alexander Cerutti 2021-09-18 23:22:06 +02:00
  • 3ee5913c01 Added another TODO to constructor Alexander Cerutti 2021-09-18 23:18:39 +02:00
  • 1d3e1f9af5 Fixed paths and added imports Alexander Cerutti 2021-09-18 23:18:25 +02:00
  • ef0c28b744 Added untested implementation of PKPass.pack method Alexander Cerutti 2021-09-18 23:18:12 +02:00
  • 7c7a8680de Added signatures for PKPass methods Alexander Cerutti 2021-09-18 23:17:47 +02:00
  • 47d8f28e67 Added experimental autoFreezable method in bundle (probably I'll regret it) Alexander Cerutti 2021-09-18 23:16:50 +02:00
  • a38c235cf8 Added first untested and incomplete implementation of PKPass.from Alexander Cerutti 2021-09-18 22:07:13 +02:00
  • a970232623 Added fields and pool creation to PKPass Alexander Cerutti 2021-09-18 21:45:46 +02:00
  • cab8e08c3e Added first integration of PKPass file Alexander Cerutti 2021-09-18 18:56:09 +02:00
  • 8d1a6277fb (auto) Converted format of package-lock.json of examples sub-package Alexander Cerutti 2021-09-18 18:32:41 +02:00
  • abc6695940 Added Bundle class implementation along with tests Alexander Cerutti 2021-09-18 18:32:14 +02:00
  • cd941e2aed v2.0.8 Alexander Cerutti 2021-08-25 23:20:54 +02:00
  • 0c5b4e130f Renamed Schem< Personalization file to Personalize Alexander Cerutti 2021-08-25 23:12:01 +02:00
  • 7c2e8db1fb Added Semantics as supported overrideable Alexander Cerutti 2021-08-25 23:07:31 +02:00
  • 1f41ce7602 Renamed schemas files to conform to Apple official names. Todos have been added for next major Alexander Cerutti 2021-08-25 22:56:44 +02:00
  • 4470da11ca Added support to requiresAuthentication for NFC schema and interface, along with developer reference link Alexander Cerutti 2021-08-25 22:44:59 +02:00
  • 5c7599acd6 v2.0.7 Alexander Cerutti 2021-06-21 23:16:40 +02:00
  • 0f6088f9c4 Improved names and fixed issue with loop Alexander Cerutti 2021-06-21 22:14:59 +02:00
  • 27f032c3fe Moved initialization of _fields Alexander Cerutti 2021-06-21 22:08:09 +02:00
  • da86956583 Improved spaces, types and casting Alexander Cerutti 2021-06-21 22:06:00 +02:00
  • d35cb627e5 Refactored Errors Messages to be references instead of looked up Alexander Cerutti 2021-06-21 21:56:04 +02:00
  • 07321fba92 Updated dependencies Alexander Cerutti 2021-06-19 21:16:39 +02:00
  • 6cf07339a5 Splitted _sign method to be a function on its own Alexander Cerutti 2021-06-19 20:26:06 +02:00
  • 8366c63c8c Refactored manifest creation to use Object.entries Alexander Cerutti 2021-06-19 20:14:41 +02:00
  • 202e227b3d Refactored l10n bundles generation in .generate() Alexander Cerutti 2021-06-18 00:09:08 +02:00
  • eb36db44bb Fixed schemas import in tests Alexander Cerutti 2021-06-17 23:36:46 +02:00
  • a442144ef1 Removed function processRelevancySet Alexander Cerutti 2021-06-17 23:34:53 +02:00
  • 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; Alexander Cerutti 2021-06-17 23:34:22 +02:00
  • 87321b8dc9 Fixed typos on field's property names - Closes #76 Alexander Cerutti 2021-06-17 19:58:12 +02:00
  • d9e4ef7dba Merge pull request #72 from KristofKekesi/patch-1 Alexander Cerutti 2021-05-30 23:40:43 +02:00
  • 593f1ce938 fixes Kristóf Kékesi 2021-05-30 14:35:37 +02:00
  • aa4538603e fixed typo Kristóf Kékesi 2021-05-30 12:33:36 +02:00
  • e1c46491d6 Improved Passkit Visual Designer paragraph Alexander Cerutti 2021-03-28 21:11:35 +02:00
  • a6c46cb0b6 Added Passkit Visual Designer reference to Readme; Readme autofix through prettier Alexander Cerutti 2021-03-28 16:32:56 +02:00
  • 025c39e40a Merge pull request #69 from sarawarnock/master Alexander Cerutti 2021-02-26 22:42:58 +01:00
  • 95967b2e7a fixed unpaired brackets sarawarnock 2021-02-26 14:25:31 -07:00
  • effdfd9b40 edit headings for Usage Examples in README sarawarnock 2021-02-26 13:59:09 -07:00
  • b878664a8a added Buffer Model to README sarawarnock 2021-02-26 12:01:49 -07:00
  • 2574149b16 v2.0.6 Alexander Cerutti 2021-02-09 20:20:28 +01:00
  • ece352bf6b Fixed building with pg linking in examples and added example:debug script Alexander Cerutti 2021-02-09 20:16:47 +01:00
  • 07569c1c68 v2.0.6 Changelog Alexander Cerutti 2021-02-09 14:29:50 +01:00
  • 86ef7450e6 Setted examples package to be private (to avoid mistakes) Alexander Cerutti 2021-02-09 14:17:22 +01:00