+8
-7
lines changedFilter options
+8
-7
lines changed Original file line number Diff line number Diff line change
@@ -22,13 +22,14 @@ const entry_1 = require("./entry");
22
22
exports.DEFAULT_REKOR_URL = 'https://rekor.sigstore.dev';
23
23
class RekorWitness {
24
24
constructor(options) {
25
+
this.entryType = options.entryType;
25
26
this.tlog = new client_1.TLogClient({
26
27
...options,
27
28
rekorBaseURL: options.rekorBaseURL || /* istanbul ignore next */ exports.DEFAULT_REKOR_URL,
28
29
});
29
30
}
30
31
async testify(content, publicKey) {
31
-
const proposedEntry = (0, entry_1.toProposedEntry)(content, publicKey);
32
+
const proposedEntry = (0, entry_1.toProposedEntry)(content, publicKey, this.entryType);
32
33
const entry = await this.tlog.createEntry(proposedEntry);
33
34
return toTransparencyLogEntry(entry);
34
35
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@sigstore/sign",
3
-
"version": "2.1.0",
3
+
"version": "2.2.0",
4
4
"description": "Sigstore signing library",
5
5
"main": "dist/index.js",
6
6
"types": "dist/index.d.ts",
@@ -27,9 +27,9 @@
27
27
},
28
28
"devDependencies": {
29
29
"@sigstore/jest": "^0.0.0",
30
-
"@sigstore/mock": "^0.4.0",
30
+
"@sigstore/mock": "^0.6.0",
31
31
"@sigstore/rekor-types": "^2.0.0",
32
-
"@types/make-fetch-happen": "^10.0.0"
32
+
"@types/make-fetch-happen": "^10.0.3"
33
33
},
34
34
"dependencies": {
35
35
"@sigstore/bundle": "^2.1.0",
Original file line number Diff line number Diff line change
@@ -3883,9 +3883,9 @@
3883
3883
}
3884
3884
},
3885
3885
"node_modules/@sigstore/sign": {
3886
-
"version": "2.1.0",
3887
-
"resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.1.0.tgz",
3888
-
"integrity": "sha512-4VRpfJxs+8eLqzLVrZngVNExVA/zAhVbi4UT4zmtLi4xRd7vz5qie834OgkrGsLlLB1B2nz/3wUxT1XAUBe8gw==",
3886
+
"version": "2.2.0",
3887
+
"resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.2.0.tgz",
3888
+
"integrity": "sha512-AAbmnEHDQv6CSfrWA5wXslGtzLPtAtHZleKOgxdQYvx/s76Fk6T6ZVt7w2IGV9j1UrFeBocTTQxaXG2oRrDhYA==",
3889
3889
"inBundle": true,
3890
3890
"dependencies": {
3891
3891
"@sigstore/bundle": "^2.1.0",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4