@@ -49,7 +49,7 @@ type BtcSignMessageSignature = {
4949 sig: Uint8Array,
5050 recid: bigint,
5151 electrumSig65: Uint8Array,
52- }
52+ };
5353// nonce, gasPrice, gasLimit and value must be big-endian encoded, no trailing zeroes.
5454type EthTransaction = {
5555 nonce: Uint8Array;
@@ -93,18 +93,18 @@ type CardanoInput = {
9393type CardanoAssetGroupToken = {
9494 assetName: Uint8Array;
9595 value: bigint;
96- }
96+ };
9797type CardanoAssetGroup = {
9898 policyId: Uint8Array;
9999 tokens: CardanoAssetGroupToken[];
100- }
100+ };
101101type CardanoOutput = {
102102 encodedAddress: string;
103103 value: bigint;
104104 scriptConfig?: CardanoScriptConfig;
105105 assetGroups?: CardanoAssetGroup[];
106- }
107- type CardanoDrepType = 'keyHash' | 'scriptHash' | 'alwaysAbstain' | 'alwaysNoConfidence'
106+ };
107+ type CardanoDrepType = 'keyHash' | 'scriptHash' | 'alwaysAbstain' | 'alwaysNoConfidence';
108108type CardanoCertificate =
109109 | {
110110 stakeRegistration: {
@@ -132,7 +132,7 @@ type CardanoCertificate =
132132type CardanoWithdrawal = {
133133 keypath: Keypath;
134134 value: bigint;
135- }
135+ };
136136type CardanoTransaction = {
137137 network: CardanoNetwork;
138138 inputs: CardanoInput[];
@@ -148,7 +148,7 @@ type CardanoTransaction = {
148148type CardanoShelleyWitness = {
149149 signature: Uint8Array;
150150 publicKey: Uint8Array;
151- }
151+ };
152152type CardanoSignTransactionResult = {
153153 shelleyWitnesses: CardanoShelleyWitness[];
154154};
@@ -157,7 +157,7 @@ type Error = {
157157 message: string;
158158 // original JS error if code === 'unknown-js'
159159 err?: any;
160- }
160+ };
161161"# ;
162162
163163#[ wasm_bindgen]
0 commit comments