Commit Graph

595 Commits

Author SHA1 Message Date
Alexander Cerutti
aaea9c1304 Revert "Added Bundle.prototype.files getter to prevent exposing filesSymbol"
This reverts commit 6f7a597cbe.
2021-09-26 23:32:21 +02:00
Alexander Cerutti
6f7a597cbe Added Bundle.prototype.files getter to prevent exposing filesSymbol 2021-09-26 18:21:25 +02:00
Alexander Cerutti
1b3647da8f Added Bundle.prototype.isFrozen getter and used it to close pass if it is not yet frozen 2021-09-26 18:17:24 +02:00
Alexander Cerutti
d41a592a69 Added color parsing in closePassSymbol method 2021-09-26 16:39:00 +02:00
Alexander Cerutti
4fe4f5e487 Added forgotten imports and symbols, and replaced \n as separator for stringFile with EOL 2021-09-26 16:17:50 +02:00
Alexander Cerutti
58bb4bdd9a Made string file to be added only if stringsFile has a length 2021-09-26 16:07:04 +02:00
Alexander Cerutti
039b636262 Added manifest creation, signature creation, pass.strings creation and pass-close methods 2021-09-26 14:53:15 +02:00
Alexander Cerutti
b1f4739db9 Improved PKPass.from 2021-09-25 23:41:33 +02:00
Alexander Cerutti
3cbb1b46b8 Edited getModelFolderContents to return just one object of buffers (to be tested yet) 2021-09-25 23:27:25 +02:00
Alexander Cerutti
662b437295 Changed from buffers clone strategy 2021-09-25 21:53:00 +02:00
Alexander Cerutti
344c33c54c Added localize implementation along with its tests 2021-09-25 21:41:06 +02:00
Alexander Cerutti
7a23cba582 Added accessors on getters and setters 2021-09-25 20:21:22 +02:00
Alexander Cerutti
c0dfdf1d3d Removed forgotten design comment 2021-09-25 20:18:41 +02:00
Alexander Cerutti
690e2d4689 Changed again fields as they should not be directly under props, but under its type 2021-09-25 20:01:12 +02:00
Alexander Cerutti
fb0fac0cab Moved fields to be have only a getter and a place in props 2021-09-25 18:12:41 +02:00
Alexander Cerutti
3ad4c42041 Removed duplicated addBuffer call 2021-09-25 17:42:49 +02:00
Alexander Cerutti
2c3ca1076c Unified file import strategy flow in constructor with the one in addBuffer 2021-09-25 17:31:31 +02:00
Alexander Cerutti
e326a25b4f Added parsing of pass.strings files when using addBuffer 2021-09-25 17:30:08 +02:00
Alexander Cerutti
d4a4c267fb Added pass importing method 2021-09-24 23:09:09 +02:00
Alexander Cerutti
84823794d8 Added partial implementation of addBuffer 2021-09-22 22:58:54 +02:00
Alexander Cerutti
9d76856d67 Added implementation of transitType along with tests to be modified yet and tested when we'll have a good content saving 2021-09-21 22:28:57 +02:00
Alexander Cerutti
461caaaed7 Changed filterValid to use getValidated instead of isValid and to reduce the valid values 2021-09-21 22:24:37 +02:00
Alexander Cerutti
c49aad4098 Added setBarcodes implementation along with tests 2021-09-21 21:34:28 +02:00
Alexander Cerutti
d3eb66b2c8 Added setRelevantDate implementation along tests and added and fixed tests of setExpirationDate 2021-09-21 20:26:03 +02:00
Alexander Cerutti
59d9e693a3 Added docs references in some comments 2021-09-21 00:20:21 +02:00
Alexander Cerutti
208faee460 Added setExpirationDate implementation along with tests 2021-09-21 00:02:03 +02:00
Alexander Cerutti
389aa96532 Added setNFCCapability implementation along with tests 2021-09-19 22:45:37 +02:00
Alexander Cerutti
a3195e7d21 Added forgotten return this 2021-09-19 20:17:09 +02:00
Alexander Cerutti
59efe84bc8 Added implementation of setLocations along with tests 2021-09-19 20:09:32 +02:00
Alexander Cerutti
8a814e46f0 Added implementation for setBeacons along with some tests 2021-09-19 19:52:08 +02:00
Alexander Cerutti
a73b367a62 Setted PKPass to be exported as default 2021-09-19 19:29:30 +02:00
Alexander Cerutti
bdbbf235d2 Added propsSymbol and prop getter implementation 2021-09-19 18:55:43 +02:00
Alexander Cerutti
37b7b8698f Moved Bundle.autoFreezable creation in the attempt of creating the bundle after processing promises and leveraging event loop 2021-09-18 23:23:03 +02:00
Alexander Cerutti
658bb287a8 Added comment for PKPass.pack 2021-09-18 23:22:06 +02:00
Alexander Cerutti
3ee5913c01 Added another TODO to constructor 2021-09-18 23:18:39 +02:00
Alexander Cerutti
1d3e1f9af5 Fixed paths and added imports 2021-09-18 23:18:25 +02:00
Alexander Cerutti
ef0c28b744 Added untested implementation of PKPass.pack method 2021-09-18 23:18:12 +02:00
Alexander Cerutti
7c7a8680de Added signatures for PKPass methods 2021-09-18 23:17:47 +02:00
Alexander Cerutti
47d8f28e67 Added experimental autoFreezable method in bundle (probably I'll regret it) 2021-09-18 23:16:50 +02:00
Alexander Cerutti
a38c235cf8 Added first untested and incomplete implementation of PKPass.from 2021-09-18 22:07:13 +02:00
Alexander Cerutti
a970232623 Added fields and pool creation to PKPass 2021-09-18 21:45:46 +02:00
Alexander Cerutti
cab8e08c3e Added first integration of PKPass file 2021-09-18 18:56:09 +02:00
Alexander Cerutti
8d1a6277fb (auto) Converted format of package-lock.json of examples sub-package 2021-09-18 18:32:41 +02:00
Alexander Cerutti
abc6695940 Added Bundle class implementation along with tests 2021-09-18 18:32:14 +02:00
Alexander Cerutti
cd941e2aed v2.0.8 2021-08-25 23:20:54 +02:00
Alexander Cerutti
0c5b4e130f Renamed Schem< Personalization file to Personalize 2021-08-25 23:12:01 +02:00
Alexander Cerutti
7c2e8db1fb Added Semantics as supported overrideable 2021-08-25 23:07:31 +02:00
Alexander Cerutti
1f41ce7602 Renamed schemas files to conform to Apple official names. Todos have been added for next major 2021-08-25 22:56:44 +02:00
Alexander Cerutti
4470da11ca Added support to requiresAuthentication for NFC schema and interface, along with developer reference link 2021-08-25 22:44:59 +02:00
Alexander Cerutti
5c7599acd6 v2.0.7 2021-06-21 23:16:40 +02:00