@poolzfinance/api4 1.11.42 → 1.11.43

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,9 +171,8 @@ 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($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n }\n}": DocumentNode<types.TokenRefundsNftQuery, types.Exact<{
175
- chainId: number;
176
- poolId: number;
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;
177
176
  }>>;
178
177
  "\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<{
179
178
  chainId?: types.InputMaybe<number> | undefined;
@@ -381,7 +380,7 @@ export declare function gql(source: "\n query TokenInfo($hashKey: String!) {\n
381
380
  /**
382
381
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
383
382
  */
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 }\n}"): (typeof documents)["\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n }\n}"];
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}"];
385
384
  /**
386
385
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
387
386
  */
@@ -1474,8 +1474,7 @@ export type TokenInfoQuery = {
1474
1474
  } | null;
1475
1475
  };
1476
1476
  export type TokenRefundsNftQueryVariables = Exact<{
1477
- chainId: Scalars['Int']['input'];
1478
- poolId: Scalars['Int']['input'];
1477
+ [key: string]: never;
1479
1478
  }>;
1480
1479
  export type TokenRefundsNftQuery = {
1481
1480
  __typename?: 'Query';
@@ -1484,6 +1483,16 @@ export type TokenRefundsNftQuery = {
1484
1483
  TxHash: string;
1485
1484
  BlockSignedAt: number;
1486
1485
  From: string;
1486
+ TokensRefunded: {
1487
+ __typename?: 'TokenRefundsNFT_TokensRefunded';
1488
+ TokenId: number;
1489
+ Amount: number;
1490
+ };
1491
+ TokenOut: {
1492
+ __typename?: 'TokenRefundsNFT_TokenOut';
1493
+ TokenId: number;
1494
+ Amount: number;
1495
+ };
1487
1496
  }>;
1488
1497
  };
1489
1498
  export type DataQueryVariables = Exact<{
@@ -1674,8 +1683,7 @@ export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
1674
1683
  hashKey: Scalars['String']['input'];
1675
1684
  }>>;
1676
1685
  export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, Exact<{
1677
- chainId: Scalars['Int']['input'];
1678
- poolId: Scalars['Int']['input'];
1686
+ [key: string]: never;
1679
1687
  }>>;
1680
1688
  export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1681
1689
  chainId?: InputMaybe<number> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.42",
3
+ "version": "1.11.43",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",