@marlowe.io/language-core-v1
Advanced tools
Comparing version 0.2.0-alpha-13 to 0.2.0-alpha-14
@@ -37,3 +37,7 @@ function coerceNumber(n) { | ||
}; | ||
/** | ||
* @deprecated Use lovelace instead | ||
*/ | ||
const ada = { currency_symbol: "", token_name: "" }; | ||
const lovelace = { currency_symbol: "", token_name: "" }; | ||
const ValueId = function (valueIdentifier) { | ||
@@ -182,2 +186,2 @@ return valueIdentifier; | ||
export { Account, AddValue, Address, AndObs, Assert, AvailableMoney, Bound, Case, Choice, ChoiceId, ChoiceValue, ChoseSomething, Close, Cond, Constant, Deposit, DivValue, FalseObs, If, Let, MulValue, NegValue, NotObs, Notify, OrObs, Party, Pay, Role, SubValue, TimeIntervalEnd, TimeIntervalStart, Token, TrueObs, UseValue, ValueEQ, ValueGE, ValueGT, ValueId, ValueLE, ValueLT, When, ada }; | ||
export { Account, AddValue, Address, AndObs, Assert, AvailableMoney, Bound, Case, Choice, ChoiceId, ChoiceValue, ChoseSomething, Close, Cond, Constant, Deposit, DivValue, FalseObs, If, Let, MulValue, NegValue, NotObs, Notify, OrObs, Party, Pay, Role, SubValue, TimeIntervalEnd, TimeIntervalStart, Token, TrueObs, UseValue, ValueEQ, ValueGE, ValueGT, ValueId, ValueLE, ValueLT, When, ada, lovelace }; |
@@ -7,3 +7,3 @@ /** | ||
import { | ||
Contract, Address, Role, Account, Party, ada, AvailableMoney, Constant, | ||
Contract, Address, Role, Account, Party, ada, lovelace, AvailableMoney, Constant, | ||
NegValue, AddValue, SubValue, MulValue, DivValue, ChoiceValue, TimeIntervalStart, | ||
@@ -32,3 +32,7 @@ TimeIntervalEnd, UseValue, Cond, AndObs, OrObs, NotObs, ChoseSomething, | ||
declare const Token: (currencySymbol: string, tokenName: string) => Token; | ||
/** | ||
* @deprecated Use lovelace instead | ||
*/ | ||
export declare const ada: Token; | ||
export declare const lovelace: Token; | ||
type ValueId = string; | ||
@@ -35,0 +39,0 @@ export declare const ValueId: (valueIdentifier: string) => ValueId; |
@@ -38,3 +38,7 @@ export { Party, ChoiceId, Token, Case, }; | ||
}; | ||
/** | ||
* @deprecated Use lovelace instead | ||
*/ | ||
export const ada = { currency_symbol: "", token_name: "" }; | ||
export const lovelace = { currency_symbol: "", token_name: "" }; | ||
export const ValueId = function (valueIdentifier) { | ||
@@ -41,0 +45,0 @@ return valueIdentifier; |
{ | ||
"name": "@marlowe.io/language-core-v1", | ||
"version": "0.2.0-alpha-13", | ||
"version": "0.2.0-alpha-14", | ||
"description": "Library to manipulate Marlowe Core contracts", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/input-output-hk/marlowe-ts-sdk", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
714350
20816
0