@tari-project/tarijs-types 0.14.2 → 0.14.4
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.
- package/dist/ConfidentialOutput.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/signer.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElgamalVerifiableBalanceBytes } from "@tari-project/typescript-bindings";
|
|
2
2
|
export interface ConfidentialOutput {
|
|
3
3
|
commitment: string;
|
|
4
4
|
stealthPublicNonce: string;
|
|
5
5
|
encrypted_data: Array<number>;
|
|
6
6
|
minimumValuePromise: number;
|
|
7
|
-
viewableBalance?:
|
|
7
|
+
viewableBalance?: ElgamalVerifiableBalanceBytes;
|
|
8
8
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ export { TransactionStatus, transactionStatusFromStr } from "./TransactionStatus
|
|
|
14
14
|
export { WorkspaceArg } from "./Workspace";
|
|
15
15
|
export { ListAccountNftFromBalancesRequest } from "./ListAccountNftFromBalancesRequest";
|
|
16
16
|
export { Network } from "./network";
|
|
17
|
-
export { AccountData, GetSubstateRequest, ListNftsRequest, ListNftsResponse, ListSubstatesRequest, ListSubstatesResponse, ReqSubstate, SubmitTransactionRequest, Substate, SubstateMetadata, TemplateDefinition,
|
|
17
|
+
export { AccountData, GetSubstateRequest, ListNftsRequest, ListNftsResponse, ListSubstatesRequest, ListSubstatesResponse, ReqSubstate, SubmitTransactionRequest, Substate, SubstateMetadata, TemplateDefinition, RevealedBalances, VaultData, } from "./signer";
|
|
18
18
|
export { convertHexStringToU256Array, convertStringToTransactionStatus, convertU256ToHexString, createNftAddressFromResource, createNftAddressFromToken, getRejectReasonFromTransactionResult, getSubstateDiffFromTransactionResult, jrpcPermissionToString, rejectReasonToString, shortenString, shortenSubstateId, stringToSubstateId, substateIdToString, fromHexString, toHexString, convertTaggedValue, getCborValueByPath, parseCbor, getSubstateValueFromUpSubstates, getComponentsForTemplate, txResultCheck, BinaryTag, CborValue, SimpleTransactionResult, SimpleSubstateDiff, AnySubstate, DownSubstate, UpSubstate, splitOnce, } from "./helpers";
|
|
19
19
|
export { ACCOUNT_TEMPLATE_ADDRESS, XTR, TARI_RESOURCE } from "./consts";
|
package/dist/signer.d.ts
CHANGED
|
@@ -28,8 +28,8 @@ export interface VaultData {
|
|
|
28
28
|
token_symbol: string;
|
|
29
29
|
vault_id: string;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
32
|
-
balances: Map<string,
|
|
31
|
+
export interface RevealedBalances {
|
|
32
|
+
balances: Map<string, bigint | null>;
|
|
33
33
|
}
|
|
34
34
|
export type TemplateDefinition = TemplateDef;
|
|
35
35
|
export interface Substate {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tari-project/tarijs-types",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "The Tari Community",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@tari-project/typescript-bindings": ">=1.17.
|
|
13
|
+
"@tari-project/typescript-bindings": ">=1.17.2",
|
|
14
14
|
"@thames/monads": "^0.7.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|