@@ -4,7 +4,7 @@ exports.ClientTrustConfig = exports.SigningConfig = exports.TrustedRoot = export
4
4
/* eslint-disable */
5
5
const sigstore_common_1 = require ( "./sigstore_common" ) ;
6
6
function createBaseTransparencyLogInstance ( ) {
7
- return { baseUrl : "" , hashAlgorithm : 0 , publicKey : undefined , logId : undefined } ;
7
+ return { baseUrl : "" , hashAlgorithm : 0 , publicKey : undefined , logId : undefined , checkpointKeyId : undefined } ;
8
8
}
9
9
exports . TransparencyLogInstance = {
10
10
fromJSON ( object ) {
@@ -13,6 +13,7 @@ exports.TransparencyLogInstance = {
13
13
hashAlgorithm : isSet ( object . hashAlgorithm ) ? ( 0 , sigstore_common_1 . hashAlgorithmFromJSON ) ( object . hashAlgorithm ) : 0 ,
14
14
publicKey : isSet ( object . publicKey ) ? sigstore_common_1 . PublicKey . fromJSON ( object . publicKey ) : undefined ,
15
15
logId : isSet ( object . logId ) ? sigstore_common_1 . LogId . fromJSON ( object . logId ) : undefined ,
16
+ checkpointKeyId : isSet ( object . checkpointKeyId ) ? sigstore_common_1 . LogId . fromJSON ( object . checkpointKeyId ) : undefined ,
16
17
} ;
17
18
} ,
18
19
toJSON ( message ) {
@@ -22,6 +23,8 @@ exports.TransparencyLogInstance = {
22
23
message . publicKey !== undefined &&
23
24
( obj . publicKey = message . publicKey ? sigstore_common_1 . PublicKey . toJSON ( message . publicKey ) : undefined ) ;
24
25
message . logId !== undefined && ( obj . logId = message . logId ? sigstore_common_1 . LogId . toJSON ( message . logId ) : undefined ) ;
26
+ message . checkpointKeyId !== undefined &&
27
+ ( obj . checkpointKeyId = message . checkpointKeyId ? sigstore_common_1 . LogId . toJSON ( message . checkpointKeyId ) : undefined ) ;
25
28
return obj ;
26
29
} ,
27
30
} ;
0 commit comments