Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blo

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blo - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

dist/index.cjs

3

dist/image.d.ts

@@ -1,2 +0,3 @@

import type { Address, BloImage, BloImageData, Hsl } from "./types";
import { Address, BloImage, BloImageData, Hsl } from './types';
export declare function image(address: Address): BloImage;

@@ -3,0 +4,0 @@ export declare function randomImageData(random: () => number): BloImageData;

@@ -1,5 +0,6 @@

import type { Address, BloImage } from "./types";
export type { Address, BloImage, BloImageData, Hsl, Palette, PaletteIndex, } from "./types";
import { Address, BloImage } from './types';
export type { Address, BloImage, BloImageData, Hsl, Palette, PaletteIndex, } from './types';
export declare function blo(address: Address, size?: number): string;
export declare function bloSvg(address: Address, size?: number): string;
export declare function bloImage(address: Address): BloImage;

@@ -1,2 +0,3 @@

import type { Address } from "./types";
import { Address } from './types';
export declare function svg(address: Address, size: number): string;
{
"name": "blo",
"version": "1.1.1",
"version": "1.2.0",
"license": "MIT",

@@ -20,3 +20,3 @@ "author": "Pierre Bertet <hi@bpier.re>",

"module": "./dist/index.js",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",

@@ -26,3 +26,3 @@ "exports": {

"types": "./dist/index.d.ts",
"require": "./dist/index.cjs.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"

@@ -36,11 +36,11 @@ }

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-dts": "^3.5.3",
"vitest": "^0.34.4"
"@eslint/js": "^9.0.0",
"eslint": "^9.0.0",
"eslint-plugin-react-refresh": "^0.4.6",
"globals": "^15.0.0",
"typescript": "^5.4.4",
"typescript-eslint": "^7.5.0",
"vite": "^5.2.8",
"vite-plugin-dts": "^3.8.1",
"vitest": "^1.4.0"
},

@@ -53,4 +53,4 @@ "engines": {

"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
"lint": "eslint '**/*.{ts,tsx}'"
}
}

@@ -37,3 +37,3 @@ <div align="center">

```sh
npm i blo
npm i -S blo
pnpm add blo

@@ -162,3 +162,3 @@ yarn add blo

blo only focuses on the Ethereum identicons algorithm but you can use it with any data, just prefix it with `0x` to fullfill the expected `Address` type if you are using TypeScript.
blo only focuses on the Ethereum identicons algorithm but you can use it with any data, just prefix it with `0x` to fulfill the expected `Address` type if you are using TypeScript.

@@ -165,0 +165,0 @@ ### Why is it named blo?

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