@chequer-public/harbor-sdk
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -12,6 +12,7 @@ import { type ProjectClient } from './ProjectClient'; | ||
artifactByDigest(digest: string): ArtifactClient; | ||
artifactByReference(type: 'tag' | 'digest', reference: string): ArtifactClient; | ||
/** | ||
* @deprecated | ||
*/ | ||
* @deprecated | ||
*/ | ||
artifact(reference: string): ArtifactClient; | ||
} |
@@ -24,5 +24,8 @@ "use strict"; | ||
} | ||
artifactByReference(type, reference) { | ||
return new ArtifactClient_1.ArtifactClient(this, type, reference); | ||
} | ||
/** | ||
* @deprecated | ||
*/ | ||
* @deprecated | ||
*/ | ||
artifact(reference) { | ||
@@ -29,0 +32,0 @@ const DIGEST_REGEX = /^sha256:[0-9a-fA-F]+$/; |
{ | ||
"name": "@chequer-public/harbor-sdk", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Harbor HTTP Client SDK", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
22767
612