Commit Graph

61 Commits

Author SHA1 Message Date
Alexander Cerutti
95983ffc84 Added support to relevantDate renaming to date 2025-09-18 14:11:57 +02:00
Alexander Cerutti
578e26eb1d Added URL regex validation for many URL properties in the root 2025-09-17 01:35:54 +02:00
Alexander Cerutti
194412201d Added same properties to Joi Scheme 2025-09-15 22:47:21 +02:00
Alexander Cerutti
57f0b1a634 Added more missing new iOS 26 properties for flights 2025-09-15 22:37:59 +02:00
Alexander Cerutti
d627c0748d Added StyleSchemes to generate enhanced boarding passes 2025-09-15 22:27:45 +02:00
Alexander Cerutti
eb6de01b02 Added schemas for UpcomingPassInformation 2025-09-03 01:18:21 +02:00
Alexander Cerutti
4692c68d5d Deprecated Field interface in order to rename it according to Apple name (PassFieldContent) 2025-09-03 00:38:40 +02:00
Alexander Cerutti
fe288c0113 Fixed useAutomaticColors property 2025-09-03 00:22:14 +02:00
Robert
228323dbcb Add to PassColors. 2025-05-27 20:33:55 +02:00
Robert
0419aae516 Add support for undocumented stripColor property. 2025-05-27 20:32:20 +02:00
Alexander Cerutti
d20129da99 Updated imports to have extensions 2025-01-11 14:41:15 +01:00
Alexander Cerutti
02165d18ac Improved markers and descriptions for iOS 18 properties and added venueOpenDate 2025-01-09 01:49:49 +01:00
Alexander Cerutti
7ccae18077 Added support to auxiliaryStoreIdentifiers 2025-01-09 01:21:08 +01:00
Alexander Cerutti
88a2ca9706 Added support to useAutomaticColor 2025-01-09 01:06:38 +01:00
Alexander Cerutti
f49eb5886a Added support to footerBackgroundColor 2025-01-09 01:00:41 +01:00
Alexander Cerutti
64394d044f Added support to suppressHeaderDarkening 2025-01-09 00:57:44 +01:00
Alexander Cerutti
6462a852fc Added new method setRelevantDates 2025-01-09 00:17:19 +01:00
Alexander Cerutti
9d8ad48665 Updated relevancy schemas to match new iOS 18 changes 2025-01-08 10:52:24 +01:00
Alexander Cerutti
474662a1a8 Converted all nodejs imports to node: prefix 2024-10-12 00:23:07 +02:00
Alexander Cerutti
0827730d41 Prettier rewrite 2024-10-12 00:09:31 +02:00
Alexander Cerutti
5a7ab94eed Fixed files cross-reference Semantics 2024-10-11 14:36:09 +02:00
Alexander Cerutti
22f77d7cee Set colors to support hex 2024-10-07 01:33:48 +02:00
Alexander Cerutti
93ed702c99 Added support to transferURL and sellURL new properties 2024-10-05 00:17:30 +02:00
Alexander Cerutti
83d93a76bd Added new root properties for event guide 2024-10-04 23:14:19 +02:00
Alexander Cerutti
2085e63a22 Improved comments 2024-10-02 20:22:45 +02:00
Alexander Cerutti
5b23f8fbf6 Moved relevantDates from semantics to root 2024-10-02 19:40:07 +02:00
Alexander Cerutti
8ee077c879 Added two new undocumented fields directionsInformationURL and contactVenueEmail 2024-10-02 19:28:01 +02:00
Alexander Cerutti
b21e29918e Changed schemas to accept preferredStyleSchemes from pass json but not from props 2024-10-01 13:13:56 +02:00
Alexander Cerutti
dff2870eec Moved preferredStyleSchemes schema and properties to root (fixed Apple WWDC video misinformation) 2024-10-01 13:07:13 +02:00
Alexander Cerutti
432e380429 Added a new setter and getter for preferredStyleSchemes to throw if type is not an eventTicket and moved PreferredStyleSchemes schemas 2024-06-15 23:48:33 +02:00
Alexander Cerutti
593b64a676 Replaced Joi method append with concat 2024-06-15 23:32:21 +02:00
Alexander Cerutti
9d033bd6d7 Added support to eventTicket.preferredStyleSchemes 2024-06-14 23:12:38 +02:00
Alexander Cerutti
d82e24ea20 Shared URL Regex in schema 2024-06-14 23:04:24 +02:00
Alexander Cerutti
f74e5241f7 Added support to bagPolicyURL, orderFoodURL and parkingInformationURL 2024-06-14 23:02:17 +02:00
Alexander Cerutti
a15dc29290 Added explicit Buffer import declarations 2022-02-07 01:18:06 +01:00
Alexander Cerutti
cf8a467266 Applied changes to solve several issues about typescript strict mode 2021-12-23 19:46:29 +01:00
Alexander Cerutti
a723c152be Made PKPass.from Template to accept optional certificates 2021-11-14 00:51:07 +01:00
Alexander Cerutti
eabee97d89 Removed unused validation function isValid 2021-10-25 01:14:32 +02:00
Alexander Cerutti
3c706ddbb6 Changed messages format export from default to non-default 2021-10-23 19:09:38 +02:00
Alexander Cerutti
1735a3824a Changed logic for formatVersion parsing and defaulting 2021-10-20 00:08:38 +02:00
Alexander Cerutti
3290cb1d3f Added formatVersion to pass.json schemas to keep it 2021-10-18 23:54:48 +02:00
Alexander Cerutti
c432b45b00 Renamed schema files and removed few TODOs 2021-10-16 14:02:03 +02:00
Alexander Cerutti
2a7f5f818c Unified props passing to PKPass.from between template and PKPass 2021-10-16 12:44:01 +02:00
Alexander Cerutti
907bb07912 Refactored all error messages, throws and tests. Added more throwing points and fixed others 2021-10-15 01:02:17 +02:00
Alexander Cerutti
3f4589141b Changed how colors validation happens: now they will make validation throw if they have an incorrect value 2021-10-13 00:43:18 +02:00
Alexander Cerutti
928081ecfc Fixed tests, added tests, fixed ducked up things 2021-10-11 23:04:09 +02:00
Alexander Cerutti
bbecdeed79 Improved schemas validation and added new function assertValidity 2021-10-08 22:33:32 +02:00
Alexander Cerutti
e0d2db9fc4 Added certificates saving in constructor and parsing them when signature is being created; changed Manifest to be exported as a Buffer 2021-10-03 18:14:10 +02:00
Alexander Cerutti
37b52d37c9 Improved Template schema and interface; Renamed Template.overrides to Template.props 2021-09-30 23:53:54 +02:00
Alexander Cerutti
64179d1f12 Added forgotten FileBuffers (not commited yet) 2021-09-30 23:53:15 +02:00