@enbox/api 0.0.1 → 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.
- package/package.json +21 -21
package/package.json
CHANGED
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enbox/api",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "SDK for accessing the features and capabilities of Web5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|
|
8
8
|
"types": "./dist/types/index.d.ts",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"clean": "rimraf dist tests/compiled",
|
|
11
|
-
"build:esm": "rimraf dist/esm dist/types && pnpm tsc -p tsconfig.json",
|
|
12
|
-
"build:cjs": "rimraf dist/cjs && pnpm tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
|
|
13
|
-
"build:browser": "rimraf dist/browser.mjs dist/browser.js && node build/bundles.js",
|
|
14
|
-
"build:tests:node": "rimraf tests/compiled && pnpm tsc -p tests/tsconfig.json",
|
|
15
|
-
"build:tests:browser": "rimraf tests/compiled && node build/esbuild-tests.cjs",
|
|
16
|
-
"build": "pnpm clean && pnpm build:esm && pnpm build:cjs && pnpm build:browser",
|
|
17
|
-
"lint": "eslint . --max-warnings 0",
|
|
18
|
-
"lint:fix": "eslint . --fix",
|
|
19
|
-
"test:node": "pnpm build:tests:node && pnpm c8 mocha",
|
|
20
|
-
"test:browser": "pnpm build:tests:browser && web-test-runner"
|
|
21
|
-
},
|
|
22
9
|
"homepage": "https://github.com/enboxorg/enbox/tree/main/packages/api#readme",
|
|
23
10
|
"bugs": "https://github.com/enboxorg/enbox/issues",
|
|
24
11
|
"repository": {
|
|
@@ -76,15 +63,14 @@
|
|
|
76
63
|
"node": ">=18.0.0"
|
|
77
64
|
},
|
|
78
65
|
"dependencies": {
|
|
79
|
-
"@enbox/
|
|
80
|
-
"@enbox/
|
|
81
|
-
"@enbox/crypto": "
|
|
82
|
-
"@enbox/dids": "
|
|
83
|
-
"@enbox/user-agent": "
|
|
66
|
+
"@enbox/common": "0.0.2",
|
|
67
|
+
"@enbox/agent": "0.0.2",
|
|
68
|
+
"@enbox/crypto": "0.0.2",
|
|
69
|
+
"@enbox/dids": "0.0.2",
|
|
70
|
+
"@enbox/user-agent": "0.0.2"
|
|
84
71
|
},
|
|
85
72
|
"devDependencies": {
|
|
86
73
|
"@playwright/test": "1.45.3",
|
|
87
|
-
"@enbox/dwn-sdk-js": "workspace:*",
|
|
88
74
|
"@types/chai": "4.3.6",
|
|
89
75
|
"@types/eslint": "8.56.10",
|
|
90
76
|
"@types/mocha": "10.0.1",
|
|
@@ -106,6 +92,20 @@
|
|
|
106
92
|
"rimraf": "4.4.0",
|
|
107
93
|
"sinon": "18.0.0",
|
|
108
94
|
"source-map-loader": "4.0.2",
|
|
109
|
-
"typescript": "5.1.6"
|
|
95
|
+
"typescript": "5.1.6",
|
|
96
|
+
"@enbox/dwn-sdk-js": "0.0.2"
|
|
97
|
+
},
|
|
98
|
+
"scripts": {
|
|
99
|
+
"clean": "rimraf dist tests/compiled",
|
|
100
|
+
"build:esm": "rimraf dist/esm dist/types && pnpm tsc -p tsconfig.json",
|
|
101
|
+
"build:cjs": "rimraf dist/cjs && pnpm tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
|
|
102
|
+
"build:browser": "rimraf dist/browser.mjs dist/browser.js && node build/bundles.js",
|
|
103
|
+
"build:tests:node": "rimraf tests/compiled && pnpm tsc -p tests/tsconfig.json",
|
|
104
|
+
"build:tests:browser": "rimraf tests/compiled && node build/esbuild-tests.cjs",
|
|
105
|
+
"build": "pnpm clean && pnpm build:esm && pnpm build:cjs && pnpm build:browser",
|
|
106
|
+
"lint": "eslint . --max-warnings 0",
|
|
107
|
+
"lint:fix": "eslint . --fix",
|
|
108
|
+
"test:node": "pnpm build:tests:node && pnpm c8 mocha",
|
|
109
|
+
"test:browser": "pnpm build:tests:browser && web-test-runner"
|
|
110
110
|
}
|
|
111
111
|
}
|