Socket
Socket
Sign inDemoInstall

@dicebear/avatars-code-sprites

Package Overview
Dependencies
15
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.8 to 4.1.0-alpha.0

7

package.json
{
"name": "@dicebear/avatars-code-sprites",
"version": "4.0.8",
"version": "4.1.0-alpha.0",
"description": "Code sprite collection for DiceBear Avatars",

@@ -38,4 +38,3 @@ "main": "lib/index.js",

"devDependencies": {
"@dicebear/avatars": "^4.0.8",
"typescript": "^3.4.5"
"@dicebear/avatars": "^4.1.0-alpha.0"
},

@@ -49,3 +48,3 @@ "files": [

},
"gitHead": "a7e844a4774c388678ae05152437609034acd43b"
"gitHead": "ec9d1494fa1142d97665d2a3ad8a4ed93ee28368"
}

@@ -55,14 +55,14 @@ ![DiceBear Avatars - Code Sprite Collection](https://raw.githubusercontent.com/DiceBear/avatars/master/packages/avatars-code-sprites/banner.svg?sanitize=true)

| name | type | default | description |
| --------------- | ------ | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| radius | number | `0` | Avatar border radius |
| base64 | bool | `false` | Return avatar as base64 data uri instead of XML <br> **Not supported by the HTTP API** |
| width | number | `null` | Fixed width |
| height | number | `null` | Fixed height |
| margin | number | `0` | Avatar margin in percent<br> **HTTP-API limitation** Max value `25` |
| background | string | `null` | Any valid color identifier<br> **HTTP-API limitation** Only hex _(3-digit, 6-digit and 8-digit)_ values are allowed. Use url encoded hash: `%23`. |
| userAgent | string | `window.navigator.userAgent` | User-Agent for legacy browser fallback<br> **Automatically detected by the HTTP API** |
| type | string | `qr` | Currently only "qr" is supported |
| color | string | `null` | Any valid color identifier<br> **HTTP-API limitation** Only hex _(3-digit, 6-digit and 8-digit)_ values are allowed. Use url encoded hash: `%23`. |
| correctionLevel | string | `M` | Choose from `L`, `M`, `Q`, `H` |
| name | alias | type | default | description |
| --------------- | ----- | ------ | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| radius | r | number | `0` | Avatar border radius |
| base64 | | bool | `false` | Return avatar as base64 data uri instead of XML <br> **Not supported by the HTTP API** |
| width | w | number | `null` | Fixed width |
| height | h | number | `null` | Fixed height |
| margin | m | number | `0` | Avatar margin in percent<br> **HTTP-API limitation** Max value `25` |
| background | b | string | `null` | Any valid color identifier<br> **HTTP-API limitation** Only hex _(3-digit, 6-digit and 8-digit)_ values are allowed. Use url encoded hash: `%23`. |
| userAgent | | string | `window.navigator.userAgent` | User-Agent for legacy browser fallback<br> **Automatically detected by the HTTP API** |
| type | | string | `qr` | Currently only "qr" is supported |
| color | | string | `null` | Any valid color identifier<br> **HTTP-API limitation** Only hex _(3-digit, 6-digit and 8-digit)_ values are allowed. Use url encoded hash: `%23`. |
| correctionLevel | | string | `M` | Choose from `L`, `M`, `Q`, `H` |

@@ -69,0 +69,0 @@ ## Further information

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc