@parity/product-sdk-signer 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -260,8 +260,8 @@ interface NeverthrowResultAsync<T, E> {
260
260
  }
261
261
  /** @internal */
262
262
  interface AccountsProvider {
263
- getNonProductAccounts: () => NeverthrowResultAsync<RawAccount[], unknown>;
264
- getNonProductAccountSigner: (account: ProductAccount) => polkadot_api.PolkadotSigner;
263
+ getLegacyAccounts: () => NeverthrowResultAsync<RawAccount[], unknown>;
264
+ getLegacyAccountSigner: (account: ProductAccount) => polkadot_api.PolkadotSigner;
265
265
  getProductAccount: (dotNsIdentifier: string, derivationIndex?: number) => NeverthrowResultAsync<RawAccount, unknown>;
266
266
  getProductAccountSigner: (account: ProductAccount) => polkadot_api.PolkadotSigner;
267
267
  getProductAccountAlias: (dotNsIdentifier: string, derivationIndex?: number) => NeverthrowResultAsync<ContextualAlias, unknown>;
@@ -522,6 +522,7 @@ declare function withRetry<T, E>(fn: (attempt: number) => Promise<Result<T, E>>,
522
522
 
523
523
  /** Standard Substrate dev account names. */
524
524
  declare const DEFAULT_DEV_NAMES: readonly ["Alice", "Bob", "Charlie", "Dave", "Eve", "Ferdie"];
525
+ /** A well-known Substrate development account name (Alice, Bob, …) used to derive deterministic dev accounts from the standard Substrate dev mnemonic. */
525
526
  type DevAccountName = (typeof DEFAULT_DEV_NAMES)[number];
526
527
  /** Supported key types for dev account derivation. */
527
528
  type DevKeyType = "sr25519" | "ed25519";