New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dicebear/avatars-bottts-sprites

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dicebear/avatars-bottts-sprites - npm Package Compare versions

Comparing version 4.6.0-rc.3 to 4.6.0-rc.4

2

lib/index.d.ts

@@ -12,3 +12,3 @@ /**

*/
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema4;
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7;
export { create, meta, schema };

@@ -15,0 +15,0 @@ export { Options } from './options';

@@ -6,11 +6,22 @@ /**

*/
export declare type Colors = ("amber" | "blue" | "blueGrey" | "brown" | "cyan" | "deepOrange" | "deepPurple" | "green" | "grey" | "indigo" | "lightBlue" | "lightGreen" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow")[];
/**
* Use different colors for body parts
*/
export declare type Colorful = boolean;
export declare type PrimaryColorLevel = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
export declare type PrimaraySecondaryLevel = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
export declare type TextureProbability = number;
export declare type MouthProbability = number;
export declare type SidesProbability = number;
export declare type TopProbability = number;
export interface Options {
colors?: ("amber" | "blue" | "blueGrey" | "brown" | "cyan" | "deepOrange" | "deepPurple" | "green" | "grey" | "indigo" | "lightBlue" | "lightGreen" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow")[];
colorful?: boolean;
primaryColorLevel?: 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
secondaryColorLevel?: 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
textureChance?: number;
mouthChance?: number;
sidesChance?: number;
topChance?: number;
colors?: Colors;
colorful?: Colorful;
primaryColorLevel?: PrimaryColorLevel;
secondaryColorLevel?: PrimaraySecondaryLevel;
textureChance?: TextureProbability;
mouthChance?: MouthProbability;
sidesChance?: SidesProbability;
topChance?: TopProbability;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.schema = void 0;
exports.schema = { "title": "Options", "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "colors": { "type": "array", "items": { "type": "string", "enum": ["amber", "blue", "blueGrey", "brown", "cyan", "deepOrange", "deepPurple", "green", "grey", "indigo", "lightBlue", "lightGreen", "lime", "orange", "pink", "purple", "red", "teal", "yellow"] } }, "colorful": { "type": "boolean" }, "primaryColorLevel": { "default": 600, "type": "integer", "enum": [50, 100, 200, 300, 400, 500, 600, 700, 800, 900] }, "secondaryColorLevel": { "default": 400, "type": "integer", "enum": [50, 100, 200, 300, 400, 500, 600, 700, 800, 900] }, "textureChance": { "default": 50, "type": "integer", "minimum": 0, "maximum": 100 }, "mouthChance": { "default": 100, "type": "integer", "minimum": 0, "maximum": 100 }, "sidesChance": { "default": 100, "type": "integer", "minimum": 0, "maximum": 100 }, "topChance": { "default": 100, "type": "integer", "minimum": 0, "maximum": 100 } }, "additionalProperties": false };
exports.schema = { "title": "Options", "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "colors": { "title": "Colors", "type": "array", "items": { "type": "string", "enum": ["amber", "blue", "blueGrey", "brown", "cyan", "deepOrange", "deepPurple", "green", "grey", "indigo", "lightBlue", "lightGreen", "lime", "orange", "pink", "purple", "red", "teal", "yellow"] } }, "colorful": { "title": "Colorful", "description": "Use different colors for body parts", "type": "boolean" }, "primaryColorLevel": { "title": "Primary Color Level", "default": 600, "type": "integer", "enum": [50, 100, 200, 300, 400, 500, 600, 700, 800, 900] }, "secondaryColorLevel": { "title": "Primaray Secondary Level", "default": 400, "type": "integer", "enum": [50, 100, 200, 300, 400, 500, 600, 700, 800, 900] }, "textureChance": { "title": "Texture Probability", "default": 50, "type": "integer", "minimum": 0, "maximum": 100 }, "mouthChance": { "title": "Mouth Probability", "default": 100, "type": "integer", "minimum": 0, "maximum": 100 }, "sidesChance": { "title": "Sides Probability", "default": 100, "type": "integer", "minimum": 0, "maximum": 100 }, "topChance": { "title": "Top Probability", "default": 100, "type": "integer", "minimum": 0, "maximum": 100 } }, "additionalProperties": false };
{
"name": "@dicebear/avatars-bottts-sprites",
"version": "4.6.0-rc.3",
"version": "4.6.0-rc.4",
"description": "Bottts avatar style for DiceBear Avatars",

@@ -44,3 +44,3 @@ "keywords": [

"devDependencies": {
"@dicebear/avatars": "^4.6.0-rc.3",
"@dicebear/avatars": "^4.6.0-rc.4",
"@tsconfig/node12": "^1.0.7",

@@ -62,3 +62,3 @@ "@types/jest": "^26.0.22",

},
"gitHead": "5364fe1ed8e66c3f19c99ee3531867de33ecb701"
"gitHead": "977eb001fa6d661f4bdfe91bebf4e18493a19160"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc