@dicebear/avatars-bottts-sprites
Advanced tools
Comparing version 4.6.0-rc.1 to 4.6.0-rc.2
@@ -9,3 +9,3 @@ "use strict"; | ||
const color_1 = __importDefault(require("@dicebear/avatars/lib/color")); | ||
const schema_json_1 = __importDefault(require("./schema.json")); | ||
const schema_1 = require("./schema"); | ||
const eyes_1 = __importDefault(require("./eyes")); | ||
@@ -29,7 +29,10 @@ const face_1 = __importDefault(require("./face")); | ||
source: 'https://bottts.com/', | ||
license: 'https://bottts.com/', | ||
license: { | ||
name: 'Other - Free for personal and commercial use', | ||
url: 'https://bottts.com/', | ||
}, | ||
}, | ||
schema: schema_json_1.default, | ||
schema: schema_1.schema, | ||
create: ({ prng, options }) => { | ||
let defaults = avatars_1.utils.schema.defaults(schema_json_1.default); | ||
let defaults = avatars_1.utils.schema.defaults(schema_1.schema); | ||
let colorsCollection = []; | ||
@@ -36,0 +39,0 @@ Object.keys(color_1.default.collection).forEach((color) => { |
@@ -12,3 +12,3 @@ /** | ||
*/ | ||
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7; | ||
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema4; | ||
export { create, meta, schema }; | ||
@@ -15,0 +15,0 @@ export { Options } from './options'; |
{ | ||
"name": "@dicebear/avatars-bottts-sprites", | ||
"version": "4.6.0-rc.1", | ||
"description": "Bottts sprite collection for DiceBear Avatars", | ||
"version": "4.6.0-rc.2", | ||
"description": "Bottts avatar style for DiceBear Avatars", | ||
"keywords": [ | ||
@@ -26,2 +26,3 @@ "dicebear", | ||
"LICENSE", | ||
"README.md", | ||
"lib" | ||
@@ -32,6 +33,8 @@ ], | ||
"prepublishOnly": "npm run build", | ||
"prebuild": "rm -rf lib/ || true", | ||
"prebuild": "shx rm -rf lib", | ||
"build": "yarn run build:schema && yarn run build:options && yarn run build:ts", | ||
"build:ts": "tsc", | ||
"build:schema": "json-dereference -s schema.json -o src/schema.json", | ||
"build:schema": "yarn run build:schema:dereference && yarn run build:schema:module", | ||
"build:schema:dereference": "json-dereference -s schema.json -o src/schema.json", | ||
"build:schema:module": "replace-in-file --configFile=config/schema.replace.js && shx mv src/schema.json src/schema.ts", | ||
"build:options": "json2ts -i schema.json -o src/options.ts" | ||
@@ -43,3 +46,3 @@ }, | ||
"devDependencies": { | ||
"@dicebear/avatars": "^4.6.0-rc.1", | ||
"@dicebear/avatars": "^4.6.0-rc.2", | ||
"@tsconfig/node12": "^1.0.7", | ||
@@ -50,2 +53,4 @@ "@types/jest": "^26.0.22", | ||
"json-dereference-cli": "^0.1.2", | ||
"replace-in-file": "^6.2.0", | ||
"shx": "^0.3.3", | ||
"ts-jest": "^26.5.4", | ||
@@ -55,3 +60,3 @@ "typescript": "^4.2.3" | ||
"peerDependencies": { | ||
"@dicebear/avatars": "^4.0.0" | ||
"@dicebear/avatars": "^4.6.0-rc.1" | ||
}, | ||
@@ -61,3 +66,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "eecfcb0dfd45493e63efbd15e6261e3446575fda" | ||
"gitHead": "827ac02436c28985b7bcab20811056538f2083c2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167504
125
1350
10