@poolzfinance/api4 1.16.7 → 1.16.8
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -3
- 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 +2 -2
- package/dist/types/graphql/graphql.d.ts +3 -0
- package/package.json +70 -70
|
@@ -17,7 +17,7 @@ type Documents = {
|
|
|
17
17
|
"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n": typeof types.AdminGetAllocationDocument;
|
|
18
18
|
"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}": typeof types.AdminListOfPoolzBackIdDocument;
|
|
19
19
|
"\n mutation AdminNonEvmInvested($poolId: Long!, $chainId: Long!, $chainName: String!) {\n adminNonEvmInvested(poolId: $poolId, chainId: $chainId, chainName: $chainName) {\n MissingUsers\n Users {\n EvmWallet\n NonEvmWallet\n Amount\n }\n }\n }\n": typeof types.AdminNonEvmInvestedDocument;
|
|
20
|
-
"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}": typeof types.AdminReadAssetsDocument;
|
|
20
|
+
"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}": typeof types.AdminReadAssetsDocument;
|
|
21
21
|
"\n query AdminUsersInvest($poolId: Int!, $first: Int!, $skip: Int!) {\n adminUsersInvest(poolId: $poolId, first: $first, skip: $skip) {\n UserAddress\n WeiAmount\n }\n }\n": typeof types.AdminUsersInvestDocument;
|
|
22
22
|
"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
|
|
23
23
|
"\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }": typeof types.GetApprovedContractsV2Document;
|
|
@@ -94,7 +94,7 @@ export declare function gql(source: "\n mutation AdminNonEvmInvested($poolId: L
|
|
|
94
94
|
/**
|
|
95
95
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
96
96
|
*/
|
|
97
|
-
export declare function gql(source: "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"): (typeof documents)["\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"];
|
|
97
|
+
export declare function gql(source: "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"): (typeof documents)["\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"];
|
|
98
98
|
/**
|
|
99
99
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
100
100
|
*/
|
|
@@ -750,7 +750,10 @@ export type AdminReadAssetsQuery = {
|
|
|
750
750
|
UserAddress: string;
|
|
751
751
|
Builders: Array<{
|
|
752
752
|
__typename?: 'ReadAssetResponse_Builder';
|
|
753
|
+
ProviderAddress: string;
|
|
753
754
|
WeiAmount: string;
|
|
755
|
+
StartTime?: number | null;
|
|
756
|
+
FinishTime?: number | null;
|
|
754
757
|
}>;
|
|
755
758
|
Taken?: {
|
|
756
759
|
__typename?: 'ReadAssetsResponse_Taken';
|
package/package.json
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@poolzfinance/api4",
|
|
3
|
-
"version": "1.16.
|
|
4
|
-
"description": "Bridge between front and back",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"source": "src/index.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"require": "./dist/index.cjs",
|
|
10
|
-
"default": "./dist/index.modern.js"
|
|
11
|
-
},
|
|
12
|
-
"main": "./dist/index.cjs",
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"module": "./dist/index.module.js",
|
|
15
|
-
"unpkg": "./dist/index.umd.js",
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/The-Poolz/InterfaceAPI4.git"
|
|
22
|
-
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
},
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@poolzfinance/api4",
|
|
3
|
+
"version": "1.16.8",
|
|
4
|
+
"description": "Bridge between front and back",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"source": "src/index.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"require": "./dist/index.cjs",
|
|
10
|
+
"default": "./dist/index.modern.js"
|
|
11
|
+
},
|
|
12
|
+
"main": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"module": "./dist/index.module.js",
|
|
15
|
+
"unpkg": "./dist/index.umd.js",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/The-Poolz/InterfaceAPI4.git"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "npm run compile && microbundle --jsx React.createElement",
|
|
25
|
+
"clean": "rm -rf dist",
|
|
26
|
+
"compile": "rimraf src/types/graphql && graphql-codegen",
|
|
27
|
+
"test": "npm run compile && jest --coverage",
|
|
28
|
+
"test:only": "jest --coverage"
|
|
29
|
+
},
|
|
30
|
+
"author": "Poolz team",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"prettier": {
|
|
33
|
+
"printWidth": 140,
|
|
34
|
+
"semi": false,
|
|
35
|
+
"singleQuote": false,
|
|
36
|
+
"tabWidth": 2,
|
|
37
|
+
"useTabs": false,
|
|
38
|
+
"trailingComma": "none",
|
|
39
|
+
"bracketSpacing": true,
|
|
40
|
+
"bracketSameLine": true
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@graphql-codegen/cli": "^5.0.7",
|
|
44
|
+
"@graphql-codegen/client-preset": "^4.8.2",
|
|
45
|
+
"@graphql-typed-document-node/core": "^3.2.0",
|
|
46
|
+
"@testing-library/dom": "^10.4.0",
|
|
47
|
+
"@testing-library/react": "^16.3.0",
|
|
48
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
49
|
+
"@types/crypto-js": "^4.2.2",
|
|
50
|
+
"@types/jest": "^29.5.14",
|
|
51
|
+
"@types/node": "^20.19.1",
|
|
52
|
+
"@types/react": "^18.3.23",
|
|
53
|
+
"@types/react-dom": "^19.1.6",
|
|
54
|
+
"jest": "^29.7.0",
|
|
55
|
+
"jest-environment-jsdom": "^30.0.2",
|
|
56
|
+
"microbundle": "^0.15.1",
|
|
57
|
+
"react-dom": "^18.3.1",
|
|
58
|
+
"rimraf": "^5.0.10",
|
|
59
|
+
"ts-jest": "^29.4.0",
|
|
60
|
+
"ts-node": "^10.9.2",
|
|
61
|
+
"typescript": "^5.8.3"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@apollo/client": "^3.13.8",
|
|
65
|
+
"@testing-library/dom": "^10.4.0",
|
|
66
|
+
"crypto-js": "^4.2.0",
|
|
67
|
+
"graphql": "^16.11.0",
|
|
68
|
+
"react": "^18.3.1"
|
|
69
|
+
}
|
|
70
|
+
}
|