@panoptic-eng/sdk 1.0.4 → 1.0.6
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/LICENSE +21 -0
- package/README.md +75 -20
- package/dist/cow/index.d.ts +5 -0
- package/dist/cow/index.js +5 -0
- package/dist/cow/types.d.ts +4 -0
- package/dist/cow/types.js +0 -0
- package/dist/cow-Dy-Cd09v.js +1405 -0
- package/dist/cow-Dy-Cd09v.js.map +1 -0
- package/dist/index-BuJcj5aO.d.ts +275 -0
- package/dist/index-BuJcj5aO.d.ts.map +1 -0
- package/dist/index-DVMjZi1E.d.ts +1801 -0
- package/dist/index-DVMjZi1E.d.ts.map +1 -0
- package/dist/index.d.ts +6192 -2513
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3242 -5537
- package/dist/index.js.map +1 -1
- package/dist/irm-CBrX8bjH.js +2375 -0
- package/dist/irm-CBrX8bjH.js.map +1 -0
- package/dist/irm-CGykVo3q.d.ts +32 -0
- package/dist/irm-CGykVo3q.d.ts.map +1 -0
- package/dist/irm-zWjtffWA.d.ts +85 -0
- package/dist/irm-zWjtffWA.d.ts.map +1 -0
- package/dist/panoptic/v2/index.d.ts +9370 -0
- package/dist/panoptic/v2/index.d.ts.map +1 -0
- package/dist/panoptic/v2/index.js +10765 -0
- package/dist/panoptic/v2/index.js.map +1 -0
- package/dist/panoptic/v2/types/index.d.ts +3 -0
- package/dist/panoptic/v2/types/index.js +0 -0
- package/dist/position-FxaZi608.js +10530 -0
- package/dist/position-FxaZi608.js.map +1 -0
- package/dist/router-gzYGM1OO.js +1012 -0
- package/dist/router-gzYGM1OO.js.map +1 -0
- package/dist/types-BQejAFnu.d.ts +245 -0
- package/dist/types-BQejAFnu.d.ts.map +1 -0
- package/dist/types-CRvvn2ce.d.ts +128 -0
- package/dist/types-CRvvn2ce.d.ts.map +1 -0
- package/dist/uniswap/index.d.ts +291 -0
- package/dist/uniswap/index.d.ts.map +1 -0
- package/dist/uniswap/index.js +5 -0
- package/dist/writes-CVCD6Ers.js +4302 -0
- package/dist/writes-CVCD6Ers.js.map +1 -0
- package/package.json +24 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panoptic-eng/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/panoptic-labs/panoptic-sdk.git"
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
"types": "./dist/index.d.ts",
|
|
16
16
|
"import": "./dist/index.js"
|
|
17
17
|
},
|
|
18
|
+
"./v2": {
|
|
19
|
+
"types": "./dist/panoptic/v2/index.d.ts",
|
|
20
|
+
"import": "./dist/panoptic/v2/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./uniswap": {
|
|
23
|
+
"types": "./dist/uniswap/index.d.ts",
|
|
24
|
+
"import": "./dist/uniswap/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./cow": {
|
|
27
|
+
"types": "./dist/cow/index.d.ts",
|
|
28
|
+
"import": "./dist/cow/index.js"
|
|
29
|
+
},
|
|
18
30
|
"./test": {
|
|
19
31
|
"types": "./dist/test/index.d.ts",
|
|
20
32
|
"import": "./dist/test/index.js"
|
|
@@ -24,24 +36,28 @@
|
|
|
24
36
|
"dist"
|
|
25
37
|
],
|
|
26
38
|
"scripts": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
39
|
+
"check:no-src-dts": "node ./scripts/check-no-src-dts.mjs",
|
|
40
|
+
"clean:tsbuildinfo": "node -e \"require('fs').rmSync('tsconfig.tsbuildinfo',{force:true})\"",
|
|
41
|
+
"build": "pnpm run check:no-src-dts && pnpm run clean:tsbuildinfo && pnpm run codegen:graphql && node ./scripts/tsdown-with-retry.mjs",
|
|
42
|
+
"build:ci": "pnpm run check:no-src-dts && pnpm run clean:tsbuildinfo && pnpm run codegen && pnpm tsdown",
|
|
43
|
+
"dev": "pnpm concurrently \"pnpm run codegen:graphql --watch\" \"pnpm tsdown --watch\"",
|
|
30
44
|
"typecheck": "tsc --noEmit -p tsconfig.build.json",
|
|
31
|
-
"lint": "eslint . --ext .ts,.tsx --ignore-pattern 'dist/**' --ignore-pattern 'graphql/**' --ignore-pattern 'src/graphql/**' --max-warnings=0",
|
|
45
|
+
"lint": "eslint . --ext .ts,.tsx --ignore-pattern 'dist/**' --ignore-pattern 'graphql/**' --ignore-pattern 'src/graphql/**' --ignore-pattern 'lib/**' --max-warnings=0",
|
|
32
46
|
"lint:fix": "pnpm lint --fix",
|
|
33
47
|
"test": "vitest run",
|
|
34
48
|
"test:fork": "vitest run --config src/panoptic/v2/examples/__tests__/vitest.config.fork.ts",
|
|
35
49
|
"test:fork:watch": "vitest watch --config src/panoptic/v2/examples/__tests__/vitest.config.fork.ts",
|
|
36
50
|
"test:examples": "pnpm test && pnpm test:fork",
|
|
37
51
|
"codegen": "pnpm run codegen:graphql && pnpm run codegen:wagmi",
|
|
38
|
-
"codegen:graphql": "graphql-codegen
|
|
39
|
-
"codegen:wagmi": "wagmi generate",
|
|
52
|
+
"codegen:graphql": "node ./scripts/run-graphql-codegen.mjs",
|
|
53
|
+
"codegen:wagmi": "wagmi generate && eslint src/generated.ts --fix",
|
|
40
54
|
"sync-contracts": "./scripts/sync-contracts.sh",
|
|
55
|
+
"gen:xstock-wrappers": "tsx scripts/gen-xstock-wrappers.ts",
|
|
41
56
|
"prepack": "pnpm build",
|
|
42
57
|
"prepublishOnly": "pnpm build"
|
|
43
58
|
},
|
|
44
59
|
"dependencies": {
|
|
60
|
+
"@panoptic-eng/deployments": "workspace:*",
|
|
45
61
|
"graphql": "^16.12.0",
|
|
46
62
|
"graphql-request": "^7.3.1",
|
|
47
63
|
"graphql-tag": "^2.12.6",
|
|
@@ -71,6 +87,7 @@
|
|
|
71
87
|
"react-dom": "18.3.0-canary-c3048aab4-20240326",
|
|
72
88
|
"tiny-invariant": "^1.3.1",
|
|
73
89
|
"tsdown": "^0.9.0",
|
|
90
|
+
"tsx": "^4.21.0",
|
|
74
91
|
"typescript": "5.1.6",
|
|
75
92
|
"viem": "^2.41.2",
|
|
76
93
|
"viem-deal": "^2.0.4",
|