Fix status-js `name` (#268)

This commit is contained in:
Felicio Mununga 2022-05-24 12:42:05 +02:00 committed by GitHub
parent f6c154d4d9
commit b1e5bea532
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{
"name": "@status-im/core",
"name": "@status-im/js",
"version": "0.0.0",
"license": "MIT OR Apache-2.0",
"repository": {

View File

@ -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",

View File

@ -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

View File

@ -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))