Fix status-js `name` (#268)

This commit is contained in:
Felicio Mununga 2022-05-24 12:42:05 +02:00 committed by GitHub
parent b73831fa44
commit 97e18b5181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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", "version": "0.0.0",
"license": "MIT OR Apache-2.0", "license": "MIT OR Apache-2.0",
"repository": { "repository": {

View File

@ -40,7 +40,7 @@
"@radix-ui/react-toggle-group": "^0.1.5", "@radix-ui/react-toggle-group": "^0.1.5",
"@radix-ui/react-tooltip": "^0.1.7", "@radix-ui/react-tooltip": "^0.1.7",
"@radix-ui/react-visually-hidden": "^0.1.4", "@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", "@stitches/react": "^1.2.7",
"emoji-mart": "^3.0.1", "emoji-mart": "^3.0.1",
"html-entities": "^2.3.2", "html-entities": "^2.3.2",

View File

@ -1,8 +1,8 @@
import React, { createContext, useContext, useMemo } from 'react' import React, { createContext, useContext, useMemo } from 'react'
import type { Config } from '~/src/types/config' import type { Config } from '~/src/types/config'
// import { createClient } from '@status-im/core' // import { createClient } from '@status-im/js'
// import type { Client } from '@status-im/core' // import type { Client } from '@status-im/js'
interface ClientContext { interface ClientContext {
client: Config 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) { export async function saveIdentity(identity: Identity, password: string) {
const salt = window.crypto.getRandomValues(new Uint8Array(16)) const salt = window.crypto.getRandomValues(new Uint8Array(16))