Alexander Cerutti
|
27be996e79
|
Removed false comment
|
2025-01-11 16:43:59 +01:00 |
|
Alexander Cerutti
|
d20129da99
|
Updated imports to have extensions
|
2025-01-11 14:41:15 +01:00 |
|
Alexander Cerutti
|
6462a852fc
|
Added new method setRelevantDates
|
2025-01-09 00:17:19 +01:00 |
|
Alexander Cerutti
|
d41c661f63
|
Added initialization of additionalInfoField only if we are on an eventTicket
|
2024-10-18 20:18:56 +02:00 |
|
Alexander Cerutti
|
d871580fbf
|
Added support to a new field additionalInfoFields
|
2024-10-17 01:46:27 +02:00 |
|
Alexander Cerutti
|
474662a1a8
|
Converted all nodejs imports to node: prefix
|
2024-10-12 00:23:07 +02:00 |
|
Alexander Cerutti
|
576ba15a39
|
Added preferredStyleSchemes getter error throwing
|
2024-10-11 23:51:57 +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
|
dd08515251
|
Added support to preferredStyleSchemes import and reset
|
2024-06-16 04:04:05 +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
|
e8763db527
|
Fixed accessors
|
2023-04-24 15:20:45 +02:00 |
|
Alexander Cerutti
|
c7e41358eb
|
Improved fn comments and definitions
|
2023-04-19 23:27:50 +02:00 |
|
Alexander Cerutti
|
687caf727b
|
Improved signature for setRelevantDate
|
2023-04-11 23:11:39 +02:00 |
|
Alexander Cerutti
|
b5d6ed0dfb
|
Removed in-code tests ad-hoc code
|
2023-04-11 23:10:37 +02:00 |
|
Alexander Cerutti
|
07eb6f5cce
|
Added a bit of space: let's make the code breathe
|
2023-04-03 21:18:49 +02:00 |
|
Songkeys
|
e986fda63b
|
fix: transitType should be read when type is boardingPass (#137)
|
2023-04-03 23:38:36 +08:00 |
|
Alexander Cerutti
|
ab70e61f81
|
Changed auxiliaryFields getter return type
|
2022-11-11 23:54:50 +01:00 |
|
Alexander Cerutti
|
68c9b1588e
|
Added fieldSchema property to FieldsArray
|
2022-11-09 19:31:44 +01:00 |
|
Alexander Cerutti
|
eeb1978728
|
Made all the regex to get created only once
|
2022-03-29 22:36:27 +02:00 |
|
Alexander Cerutti
|
fa8b3e18bc
|
Small optimization to PKPass.pack
|
2022-03-13 00:44:32 +01:00 |
|
Alexander Cerutti
|
951730fb1d
|
Optimized localize null-translations loop
|
2022-03-13 00:19:50 +01:00 |
|
Alexander Cerutti
|
1212f4b32b
|
Optimized localizationEntries loop
|
2022-03-13 00:16:53 +01:00 |
|
Alexander Cerutti
|
153ad08885
|
Improved PKPass.pack to reduce the amount of iterations that gets done
|
2022-03-12 19:47:06 +01:00 |
|
Alexander Cerutti
|
a15dc29290
|
Added explicit Buffer import declarations
|
2022-02-07 01:18:06 +01:00 |
|
Alexander Cerutti
|
d0b0f8537f
|
Added path normalization on Windows, along with some tests
|
2021-12-28 01:05:14 +01:00 |
|
Alexander Cerutti
|
e1ea69df78
|
Renamed type setter parameter
|
2021-12-25 12:08:18 +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
|
e35d8bede3
|
Improved type
|
2021-11-14 00:57:28 +01:00 |
|
Alexander Cerutti
|
252b9e5cb0
|
Changed constructor buffers and certificates types to be optional
|
2021-11-14 00:50:12 +01:00 |
|
Alexander Cerutti
|
5651ce69a5
|
Added constructor check on certificates to avoid an error if a pass is created using PKPass.from, without specifying the certificates
|
2021-11-14 00:47:37 +01:00 |
|
Alexander Cerutti
|
964be0802c
|
Added constructor check for buffers
|
2021-11-14 00:42:14 +01:00 |
|
Alexander Cerutti
|
a0cdc218dd
|
Added languages getter
|
2021-10-31 20:54:31 +01:00 |
|
Alexander Cerutti
|
3c706ddbb6
|
Changed messages format export from default to non-default
|
2021-10-23 19:09:38 +02:00 |
|
Alexander Cerutti
|
03643834f1
|
Removed fieldKeysPoolSymbol based on instance to create one when FieldsArray are created. This also solves a keys reset problem when fields gets created from scratch
|
2021-10-23 18:40:22 +02:00 |
|
Alexander Cerutti
|
bf2f72b14d
|
Removed optional chaining from transitType getter to make it crash if boardingPass does not exist
|
2021-10-23 00:41:22 +02:00 |
|
Alexander Cerutti
|
86d09b9509
|
Added checks in PKPass methods to prevent changing contents if pass is frozen
|
2021-10-23 00:27:27 +02:00 |
|
Alexander Cerutti
|
3b69446873
|
Changed implementation of FieldsArray to accept passInstance instead of pool, to check frozen instance
|
2021-10-22 22:37:51 +02:00 |
|
Alexander Cerutti
|
e0c6d61c30
|
Changed props getter to clone recursively instead of freezing
|
2021-10-20 21:28:01 +02:00 |
|
Alexander Cerutti
|
07151ec4c8
|
Added localize with translations to null to delete also files
|
2021-10-18 00:50:48 +02:00 |
|
Alexander Cerutti
|
547045076a
|
Changed .localize method to need mandatory translations to be passed as second parameter
|
2021-10-18 00:43:53 +02:00 |
|
Alexander Cerutti
|
be8d524ad3
|
Added localize calling instead of manually assigning on addBuffer
|
2021-10-18 00:24:33 +02:00 |
|
Alexander Cerutti
|
510fd947a0
|
Removed from props override validation because it already happens in constructor
|
2021-10-17 20:06:06 +02:00 |
|
Alexander Cerutti
|
f17daa0a45
|
Movd another PKPass.from message to messages
|
2021-10-17 18:55:44 +02:00 |
|
Alexander Cerutti
|
031133891d
|
Removed PKPass.pack to be async and moved an error to messages
|
2021-10-17 13:53:19 +02:00 |
|
Alexander Cerutti
|
2a7770f4af
|
Moved passTypeSymbol to private
|
2021-10-16 18:50:26 +02:00 |
|
Alexander Cerutti
|
c256d1638b
|
Renamed Personalization to Personalize
|
2021-10-16 13:56:01 +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
|
b0dc83e6de
|
Made constructor props optional
|
2021-10-16 01:25:03 +02:00 |
|
Alexander Cerutti
|
f6d896fc2b
|
Moved from yazl to do-not-zip
|
2021-10-15 16:04:39 +02:00 |
|
Alexander Cerutti
|
2278308149
|
Moved freezeRecursive function to utils
|
2021-10-15 01:11:40 +02:00 |
|