@molpha/sdk 0.1.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,88 @@
1
+ {
2
+ "name": "@molpha/sdk",
3
+ "version": "0.1.0",
4
+ "description": "Molpha Consumer SDK — subscribe, create feeds, run gateway rounds, submit and read on-chain data.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Molpha/sdk.git"
9
+ },
10
+ "homepage": "https://github.com/Molpha/sdk#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/Molpha/sdk/issues"
13
+ },
14
+ "keywords": [
15
+ "molpha",
16
+ "oracle",
17
+ "solana",
18
+ "evm",
19
+ "starknet",
20
+ "data-feeds",
21
+ "web3"
22
+ ],
23
+ "type": "module",
24
+ "sideEffects": false,
25
+ "files": [
26
+ "dist",
27
+ "idl"
28
+ ],
29
+ "main": "./dist/index.js",
30
+ "module": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "import": "./dist/index.js",
35
+ "types": "./dist/index.d.ts"
36
+ },
37
+ "./utils": {
38
+ "import": "./dist/utils.js",
39
+ "types": "./dist/utils.d.ts"
40
+ }
41
+ },
42
+ "dependencies": {
43
+ "@noble/ciphers": "^2.2.0",
44
+ "@noble/curves": "^2.2.0",
45
+ "@noble/hashes": "^2.2.0",
46
+ "@solana/kit": "^7.0.0",
47
+ "canonicalize": "^3.0.0"
48
+ },
49
+ "peerDependencies": {
50
+ "@anchor-lang/core": "^1.1.2",
51
+ "bn.js": "^5.1.2"
52
+ },
53
+ "peerDependenciesMeta": {
54
+ "@anchor-lang/core": {
55
+ "optional": true
56
+ },
57
+ "bn.js": {
58
+ "optional": true
59
+ }
60
+ },
61
+ "devDependencies": {
62
+ "@anchor-lang/core": "^1.1.2",
63
+ "@changesets/cli": "^2.31.0",
64
+ "@types/bn.js": "^5.2.0",
65
+ "bn.js": "^5.2.3",
66
+ "tsup": "^8.5.1",
67
+ "tsx": "^4.22.4",
68
+ "typescript": "^5.7.3",
69
+ "viem": "^2.52.2",
70
+ "vitest": "^3.0.5"
71
+ },
72
+ "engines": {
73
+ "node": ">=20.19.0"
74
+ },
75
+ "scripts": {
76
+ "build": "tsup",
77
+ "typecheck": "tsc --noEmit",
78
+ "test": "vitest run",
79
+ "test:watch": "vitest",
80
+ "clean": "rm -rf dist",
81
+ "changeset": "changeset",
82
+ "changeset:add-empty": "changeset add --empty",
83
+ "version-packages": "changeset version",
84
+ "e2e-demo": "tsx scripts/molpha-consumer-e2e-demo.ts",
85
+ "release": "pnpm build && changeset publish",
86
+ "release:dev": "changeset version --snapshot dev && pnpm build && changeset publish --no-git-tag --tag dev"
87
+ }
88
+ }