Commit Graph

937 Commits

Author SHA1 Message Date
Alexander Cerutti
b0dc83e6de Made constructor props optional 2021-10-16 01:25:03 +02:00
Alexander Cerutti
639779c663 Renamed example files with the methods names 2021-10-16 01:10:45 +02:00
Alexander Cerutti
fa4f2df5ce Updated existing examples 2021-10-16 01:06:41 +02:00
Alexander Cerutti
7133772945 Removed abstractModel and additionalBuffer 2021-10-16 00:46:19 +02:00
Alexander Cerutti
8254aa9bb3 Examples: updated dependencies 2021-10-16 00:45:45 +02:00
Alexander Cerutti
74e98c1738 Bundle: added another message to Messages 2021-10-16 00:41:14 +02:00
Alexander Cerutti
7714c15949 Merge branch 'v3.0-do-not-zip' into v3.0 2021-10-16 00:26:05 +02:00
Alexander Cerutti
9738f40499 Updated package-lock.json after do-not-zip types publish 2021-10-16 00:13:57 +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
2278308149 Moved freezeRecursive function to utils 2021-10-15 01:11:40 +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
52fafd4405 Changed utils import namespace 2021-10-14 18:22:23 +02:00
Alexander Cerutti
7879a32dc1 Renamed parserFile to getModelFolderContents 2021-10-14 18:20:43 +02:00
Alexander Cerutti
5ce12fda91 Autoformat 2021-10-14 18:09:21 +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
e408f71069 Fixed PKPass.from errors 2021-10-13 22:48:42 +02:00
Alexander Cerutti
beef6b73db Removed debug dependency 2021-10-13 21:14:00 +02:00
Alexander Cerutti
a14344bbb8 Updated minimum Node.js version required 2021-10-13 21:07:47 +02:00
Alexander Cerutti
cfae9effbd Updated dependencies 2021-10-13 21:04:14 +02:00
Alexander Cerutti
5c4c371c3b Added tests for utils 2021-10-13 20:54:16 +02:00
Alexander Cerutti
d43ff0aca8 Removed isValidRGB function (as unused anymore) 2021-10-13 01:08:38 +02:00
Alexander Cerutti
a9f5f22389 Added tests for closePassSymbol method 2021-10-13 01:08:20 +02:00
Alexander Cerutti
ae2100af91 Fixed symbol for personalization deleting 2021-10-13 01:07:06 +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
d4062325ac Fixed icons files matching in closePassSymbol method 2021-10-12 23:50:57 +02:00
Alexander Cerutti
6040f84d9e Added test parameter to closePassSymbol method to omit manifest and signature generation 2021-10-12 23:50:34 +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
77db921aea Removed debug from FieldsArray 2021-10-12 21:52:11 +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
386fdd2e28 Exported all symbols for tests 2021-10-11 23:21:25 +02:00
Alexander Cerutti
928081ecfc Fixed tests, added tests, fixed ducked up things 2021-10-11 23:04:09 +02:00
Alexander Cerutti
cba4d10fd0 Changed imports order and removed old TODO 2021-10-11 21:30:40 +02:00
Alexander Cerutti
09debb1e3f Fixed text 2021-10-11 21:25:42 +02:00
Alexander Cerutti
18927bd745 Improved utils by removing old imports and fixing comments 2021-10-11 21:25:29 +02:00
Alexander Cerutti
a3c7851d92 Changed processDate function to throw if it cannot complete conversion 2021-10-11 21:23:30 +02:00
Alexander Cerutti
a052858950 Moved processDate function to utils 2021-10-10 02:49:17 +02:00
Alexander Cerutti
57c3876f96 Deleted file pass.ts 2021-10-10 02:46:23 +02:00
Alexander Cerutti
4a6cffcda7 Removed unused things in parser 2021-10-10 02:45:03 +02:00
Alexander Cerutti
99d3c1566a Removed old unused utils functions 2021-10-10 02:33:31 +02:00
Alexander Cerutti
21e041e9cc Removed useless else 2021-10-10 02:27:25 +02:00
Alexander Cerutti
ae475b9da2 Removed forgotten return this 2021-10-10 02:24:39 +02:00
Alexander Cerutti
4a33ebb335 Removed old todo comments 2021-10-10 02:22:00 +02:00