@proton/wrap-constants 0.2.193 → 0.3.1

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 CHANGED
@@ -1,41 +1,61 @@
1
1
  {
2
2
  "name": "@proton/wrap-constants",
3
+ "description": "Shared constants, coin metadata, and API parsers for MetalX",
3
4
  "author": "Metallicus",
4
- "module": "dist/index.mjs",
5
+ "module": "./dist/index.mjs",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "import": {
10
+ "types": "./dist/index.d.mts",
11
+ "default": "./dist/index.mjs"
12
+ },
13
+ "require": {
14
+ "types": "./dist/index.d.cts",
15
+ "default": "./dist/index.cjs"
16
+ }
17
+ }
18
+ },
5
19
  "publishConfig": {
6
20
  "access": "public"
7
21
  },
8
- "version": "0.2.193",
22
+ "version": "0.3.1",
9
23
  "license": "MIT",
10
- "main": "dist/index.js",
11
- "typings": "dist/index.d.ts",
24
+ "main": "./dist/index.cjs",
25
+ "typings": "./dist/index.d.cts",
12
26
  "files": [
13
- "dist",
14
- "src"
27
+ "dist"
15
28
  ],
16
29
  "engines": {
17
- "node": ">=10"
30
+ "node": ">=20"
18
31
  },
19
32
  "devDependencies": {
20
- "@bloks/numbers": "^27.0.0",
21
- "@size-limit/preset-small-lib": "^11.2.0",
33
+ "@eslint/js": "^10.0.1",
34
+ "@size-limit/preset-small-lib": "^14.3.0",
22
35
  "@types/lodash.clonedeep": "^4.5.6",
23
- "@typescript-eslint/eslint-plugin": "^8.36.0",
24
- "@typescript-eslint/parser": "^8.36.0",
25
- "eslint": "^9.30.1",
26
- "size-limit": "^11.2.0",
27
- "tsup": "^8.5.0",
28
- "typescript": "^4.8.4"
36
+ "@vitest/coverage-v8": "^5.1.0",
37
+ "eslint": "^10.11.0",
38
+ "size-limit": "^14.3.0",
39
+ "tsdown": "0.22.14",
40
+ "typescript": "~6.0.0",
41
+ "typescript-eslint": "^8.70.1",
42
+ "vitest": "^5.1.0"
29
43
  },
30
44
  "dependencies": {
45
+ "@bloks/numbers": "^27.0.0",
46
+ "@noble/hashes": "^1.8.0",
47
+ "@scure/base": "^1.2.6",
31
48
  "bignumber.js": "^9.3.1",
32
49
  "lodash.clonedeep": "^4.5.0",
33
- "zod": "^3.19.1"
50
+ "zod": "^4.6.7"
34
51
  },
35
52
  "scripts": {
36
- "build": "tsup src/index.ts --format cjs,esm --dts",
37
- "dev": "tsup src/index.ts --watch",
53
+ "build": "tsdown src/index.ts --format cjs,esm --dts",
54
+ "dev": "tsdown src/index.ts --watch",
38
55
  "size": "size-limit",
39
- "analyze": "size-limit --why"
56
+ "analyze": "size-limit --why",
57
+ "lint": "eslint .",
58
+ "test": "vitest run",
59
+ "test:coverage": "vitest run --coverage"
40
60
  }
41
61
  }