reference

Class: Package

package/package.Package

Package module - an object for descriptions of the payload required by the requestor.

Table of contents

Accessors

Methods

Accessors

details

get details(): PackageDetails

Returns

PackageDetails

Defined in

src/package/package.ts:137

Methods

create

Static create(options): Package

Parameters

NameType
optionsPackageOptions

Returns

Package

Defined in

src/package/package.ts:57


getImageIdentifier

Static getImageIdentifier(str): RequireAtLeastOne<{ imageHash: string ; imageTag: string }, "imageHash" | "imageTag">

Parameters

NameType
strstring

Returns

RequireAtLeastOne<{ imageHash: string ; imageTag: string }, "imageHash" | "imageTag">

Defined in

src/package/package.ts:63


GetHashFromTag

Static GetHashFromTag(tag): string

Parameters

NameType
tagstring

Returns

string

Defined in

src/package/package.ts:78


getDemandDecoration

getDemandDecoration(): Promise<MarketDecoration>

Returns

Promise<MarketDecoration>

Defined in

src/package/package.ts:82