Skip to content

Commit

Permalink
Update common package
Browse files Browse the repository at this point in the history
  • Loading branch information
lnbc1QWFyb24 committed Feb 10, 2022
1 parent 7bbdb30 commit 4095953
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
1 change: 1 addition & 0 deletions packages/common/circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ workflows:
branches:
only:
- main
- feature/v2
6 changes: 2 additions & 4 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bn-onboard/common",
"version": "2.0.0-alpha.11",
"version": "2.0.0-alpha.12",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
Expand All @@ -17,8 +17,6 @@
"dist"
],
"devDependencies": {
"@ethersproject/providers": "^5.5.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-replace": "^3.0.0",
Expand All @@ -30,7 +28,6 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^3.2.1",
"ethers": "5.5.4",
"eventemitter3": "^4.0.7",
"prettier": "^2.4.0",
"prettier-plugin-svelte": "^2.4.0",
Expand All @@ -43,6 +40,7 @@
"typescript": "4.5.5"
},
"dependencies": {
"ethers": "5.5.4",
"joi": "^17.4.2",
"rxjs": "^7.5.2"
}
Expand Down
4 changes: 1 addition & 3 deletions packages/common/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import svelte from 'rollup-plugin-svelte'
import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'
import replace from '@rollup/plugin-replace'
import json from '@rollup/plugin-json'
Expand Down Expand Up @@ -31,11 +30,10 @@ export default {
browser: true,
dedupe: ['svelte']
}),
commonjs(),
typescript({
sourceMap: !production,
inlineSources: !production
})
],
external: ['joi', 'rxjs']
external: ['joi', 'rxjs', 'ethers']
}
14 changes: 10 additions & 4 deletions packages/common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,15 @@ import type {
AccountsListener,
Balance,
EthAccountsRequest,
EthChainIdRequest,
EthBalanceRequest,
EIP1102Request,
SelectAccountsRequest,
EIP3085Request,
EIP3326Request,
EIP3085Request,
EthChainIdRequest,
EthSignTransactionRequest,
EthSignMessageRequest,
EIP712Request,
AddChainParams,
EIP1193Provider,
MeetOneProvider,
Expand Down Expand Up @@ -118,12 +121,15 @@ export type {
AccountsListener,
Balance,
EthAccountsRequest,
EthChainIdRequest,
EthBalanceRequest,
EIP1102Request,
SelectAccountsRequest,
EIP3085Request,
EIP3326Request,
EIP3085Request,
EthChainIdRequest,
EthSignTransactionRequest,
EthSignMessageRequest,
EIP712Request,
AddChainParams,
EIP1193Provider,
MeetOneProvider,
Expand Down
1 change: 0 additions & 1 deletion packages/core/circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ workflows:
branches:
only:
- main
- feature/v2

0 comments on commit 4095953

Please sign in to comment.