@evergonlabs/tmi-protocol-api-client 0.13.0 → 0.13.2

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/index.d.cts CHANGED
@@ -2500,7 +2500,7 @@ type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponses = {
2500
2500
  campaignId: bigint;
2501
2501
  receiver: string;
2502
2502
  burnId: bigint;
2503
- nextBurnId: bigint;
2503
+ nextBurnId: bigint | null;
2504
2504
  amountOfFractionsBurnt: bigint;
2505
2505
  };
2506
2506
  };
@@ -2690,7 +2690,7 @@ type GetGeneralBalanceData = {
2690
2690
  /**
2691
2691
  * Supported chain id
2692
2692
  */
2693
- chainId: '11155111' | '31337';
2693
+ chainId: '11155111' | '72080' | '31337';
2694
2694
  address: string;
2695
2695
  contract: string;
2696
2696
  };
@@ -2721,7 +2721,7 @@ type PostGeneralBalancesData = {
2721
2721
  /**
2722
2722
  * Supported chain id
2723
2723
  */
2724
- chainId: '11155111' | '31337';
2724
+ chainId: '11155111' | '72080' | '31337';
2725
2725
  address: string;
2726
2726
  contracts: Array<string>;
2727
2727
  };
@@ -2746,9 +2746,9 @@ type PostGeneralBalancesResponse = PostGeneralBalancesResponses[keyof PostGenera
2746
2746
  type PostGeneralSearchBalancesData = {
2747
2747
  body?: {
2748
2748
  /**
2749
- * The ID of the chain.
2749
+ * Supported chain id
2750
2750
  */
2751
- chainId: '11155111' | '31337';
2751
+ chainId: '11155111' | '72080' | '31337';
2752
2752
  /**
2753
2753
  * The address to get the balance for.
2754
2754
  */
@@ -2941,13 +2941,7 @@ type PostIssuanceErc20GrantRoleResponses = {
2941
2941
  /**
2942
2942
  * Returns transaction data for granting a role
2943
2943
  */
2944
- 200: {
2945
- to: string;
2946
- /**
2947
- * Encoded transaction data
2948
- */
2949
- data: string;
2950
- };
2944
+ 200: Transaction;
2951
2945
  };
2952
2946
  type PostIssuanceErc20GrantRoleResponse = PostIssuanceErc20GrantRoleResponses[keyof PostIssuanceErc20GrantRoleResponses];
2953
2947
  type ClientOptions = {
@@ -3138,7 +3132,7 @@ declare const api: {
3138
3132
  campaignId: bigint;
3139
3133
  receiver: string;
3140
3134
  burnId: bigint;
3141
- nextBurnId: bigint;
3135
+ nextBurnId: bigint | null;
3142
3136
  amountOfFractionsBurnt: bigint;
3143
3137
  }, ZodError, ThrowOnError>;
3144
3138
  editCliff: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesVestingEditCliffData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
@@ -3188,10 +3182,7 @@ declare const api: {
3188
3182
  erc20Burn: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20BurnData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3189
3183
  erc20Approve: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3190
3184
  erc20Transfer: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20TransferData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3191
- erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
3192
- to: string;
3193
- data: string;
3194
- }, ZodError, ThrowOnError>;
3185
+ erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3195
3186
  };
3196
3187
  };
3197
3188
  };
package/dist/index.d.ts CHANGED
@@ -2500,7 +2500,7 @@ type GetV0FractionsSalesVestingGetClaimVestedTokensEventResponses = {
2500
2500
  campaignId: bigint;
2501
2501
  receiver: string;
2502
2502
  burnId: bigint;
2503
- nextBurnId: bigint;
2503
+ nextBurnId: bigint | null;
2504
2504
  amountOfFractionsBurnt: bigint;
2505
2505
  };
2506
2506
  };
@@ -2690,7 +2690,7 @@ type GetGeneralBalanceData = {
2690
2690
  /**
2691
2691
  * Supported chain id
2692
2692
  */
2693
- chainId: '11155111' | '31337';
2693
+ chainId: '11155111' | '72080' | '31337';
2694
2694
  address: string;
2695
2695
  contract: string;
2696
2696
  };
@@ -2721,7 +2721,7 @@ type PostGeneralBalancesData = {
2721
2721
  /**
2722
2722
  * Supported chain id
2723
2723
  */
2724
- chainId: '11155111' | '31337';
2724
+ chainId: '11155111' | '72080' | '31337';
2725
2725
  address: string;
2726
2726
  contracts: Array<string>;
2727
2727
  };
@@ -2746,9 +2746,9 @@ type PostGeneralBalancesResponse = PostGeneralBalancesResponses[keyof PostGenera
2746
2746
  type PostGeneralSearchBalancesData = {
2747
2747
  body?: {
2748
2748
  /**
2749
- * The ID of the chain.
2749
+ * Supported chain id
2750
2750
  */
2751
- chainId: '11155111' | '31337';
2751
+ chainId: '11155111' | '72080' | '31337';
2752
2752
  /**
2753
2753
  * The address to get the balance for.
2754
2754
  */
@@ -2941,13 +2941,7 @@ type PostIssuanceErc20GrantRoleResponses = {
2941
2941
  /**
2942
2942
  * Returns transaction data for granting a role
2943
2943
  */
2944
- 200: {
2945
- to: string;
2946
- /**
2947
- * Encoded transaction data
2948
- */
2949
- data: string;
2950
- };
2944
+ 200: Transaction;
2951
2945
  };
2952
2946
  type PostIssuanceErc20GrantRoleResponse = PostIssuanceErc20GrantRoleResponses[keyof PostIssuanceErc20GrantRoleResponses];
2953
2947
  type ClientOptions = {
@@ -3138,7 +3132,7 @@ declare const api: {
3138
3132
  campaignId: bigint;
3139
3133
  receiver: string;
3140
3134
  burnId: bigint;
3141
- nextBurnId: bigint;
3135
+ nextBurnId: bigint | null;
3142
3136
  amountOfFractionsBurnt: bigint;
3143
3137
  }, ZodError, ThrowOnError>;
3144
3138
  editCliff: <ThrowOnError extends boolean = false>(options?: Options<PostV0FractionsSalesVestingEditCliffData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
@@ -3188,10 +3182,7 @@ declare const api: {
3188
3182
  erc20Burn: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20BurnData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3189
3183
  erc20Approve: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20ApproveData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3190
3184
  erc20Transfer: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20TransferData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3191
- erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<{
3192
- to: string;
3193
- data: string;
3194
- }, ZodError, ThrowOnError>;
3185
+ erc20GrantRole: <ThrowOnError extends boolean = false>(options?: Options<PostIssuanceErc20GrantRoleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Transaction, ZodError, ThrowOnError>;
3195
3186
  };
3196
3187
  };
3197
3188
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evergonlabs/tmi-protocol-api-client",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,8 +35,8 @@
35
35
  "rimraf": "^6.0.1",
36
36
  "tsx": "^4.19.2",
37
37
  "typescript": "5.7.3",
38
- "@evergonlabs/internal": "0.0.0",
39
- "@evergonlabs/tmi-protocol-api": "0.0.0"
38
+ "@evergonlabs/tmi-protocol-api": "0.0.0",
39
+ "@evergonlabs/internal": "0.0.0"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=18.14"