Alexander Cerutti
|
3d22cef805
|
Removed Abstract Model implementation and added PKPass as esport
|
2021-10-03 22:14:33 +02:00 |
|
Alexander Cerutti
|
8bb76d6942
|
Renamed file from signature.ts to Signature.ts
|
2021-10-03 22:08:31 +02:00 |
|
Alexander Cerutti
|
c9fb1e7090
|
Moved manifest hashes generation to signature file
|
2021-10-03 22:07:41 +02:00 |
|
Alexander Cerutti
|
f70257dca6
|
Splitted strings utils to its own file
|
2021-10-03 22:03:52 +02:00 |
|
Alexander Cerutti
|
40f2b0ea90
|
Locked certificates under a symbol with a setter to validate them first
|
2021-10-03 18:20:51 +02:00 |
|
Alexander Cerutti
|
e0d2db9fc4
|
Added certificates saving in constructor and parsing them when signature is being created; changed Manifest to be exported as a Buffer
|
2021-10-03 18:14:10 +02:00 |
|
Alexander Cerutti
|
cd289ef164
|
Removed old comments
|
2021-10-03 17:07:00 +02:00 |
|
Alexander Cerutti
|
9b81def335
|
Improved PKPass.from signature and made additionalProps to be never if source is not a PKPass instance
|
2021-09-30 23:58:29 +02:00 |
|
Alexander Cerutti
|
8b6cabfc2c
|
Changed PKPass.prototype.type to be the symbol (forgot to commit)
|
2021-09-30 23:54:23 +02:00 |
|
Alexander Cerutti
|
37b52d37c9
|
Improved Template schema and interface; Renamed Template.overrides to Template.props
|
2021-09-30 23:53:54 +02:00 |
|
Alexander Cerutti
|
64179d1f12
|
Added forgotten FileBuffers (not commited yet)
|
2021-09-30 23:53:15 +02:00 |
|
Alexander Cerutti
|
fc957a4a24
|
Added optional props parameter to PKPass.from and renamed constructor parameter "overrides" to "props";
|
2021-09-30 23:52:52 +02:00 |
|
Alexander Cerutti
|
24ff0e47eb
|
Improved comment on PKPass.pack()
|
2021-09-30 22:58:23 +02:00 |
|
Alexander Cerutti
|
3f9cff62a0
|
Moved NamedBuffers in Schemas ad renamed it in FileBuffers
|
2021-09-30 22:57:53 +02:00 |
|
Alexander Cerutti
|
38fe473f07
|
Removed Schemas.Manifest
|
2021-09-30 22:44:20 +02:00 |
|
Alexander Cerutti
|
342f3934b8
|
Fixed translations adding and improved a comment
|
2021-09-30 22:14:10 +02:00 |
|
Alexander Cerutti
|
1fe4355c26
|
Added merging of pass.json props in this[propsSymbol] with an overwrite warning
|
2021-09-29 23:55:46 +02:00 |
|
Alexander Cerutti
|
b0b0a9555f
|
Added new couple of setter/getter for pass type, that resets the current fields to prevent old data to remain
|
2021-09-29 23:45:12 +02:00 |
|
Alexander Cerutti
|
e151afa0ed
|
Added accessors
|
2021-09-29 23:02:05 +02:00 |
|
Alexander Cerutti
|
ac6d61021d
|
Removed void() method as it does not require validation
|
2021-09-29 22:38:50 +02:00 |
|
Alexander Cerutti
|
c6091ec9ca
|
Removed this return from data setup methods to allow developers to receive thrown erros
|
2021-09-29 22:38:18 +02:00 |
|
Alexander Cerutti
|
331cb72a67
|
Moved translationsFile regex
|
2021-09-28 21:52:13 +02:00 |
|
Alexander Cerutti
|
2ed39b3c59
|
Added overrides handling in PKPass.from
|
2021-09-28 21:49:03 +02:00 |
|
Alexander Cerutti
|
27a941f2f1
|
Added (untested) implementation for personalization
|
2021-09-28 21:43:15 +02:00 |
|
Alexander Cerutti
|
bc8e354a11
|
Changed first transitType set to come from props
|
2021-09-28 01:31:36 +02:00 |
|
Alexander Cerutti
|
4bff9a2fe3
|
Removed TransitTypes type in PKPass for the one in Schemas
|
2021-09-28 01:06:38 +02:00 |
|
Alexander Cerutti
|
945a653f22
|
Changed comment and warn
|
2021-09-28 01:02:41 +02:00 |
|
Alexander Cerutti
|
ba3a2df001
|
Added overrides validation and changed PKPass.prototype.type's type
|
2021-09-28 01:01:11 +02:00 |
|
Alexander Cerutti
|
56bb7b9a16
|
Added check to prevent the addition of empty undefined / null as buffers
|
2021-09-28 00:56:30 +02:00 |
|
Alexander Cerutti
|
770a5e780b
|
Updated Schemas
|
2021-09-28 00:47:50 +02:00 |
|
Alexander Cerutti
|
e8a40c4554
|
Deleted factory.ts file
|
2021-09-27 23:48:25 +02:00 |
|
Alexander Cerutti
|
ac1c994b75
|
Moved Template type to Schemas
|
2021-09-27 00:32:58 +02:00 |
|
Alexander Cerutti
|
cabb0daab4
|
Replaced BundleState with freeze state of Bundle.prototype[filesSymbol]
|
2021-09-26 23:42:17 +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
|
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 |
|