@opendatalabs/vana-sdk 0.1.0-alpha.5869423
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 +15 -0
- package/README.md +600 -0
- package/dist/index.browser.d.ts +31228 -0
- package/dist/index.browser.js +40628 -0
- package/dist/index.browser.js.map +1 -0
- package/dist/index.d.cts +31192 -0
- package/dist/index.node.cjs +40692 -0
- package/dist/index.node.cjs.map +1 -0
- package/dist/index.node.d.cts +31294 -0
- package/dist/index.node.d.ts +31294 -0
- package/dist/index.node.js +40563 -0
- package/dist/index.node.js.map +1 -0
- package/package.json +90 -0
package/package.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opendatalabs/vana-sdk",
|
|
3
|
+
"version": "0.1.0-alpha.5869423",
|
|
4
|
+
"description": "A TypeScript library for interacting with Vana Network smart contracts.",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "dist/index.node.js",
|
|
10
|
+
"types": "dist/index.node.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"node": {
|
|
14
|
+
"types": "./dist/index.node.d.ts",
|
|
15
|
+
"import": "./dist/index.node.js",
|
|
16
|
+
"require": "./dist/index.node.cjs"
|
|
17
|
+
},
|
|
18
|
+
"browser": {
|
|
19
|
+
"import": "./dist/index.browser.js",
|
|
20
|
+
"types": "./dist/index.browser.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"default": {
|
|
23
|
+
"types": "./dist/index.node.d.ts",
|
|
24
|
+
"import": "./dist/index.node.js",
|
|
25
|
+
"require": "./dist/index.node.cjs"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"clean": "rimraf dist",
|
|
36
|
+
"build:types": "tsup src/index.ts --dts-only --out-dir dist --no-clean",
|
|
37
|
+
"build:node": "tsup src/index.node.ts --platform node --format esm,cjs --target node18 --out-dir dist --no-clean",
|
|
38
|
+
"build:browser": "tsup src/index.browser.ts --platform browser --format esm --target es2020 --out-dir dist --dts --no-clean",
|
|
39
|
+
"build": "npm run clean && npm run build:types && npm run build:node && npm run build:browser",
|
|
40
|
+
"prepare": "npm run build",
|
|
41
|
+
"dev": "npm run build -- --watch",
|
|
42
|
+
"lint": "eslint .",
|
|
43
|
+
"lint:fix": "eslint . --fix",
|
|
44
|
+
"typecheck": "tsc --noEmit",
|
|
45
|
+
"test": "vitest",
|
|
46
|
+
"test:coverage": "vitest run --coverage"
|
|
47
|
+
},
|
|
48
|
+
"keywords": [
|
|
49
|
+
"vana",
|
|
50
|
+
"blockchain",
|
|
51
|
+
"web3",
|
|
52
|
+
"sdk"
|
|
53
|
+
],
|
|
54
|
+
"author": "",
|
|
55
|
+
"license": "ISC",
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"abitype": "^1.0.8",
|
|
58
|
+
"ajv": "^8.17.1",
|
|
59
|
+
"ajv-formats": "^3.0.1",
|
|
60
|
+
"eccrypto": "^1.1.6",
|
|
61
|
+
"eccrypto-js": "^5.4.0",
|
|
62
|
+
"openpgp": "^6.1.1",
|
|
63
|
+
"viem": "^2.31.7"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@types/eccrypto": "^1.1.6",
|
|
67
|
+
"@types/node": "^24.0.10",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
69
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
70
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
71
|
+
"eslint": "^9.26.0",
|
|
72
|
+
"eslint-config-prettier": "^10.1.5",
|
|
73
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
74
|
+
"globals": "^16.3.0",
|
|
75
|
+
"prettier": "^3.5.3",
|
|
76
|
+
"rimraf": "^6.0.1",
|
|
77
|
+
"tsup": "^8.5.0",
|
|
78
|
+
"tsx": "^4.19.4",
|
|
79
|
+
"typescript": "^5.8.3",
|
|
80
|
+
"vitest": "^3.2.4"
|
|
81
|
+
},
|
|
82
|
+
"engines": {
|
|
83
|
+
"node": ">=20.0.0"
|
|
84
|
+
},
|
|
85
|
+
"repository": {
|
|
86
|
+
"type": "git",
|
|
87
|
+
"url": "https://github.com/vana-com/vana-sdk.git",
|
|
88
|
+
"directory": "packages/vana-sdk"
|
|
89
|
+
}
|
|
90
|
+
}
|