@cardano-sdk/core 0.42.3 → 0.43.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.
@@ -1,7 +1,7 @@
1
1
  import { DRepID } from './DRepID';
2
2
  import { OpaqueString } from '@cardano-sdk/util';
3
3
  import type { HydratedTx, Tx } from '../types/Transaction';
4
- import type { HydratedTxIn, TxIn, TxOut } from '../types/Utxo';
4
+ import type { HydratedTxIn, TxIn, TxOut, Utxo } from '../types/Utxo';
5
5
  import type { NetworkId } from '../ChainId';
6
6
  import type { RewardAccount } from './RewardAccount';
7
7
  export declare type PaymentAddress = OpaqueString<'PaymentAddress'>;
@@ -12,7 +12,10 @@ export declare const isAddressWithin: (addresses: PaymentAddress[]) => ({ addres
12
12
  }) => boolean;
13
13
  export declare const inputsWithAddresses: (tx: HydratedTx, ownAddresses: PaymentAddress[]) => HydratedTxIn[];
14
14
  export declare type ResolveOptions = {
15
- hints: Tx[];
15
+ hints: {
16
+ transactions?: Tx[];
17
+ utxos?: Utxo[];
18
+ };
16
19
  };
17
20
  export declare type ResolveInput = (txIn: TxIn, options?: ResolveOptions) => Promise<TxOut | null>;
18
21
  export interface InputResolver {
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentAddress.d.ts","sourceRoot":"","sources":["../../../../src/Cardano/Address/PaymentAddress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAGL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,oBAAY,cAA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