Skip to content

Commit

Permalink
fix(build): import
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Sep 15, 2020
1 parent 249fe31 commit 4e87ce3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
6 changes: 2 additions & 4 deletions build/extension/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ RUN mkdir /app
WORKDIR /app

# using npm 6.5.0 to fix installing certain cordova/ionic plugins
RUN npm install -g [email protected] [email protected] @capacitor/[email protected] @capacitor/[email protected] @capacitor/cli@2.4.0
RUN npm install -g [email protected] @ionic/cli
RUN npm cache clean -f
RUN npm install -g n
RUN n 10.14.1

RUN npm install @ionic/cli

# Install app dependencies, using wildcard if package-lock exists
COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json
Expand All @@ -42,7 +40,7 @@ RUN sed -i -e "s/VERSION_NUMBER/$VERSION/g" src/app/services/app-info/app-info.s
RUN sed -i -e "s/VERSION_CODE/$CI_PIPELINE_ID/g" src/app/services/app-info/app-info.service.ts
# RUN sed -i -e "/\"version\"/c\ \"version\" :\"$VERSION\"," src/manifest.json

# browserify coin-lib
# fix crypto libraries
RUN npm run postinstall

# build ionic
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"private": true,
"dependencies": {
"@airgap/beacon-sdk": "2.0.0-beta.2",
"@airgap/beacon-sdk": "2.0.0-beta.3",
"@angular/common": "^9.1.0",
"@angular/core": "^9.1.0",
"@angular/forms": "^9.1.0",
Expand Down
7 changes: 4 additions & 3 deletions src/extension/extension-client/ExtensionClient.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import {
AppMetadata,
AppMetadataManager,
BeaconBaseMessage,
BeaconClient,
BeaconEvent,
BeaconEventHandler,
BeaconMessage,
BeaconMessageType,
ChromeMessageTransport,
Expand All @@ -17,10 +20,8 @@ import {
PermissionManager,
PermissionRequest,
PermissionResponse,
Serializer,
BeaconBaseMessage
Serializer
} from '@airgap/beacon-sdk'
import { BeaconEvent, BeaconEventHandler } from '@airgap/beacon-sdk/dist/cjs/events'
import * as sodium from 'libsodium-wrappers'

import { AirGapOperationProvider, LocalSigner } from '../AirGapSigner'
Expand Down

0 comments on commit 4e87ce3

Please sign in to comment.