@panoptic-eng/sdk 1.0.4 → 1.0.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoptic-eng/sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/panoptic-labs/panoptic-sdk.git"
@@ -15,6 +15,10 @@
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
+ },
18
22
  "./test": {
19
23
  "types": "./dist/test/index.d.ts",
20
24
  "import": "./dist/test/index.js"
@@ -24,11 +28,11 @@
24
28
  "dist"
25
29
  ],
26
30
  "scripts": {
27
- "build": "(pnpm run codegen || echo 'codegen skipped (foundry projects not available)') && pnpm tsdown",
28
- "build:ci": "pnpm tsdown",
29
- "dev": "pnpm concurrently \"pnpm run codegen --watch\" \"pnpm tsdown --watch\"",
31
+ "build": "pnpm run codegen:graphql && pnpm tsdown",
32
+ "build:ci": "pnpm run codegen && pnpm tsdown",
33
+ "dev": "pnpm concurrently \"pnpm run codegen:graphql --watch\" \"pnpm tsdown --watch\"",
30
34
  "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",
35
+ "lint": "eslint . --ext .ts,.tsx --ignore-pattern 'dist/**' --ignore-pattern 'graphql/**' --ignore-pattern 'src/graphql/**' --ignore-pattern 'lib/**' --max-warnings=0",
32
36
  "lint:fix": "pnpm lint --fix",
33
37
  "test": "vitest run",
34
38
  "test:fork": "vitest run --config src/panoptic/v2/examples/__tests__/vitest.config.fork.ts",
@@ -71,6 +75,7 @@
71
75
  "react-dom": "18.3.0-canary-c3048aab4-20240326",
72
76
  "tiny-invariant": "^1.3.1",
73
77
  "tsdown": "^0.9.0",
78
+ "tsx": "^4.21.0",
74
79
  "typescript": "5.1.6",
75
80
  "viem": "^2.41.2",
76
81
  "viem-deal": "^2.0.4",