@meshsdk/core 1.5.20 → 1.5.21

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.
@@ -2,21 +2,22 @@ import { csl } from '@mesh/core';
2
2
  import { IFetcher, IInitiator, ISigner, ISubmitter } from '@mesh/common/contracts';
3
3
  import type { Address, TransactionUnspentOutput } from '@mesh/core';
4
4
  import type { DataSignature } from '@mesh/common/types';
5
+ export declare type AppWalletKeyType = {
6
+ type: 'root';
7
+ bech32: string;
8
+ } | {
9
+ type: 'cli';
10
+ payment: string;
11
+ stake?: string;
12
+ } | {
13
+ type: 'mnemonic';
14
+ words: string[];
15
+ };
5
16
  export declare type CreateAppWalletOptions = {
6
17
  networkId: number;
7
18
  fetcher?: IFetcher;
8
19
  submitter?: ISubmitter;
9
- key: {
10
- type: 'root';
11
- bech32: string;
12
- } | {
13
- type: 'cli';
14
- payment: string;
15
- stake?: string;
16
- } | {
17
- type: 'mnemonic';
18
- words: string[];
19
- };
20
+ key: AppWalletKeyType;
20
21
  };
21
22
  export declare class AppWallet implements IInitiator, ISigner, ISubmitter {
22
23
  private readonly _fetcher?;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Rapidly build Web3 apps on the Cardano Blockchain.",
4
4
  "homepage": "https://meshjs.dev",
5
5
  "author": "MeshJS",
6
- "version": "1.5.20",
6
+ "version": "1.5.21",
7
7
  "license": "Apache-2.0",
8
8
  "type": "module",
9
9
  "repository": {