@weblock-wallet/sdk 0.1.25

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,67 @@
1
+ {
2
+ "name": "@weblock-wallet/sdk",
3
+ "version": "0.1.25",
4
+ "description": "WeBlock Wallet SDK for Web3 wallet integration",
5
+ "private": false,
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "type": "module",
10
+ "main": "./dist/index.js",
11
+ "module": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js",
17
+ "require": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "clean": "rm -rf dist",
25
+ "build": "NODE_ENV=production tsup",
26
+ "dev": "NODE_ENV=development tsup --watch",
27
+ "typecheck": "tsc --noEmit",
28
+ "lint": "eslint .",
29
+ "lint:fix": "eslint . --fix",
30
+ "format": "prettier --write \"src/**/*.{ts,tsx,md}\"",
31
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,md}\"",
32
+ "test": "vitest run",
33
+ "test:watch": "vitest",
34
+ "test:coverage": "vitest run --coverage",
35
+ "publish:npm": "node scripts/prepare-npm.js && npm publish --access public && git restore package.json"
36
+ },
37
+ "dependencies": {
38
+ "@noble/ed25519": "^2.1.0",
39
+ "axios": "^1.7.9",
40
+ "bip39": "^3.1.0",
41
+ "ethers": "^6.13.4",
42
+ "firebase": "^11.1.0",
43
+ "localforage": "^1.10.0",
44
+ "shamir-secret-sharing": "^0.0.3"
45
+ },
46
+ "devDependencies": {
47
+ "@eslint/js": "^9.17.0",
48
+ "@typescript-eslint/eslint-plugin": "^8.18.0",
49
+ "@typescript-eslint/parser": "^8.18.0",
50
+ "buffer": "^6.0.3",
51
+ "crypto-browserify": "^3.12.1",
52
+ "esbuild-plugin-polyfill-node": "^0.3.0",
53
+ "eslint": "^8.56.0",
54
+ "eslint-config-prettier": "^9.1.0",
55
+ "events-browserify": "^0.0.1",
56
+ "fake-indexeddb": "^6.0.0",
57
+ "http-server": "^14.1.1",
58
+ "prettier": "^3.2.5",
59
+ "stream-browserify": "^3.0.0",
60
+ "tsup": "^8.0.2",
61
+ "typescript": "^5.3.3",
62
+ "vitest": "^1.3.1"
63
+ },
64
+ "engines": {
65
+ "node": ">=18.0.0"
66
+ }
67
+ }