mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Adapt to modified contract with rama proxy
This commit is contained in:
parent
1b32be6c58
commit
983f26ea20
2 changed files with 3 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ export function createRamaProxy(ramaPath) {
|
||||||
reportingServer.addListener("minPackageAgeSuppressionReceived", (ev) =>
|
reportingServer.addListener("minPackageAgeSuppressionReceived", (ev) =>
|
||||||
emitter.emit("minPackageAgeVersionsSuppressed", {
|
emitter.emit("minPackageAgeVersionsSuppressed", {
|
||||||
packageName: ev.artifact.identifier,
|
packageName: ev.artifact.identifier,
|
||||||
packageVersions: ev.artifact.suppressed_versions,
|
packageVersions: ev.suppressed_versions,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
ui.writeVerbose(
|
ui.writeVerbose(
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@ const SERVER_STOP_TIMEOUT_MS = 1000;
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} MinPackageAgeEvent
|
* @typedef {Object} MinPackageAgeEvent
|
||||||
* @property {number} ts_ms
|
* @property {number} ts_ms
|
||||||
* @property {{ product: string, identifier: string, suppressed_versions: string[] }} artifact
|
* @property {{ product: string, identifier: string }} artifact
|
||||||
|
* @property {string[]} suppressed_versions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue