bitbadgesjs-sdk 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +82 -0
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # Proto
2
+
3
+ Protobuf files used to generate cosmos/bitbadges transactions. Also includes all generated types.
4
+
5
+ See [https://docs.bitbadges.io](https://docs.bitbadges.io) for more documentation.
6
+
7
+ For a fully typed documentation of the library, see [https://bitbadges.github.io/bitbadgesjs/packages/bitbadgesjs/docs/modules.html](https://bitbadges.github.io/bitbadgesjs/packages/bitbadgesjs/docs/modules.html).
8
+
9
+ ## Protobuf generation
10
+
11
+ To generate the protobuf files, run the following commands:
12
+
13
+ ```sh
14
+ ./scripts/get_and_create_proto_files.sh
15
+ ```
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "bitbadgesjs-sdk",
3
+ "description": "SDK for BitBadges development",
4
+ "version": "0.0.2",
5
+ "license": "MIT",
6
+ "eslintIgnore": [
7
+ "src/proto/**/*.ts"
8
+ ],
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "files": [
12
+ "/dist"
13
+ ],
14
+ "_moduleAliases": {
15
+ "~proto": "dist"
16
+ },
17
+ "scripts": {
18
+ "build": "tsc --build tsconfig.build.json",
19
+ "build:watch": "tsc --build -w tsconfig.build.json",
20
+ "clean": "tsc --build tsconfig.build.json --clean && shx rm -rf coverage *.log junit.xml dist && jest --clearCache",
21
+ "test": "jest",
22
+ "test:unit": "jest test/unit",
23
+ "test:integration": "jest test/unit",
24
+ "test:watch": "jest --watch",
25
+ "test:ci": "jest --coverage --ci --reporters='jest-junit'",
26
+ "coverage": "jest --coverage",
27
+ "dev": "ts-node-dev -r tsconfig-paths/register src/index.ts",
28
+ "start": "node dist/index.js"
29
+ },
30
+ "devDependencies": {
31
+ "@bufbuild/buf": "^1.28.0",
32
+ "@bufbuild/protoc-gen-es": "^1.4.2",
33
+ "@commitlint/cli": "^16.2.0",
34
+ "@commitlint/config-conventional": "^16.2.1",
35
+ "@types/crypto-js": "^4.1.2",
36
+ "@types/jest": "^27.0.1",
37
+ "@types/node": "^16.9.2",
38
+ "@typescript-eslint/eslint-plugin": "^4.31.1",
39
+ "@typescript-eslint/parser": "^4.31.1",
40
+ "cross-env": "^7.0.3",
41
+ "eslint": "^7.32.0",
42
+ "eslint-config-airbnb": "^18.2.1",
43
+ "eslint-config-airbnb-base": "^14.2.1",
44
+ "eslint-config-prettier": "^8.3.0",
45
+ "eslint-import-resolver-typescript": "^2.5.0",
46
+ "eslint-plugin-import": "^2.24.2",
47
+ "eslint-plugin-jest": "^24.4.2",
48
+ "eslint-plugin-markdown": "^2.2.1",
49
+ "eslint-plugin-prettier": "^4.0.0",
50
+ "husky": "^7.0.4",
51
+ "jest": "^27.5.1",
52
+ "jest-junit": "^13.0.0",
53
+ "lerna": "^5.4.3",
54
+ "lint-staged": "^11.1.2",
55
+ "markdownlint-cli": "^0.31.1",
56
+ "prettier": "^2.4.1",
57
+ "shx": "^0.3.4",
58
+ "ts-jest": "^27.0.5",
59
+ "ts-node-dev": "^1.1.8",
60
+ "tsconfig-paths": "^3.11.0",
61
+ "typedoc": "^0.25.4",
62
+ "typescript": "^4.9.5"
63
+ },
64
+ "dependencies": {
65
+ "@bufbuild/protobuf": "^1.4.2",
66
+ "@cosmjs/cosmwasm-stargate": "^0.31.3",
67
+ "@cosmjs/crypto": "^0.32.0",
68
+ "@cosmjs/stargate": "^0.31.3",
69
+ "axios": "^1.6.2",
70
+ "bech32": "^2.0.0",
71
+ "blockin": "^1.2.68",
72
+ "bs58": "^5.0.0",
73
+ "crypto-addr-codec": "^0.1.7",
74
+ "ethers": "^5.7.0",
75
+ "joi": "^17.10.1",
76
+ "merkletreejs": "^0.3.11",
77
+ "mongoose": "^8.0.3",
78
+ "nano": "^10.1.2",
79
+ "protoc-gen-ts": "^0.8.7",
80
+ "shx": "^0.3.4"
81
+ }
82
+ }