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
Defined in
Methods
create
▸ create(options): Package
Parameters
| Name | Type |
|---|---|
options | PackageOptions |
Returns
Defined in
getImageIdentifier
▸ getImageIdentifier(str): RequireAtLeastOne<{ imageHash: string ; imageTag: string }, "imageHash" | "imageTag">
Parameters
| Name | Type |
|---|---|
str | string |
Returns
RequireAtLeastOne<{ imageHash: string ; imageTag: string }, "imageHash" | "imageTag">
Defined in
getDemandDecoration
▸ getDemandDecoration(): Promise<MarketDecoration>
Returns
Promise<MarketDecoration>