@polkadot/ui-shared
Advanced tools
Comparing version 0.42.0-beta.28 to 0.42.0-beta.29
{ | ||
"name": "@polkadot/ui-shared", | ||
"version": "0.42.0-beta.28", | ||
"version": "0.42.0-beta.29", | ||
"description": "Shared logic that is usable accross all frameworks-specific areas", | ||
@@ -18,3 +18,6 @@ "main": "index.js", | ||
"@polkadot/util-crypto": "*" | ||
}, | ||
"devDependencies": { | ||
"@polkadot/util-crypto": "^1.0.1" | ||
} | ||
} |
@@ -7,2 +7,5 @@ export interface Circle { | ||
} | ||
/** | ||
* @description Generate a array of the circles that make up an indenticon | ||
*/ | ||
export default function generate(address: string, isSixPoint?: boolean): Circle[]; |
@@ -11,3 +11,3 @@ "use strict"; | ||
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon | ||
// Copyright 2018 @polkadot/react-identicon authors & contributors | ||
// Copyright 2018 @polkadot/ui-shared authors & contributors | ||
// This software may be modified and distributed under the terms | ||
@@ -130,3 +130,7 @@ // of the Apache-2.0 license. See the LICENSE file for details. | ||
} | ||
/** | ||
* @description Generate a array of the circles that make up an indenticon | ||
*/ | ||
function generate(address) { | ||
@@ -133,0 +137,0 @@ let isSixPoint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; |
@@ -1,3 +0,3 @@ | ||
# @polkadot/ui-assets | ||
# @polkadot/ui-shared | ||
Static assets including images shared across projects | ||
Shared logic for various logic, i.e. for identicon generation |
40231
52
710
1