Bump package versions, and fix issues

This commit is contained in:
Salman Muin Kayser Chishti
2025-09-04 14:16:27 +01:00
parent 011f07d1dc
commit 8f32f385e0
13 changed files with 357 additions and 1713 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ function toAttestation(bundle: Bundle, attestationID?: string): Attestation {
throw new Error('Bundle must contain an x509 certificate')
}
const signingCert = new X509Certificate(certBytes)
// Convert Buffer to Uint8Array for Node.js 24 compatibility
const signingCert = new X509Certificate(new Uint8Array(certBytes))
// Collect transparency log ID if available
const tlogEntries = bundle.verificationMaterial.tlogEntries
+5 -1
View File
@@ -29,7 +29,11 @@ export const writeAttestation = async (
owner: github.context.repo.owner,
repo: github.context.repo.repo,
headers: options.headers,
data: {bundle: attestation}
bundle: attestation as {
mediaType?: string
verificationMaterial?: { [key: string]: unknown }
dsseEnvelope?: { [key: string]: unknown }
}
})
const data =