Fix status-js `name` (#268)
This commit is contained in:
parent
f6c154d4d9
commit
b1e5bea532
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@status-im/core",
|
||||
"name": "@status-im/js",
|
||||
"version": "0.0.0",
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"repository": {
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
"@radix-ui/react-toggle-group": "^0.1.5",
|
||||
"@radix-ui/react-tooltip": "^0.1.7",
|
||||
"@radix-ui/react-visually-hidden": "^0.1.4",
|
||||
"@status-im/core": "^0.0.0",
|
||||
"@status-im/js": "^0.0.0",
|
||||
"@stitches/react": "^1.2.7",
|
||||
"emoji-mart": "^3.0.1",
|
||||
"html-entities": "^2.3.2",
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import React, { createContext, useContext, useMemo } from 'react'
|
||||
|
||||
import type { Config } from '~/src/types/config'
|
||||
// import { createClient } from '@status-im/core'
|
||||
// import type { Client } from '@status-im/core'
|
||||
// import { createClient } from '@status-im/js'
|
||||
// import type { Client } from '@status-im/js'
|
||||
|
||||
interface ClientContext {
|
||||
client: Config
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { bufToHex, hexToBuf, Identity } from '@status-im/core'
|
||||
import { bufToHex, hexToBuf, Identity } from '@status-im/js'
|
||||
|
||||
export async function saveIdentity(identity: Identity, password: string) {
|
||||
const salt = window.crypto.getRandomValues(new Uint8Array(16))
|
||||
|
|
Loading…
Reference in New Issue