@openthink/stamp 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/dist/hooks/pre-receive.cjs.map +1 -1
- package/dist/index.js +295 -57
- package/dist/index.js.map +1 -1
- package/dist/server/stamp-review.cjs +4 -1
- package/dist/server/stamp-review.cjs.map +1 -1
- package/package.json +1 -1
|
@@ -8038,11 +8038,14 @@ async function runReviewPipeline(input) {
|
|
|
8038
8038
|
const signature = (0, import_node_crypto6.sign)(null, canonical, signingMaterial.privateKey).toString(
|
|
8039
8039
|
"base64"
|
|
8040
8040
|
);
|
|
8041
|
+
const prAttestationV3PayloadB64 = canonical.toString("base64");
|
|
8041
8042
|
return {
|
|
8042
8043
|
verdict: parsed.verdict,
|
|
8043
8044
|
prose: parsed.prose,
|
|
8044
8045
|
approval,
|
|
8045
|
-
signature
|
|
8046
|
+
signature,
|
|
8047
|
+
pr_attestation_v3_payload_b64: prAttestationV3PayloadB64,
|
|
8048
|
+
pr_attestation_v3_signature_b64: signature
|
|
8046
8049
|
};
|
|
8047
8050
|
}
|
|
8048
8051
|
async function loadTrustedKeysSnapshot(resolver, org, repo, baseSha) {
|