@helium/lazy-transactions-sdk 0.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 +203 -0
- package/lib/cjs/constants.js +6 -0
- package/lib/cjs/constants.js.map +1 -0
- package/lib/cjs/index.js +135 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/merkleTree.js +243 -0
- package/lib/cjs/merkleTree.js.map +1 -0
- package/lib/cjs/pdas.js +20 -0
- package/lib/cjs/pdas.js.map +1 -0
- package/lib/esm/src/constants.js +3 -0
- package/lib/esm/src/constants.js.map +1 -0
- package/lib/esm/src/index.js +101 -0
- package/lib/esm/src/index.js.map +1 -0
- package/lib/esm/src/merkleTree.js +214 -0
- package/lib/esm/src/merkleTree.js.map +1 -0
- package/lib/esm/src/pdas.js +14 -0
- package/lib/esm/src/pdas.js.map +1 -0
- package/lib/esm/tsconfig.esm.tsbuildinfo +1 -0
- package/lib/types/src/constants.d.ts +3 -0
- package/lib/types/src/constants.d.ts.map +1 -0
- package/lib/types/src/index.d.ts +22 -0
- package/lib/types/src/index.d.ts.map +1 -0
- package/lib/types/src/merkleTree.d.ts +38 -0
- package/lib/types/src/merkleTree.d.ts.map +1 -0
- package/lib/types/src/pdas.d.ts +5 -0
- package/lib/types/src/pdas.d.ts.map +1 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@helium/lazy-transactions-sdk",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public",
|
|
5
|
+
"registry": "https://registry.npmjs.org/"
|
|
6
|
+
},
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"version": "0.0.6",
|
|
9
|
+
"description": "Interface to the lazy-transactions smart contract",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/HeliumFoundation/helium-program-libary"
|
|
13
|
+
},
|
|
14
|
+
"main": "./lib/cjs/index.js",
|
|
15
|
+
"module": "./lib/esm/src/index.js",
|
|
16
|
+
"types": "./lib/types/src/index.d.ts",
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"files": [
|
|
19
|
+
"lib"
|
|
20
|
+
],
|
|
21
|
+
"exports": {
|
|
22
|
+
"import": "./lib/esm/src/index.js",
|
|
23
|
+
"require": "./lib/cjs/index.js",
|
|
24
|
+
"types": "./lib/types/src/index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
28
|
+
"precommit": "npx git-format-staged -f 'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"' .",
|
|
29
|
+
"clean": "npx shx mkdir -p lib && npx shx rm -rf lib",
|
|
30
|
+
"package": "npx shx mkdir -p lib/cjs lib/esm",
|
|
31
|
+
"prebuild": "npm run clean && npm run package"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@helium/idls": "^0.0.6",
|
|
35
|
+
"@helium/spl-utils": "^0.0.6",
|
|
36
|
+
"@project-serum/anchor": "0.24.2",
|
|
37
|
+
"bn.js": "^5.2.0",
|
|
38
|
+
"bs58": "^4.0.1",
|
|
39
|
+
"js-sha3": "^0.8.0",
|
|
40
|
+
"typescript-collections": "^1.3.3"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"git-format-staged": "^2.1.3",
|
|
44
|
+
"ts-loader": "^9.2.3",
|
|
45
|
+
"ts-node": "^10.8.1",
|
|
46
|
+
"typescript": "^4.3.4",
|
|
47
|
+
"yarn": "^1.22.18"
|
|
48
|
+
},
|
|
49
|
+
"gitHead": "2b194cc9ed36a339cb9281f50297fb47c9c0692a"
|
|
50
|
+
}
|