@poolzfinance/api4 1.11.4 → 1.11.6

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.
@@ -96,6 +96,9 @@ declare const documents: {
96
96
  "\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
97
97
  [key: string]: never;
98
98
  }>>;
99
+ "\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }": DocumentNode<types.StatusQuery, types.Exact<{
100
+ [key: string]: never;
101
+ }>>;
99
102
  "\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<{
100
103
  chainId?: types.InputMaybe<number> | undefined;
101
104
  tokenAddress?: types.InputMaybe<string> | undefined;
@@ -219,6 +222,10 @@ export declare function gql(source: "\n query Signup($signUpId: Int!) {\n si
219
222
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
220
223
  */
221
224
  export declare function gql(source: "\n query MySignup {\n mySignup {\n SignupId\n }\n}"): (typeof documents)["\n query MySignup {\n mySignup {\n SignupId\n }\n}"];
225
+ /**
226
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
227
+ */
228
+ export declare function gql(source: "\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"): (typeof documents)["\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"];
222
229
  /**
223
230
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
224
231
  */
@@ -352,7 +352,7 @@ export type Query = {
352
352
  mySignup: Array<MySignUp>;
353
353
  poolxTokenomics: PoolxTokenomics;
354
354
  signUp: Array<SignUp>;
355
- signUpAllocation: Array<SignUpAllocation>;
355
+ signUpAllocation?: Maybe<Array<SignUpAllocation>>;
356
356
  signUpCheck: Array<SignUpCheck>;
357
357
  signUpList: Array<SignUpList>;
358
358
  signUpsTimes: Array<SignUpsTimes>;
@@ -426,7 +426,6 @@ export type QuerySignUpListArgs = {
426
426
  };
427
427
  export type QueryTokenRefundsArgs = {
428
428
  chainId: Scalars['Int']['input'];
429
- decimals?: InputMaybe<Scalars['Int']['input']>;
430
429
  fromBlock?: InputMaybe<Scalars['Int']['input']>;
431
430
  newOwner?: InputMaybe<Scalars['String']['input']>;
432
431
  toBlock?: InputMaybe<Scalars['Int']['input']>;
@@ -443,6 +442,7 @@ export type QueryVaultsArgs = {
443
442
  chainId?: InputMaybe<Scalars['Int']['input']>;
444
443
  fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
445
444
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
445
+ updateTotalSupply?: InputMaybe<Scalars['Boolean']['input']>;
446
446
  };
447
447
  export type RpcWallet = {
448
448
  __typename?: 'RpcWallet';
@@ -483,8 +483,10 @@ export type Status = {
483
483
  __typename?: 'Status';
484
484
  BlockPerSecond: Scalars['Float']['output'];
485
485
  ChainId: Scalars['Int']['output'];
486
+ ChainName: Scalars['String']['output'];
486
487
  CovalentLastBlock: Scalars['Int']['output'];
487
- Events?: Maybe<Array<Maybe<StatusEvents>>>;
488
+ Events: Array<StatusEvents>;
489
+ RpcUrl: Scalars['String']['output'];
488
490
  SecondsToError: Scalars['Int']['output'];
489
491
  SecondsToWarning: Scalars['Int']['output'];
490
492
  };
@@ -891,6 +893,29 @@ export type MySignupQuery = {
891
893
  SignupId: number;
892
894
  }>;
893
895
  };
896
+ export type StatusQueryVariables = Exact<{
897
+ [key: string]: never;
898
+ }>;
899
+ export type StatusQuery = {
900
+ __typename?: 'Query';
901
+ status: Array<{
902
+ __typename?: 'Status';
903
+ ChainId: number;
904
+ ChainName: string;
905
+ RpcUrl: string;
906
+ CovalentLastBlock: number;
907
+ SecondsToWarning: number;
908
+ SecondsToError: number;
909
+ BlockPerSecond: number;
910
+ Events: Array<{
911
+ __typename?: 'StatusEvents';
912
+ Active: boolean;
913
+ StartingBlock: number;
914
+ EndingBlock: number;
915
+ ResponseType: string;
916
+ }>;
917
+ }>;
918
+ };
894
919
  export type DataQueryVariables = Exact<{
895
920
  chainId?: InputMaybe<Scalars['Int']['input']>;
896
921
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
@@ -1003,6 +1028,9 @@ export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
1003
1028
  export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
1004
1029
  [key: string]: never;
1005
1030
  }>>;
1031
+ export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
1032
+ [key: string]: never;
1033
+ }>>;
1006
1034
  export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1007
1035
  chainId?: InputMaybe<number> | undefined;
1008
1036
  tokenAddress?: InputMaybe<string> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.4",
3
+ "version": "1.11.6",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",