@dodoex/api 3.3.0-beta.7 → 3.4.0-op.1

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.
@@ -31,5 +31,6 @@ export declare enum ChainId {
31
31
  HASHKEY = 177,
32
32
  HEMI = 43111,
33
33
  PHAROS_TESTNET = 688688,
34
- PHAROS_ATLANTIC_TESTNET = 688689
34
+ PHAROS_ATLANTIC_TESTNET = 688689,
35
+ STABLE_TESTNET = 2201
35
36
  }
package/package.json CHANGED
@@ -1,102 +1,106 @@
1
- {
2
- "name": "@dodoex/api",
3
- "version": "3.3.0-beta.7",
4
- "description": "DODO API Kit",
5
- "source": "src/index.ts",
6
- "types": "dist/types/index.d.ts",
7
- "main": "dist/index.cjs",
8
- "module": "dist/index.js",
9
- "license": "GPL-3.0-or-later",
10
- "homepage": "https://github.com/DODOEX/widgets#readme",
11
- "repository": "https://github.com/DODOEX/widgets",
12
- "files": [
13
- "dist"
14
- ],
15
- "scripts": {
16
- "watch": "yarn run rollup -c --watch",
17
- "build": "rollup --config",
18
- "schema:compile": "export $(cat .env | xargs) && env graphql-codegen",
19
- "schema:watch": "export $(cat .env | xargs) && env graphql-codegen -w",
20
- "prerelease": "yarn run build",
21
- "release": "semantic-release",
22
- "release:local": "np --any-branch --no-cleanup --no-tests",
23
- "release.npm-publish": "npm publish --access public",
24
- "release.npm-publish-beta": "npm publish --tag beta"
25
- },
26
- "author": "",
27
- "exports": {
28
- ".": {
29
- "types": "./dist/types/index.d.ts",
30
- "import": "./dist/index.js",
31
- "require": "./dist/index.cjs"
32
- }
33
- },
34
- "keywords": [
35
- "dodo",
36
- "widgets",
37
- "interfaces"
38
- ],
39
- "browserslist": {
40
- "production": [
41
- ">0.2%",
42
- "not dead",
43
- "not op_mini all"
44
- ],
45
- "development": [
46
- "last 1 chrome version",
47
- "last 1 firefox version",
48
- "last 1 safari version"
49
- ]
50
- },
51
- "peerDependencies": {
52
- "@dodoex/contract-request": "1.x",
53
- "@dodoex/dodo-contract-request": "1.x",
54
- "bignumber.js": ">=9",
55
- "lodash": ">=4"
56
- },
57
- "dependencies": {
58
- "@ethersproject/abi": "^5.7.0",
59
- "@ethersproject/properties": "^5.7.0",
60
- "@ethersproject/providers": "^5.7.2",
61
- "@ethersproject/web": "^5.7.1",
62
- "cross-fetch": "^4.0.0",
63
- "graphql": "^16.8.1",
64
- "graphql-request": "^6.1.0",
65
- "qs": "^6.11.2"
66
- },
67
- "devDependencies": {
68
- "@0no-co/graphqlsp": "^1.3.2",
69
- "@babel/preset-env": "^7.16.11",
70
- "@babel/preset-react": "^7.18.6",
71
- "@babel/preset-typescript": "^7.16.7",
72
- "@ethersproject/contracts": ">=5",
73
- "@graphql-codegen/cli": "^5.0.0",
74
- "@graphql-codegen/client-preset": "^4.1.0",
75
- "@rollup/plugin-babel": "^6.0.4",
76
- "@rollup/plugin-commonjs": "^26.0.1",
77
- "@rollup/plugin-json": "^6.1.0",
78
- "@rollup/plugin-replace": "^5.0.7",
79
- "@rollup/plugin-terser": "^0.4.4",
80
- "@rollup/plugin-typescript": "^12.1.1",
81
- "@rollup/plugin-url": "^8.0.2",
82
- "@svgr/rollup": "^6.2.1",
83
- "@testing-library/jest-dom": "^5.16.5",
84
- "@testing-library/react": "^13.4.0",
85
- "@testing-library/react-hooks": "^8.0.1",
86
- "@types/jest": "^29.0.3",
87
- "@types/qs": "^6.14.0",
88
- "babel-plugin-macros": "^3.1.0",
89
- "babel-runtime": "^6.26.0",
90
- "dotenv": "^16.0.2",
91
- "jest": "^29.0.3",
92
- "jest-environment-hardhat": "^1.1.9",
93
- "jest-environment-jsdom": "^29.0.3",
94
- "np": "^7.6.1",
95
- "rollup": "^4.18.0",
96
- "rollup-plugin-clear": "^2.0.7",
97
- "rollup-plugin-dynamic-import-variables": "^1.1.0",
98
- "svg-jest": "^1.0.1",
99
- "ts-jest": "^29.0.1",
100
- "typescript": "^5.6.3"
101
- }
102
- }
1
+ {
2
+ "name": "@dodoex/api",
3
+ "version": "3.4.0-op.1",
4
+ "description": "DODO API Kit",
5
+ "source": "src/index.ts",
6
+ "types": "dist/types/index.d.ts",
7
+ "main": "dist/index.cjs",
8
+ "module": "dist/index.js",
9
+ "license": "GPL-3.0-or-later",
10
+ "homepage": "https://github.com/DODOEX/widgets#readme",
11
+ "repository": "https://github.com/DODOEX/widgets",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "scripts": {
16
+ "watch": "yarn run rollup -c --watch",
17
+ "build": "rollup --config",
18
+ "schema:compile": "export $(cat .env | xargs) && env graphql-codegen",
19
+ "schema:watch": "export $(cat .env | xargs) && env graphql-codegen -w",
20
+ "prerelease": "yarn run build",
21
+ "release": "semantic-release",
22
+ "release:local": "np --any-branch --no-cleanup --no-tests",
23
+ "release.npm-publish": "npm publish --access public",
24
+ "release.npm-publish-beta": "npm publish --tag beta"
25
+ },
26
+ "author": "",
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "registry": "https://registry.npmjs.org"
30
+ },
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/types/index.d.ts",
34
+ "import": "./dist/index.js",
35
+ "require": "./dist/index.cjs"
36
+ }
37
+ },
38
+ "keywords": [
39
+ "dodo",
40
+ "widgets",
41
+ "interfaces"
42
+ ],
43
+ "browserslist": {
44
+ "production": [
45
+ ">0.2%",
46
+ "not dead",
47
+ "not op_mini all"
48
+ ],
49
+ "development": [
50
+ "last 1 chrome version",
51
+ "last 1 firefox version",
52
+ "last 1 safari version"
53
+ ]
54
+ },
55
+ "peerDependencies": {
56
+ "@dodoex/contract-request": "1.x",
57
+ "@dodoex/dodo-contract-request": "1.x",
58
+ "bignumber.js": ">=9",
59
+ "lodash": ">=4"
60
+ },
61
+ "dependencies": {
62
+ "@ethersproject/abi": "^5.7.0",
63
+ "@ethersproject/properties": "^5.7.0",
64
+ "@ethersproject/providers": "^5.7.2",
65
+ "@ethersproject/web": "^5.7.1",
66
+ "cross-fetch": "^4.0.0",
67
+ "graphql": "^16.8.1",
68
+ "graphql-request": "^6.1.0",
69
+ "qs": "^6.11.2"
70
+ },
71
+ "devDependencies": {
72
+ "@0no-co/graphqlsp": "^1.3.2",
73
+ "@babel/preset-env": "^7.16.11",
74
+ "@babel/preset-react": "^7.18.6",
75
+ "@babel/preset-typescript": "^7.16.7",
76
+ "@ethersproject/contracts": ">=5",
77
+ "@graphql-codegen/cli": "^5.0.0",
78
+ "@graphql-codegen/client-preset": "^4.1.0",
79
+ "@rollup/plugin-babel": "^6.0.4",
80
+ "@rollup/plugin-commonjs": "^26.0.1",
81
+ "@rollup/plugin-json": "^6.1.0",
82
+ "@rollup/plugin-replace": "^5.0.7",
83
+ "@rollup/plugin-terser": "^0.4.4",
84
+ "@rollup/plugin-typescript": "^12.1.1",
85
+ "@rollup/plugin-url": "^8.0.2",
86
+ "@svgr/rollup": "^6.2.1",
87
+ "@testing-library/jest-dom": "^5.16.5",
88
+ "@testing-library/react": "^13.4.0",
89
+ "@testing-library/react-hooks": "^8.0.1",
90
+ "@types/jest": "^29.0.3",
91
+ "@types/qs": "^6.14.0",
92
+ "babel-plugin-macros": "^3.1.0",
93
+ "babel-runtime": "^6.26.0",
94
+ "dotenv": "^16.0.2",
95
+ "jest": "^29.0.3",
96
+ "jest-environment-hardhat": "^1.1.9",
97
+ "jest-environment-jsdom": "^29.0.3",
98
+ "np": "^7.6.1",
99
+ "rollup": "^4.18.0",
100
+ "rollup-plugin-clear": "^2.0.7",
101
+ "rollup-plugin-dynamic-import-variables": "^1.1.0",
102
+ "svg-jest": "^1.0.1",
103
+ "ts-jest": "^29.0.1",
104
+ "typescript": "^5.6.3"
105
+ }
106
+ }