Skip to content

Commit

Permalink
deps: @sigstore/sign@2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Nov 14, 2023
1 parent 4613774 commit b00e780
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion node_modules/@sigstore/sign/dist/witness/tlog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ const entry_1 = require("./entry");
exports.DEFAULT_REKOR_URL = 'https://rekor.sigstore.dev';
class RekorWitness {
constructor(options) {
this.entryType = options.entryType;
this.tlog = new client_1.TLogClient({
...options,
rekorBaseURL: options.rekorBaseURL || /* istanbul ignore next */ exports.DEFAULT_REKOR_URL,
});
}
async testify(content, publicKey) {
const proposedEntry = (0, entry_1.toProposedEntry)(content, publicKey);
const proposedEntry = (0, entry_1.toProposedEntry)(content, publicKey, this.entryType);
const entry = await this.tlog.createEntry(proposedEntry);
return toTransparencyLogEntry(entry);
}
Expand Down
6 changes: 3 additions & 3 deletions node_modules/@sigstore/sign/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sigstore/sign",
"version": "2.1.0",
"version": "2.2.0",
"description": "Sigstore signing library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -27,9 +27,9 @@
},
"devDependencies": {
"@sigstore/jest": "^0.0.0",
"@sigstore/mock": "^0.4.0",
"@sigstore/mock": "^0.6.0",
"@sigstore/rekor-types": "^2.0.0",
"@types/make-fetch-happen": "^10.0.0"
"@types/make-fetch-happen": "^10.0.3"
},
"dependencies": {
"@sigstore/bundle": "^2.1.0",
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3883,9 +3883,9 @@
}
},
"node_modules/@sigstore/sign": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.1.0.tgz",
"integrity": "sha512-4VRpfJxs+8eLqzLVrZngVNExVA/zAhVbi4UT4zmtLi4xRd7vz5qie834OgkrGsLlLB1B2nz/3wUxT1XAUBe8gw==",
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.2.0.tgz",
"integrity": "sha512-AAbmnEHDQv6CSfrWA5wXslGtzLPtAtHZleKOgxdQYvx/s76Fk6T6ZVt7w2IGV9j1UrFeBocTTQxaXG2oRrDhYA==",
"inBundle": true,
"dependencies": {
"@sigstore/bundle": "^2.1.0",
Expand Down

0 comments on commit b00e780

Please sign in to comment.