JS API 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:138

Methods

create

create(options): Package

Parameters

NameType
optionsPackageOptions

Returns

Package

Defined in

src/package/package.ts:56


getImageIdentifier

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:62


getDemandDecoration

getDemandDecoration(): Promise<MarketDecoration>

Returns

Promise<MarketDecoration>

Defined in

src/package/package.ts:77