Commit Graph

59 Commits

Author SHA1 Message Date
Alexander Cerutti
ee2038005b Fixed wrong test for transitType change 2021-10-23 18:47:00 +02:00
Alexander Cerutti
0ed75ac047 FIxed Bundle test and changed bundle closed message 2021-10-23 00:28:30 +02:00
Alexander Cerutti
57f8fc5be3 Fixed tests 2021-10-20 00:35:39 +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
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
2a7f5f818c Unified props passing to PKPass.from between template and PKPass 2021-10-16 12:44:01 +02:00
Alexander Cerutti
74e98c1738 Bundle: added another message to Messages 2021-10-16 00:41:14 +02:00
Alexander Cerutti
f6d896fc2b Moved from yazl to do-not-zip 2021-10-15 16:04:39 +02:00
Alexander Cerutti
d5d5cb78b2 Added bundle to messages 2021-10-15 11:26:32 +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
65d3180d4b Added method with tests getAsRaw 2021-10-14 17:59:41 +02:00
Alexander Cerutti
55828591ca Refactored Bundle tests to be better contextualized 2021-10-14 17:47:00 +02:00
Alexander Cerutti
b584269bc0 Added tests for PKPass.pack 2021-10-13 23:14:14 +02:00
Alexander Cerutti
62d54ab4d8 Added tests for PKPass.from 2021-10-13 22:49:49 +02:00
Alexander Cerutti
5c4c371c3b Added tests for utils 2021-10-13 20:54:16 +02:00
Alexander Cerutti
a9f5f22389 Added tests for closePassSymbol method 2021-10-13 01:08:20 +02:00
Alexander Cerutti
3de32787da Added tests for importMetadataSymbol method 2021-10-12 23:15:03 +02:00
Alexander Cerutti
57c6021dca Added tests for type getter and setter 2021-10-12 22:44:20 +02:00
Alexander Cerutti
22593ad737 Added tests for fields getters 2021-10-12 21:51:38 +02:00
Alexander Cerutti
3f6cc6c803 Renamed setNFCCapability to setNFC 2021-10-11 23:45:20 +02:00
Alexander Cerutti
6f3a7d2f6e Added tests for addBuffer and improved handling of empty strings files 2021-10-11 23:43:03 +02:00
Alexander Cerutti
e69f302cf9 Improved tests and added certificates setter tests 2021-10-11 23:23:25 +02:00
Alexander Cerutti
928081ecfc Fixed tests, added tests, fixed ducked up things 2021-10-11 23:04:09 +02:00
Alexander Cerutti
e8a40c4554 Deleted factory.ts file 2021-09-27 23:48:25 +02:00
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
344c33c54c Added localize implementation along with its tests 2021-09-25 21:41:06 +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
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
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
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
abc6695940 Added Bundle class implementation along with tests 2021-09-18 18:32:14 +02:00
Alexander Cerutti
d35cb627e5 Refactored Errors Messages to be references instead of looked up 2021-06-21 21:56:04 +02:00
Alexander Cerutti
eb36db44bb Fixed schemas import in tests 2021-06-17 23:36:46 +02:00
Alexander Cerutti
3e08d31d14 Removed moment for internal implementation 2021-02-09 14:16:19 +01:00
Alexander Cerutti
d5a487a609 Added prettier to project 2021-02-08 00:03:28 +01:00
Alexander Cerutti
1cde704c1b Removed repeated code in createPass and added few tests and moved few tests from index.ts to new factory test file 2021-02-07 22:35:02 +01:00
Alexander Cerutti
1e64046069 Changed jasmine settings and added tsconfig for specs 2021-02-07 20:26:32 +01:00
Alexander Cerutti
960331d737 Changed splitBufferBundle to use Object.entries and added tests for it 2021-02-07 17:23:33 +01:00
Alexander Cerutti
b51b7591bf Indent me 2021-02-05 08:13:22 +01:00
Alexander Cerutti
2e77f06950 Improved tests 2021-02-05 07:32:11 +01:00
Alexander Cerutti
9e90b4963b Updated dependencies and tests (forgotten awaits) 2020-09-05 23:56:05 +02:00
Alexander Cerutti
fee3383ffa Added model validation tests 2020-09-05 23:38:02 +02:00
Alexander Cerutti
f72f2a08b0 Specs changes 2019-12-14 17:16:19 +01:00
Alexander Cerutti
8b6f1ba948 Cleanup 2019-07-01 23:50:49 +02:00