@hskswap/universal_router_sdk 1.0.0

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/package.json ADDED
@@ -0,0 +1,104 @@
1
+ {
2
+ "name": "@hskswap/universal_router_sdk",
3
+ "version": "1.0.0",
4
+ "description": "sdk for integrating with the Universal Router contracts",
5
+ "keywords": [
6
+ "hskswap",
7
+ "hashkey chain"
8
+ ],
9
+ "license": "MIT",
10
+ "main": "dist/index.js",
11
+ "typings": "dist/index.d.ts",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "engines": {
16
+ "node": ">=14"
17
+ },
18
+ "scripts": {
19
+ "build": "tsdx build",
20
+ "docs": "typedoc",
21
+ "forge:fix": "forge fmt",
22
+ "lint": "yarn prettier",
23
+ "lint:fix": "yarn prettier:fix && yarn forge:fix",
24
+ "prettier": "prettier --check '**/*.ts' && prettier --check '**/*.json'",
25
+ "prettier:fix": "prettier --write '**/*.ts' && prettier --write '**/*.json'",
26
+ "release": "semantic-release",
27
+ "test": "yarn test:hardhat && yarn test:forge",
28
+ "test:forge": "forge test",
29
+ "test:hardhat": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"
30
+ },
31
+ "dependencies": {
32
+ "@openzeppelin/contracts": "4.7.0",
33
+ "@uniswap/permit2-sdk": "^1.3.0",
34
+ "@uniswap/router-sdk": "^2.3.3",
35
+ "@uniswap/sdk-core": "npm:@hkdex-tmp/sdk-core@1.0.1",
36
+ "@uniswap/universal-router": "2.0.0-beta.2",
37
+ "@uniswap/v2-core": "^1.0.1",
38
+ "@uniswap/v2-sdk": "^4.17.0",
39
+ "@uniswap/v3-core": "1.0.0",
40
+ "@uniswap/v3-sdk": "^3.27.0",
41
+ "@uniswap/v4-sdk": "^1.25.2",
42
+ "bignumber.js": "^9.0.2",
43
+ "ethers": "^5.7.0"
44
+ },
45
+ "devDependencies": {
46
+ "@types/chai": "^4.3.3",
47
+ "@types/mocha": "^9.1.1",
48
+ "@types/node": "^18.7.16",
49
+ "@types/node-fetch": "^2.6.2",
50
+ "chai": "^4.3.6",
51
+ "dotenv": "^16.0.3",
52
+ "eslint-plugin-prettier": "^3.4.1",
53
+ "hardhat": "^2.25.0",
54
+ "prettier": "^2.4.1",
55
+ "ts-node": "^10.9.1",
56
+ "tsdx": "^0.14.1",
57
+ "tslib": "^2.3.0",
58
+ "typedoc": "^0.21.2",
59
+ "typescript": "^4.3.3"
60
+ },
61
+ "prettier": {
62
+ "printWidth": 120,
63
+ "semi": false,
64
+ "singleQuote": true,
65
+ "trailingComma": "es5"
66
+ },
67
+ "publishConfig": {
68
+ "access": "public",
69
+ "provenance": false
70
+ },
71
+ "release": {
72
+ "extends": "semantic-release-monorepo",
73
+ "branches": [
74
+ {
75
+ "name": "main",
76
+ "prerelease": false
77
+ }
78
+ ],
79
+ "plugins": [
80
+ [
81
+ "@semantic-release/commit-analyzer",
82
+ {
83
+ "preset": "angular",
84
+ "releaseRules": "../../publishing/release-rules.cjs"
85
+ }
86
+ ],
87
+ "@semantic-release/release-notes-generator",
88
+ "@semantic-release/npm",
89
+ "@semantic-release/github",
90
+ [
91
+ "@semantic-release/exec",
92
+ {
93
+ "successCmd": "git restore yarn.lock && yarn",
94
+ "failCmd": "git restore yarn.lock && yarn",
95
+ "execCwd": "../.."
96
+ }
97
+ ]
98
+ ]
99
+ },
100
+ "installConfig": {
101
+ "hoistingLimits": "workspaces"
102
+ },
103
+ "sideEffects": false
104
+ }