@direct.dev/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,56 @@
1
+ {
2
+ "name": "@direct.dev/sdk",
3
+ "description": "Direct.dev SDK for RPC fetch acceleration.",
4
+ "version": "1.0.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/direct-dev-project/direct-dev-client.git"
8
+ },
9
+ "bugs": "https://github.com/direct-dev-project/direct-dev-client/issues",
10
+ "license": "SEE LICENSE IN LICENSE.md",
11
+ "keywords": [
12
+ "fetch",
13
+ "json-rpc",
14
+ "rpc",
15
+ "ethereum",
16
+ "typescript"
17
+ ],
18
+ "type": "module",
19
+ "files": [
20
+ "lib/index.mjs",
21
+ "lib/index.cjs",
22
+ "lib/index.d.ts",
23
+ "LICENSE.md"
24
+ ],
25
+ "exports": {
26
+ ".": {
27
+ "types": "./lib/index.d.ts",
28
+ "import": "./lib/index.mjs",
29
+ "require": "./lib/index.cjs"
30
+ }
31
+ },
32
+ "main": "./lib/index.cjs",
33
+ "module": "./lib/index.mjs",
34
+ "types": "./lib/index.d.ts",
35
+ "scripts": {
36
+ "eslint": "eslint --cache --no-error-on-unmatched-pattern --max-warnings 5 'src/**/*.{js,jsx,ts,tsx,mjs}'",
37
+ "type-check": "tsc -p tsconfig.json --noEmit",
38
+ "dev:typescript": "tsc --watch --preserveWatchOutput",
39
+ "dev:rollup": "rollup -c rollup.config.js --watch",
40
+ "bundle": "rollup -c rollup.config.js",
41
+ "build:typescript": "tsc -p tsconfig.json",
42
+ "prepublishOnly": "rm -rf lib/ && pnpm run bundle && pnpm run build:typescript",
43
+ "benchmark": "tsx benchmarks/benchmark.ts"
44
+ },
45
+ "devDependencies": {
46
+ "@direct.dev/checkpoint": "workspace:*",
47
+ "@direct.dev/client": "workspace:*",
48
+ "@direct.dev/tooling-eslint-config": "workspace:*",
49
+ "@direct.dev/tooling-rollup-config": "workspace:*",
50
+ "@direct.dev/tooling-typescript-config": "workspace:*",
51
+ "@direct.dev/tooling-vitest-config": "workspace:*",
52
+ "@rollup/plugin-node-resolve": "catalog:",
53
+ "rollup-plugin-dts": "catalog:",
54
+ "tsx": "catalog:"
55
+ }
56
+ }