Comparing version 1.3.0 to 1.3.1
@@ -74,3 +74,9 @@ "use strict"; | ||
const bundle = await index_1.sigstore.sign(buffer, signOptions); | ||
const url = `${signOptions.rekorURL}/api/v1/log/entries`; | ||
let url; | ||
if (signOptions.rekorURL === index_1.sigstore.DEFAULT_REKOR_URL) { | ||
url = `https://search.sigstore.dev`; | ||
} | ||
else { | ||
url = `${signOptions.rekorURL}/api/v1/log/entries`; | ||
} | ||
const logIndex = bundle.verificationMaterial?.tlogEntries[0].logIndex; | ||
@@ -77,0 +83,0 @@ console.error(`Created entry at index ${logIndex}, available at`); |
{ | ||
"name": "sigstore", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "code-signing for npm packages", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239521
5434