Alexander Cerutti
|
ec13ae3032
|
Fixed localizing passes link in README.md
|
2021-10-25 01:32:34 +02:00 |
|
Alexander Cerutti
|
eabee97d89
|
Removed unused validation function isValid
|
2021-10-25 01:14:32 +02:00 |
|
Alexander Cerutti
|
1dac910421
|
Added tests for FieldsArray shift, unshift and one more for splice
|
2021-10-25 01:13:46 +02:00 |
|
Alexander Cerutti
|
e31918d942
|
Refactored FieldsArray to add overrides for shift and unshift and to share code between methods
|
2021-10-25 01:00:51 +02:00 |
|
Alexander Cerutti
|
ef8db46bfe
|
Added some tests for FieldsArray
|
2021-10-24 16:29:54 +02:00 |
|
Alexander Cerutti
|
505520813a
|
FieldsArray: fixed splice method to check incoming items and register their keys in pool;
|
2021-10-24 16:29:41 +02:00 |
|
Alexander Cerutti
|
7c9716c589
|
Added OverridablePassProps to exported types
|
2021-10-24 15:39:35 +02:00 |
|
Alexander Cerutti
|
35214e2c50
|
Fixed some API.md tables
|
2021-10-23 21:03:54 +02:00 |
|
Alexander Cerutti
|
ad812df261
|
Rewritten most part of API.md for v3.0
|
2021-10-23 20:46:29 +02:00 |
|
Alexander Cerutti
|
0774200abe
|
Updated DevDependencies
|
2021-10-23 19:11:54 +02:00 |
|
Alexander Cerutti
|
3c706ddbb6
|
Changed messages format export from default to non-default
|
2021-10-23 19:09:38 +02:00 |
|
Alexander Cerutti
|
ee2038005b
|
Fixed wrong test for transitType change
|
2021-10-23 18:47:00 +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
|
53b0c8e1fd
|
Fixed comment
|
2021-10-23 00:33:27 +02:00 |
|
Alexander Cerutti
|
0ed75ac047
|
FIxed Bundle test and changed bundle closed message
|
2021-10-23 00:28:30 +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
|
57f8fc5be3
|
Fixed tests
|
2021-10-20 00:35:39 +02:00 |
|
Alexander Cerutti
|
7b8d81bf4b
|
Updated example models to remove barcode and changed passTypeIdentifier
|
2021-10-20 00:29:23 +02:00 |
|
Alexander Cerutti
|
2c1c60e393
|
Updated examples typescript config
|
2021-10-20 00:29:02 +02:00 |
|
Alexander Cerutti
|
158ee4221a
|
Updated examples
|
2021-10-20 00:28:49 +02:00 |
|
Alexander Cerutti
|
1735a3824a
|
Changed logic for formatVersion parsing and defaulting
|
2021-10-20 00:08:38 +02:00 |
|
Alexander Cerutti
|
757630834d
|
Updated signature content generation method to not use deprecated method createBuffer
|
2021-10-19 22:37:52 +02:00 |
|
Alexander Cerutti
|
91bee95bfe
|
Fixed localization files reading path out issue
|
2021-10-19 00:18:11 +02:00 |
|
Alexander Cerutti
|
3290cb1d3f
|
Added formatVersion to pass.json schemas to keep it
|
2021-10-18 23:54:48 +02:00 |
|
Alexander Cerutti
|
12a6781c14
|
Fixed Bundle methods calling javascript confusion: Bundle.getAsStream was calling this.getAsBuffer, but this was PKPass instance
|
2021-10-18 23:54:24 +02:00 |
|
Alexander Cerutti
|
0f72b4dda8
|
Fixed signature creation dumb copy-paste error
|
2021-10-18 23:19:36 +02:00 |
|
Alexander Cerutti
|
95d762f6cc
|
Changed examples commands
|
2021-10-18 22:20:02 +02:00 |
|
Alexander Cerutti
|
2fc0bdffe9
|
Renamed localize message
|
2021-10-18 00:50:55 +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
|
852ea53c77
|
Updated Readme to newer version
|
2021-10-17 18:49:56 +02:00 |
|
Alexander Cerutti
|
00f05ae5d4
|
Added PKPasses generation example
|
2021-10-17 13:54:16 +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
|
1f8cce9ef6
|
Examples: Rolled-back express types to prevent types issues (https://github.com/DefinitelyTyped/DefinitelyTyped/issues/49595)
|
2021-10-17 13:36:23 +02:00 |
|
Alexander Cerutti
|
0a6b3f7528
|
Added icon reading and setting in scratch example
|
2021-10-16 23:41:47 +02:00 |
|
Alexander Cerutti
|
408416ab9c
|
Added from scratch example
|
2021-10-16 22:18:29 +02:00 |
|
Alexander Cerutti
|
eb5ff92f4a
|
Fixed example webserver
|
2021-10-16 22:16:58 +02:00 |
|
Alexander Cerutti
|
2a7770f4af
|
Moved passTypeSymbol to private
|
2021-10-16 18:50:26 +02:00 |
|
Alexander Cerutti
|
df683c37a8
|
Moved bundle.mimeType behind a symbol + getter to prevent changing
|
2021-10-16 18:05:29 +02:00 |
|
Alexander Cerutti
|
868818b855
|
Removed node-fetch types from examples subrepo
|
2021-10-16 15:16:48 +02:00 |
|
Alexander Cerutti
|
eb72eb36b0
|
Added types to be exported when using package and removed Bundle
|
2021-10-16 15:15:35 +02:00 |
|
Alexander Cerutti
|
875668ea63
|
Added forgotten as const to messages
|
2021-10-16 14:02:22 +02:00 |
|
Alexander Cerutti
|
c432b45b00
|
Renamed schema files and removed few TODOs
|
2021-10-16 14:02:03 +02:00 |
|
Alexander Cerutti
|
c256d1638b
|
Renamed Personalization to Personalize
|
2021-10-16 13:56:01 +02:00 |
|