Navigation Menu

Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TaraTritt committed May 28, 2019
1 parent d4f885e commit 3f9e3a0
Show file tree
Hide file tree
Showing 40 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "eosio-reference-chrome-extension-authenticator-app",
"version": "0.0.0",
"version": "0.1.0",
"license": "MIT",
"author": {
"name": "block.one",
Expand All @@ -19,12 +19,12 @@
"private": true,
"sideEffects": false,
"dependencies": {
"@blockone/eosjs-signature-provider-interface": "^7.0.0",
"bip38": "^2.0.2",
"bs58": "^4.0.1",
"classnames": "^2.2.6",
"eosjs": "^20.0.0",
"eosjs-ecc": "^4.0.2",
"eosjs-signature-provider-interface": "^0.1.0",
"hash.js": "1.1.5",
"lodash": "^4.17.11",
"react": "^16.4.1",
Expand Down
2 changes: 1 addition & 1 deletion src/AppContainer.test.tsx
Expand Up @@ -5,7 +5,7 @@ import * as data from '__mocks__/data.mock'

import * as React from 'react'
import { shallow } from 'enzyme'
import { ErrorCodes, EnvelopeDataType } from '@blockone/eosjs-signature-provider-interface'
import { ErrorCodes, EnvelopeDataType } from 'eosjs-signature-provider-interface'

import { AppContainer, mapDispatchToProps } from './AppContainer'
import RoutePath from 'constants/routePath'
Expand Down
2 changes: 1 addition & 1 deletion src/AppContainer.tsx
Expand Up @@ -5,7 +5,7 @@ import {
ErrorCodes,
envelopeDataType,
EnvelopeDataType,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import App from 'App'
import RoutePath from 'constants/routePath'
Expand Down
2 changes: 1 addition & 1 deletion src/__mocks__/data.mock.ts
Expand Up @@ -5,7 +5,7 @@ import {
SecurityExclusions,
HexAbi,
Transaction as SignedTransaction,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import {
SignatureProviderRequestWithInstallationCheck,
Expand Down
2 changes: 1 addition & 1 deletion src/background/ActionHandler.test.ts
Expand Up @@ -8,7 +8,7 @@ import * as sameOriginValidatorMocks from 'utils/sameOrigin/__mocks__/SameOrigin
import * as manifestProviderMocks from 'utils/manifest/__mocks__/ManifestProvider.mock'
import * as payloadData from '__mocks__/data.mock'

import * as SPI from '@blockone/eosjs-signature-provider-interface'
import * as SPI from 'eosjs-signature-provider-interface'

import ActionHandler, { ERROR_MESSAGES } from 'background/ActionHandler'
import * as envelopeGenerators from 'utils/requests/signatureProviderEnvelopeGenerators'
Expand Down
2 changes: 1 addition & 1 deletion src/background/ActionHandler.ts
Expand Up @@ -4,7 +4,7 @@ import {
envelopeDataType,
EnvelopeDataType,
instanceOfTransactionSignatureRequest,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import Api from 'utils/Api'
import ManifestValidator from 'utils/manifest/ManifestValidator'
Expand Down
2 changes: 1 addition & 1 deletion src/background/BackgroundMessageHandler.test.ts
Expand Up @@ -5,7 +5,7 @@ import * as manifestProviderMocks from 'utils/manifest/__mocks__/ManifestProvide
import {
SignatureProviderRequestEnvelope,
SignatureProviderResponseEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import BackgroundMessageHandler from './BackgroundMessageHandler'
import * as ManifestProviderImport from 'utils/manifest/ManifestProvider'
Expand Down
2 changes: 1 addition & 1 deletion src/background/BackgroundMessageHandler.ts
@@ -1,7 +1,7 @@
import {
SignatureProviderRequestEnvelope,
SignatureProviderResponseEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import getDefaultWindowManager from 'utils/WindowManager'
import ActionHandler from 'background/ActionHandler'
Expand Down
2 changes: 1 addition & 1 deletion src/background/background.ts
Expand Up @@ -2,7 +2,7 @@
import 'babel-polyfill'
import {
SignatureProviderRequestEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import BackgroundMessageHandler from 'background/BackgroundMessageHandler'

Expand Down
Expand Up @@ -10,7 +10,7 @@ import {
Authorizer,
ErrorCodes,
SignatureProviderRequestEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import {
SelectiveDisclosureContainer,
Expand Down
Expand Up @@ -4,7 +4,7 @@ import {
Authorizer,
ErrorCodes,
SignatureProviderRequestEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import SelectiveDisclosureView from 'components/selectiveDisclosure/SelectiveDisclosureView'
import AppState from 'store/AppState'
Expand Down
Expand Up @@ -4,7 +4,7 @@ import * as securityExclusionMocks from 'utils/manifest/__mocks__/SecurityExclus

import * as React from 'react'
import { shallow, ShallowWrapper } from 'enzyme'
import { SecurityExclusions } from '@blockone/eosjs-signature-provider-interface'
import { SecurityExclusions } from 'eosjs-signature-provider-interface'

import { ActionAccordionContainer, mapStateToProps } from './ActionAccordionContainer'
import ActionAccordionView from './ActionAccordionView'
Expand Down
Expand Up @@ -3,7 +3,7 @@ import { connect } from 'react-redux'
import {
SignatureProviderRequest,
SignatureProviderRequestEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import ActionAccordionView from './ActionAccordionView'
import { TransactionInfo, AbiInfo } from 'eos/Transaction'
Expand Down
2 changes: 1 addition & 1 deletion src/components/transaction/TransactionContainer.test.tsx
Expand Up @@ -8,7 +8,7 @@ import * as data from '__mocks__/data.mock'

import * as React from 'react'
import { shallow, ShallowWrapper } from 'enzyme'
import { SignatureProviderResponseEnvelope, ErrorCodes } from '@blockone/eosjs-signature-provider-interface'
import { SignatureProviderResponseEnvelope, ErrorCodes } from 'eosjs-signature-provider-interface'

import { TransactionContainer, mapStateToProps, ERROR_MESSAGES } from './TransactionContainer'
import TransactionRoutes from './TransactionRoutes'
Expand Down
2 changes: 1 addition & 1 deletion src/components/transaction/TransactionContainer.tsx
Expand Up @@ -4,7 +4,7 @@ import {
SignatureProviderRequestEnvelope,
SignatureProviderRequest,
ErrorCodes,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'
import { withRouter, RouteComponentProps } from 'react-router-dom'

import TransactionRoutes from 'components/transaction/TransactionRoutes'
Expand Down
Expand Up @@ -3,7 +3,7 @@ import * as manifestData from 'utils/manifest/__mocks__/manifestData.mock'

import * as React from 'react'
import { shallow, ShallowWrapper } from 'enzyme'
import { SignatureProviderRequestEnvelope } from '@blockone/eosjs-signature-provider-interface'
import { SignatureProviderRequestEnvelope } from 'eosjs-signature-provider-interface'

import { TransactionFooterContainer, mapStateToProps } from './TransactionFooterContainer'
import TransactionFooterView from './TransactionFooterView'
Expand Down
Expand Up @@ -4,7 +4,7 @@ import {
ChainInfo,
SignatureProviderRequestEnvelope,
SignatureProviderRequest,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import TransactionFooterView from 'components/transaction/TransactionFooter/TransactionFooterView'
import AppState from 'store/AppState'
Expand Down
@@ -1,5 +1,5 @@
import * as React from 'react'
import { ChainInfo } from '@blockone/eosjs-signature-provider-interface'
import { ChainInfo } from 'eosjs-signature-provider-interface'
import './TransactionFooterView.css'

import FooterView from 'components/shared/layout/FooterView'
Expand Down
@@ -1,5 +1,5 @@
import * as React from 'react'
import { AppMetadata } from '@blockone/eosjs-signature-provider-interface'
import { AppMetadata } from 'eosjs-signature-provider-interface'
import './TransactionHeaderView.css'

interface Props {
Expand Down
4 changes: 2 additions & 2 deletions src/content/WindowMessenger.test.ts
@@ -1,10 +1,10 @@
import '__mocks__/chrome.mock'
import * as data from '__mocks__/data.mock'

import * as spi from '@blockone/eosjs-signature-provider-interface'
import * as spi from 'eosjs-signature-provider-interface'

import * as WindowMessengerImport from 'content/WindowMessenger'
import { packEnvelope, ErrorCodes } from '@blockone/eosjs-signature-provider-interface'
import { packEnvelope, ErrorCodes } from 'eosjs-signature-provider-interface'
import { createErrorResponseEnvelope } from 'utils/requests/signatureProviderEnvelopeGenerators'

describe('windowMessenger', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/content/WindowMessenger.ts
Expand Up @@ -6,7 +6,7 @@ import {
packEnvelope,
ErrorCodes,
SignatureProviderRequestEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import { createErrorResponseEnvelope } from 'utils/requests/signatureProviderEnvelopeGenerators'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/eos/AbiProvider.ts
@@ -1,5 +1,5 @@
import { ApiInterfaces, Serialize } from 'eosjs'
import { HexAbi } from '@blockone/eosjs-signature-provider-interface'
import { HexAbi } from 'eosjs-signature-provider-interface'

export default class AbiProvider implements ApiInterfaces.AbiProvider {
private hexAbiInfos: any[]
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Api.test.ts
Expand Up @@ -2,7 +2,7 @@ import * as data from '__mocks__/data.mock'

import * as eosjs from 'eosjs'
import * as eosjsSignatureProvider from 'eosjs/dist/eosjs-jssig'
import * as SPI from '@blockone/eosjs-signature-provider-interface'
import * as SPI from 'eosjs-signature-provider-interface'

import Api from 'utils/Api'
import { TransactionInfo } from 'eos/Transaction'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Api.ts
Expand Up @@ -4,7 +4,7 @@ import {
HexAbi,
arrayToHex,
Transaction as SignedTransaction,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import AbiProvider from 'eos/AbiProvider'
import AuthorityProvider from 'eos/AuthorityProvider'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/AssertActionCreator.test.ts
Expand Up @@ -4,7 +4,7 @@ import * as manifestData from 'utils/manifest/__mocks__/manifestData.mock'

import * as hash from 'hash.js'
import * as eosjs from 'eosjs'
import { SignatureProviderRequestEnvelope } from '@blockone/eosjs-signature-provider-interface'
import { SignatureProviderRequestEnvelope } from 'eosjs-signature-provider-interface'
import { TextDecoder, TextEncoder } from 'text-encoding'

import * as getAssertAbiHex from 'contracts/eosio.assert.abi.hex'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/AssertActionCreator.ts
Expand Up @@ -5,7 +5,7 @@ import {
SignatureProviderRequestEnvelope,
ChainManifest,
hexToArray,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import { TransactionInfo, Action, PermissionLevel } from 'eos/Transaction'
import getAssertAbiHex from 'contracts/eosio.assert.abi.hex'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/DappInfo.ts
@@ -1,4 +1,4 @@
import { ChainManifest, AppMetadata } from '@blockone/eosjs-signature-provider-interface'
import { ChainManifest, AppMetadata } from 'eosjs-signature-provider-interface'

export interface AppMetadataInfo {
appMetadata: AppMetadata
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/ManifestProvider.ts
@@ -1,5 +1,5 @@
import { sha256 } from 'hash.js'
import { ChainManifest, AppMetadata, AppManifest } from '@blockone/eosjs-signature-provider-interface'
import { ChainManifest, AppMetadata, AppManifest } from 'eosjs-signature-provider-interface'

import { AppMetadataInfo, DappInfo } from 'utils/manifest/DappInfo'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/ManifestValidator.test.ts
Expand Up @@ -11,7 +11,7 @@ import {
AppManifest,
ChainManifest,
AppMetadata
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import ManifestValidator, { ERROR_MESSAGES, FETCH_RESPONSE_ERROR } from 'utils/manifest/ManifestValidator'
import * as SecurityExclusionHelpers from 'utils/manifest/SecurityExclusion'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/ManifestValidator.ts
Expand Up @@ -6,7 +6,7 @@ import {
instanceOfAppManifest,
ChainInfo,
ContractAction,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import { TransactionInfo, Action } from 'eos/Transaction'
import { shouldValidate } from 'utils/manifest/SecurityExclusion'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/SecurityExclusion.ts
@@ -1,4 +1,4 @@
import { SecurityExclusions } from '@blockone/eosjs-signature-provider-interface'
import { SecurityExclusions } from 'eosjs-signature-provider-interface'

import { InsecureMode } from 'utils/insecureMode/InsecureMode'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest/__mocks__/manifestData.mock.ts
@@ -1,4 +1,4 @@
import { AppManifest, ChainManifest, AppMetadata } from '@blockone/eosjs-signature-provider-interface'
import { AppManifest, ChainManifest, AppMetadata } from 'eosjs-signature-provider-interface'

import { DappInfo } from 'utils/manifest/DappInfo'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/requests/DappMessenger.ts
@@ -1,6 +1,6 @@
import {
SignatureProviderResponseEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

export class DappMessenger {
private sentRequestIds: string[] = []
Expand Down
2 changes: 1 addition & 1 deletion src/utils/requests/DappRequest.ts
@@ -1,4 +1,4 @@
import { SignatureProviderRequestEnvelope } from '@blockone/eosjs-signature-provider-interface'
import { SignatureProviderRequestEnvelope } from 'eosjs-signature-provider-interface'

import { TransactionInfo } from 'eos/Transaction'

Expand Down
2 changes: 1 addition & 1 deletion src/utils/requests/installationCheckRequestHelpers.ts
Expand Up @@ -3,7 +3,7 @@ import {
SignatureProviderRequestEnvelope,
SignatureProviderRequest,
SignatureProviderResponse,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

export const INSTALLATION_CHECK_ACTION = 'installationCheck'

Expand Down
Expand Up @@ -3,7 +3,7 @@ import * as data from '__mocks__/data.mock'
import {
SignatureProviderResponseEnvelope,
SignatureProviderEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import './signatureProviderEnvelopeGenerators'
import {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/requests/signatureProviderEnvelopeGenerators.ts
Expand Up @@ -6,7 +6,7 @@ import {
envelopeDataType,
EnvelopeDataType,
SignatureProviderEnvelope,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import {
checkIfInstallationType,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/sameOrigin/SameOriginValidator.test.ts
Expand Up @@ -8,7 +8,7 @@ import {
SignatureProviderRequestEnvelope,
AppManifest,
SecurityExclusions,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import SameOriginValidator from 'utils/sameOrigin/SameOriginValidator'
import * as SecurityExclusionHelpers from 'utils/manifest/SecurityExclusion'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/sameOrigin/SameOriginValidator.ts
Expand Up @@ -2,7 +2,7 @@ import {
SignatureProviderRequestEnvelope,
Manifest,
SecurityExclusions,
} from '@blockone/eosjs-signature-provider-interface'
} from 'eosjs-signature-provider-interface'

import ManifestProvider from 'utils/manifest/ManifestProvider'
import { shouldValidate } from 'utils/manifest/SecurityExclusion'
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Expand Up @@ -25,14 +25,6 @@
dependencies:
regenerator-runtime "^0.12.0"

"@blockone/eosjs-signature-provider-interface@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@blockone/eosjs-signature-provider-interface/-/eosjs-signature-provider-interface-7.0.0.tgz#d9827bb4caf71e3ab933ea9ffab16ddaa54271c5"
integrity sha512-tRlWOwDI268t0OUY9b2k1/QbiQynx5Z2iBuWO82/dxaMYNYHAjVkwCVmLM3p2OOUFctbMVPQOgxVRACAhKKzoQ==
dependencies:
eosjs "^20.0.0"
uuid "^3.3.2"

"@blockone/tslint-config-blockone@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@blockone/tslint-config-blockone/-/tslint-config-blockone-4.0.0.tgz#34ce165e7223acff5811f4bbae66290160c4bf56"
Expand Down Expand Up @@ -3422,6 +3414,14 @@ eosjs-ecc@4.0.4, eosjs-ecc@^4.0.2:
ecurve "^1.0.5"
randombytes "^2.0.5"

eosjs-signature-provider-interface@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/eosjs-signature-provider-interface/-/eosjs-signature-provider-interface-0.1.0.tgz#7af358acffd6c38d3fe54c5574d399cc81908a0f"
integrity sha512-C6B1FYMqxgJFoZmKbyEsrmcBGp6Cip45oNAgJL3bUovV7KbGEzCGbZujzw7iNWnWYA5A7lothMoS6C4akOCMWg==
dependencies:
eosjs "^20.0.0"
uuid "^3.3.2"

eosjs@^20.0.0:
version "20.0.0"
resolved "https://registry.yarnpkg.com/eosjs/-/eosjs-20.0.0.tgz#43940abfe15cd191ce4027d60294036e914613e9"
Expand Down

0 comments on commit 3f9e3a0

Please sign in to comment.