@poolzfinance/api4 1.11.22 → 1.11.25
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/endpoints/simpleUrlShortener.d.ts +3 -0
- package/dist/endpoints/tokenInfo.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +7 -0
- package/dist/types/graphql/graphql.d.ts +25 -2
- package/package.json +3 -1
|
@@ -121,6 +121,9 @@ declare const documents: {
|
|
|
121
121
|
"\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
|
|
122
122
|
[key: string]: never;
|
|
123
123
|
}>>;
|
|
124
|
+
"\n query SimpleUrlShortener($hashKey: String!) {\n simpleUrlShortener(hashKey: $hashKey) {\n ShortUrl\n ErrorMessage\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
|
|
125
|
+
hashKey: string;
|
|
126
|
+
}>>;
|
|
124
127
|
"\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<{
|
|
125
128
|
[key: string]: never;
|
|
126
129
|
}>>;
|
|
@@ -274,6 +277,10 @@ export declare function gql(source: "\n query Signup($signUpId: Int!) {\n si
|
|
|
274
277
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
275
278
|
*/
|
|
276
279
|
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}"];
|
|
280
|
+
/**
|
|
281
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
282
|
+
*/
|
|
283
|
+
export declare function gql(source: "\n query SimpleUrlShortener($hashKey: String!) {\n simpleUrlShortener(hashKey: $hashKey) {\n ShortUrl\n ErrorMessage\n }\n}"): (typeof documents)["\n query SimpleUrlShortener($hashKey: String!) {\n simpleUrlShortener(hashKey: $hashKey) {\n ShortUrl\n ErrorMessage\n }\n}"];
|
|
277
284
|
/**
|
|
278
285
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
279
286
|
*/
|
|
@@ -415,7 +415,7 @@ export type PoolxTokenomicsTrade = {
|
|
|
415
415
|
Mexc: Scalars['Float']['output'];
|
|
416
416
|
PancakeSwapV2: Scalars['Float']['output'];
|
|
417
417
|
PancakeSwapV3: Scalars['Float']['output'];
|
|
418
|
-
PancakeSwapV3_01
|
|
418
|
+
PancakeSwapV3_01: Scalars['Float']['output'];
|
|
419
419
|
Sum: Scalars['Float']['output'];
|
|
420
420
|
};
|
|
421
421
|
export type PutMyDataNonEvmWallet = {
|
|
@@ -451,6 +451,7 @@ export type Query = {
|
|
|
451
451
|
signUpCheck: Array<SignUpCheck>;
|
|
452
452
|
signUpList: Array<SignUpList>;
|
|
453
453
|
signUpsTimes: Array<SignUpsTimes>;
|
|
454
|
+
simpleUrlShortener?: Maybe<SimpleUrlShortener>;
|
|
454
455
|
splitDataEncoder: Scalars['String']['output'];
|
|
455
456
|
status: Array<Status>;
|
|
456
457
|
time: Scalars['Int']['output'];
|
|
@@ -528,6 +529,9 @@ export type QuerySignUpCheckArgs = {
|
|
|
528
529
|
export type QuerySignUpListArgs = {
|
|
529
530
|
id: Scalars['Int']['input'];
|
|
530
531
|
};
|
|
532
|
+
export type QuerySimpleUrlShortenerArgs = {
|
|
533
|
+
hashKey: Scalars['String']['input'];
|
|
534
|
+
};
|
|
531
535
|
export type QuerySplitDataEncoderArgs = {
|
|
532
536
|
address: Scalars['String']['input'];
|
|
533
537
|
ratio: Scalars['Float']['input'];
|
|
@@ -590,6 +594,11 @@ export type SignUpsTimes = {
|
|
|
590
594
|
StartBlock: Scalars['Int']['output'];
|
|
591
595
|
StartTime: Scalars['String']['output'];
|
|
592
596
|
};
|
|
597
|
+
export type SimpleUrlShortener = {
|
|
598
|
+
__typename?: 'SimpleUrlShortener';
|
|
599
|
+
ErrorMessage?: Maybe<Scalars['String']['output']>;
|
|
600
|
+
ShortUrl: Scalars['String']['output'];
|
|
601
|
+
};
|
|
593
602
|
export type Status = {
|
|
594
603
|
__typename?: 'Status';
|
|
595
604
|
BlockPerSecond: Scalars['Float']['output'];
|
|
@@ -1084,7 +1093,7 @@ export type GetPoolxTokenomicsQuery = {
|
|
|
1084
1093
|
Sum: number;
|
|
1085
1094
|
Huobi: number;
|
|
1086
1095
|
GateIO: number;
|
|
1087
|
-
PancakeSwapV3_01
|
|
1096
|
+
PancakeSwapV3_01: number;
|
|
1088
1097
|
PancakeSwapV3: number;
|
|
1089
1098
|
Mexc: number;
|
|
1090
1099
|
};
|
|
@@ -1111,6 +1120,17 @@ export type MySignupQuery = {
|
|
|
1111
1120
|
SignupId: number;
|
|
1112
1121
|
}>;
|
|
1113
1122
|
};
|
|
1123
|
+
export type SimpleUrlShortenerQueryVariables = Exact<{
|
|
1124
|
+
hashKey: Scalars['String']['input'];
|
|
1125
|
+
}>;
|
|
1126
|
+
export type SimpleUrlShortenerQuery = {
|
|
1127
|
+
__typename?: 'Query';
|
|
1128
|
+
simpleUrlShortener?: {
|
|
1129
|
+
__typename?: 'SimpleUrlShortener';
|
|
1130
|
+
ShortUrl: string;
|
|
1131
|
+
ErrorMessage?: string | null;
|
|
1132
|
+
} | null;
|
|
1133
|
+
};
|
|
1114
1134
|
export type StatusQueryVariables = Exact<{
|
|
1115
1135
|
[key: string]: never;
|
|
1116
1136
|
}>;
|
|
@@ -1286,6 +1306,9 @@ export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
|
|
|
1286
1306
|
export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
|
|
1287
1307
|
[key: string]: never;
|
|
1288
1308
|
}>>;
|
|
1309
|
+
export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, Exact<{
|
|
1310
|
+
hashKey: Scalars['String']['input'];
|
|
1311
|
+
}>>;
|
|
1289
1312
|
export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
|
|
1290
1313
|
[key: string]: never;
|
|
1291
1314
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolzfinance/api4",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.25",
|
|
4
4
|
"description": "Bridge between front and back",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@graphql-codegen/cli": "^4.0.1",
|
|
37
37
|
"@graphql-codegen/client-preset": "^4.0.1",
|
|
38
38
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
39
|
+
"@types/crypto-js": "^4.2.2",
|
|
39
40
|
"@types/jest": "^29.5.2",
|
|
40
41
|
"@types/node": "^20.3.1",
|
|
41
42
|
"@types/react": "^18.2.14",
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
51
|
"@apollo/client": "^3.7.16",
|
|
52
|
+
"crypto-js": "^4.2.0",
|
|
51
53
|
"graphql": "^16.7.1",
|
|
52
54
|
"react": "^18.2.0"
|
|
53
55
|
},
|