@chequer-public/harbor-sdk
Advanced tools
Comparing version 0.0.13 to 0.0.14
import { type ArtifactDTO } from '../types/dto/ArtifactDTO'; | ||
import { type TagDTO } from '../types/dto/TagDTO'; | ||
import { type LabelDTO } from '../types/dto/LabelDTO'; | ||
export declare class Artifact { | ||
@@ -9,4 +10,6 @@ readonly registryName: string; | ||
readonly tags: TagDTO[]; | ||
readonly labels: LabelDTO[]; | ||
readonly raw: ArtifactDTO; | ||
constructor(registryName: string, projectName: string, repositoryName: string, dto: ArtifactDTO); | ||
toDigestReference(): string; | ||
} |
@@ -10,2 +10,4 @@ "use strict"; | ||
tags; | ||
labels; | ||
raw; | ||
constructor(registryName, projectName, repositoryName, dto) { | ||
@@ -20,2 +22,4 @@ this.registryName = registryName; | ||
this.tags = dto.tags ?? []; | ||
this.labels = dto.labels ?? []; | ||
this.raw = dto; | ||
} | ||
@@ -22,0 +26,0 @@ toDigestReference() { |
{ | ||
"name": "@chequer-public/harbor-sdk", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Harbor HTTP Client SDK", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
23103
620
0