@blocklet/meta 1.16.29-beta-87e06e1c → 1.16.29-beta-2eaf40bc

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.
Files changed (2) hide show
  1. package/lib/schema.js +6 -0
  2. package/package.json +4 -4
package/lib/schema.js CHANGED
@@ -680,6 +680,12 @@ const createBlockletSchema = (baseDir, { ensureFiles = false, ensureDist = false
680
680
  }
681
681
  return Joi.object({
682
682
  ...blockletMetaProps,
683
+ owner: Joi.object({
684
+ avatar: Joi.string().optional(),
685
+ did: Joi.DID().trim().required(),
686
+ fullName: Joi.string().trim().required(),
687
+ email: Joi.string().email({ tlds: false }).required(),
688
+ }).optional(),
683
689
  logo: ensureFiles ? Joi.file().trim().exists({ baseDir }).optional() : Joi.string().trim().optional(),
684
690
  // Other contents to be included in the bundle
685
691
  files: Joi.array()
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.29-beta-87e06e1c",
6
+ "version": "1.16.29-beta-2eaf40bc",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -25,12 +25,12 @@
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.29-beta-87e06e1c",
28
+ "@abtnode/constant": "1.16.29-beta-2eaf40bc",
29
29
  "@arcblock/did": "1.18.126",
30
30
  "@arcblock/did-ext": "1.18.126",
31
31
  "@arcblock/did-util": "1.18.126",
32
32
  "@arcblock/jwt": "1.18.126",
33
- "@blocklet/constant": "1.16.29-beta-87e06e1c",
33
+ "@blocklet/constant": "1.16.29-beta-2eaf40bc",
34
34
  "@ocap/asset": "1.18.126",
35
35
  "@ocap/mcrypto": "1.18.126",
36
36
  "@ocap/types": "1.18.126",
@@ -79,5 +79,5 @@
79
79
  "ts-node": "^10.9.1",
80
80
  "typescript": "^5.0.4"
81
81
  },
82
- "gitHead": "e6a32801bc392566448d4df00c2ae68717f39822"
82
+ "gitHead": "d723d07ca8914468fc1b53af23aa53dc343e0a8c"
83
83
  }