Skip to main content

Interface: PublishLike

Command to publish a new move package

BCS

The BCS serialized form for this type is defined by the following ABNF:

publish = (vector bytes)        ; the serialized move modules
(vector object-id) ; the set of package dependencies

Methods

dependencies()

dependencies(): ObjectIdLike[];

Set of packages that the to-be published package depends on

Returns

ObjectIdLike[]


modules()

modules(): ArrayBuffer[];

The serialized move modules

Returns

ArrayBuffer[]