@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.
@@ -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.7",
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
- "author": "Poolz team",
24
- "license": "MIT",
25
- "prettier": {
26
- "printWidth": 140,
27
- "semi": false,
28
- "singleQuote": false,
29
- "tabWidth": 2,
30
- "useTabs": false,
31
- "trailingComma": "none",
32
- "bracketSpacing": true,
33
- "bracketSameLine": true
34
- },
35
- "devDependencies": {
36
- "@graphql-codegen/cli": "^5.0.7",
37
- "@graphql-codegen/client-preset": "^4.8.2",
38
- "@graphql-typed-document-node/core": "^3.2.0",
39
- "@testing-library/dom": "^10.4.0",
40
- "@testing-library/react": "^16.3.0",
41
- "@testing-library/react-hooks": "^8.0.1",
42
- "@types/crypto-js": "^4.2.2",
43
- "@types/jest": "^29.5.14",
44
- "@types/node": "^20.19.1",
45
- "@types/react": "^18.3.23",
46
- "@types/react-dom": "^19.1.6",
47
- "jest": "^29.7.0",
48
- "jest-environment-jsdom": "^30.0.2",
49
- "microbundle": "^0.15.1",
50
- "react-dom": "^18.3.1",
51
- "rimraf": "^5.0.10",
52
- "ts-jest": "^29.4.0",
53
- "ts-node": "^10.9.2",
54
- "typescript": "^5.8.3"
55
- },
56
- "dependencies": {
57
- "@apollo/client": "^3.13.8",
58
- "@testing-library/dom": "^10.4.0",
59
- "crypto-js": "^4.2.0",
60
- "graphql": "^16.11.0",
61
- "react": "^18.3.1"
62
- },
63
- "scripts": {
64
- "build": "npm run compile && microbundle --jsx React.createElement",
65
- "clean": "rm -rf dist",
66
- "compile": "rimraf src/types/graphql && graphql-codegen",
67
- "test": "npm run compile && jest --coverage",
68
- "test:only": "jest --coverage"
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
+ }