@meshsdk/core 1.5.22 → 1.5.23
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.
|
@@ -14,7 +14,7 @@ export declare type MeshTxBuilderBody = {
|
|
|
14
14
|
certificates: Certificate[];
|
|
15
15
|
signingKey: string[];
|
|
16
16
|
};
|
|
17
|
-
export declare type TxIn = PubKeyTxIn | ScriptTxIn;
|
|
17
|
+
export declare type TxIn = PubKeyTxIn | SimpleScriptTxIn | ScriptTxIn;
|
|
18
18
|
export declare type PubKeyTxIn = {
|
|
19
19
|
type: 'PubKey';
|
|
20
20
|
txIn: TxInParameter;
|
|
@@ -25,6 +25,24 @@ export declare type TxInParameter = {
|
|
|
25
25
|
amount?: Asset[];
|
|
26
26
|
address?: string;
|
|
27
27
|
};
|
|
28
|
+
export declare type SimpleScriptTxIn = {
|
|
29
|
+
type: 'SimpleScript';
|
|
30
|
+
txIn: TxInParameter;
|
|
31
|
+
simpleScriptTxIn: SimpleScriptTxInParameter;
|
|
32
|
+
};
|
|
33
|
+
export declare type SimpleScriptTxInParameter = {
|
|
34
|
+
scriptSource?: {
|
|
35
|
+
type: 'Provided';
|
|
36
|
+
script: string;
|
|
37
|
+
} | {
|
|
38
|
+
type: 'Inline';
|
|
39
|
+
txInInfo: SimpleScriptSourceInfo;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare type SimpleScriptSourceInfo = {
|
|
43
|
+
txHash: string;
|
|
44
|
+
txIndex: number;
|
|
45
|
+
};
|
|
28
46
|
export declare type ScriptTxIn = {
|
|
29
47
|
type: 'Script';
|
|
30
48
|
txIn: TxInParameter;
|
package/package.json
CHANGED