Commit ca119e4 1 parent 40bd760 commit ca119e4 Copy full SHA for ca119e4
File tree 4 files changed +36
-354
lines changed
4 files changed +36
-354
lines changed Original file line number Diff line number Diff line change 1
1
import { C } from "../core/mod.js" ;
2
- type CostModel = Record < string , number > ;
3
- export type CostModels = Record < PlutusVersion , CostModel > ;
2
+ export type CostModels = Record < PlutusVersion , Array < number > > ;
4
3
export interface Configuration {
5
4
enableChangeSplitting : boolean ;
6
5
changeNativeAssetChunkSize : number ;
@@ -252,4 +251,3 @@ export type Metadata = {
252
251
decimals ?: number ;
253
252
} ;
254
253
} ;
255
- export { } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @jpg-store/lucid-cardano" ,
3
- "version" : " 0.12.3 " ,
3
+ "version" : " 0.13.0 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " This is a fork of the original Lucid repo compiled into CommonJS. For more information check https://github.com/spacebudz/lucid" ,
6
6
"repository" : " https://github.com/jpg-store/lucid" ,
Original file line number Diff line number Diff line change 1
1
import { C } from "../core/mod.ts" ;
2
2
3
- type CostModel = Record < string , number > ;
4
-
5
- export type CostModels = Record < PlutusVersion , CostModel > ;
3
+ export type CostModels = Record < PlutusVersion , Array < number > > ;
6
4
7
5
export interface Configuration {
8
6
enableChangeSplitting : boolean ;
@@ -37,7 +35,7 @@ export interface Provider {
37
35
/** Query UTxOs by address or payment credential filtered by a specific unit. */
38
36
getUtxosWithUnit (
39
37
addressOrCredential : Address | Credential ,
40
- unit : Unit
38
+ unit : Unit ,
41
39
) : Promise < UTxO [ ] > ;
42
40
/** Query a UTxO by a unit. It needs to be an NFT (or optionally the entire supply in one UTxO). */
43
41
getUtxoByUnit ( unit : Unit ) : Promise < UTxO > ;
@@ -189,7 +187,7 @@ export interface Wallet {
189
187
signTx ( tx : C . Transaction ) : Promise < C . TransactionWitnessSet > ;
190
188
signMessage (
191
189
address : Address | RewardAddress ,
192
- payload : Payload
190
+ payload : Payload ,
193
191
) : Promise < SignedMessage > ;
194
192
submitTx ( signedTx : Transaction ) : Promise < TxHash > ;
195
193
}
You can’t perform that action at this time.
0 commit comments