@tari-project/tarijs-types 0.5.4 → 0.6.0
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/Instruction.d.ts +9 -3
- package/dist/SubstateType.d.ts +1 -0
- package/dist/SubstateType.js +1 -0
- package/dist/Workspace.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/Instruction.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentAddress, LogLevel, PublishedTemplateAddress } from "@tari-project/typescript-bindings";
|
|
1
|
+
import { ComponentAddress, LogLevel, PublishedTemplateAddress, SubstateType } from "@tari-project/typescript-bindings";
|
|
2
2
|
import { TransactionArg } from "./TransactionArg";
|
|
3
3
|
import { ConfidentialClaim } from "./ConfidentialClaim";
|
|
4
4
|
import { Amount } from "./Amount";
|
|
5
5
|
import { ConfidentialOutput } from "./ConfidentialOutput";
|
|
6
|
-
export type Instruction = CreateAccount | CallFunction | CallMethod | PutLastInstructionOutputOnWorkspace | EmitLog | ClaimBurn | ClaimValidatorFees | DropAllProofsInWorkspace | CreateFreeTestCoins;
|
|
6
|
+
export type Instruction = CreateAccount | CallFunction | CallMethod | PutLastInstructionOutputOnWorkspace | EmitLog | ClaimBurn | ClaimValidatorFees | DropAllProofsInWorkspace | CreateFreeTestCoins | AllocateAddress;
|
|
7
7
|
export type CreateAccount = {
|
|
8
8
|
CreateAccount: {
|
|
9
9
|
owner_public_key: string;
|
|
@@ -26,7 +26,7 @@ export type CallMethod = {
|
|
|
26
26
|
};
|
|
27
27
|
export type PutLastInstructionOutputOnWorkspace = {
|
|
28
28
|
PutLastInstructionOutputOnWorkspace: {
|
|
29
|
-
key:
|
|
29
|
+
key: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
export type EmitLog = {
|
|
@@ -53,3 +53,9 @@ export type CreateFreeTestCoins = {
|
|
|
53
53
|
output: ConfidentialOutput | null;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
+
export type AllocateAddress = {
|
|
57
|
+
AllocateAddress: {
|
|
58
|
+
substate_type: SubstateType;
|
|
59
|
+
workspace_id: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SubstateType = "Component" | "Resource" | "Vault" | "UnclaimedConfidentialOutput" | "NonFungible" | "TransactionReceipt" | "NonFungibleIndex" | "ValidatorFeePool" | "Template";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/Workspace.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { Instruction } from "./Instruction";
|
|
|
10
10
|
export { Transaction } from "./Transaction";
|
|
11
11
|
export { SubstateDiff, DownSubstates, UpSubstates } from "./SubstateDiff";
|
|
12
12
|
export { SubstateRequirement } from "./SubstateRequirement";
|
|
13
|
+
export { SubstateType } from "./SubstateType";
|
|
13
14
|
export { TransactionResult, SubmitTxResult, SubmitTransactionResponse, TransactionResultResponse, } from "./TransactionResult";
|
|
14
15
|
export { TransactionSignature } from "./TransactionSignature";
|
|
15
16
|
export { TransactionStatus } from "./TransactionStatus";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tari-project/tarijs-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@tari-project/typescript-bindings": "^1.5.
|
|
13
|
+
"@tari-project/typescript-bindings": "^1.5.5"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/node": "^22.13.1",
|