@decentralized-identity/ion-cli
Version:
A Command Line Interface (CLI) to make working with the ION network and using ION DIDs easy peasy lemon squeezy.
20 lines (19 loc) • 721 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Class describing the initial state of the DID.
*/
class InitialState {
/**
* Constructs a new instance on the @see CurrentState class.
* @param shortForm hash-based version of the DID URI string (only resolvable when anchored).
* @param longForm fully self-resolving payload-embedded version of the DID URI string.
* @param ops array of all operations that have been included in the state chain of the DID.
*/
constructor(shortForm, longForm, ops) {
this.shortForm = shortForm;
this.longForm = longForm;
this.ops = ops;
}
}
exports.default = InitialState;