@poolzfinance/api4 1.11.43 → 1.11.44

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.
@@ -171,8 +171,9 @@ declare const documents: {
171
171
  "\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n": DocumentNode<types.TokenInfoQuery, types.Exact<{
172
172
  hashKey: string;
173
173
  }>>;
174
- "\n query TokenRefundsNFT {\n tokenRefundsNFT(chainId: 56, poolId: 63963) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}": DocumentNode<types.TokenRefundsNftQuery, types.Exact<{
175
- [key: string]: never;
174
+ "\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}": DocumentNode<types.TokenRefundsNftQuery, types.Exact<{
175
+ chainId: number;
176
+ poolId: number;
176
177
  }>>;
177
178
  "\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n": DocumentNode<types.DataQuery, types.Exact<{
178
179
  chainId?: types.InputMaybe<number> | undefined;
@@ -380,7 +381,7 @@ export declare function gql(source: "\n query TokenInfo($hashKey: String!) {\n
380
381
  /**
381
382
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
382
383
  */
383
- export declare function gql(source: "\n query TokenRefundsNFT {\n tokenRefundsNFT(chainId: 56, poolId: 63963) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"): (typeof documents)["\n query TokenRefundsNFT {\n tokenRefundsNFT(chainId: 56, poolId: 63963) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"];
384
+ export declare function gql(source: "\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"): (typeof documents)["\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"];
384
385
  /**
385
386
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
386
387
  */
@@ -1474,7 +1474,8 @@ export type TokenInfoQuery = {
1474
1474
  } | null;
1475
1475
  };
1476
1476
  export type TokenRefundsNftQueryVariables = Exact<{
1477
- [key: string]: never;
1477
+ chainId: Scalars['Int']['input'];
1478
+ poolId: Scalars['Int']['input'];
1478
1479
  }>;
1479
1480
  export type TokenRefundsNftQuery = {
1480
1481
  __typename?: 'Query';
@@ -1683,7 +1684,8 @@ export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
1683
1684
  hashKey: Scalars['String']['input'];
1684
1685
  }>>;
1685
1686
  export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, Exact<{
1686
- [key: string]: never;
1687
+ chainId: Scalars['Int']['input'];
1688
+ poolId: Scalars['Int']['input'];
1687
1689
  }>>;
1688
1690
  export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1689
1691
  chainId?: InputMaybe<number> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.43",
3
+ "version": "1.11.44",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",