UNPKG

freelii-passkey-kit

Version:

A helper library for creating and using smart wallet accounts on the Stellar blockchain.

23 lines (22 loc) 566 B
export class SignerKey { key; value; constructor(key, value) { this.key = key; this.value = value; } static Policy(policy) { return new SignerKey("Policy", policy); } static Ed25519(publicKey) { return new SignerKey("Ed25519", publicKey); } static Secp256r1(id) { return new SignerKey("Secp256r1", id); } } export var SignerStore; (function (SignerStore) { SignerStore["Persistent"] = "Persistent"; SignerStore["Temporary"] = "Temporary"; })(SignerStore || (SignerStore = {}));