@tari-project/ootle-ts-bindings 1.29.0 → 1.29.3

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.
@@ -1,5 +1,7 @@
1
1
  export declare const ACCOUNT_TEMPLATE_ADDRESS = "0000000000000000000000000000000000000000000000000000000000000000";
2
2
  export declare const TESTNET_NFT_FAUCET_ADDRESS = "component_0000000000000000000000000000000000000000000000000000000000000001";
3
- export declare const TESTNET_XTR_FAUCET_ADDRESS = "component_0102030000000000000000000000000000000000000000000000000000000000";
4
- export declare const XTR_RESOURCE_ADDRESS = "resource_0101010101010101010101010101010101010101010101010101010101010101";
3
+ export declare const TESTNET_TARI_FAUCET_ADDRESS = "component_0102030000000000000000000000000000000000000000000000000000000000";
4
+ export declare const TARI_TOKEN_RESOURCE_ADDRESS = "resource_0101010101010101010101010101010101010101010101010101010101010101";
5
+ /** @deprecated use `TARI_TOKEN` instead */
5
6
  export declare const XTR = "resource_0101010101010101010101010101010101010101010101010101010101010101";
7
+ export declare const TARI_TOKEN = "resource_0101010101010101010101010101010101010101010101010101010101010101";
@@ -4,6 +4,8 @@
4
4
  */
5
5
  export const ACCOUNT_TEMPLATE_ADDRESS = "0000000000000000000000000000000000000000000000000000000000000000";
6
6
  export const TESTNET_NFT_FAUCET_ADDRESS = "component_0000000000000000000000000000000000000000000000000000000000000001";
7
- export const TESTNET_XTR_FAUCET_ADDRESS = "component_0102030000000000000000000000000000000000000000000000000000000000";
8
- export const XTR_RESOURCE_ADDRESS = "resource_0101010101010101010101010101010101010101010101010101010101010101";
9
- export const XTR = XTR_RESOURCE_ADDRESS;
7
+ export const TESTNET_TARI_FAUCET_ADDRESS = "component_0102030000000000000000000000000000000000000000000000000000000000";
8
+ export const TARI_TOKEN_RESOURCE_ADDRESS = "resource_0101010101010101010101010101010101010101010101010101010101010101";
9
+ /** @deprecated use `TARI_TOKEN` instead */
10
+ export const XTR = TARI_TOKEN_RESOURCE_ADDRESS;
11
+ export const TARI_TOKEN = TARI_TOKEN_RESOURCE_ADDRESS;
@@ -2,5 +2,5 @@ import type { RistrettoPublicKeyBytes } from "../RistrettoPublicKeyBytes";
2
2
  export type IndexerGetIdentityResponse = {
3
3
  peer_id: string;
4
4
  public_key: RistrettoPublicKeyBytes;
5
- public_addresses: string[];
5
+ public_addresses: Array<string>;
6
6
  };
@@ -1,13 +1,7 @@
1
- import type { ExecuteResult } from "../ExecuteResult";
2
1
  import type { TransactionId } from "../TransactionId";
3
2
  export type IndexerSubmitTransactionResponse = {
4
3
  /**
5
- * The ID of the transaction that was dry-run
4
+ * The ID of the submitted transaction
6
5
  */
7
6
  transaction_id: TransactionId;
8
- /**
9
- * The result of the dry-run execution, including any emitted events and state changes, but without a final
10
- * decision or commitment to the ledger
11
- */
12
- result: ExecuteResult;
13
7
  };
@@ -0,0 +1,3 @@
1
+ export type AdvancedUiFeatures = {
2
+ enable_manifest: boolean;
3
+ };
@@ -0,0 +1,2 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ export {};
@@ -1,5 +1,7 @@
1
+ import type { AdvancedUiFeatures } from "./AdvancedUiFeatures";
1
2
  import type { NetworkInfo } from "./NetworkInfo";
2
3
  export type SettingsGetResponse = {
3
4
  indexer_url: string;
4
5
  network: NetworkInfo;
6
+ advanced_ui_features: AdvancedUiFeatures;
5
7
  };
@@ -1,3 +1,5 @@
1
+ import type { AdvancedUiFeatures } from "./AdvancedUiFeatures";
1
2
  export type SettingsSetRequest = {
2
3
  indexer_url: string;
4
+ advanced_ui_features: AdvancedUiFeatures | null;
3
5
  };
@@ -1,2 +1 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
1
  export {};
@@ -1,5 +1,6 @@
1
+ import type { RistrettoPublicKeyBytes } from "../RistrettoPublicKeyBytes";
1
2
  export type TemplatesListAuthoredRequest = {
2
- author_public_key: string;
3
+ author_public_key: RistrettoPublicKeyBytes | null;
3
4
  page: number;
4
5
  page_size: number;
5
6
  };
@@ -1,2 +1 @@
1
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
1
  export {};
@@ -44,6 +44,7 @@ export * from "./types/wallet-types/AccountOrKeyId";
44
44
  export * from "./types/wallet-types/DerivedKeyId";
45
45
  export * from "./types/wallet-types/SettingsSetResponse";
46
46
  export * from "./types/wallet-types/WebauthnFinishAuthRequest";
47
+ export * from "./types/wallet-types/AdvancedUiFeatures";
47
48
  export * from "./types/wallet-types/KeysListRequest";
48
49
  export * from "./types/wallet-types/AccountsTransferResponse";
49
50
  export * from "./types/wallet-types/TransactionGetResultResponse";
@@ -46,6 +46,7 @@ export * from "./types/wallet-types/AccountOrKeyId";
46
46
  export * from "./types/wallet-types/DerivedKeyId";
47
47
  export * from "./types/wallet-types/SettingsSetResponse";
48
48
  export * from "./types/wallet-types/WebauthnFinishAuthRequest";
49
+ export * from "./types/wallet-types/AdvancedUiFeatures";
49
50
  export * from "./types/wallet-types/KeysListRequest";
50
51
  export * from "./types/wallet-types/AccountsTransferResponse";
51
52
  export * from "./types/wallet-types/TransactionGetResultResponse";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/ootle-ts-bindings",
3
- "version": "1.29.0",
3
+ "version": "1.29.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"