@ocap/asset 1.27.16 → 1.28.0
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/esm/index.d.ts +52 -39
- package/esm/index.js +236 -239
- package/esm/lodash.d.ts +7 -0
- package/lib/_virtual/rolldown_runtime.js +29 -0
- package/lib/index.d.ts +52 -39
- package/lib/index.js +248 -247
- package/lib/lodash.d.d.ts +0 -0
- package/lib/lodash.d.ts +7 -0
- package/package.json +28 -17
package/lib/lodash.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/asset",
|
|
3
3
|
"description": "Utility to work with asset and factory on ArcBlock blockchain",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.28.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"json-stable-stringify": "^1.0.1",
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
26
|
"mustache": "^4.2.0",
|
|
27
|
-
"@arcblock/did": "1.
|
|
28
|
-
"@arcblock/did-util": "1.
|
|
29
|
-
"@arcblock/validator": "1.
|
|
30
|
-
"@arcblock/vc": "1.
|
|
31
|
-
"@ocap/contract": "1.
|
|
32
|
-
"@ocap/mcrypto": "1.
|
|
33
|
-
"@ocap/types": "1.
|
|
34
|
-
"@ocap/util": "1.
|
|
35
|
-
"@ocap/wallet": "1.
|
|
27
|
+
"@arcblock/did": "1.28.0",
|
|
28
|
+
"@arcblock/did-util": "1.28.0",
|
|
29
|
+
"@arcblock/validator": "1.28.0",
|
|
30
|
+
"@arcblock/vc": "1.28.0",
|
|
31
|
+
"@ocap/contract": "1.28.0",
|
|
32
|
+
"@ocap/mcrypto": "1.28.0",
|
|
33
|
+
"@ocap/types": "1.28.0",
|
|
34
|
+
"@ocap/util": "1.28.0",
|
|
35
|
+
"@ocap/wallet": "1.28.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@arcblock/eslint-config-ts": "0.3.3",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"jest": "^29.7.0",
|
|
45
45
|
"prettier": "^3.3.2",
|
|
46
46
|
"ts-jest": "^29.2.5",
|
|
47
|
+
"tsdown": "^0.18.4",
|
|
47
48
|
"type-fest": "^3.1.0",
|
|
48
49
|
"typescript": "^5.6.2"
|
|
49
50
|
},
|
|
@@ -55,8 +56,22 @@
|
|
|
55
56
|
"nodejs"
|
|
56
57
|
],
|
|
57
58
|
"license": "Apache-2.0",
|
|
59
|
+
"sideEffects": false,
|
|
58
60
|
"main": "./lib/index.js",
|
|
59
|
-
"
|
|
61
|
+
"module": "./esm/index.js",
|
|
62
|
+
"types": "./esm/index.d.ts",
|
|
63
|
+
"exports": {
|
|
64
|
+
".": {
|
|
65
|
+
"import": {
|
|
66
|
+
"types": "./esm/index.d.ts",
|
|
67
|
+
"default": "./esm/index.js"
|
|
68
|
+
},
|
|
69
|
+
"require": {
|
|
70
|
+
"types": "./lib/index.d.ts",
|
|
71
|
+
"default": "./lib/index.js"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
60
75
|
"files": [
|
|
61
76
|
"lib",
|
|
62
77
|
"esm"
|
|
@@ -71,11 +86,7 @@
|
|
|
71
86
|
"lint:fix": "npm run lint -- --fix",
|
|
72
87
|
"test": "jest --forceExit --detectOpenHandles",
|
|
73
88
|
"coverage": "npm run test -- --coverage",
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
77
|
-
"build:esm": "tsc -p tsconfig.esm.json",
|
|
78
|
-
"build": "npm run build:cjs && npm run build:esm",
|
|
79
|
-
"build:watch": "npm run build -- -w"
|
|
89
|
+
"build": "tsdown",
|
|
90
|
+
"build:watch": "tsdown --watch"
|
|
80
91
|
}
|
|
81
92
|
}
|