@blocklet/meta 1.16.41-beta-20250325-054737-39c060ca → 1.16.41-beta-20250329-232306-53c45e3b
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/lib/did.js +1 -0
- package/lib/schema.js +1 -0
- package/lib/types/schema.d.ts +1 -0
- package/package.json +6 -6
package/lib/did.js
CHANGED
|
@@ -6,6 +6,7 @@ const toBlockletDid = (name) => {
|
|
|
6
6
|
if ((0, did_1.isValid)(name)) {
|
|
7
7
|
return name;
|
|
8
8
|
}
|
|
9
|
+
// @ts-ignore
|
|
9
10
|
const pk = (0, util_1.toHex)(Buffer.from(typeof name === 'string' ? name.trim() : name));
|
|
10
11
|
return (0, did_1.fromPublicKey)(pk, { role: mcrypto_1.types.RoleType.ROLE_ANY });
|
|
11
12
|
};
|
package/lib/schema.js
CHANGED
|
@@ -686,6 +686,7 @@ const blockletMetaProps = {
|
|
|
686
686
|
serverless: Joi.boolean().optional(), // Can the blocklet be installed on serverless
|
|
687
687
|
component: Joi.boolean(), // Can blocklet become a component and be composed by other blocklets
|
|
688
688
|
sitemap: Joi.boolean().optional(), // Does this blocklet supports composable sitemap
|
|
689
|
+
mcp: Joi.boolean().optional(), // Does this blocklet supports mcp server sitemap
|
|
689
690
|
}).default({}),
|
|
690
691
|
// Other contents to be included in the bundle
|
|
691
692
|
files: Joi.array().items(Joi.string().trim()).optional(),
|
package/lib/types/schema.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.41-beta-
|
|
6
|
+
"version": "1.16.41-beta-20250329-232306-53c45e3b",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"typings": "./lib/index.d.ts",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@abtnode/constant": "1.16.41-beta-
|
|
29
|
-
"@abtnode/docker-utils": "1.16.41-beta-
|
|
28
|
+
"@abtnode/constant": "1.16.41-beta-20250329-232306-53c45e3b",
|
|
29
|
+
"@abtnode/docker-utils": "1.16.41-beta-20250329-232306-53c45e3b",
|
|
30
30
|
"@arcblock/did": "1.19.15",
|
|
31
31
|
"@arcblock/did-ext": "1.19.15",
|
|
32
32
|
"@arcblock/did-util": "1.19.15",
|
|
33
33
|
"@arcblock/jwt": "1.19.15",
|
|
34
|
-
"@blocklet/constant": "1.16.41-beta-
|
|
34
|
+
"@blocklet/constant": "1.16.41-beta-20250329-232306-53c45e3b",
|
|
35
35
|
"@ocap/asset": "1.19.15",
|
|
36
36
|
"@ocap/mcrypto": "1.19.15",
|
|
37
37
|
"@ocap/types": "1.19.15",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
69
69
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
70
70
|
"@typescript-eslint/parser": "^5.42.0",
|
|
71
|
-
"body-parser": "^
|
|
71
|
+
"body-parser": "^2.2.0",
|
|
72
72
|
"detect-port": "^1.5.1",
|
|
73
73
|
"eslint": "^8.27.0",
|
|
74
74
|
"expand-tilde": "^2.0.2",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"ts-node": "^10.9.1",
|
|
81
81
|
"typescript": "^5.6.3"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "498c1ee3e88a4db6bd62f62a75d2a8e48f7db85f"
|
|
84
84
|
}
|