Skip to content

Commit 3c4d38d

Browse files
authored
[common-v2.1.8-alpha.1, core-v2.7.0-alpha.3, react-v2.2.6-alpha.2, vue-v2.1.6-alpha.2...]: Fix - Remove Terser from Rollup(minification) (#1206)
* Remove terser from core and common rollup config * Bump package versions using minified core/common versions
1 parent 75747f4 commit 3c4d38d

File tree

24 files changed

+180
-171
lines changed

24 files changed

+180
-171
lines changed

packages/coinbase/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/coinbase",
3-
"version": "2.0.10",
3+
"version": "2.0.11-alpha.1",
44
"description": "Coinbase SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -59,6 +59,6 @@
5959
},
6060
"dependencies": {
6161
"@coinbase/wallet-sdk": "^3.0.5",
62-
"@web3-onboard/common": "^2.1.7"
62+
"@web3-onboard/common": "^2.1.8-alpha.1"
6363
}
6464
}

packages/common/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/common",
3-
"version": "2.1.7",
3+
"version": "2.1.8-alpha.1",
44
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -73,7 +73,6 @@
7373
"prettier-plugin-svelte": "^2.4.0",
7474
"rollup": "^2.3.4",
7575
"rollup-plugin-svelte": "^7.0.0",
76-
"rollup-plugin-terser": "^7.0.2",
7776
"svelte": "^3.42.5",
7877
"svelte-check": "^2.2.6",
7978
"svelte-preprocess": "^4.9.4",

packages/common/rollup.config.js

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ import replace from '@rollup/plugin-replace'
44
import json from '@rollup/plugin-json'
55
import sveltePreprocess from 'svelte-preprocess'
66
import typescript from '@rollup/plugin-typescript'
7-
import { terser } from 'rollup-plugin-terser'
87

98
const production = !process.env.ROLLUP_WATCH
109

1110
export default {
1211
input: 'src/index.ts',
1312
output: {
1413
format: 'esm',
15-
dir: 'dist/',
16-
sourcemap: true,
14+
dir: 'dist/'
1715
},
1816
plugins: [
1917
json(),
@@ -35,18 +33,6 @@ export default {
3533
typescript({
3634
sourceMap: !production,
3735
inlineSources: !production
38-
}),
39-
production && terser({
40-
ecma: 2017,
41-
mangle: { toplevel: true },
42-
compress: {
43-
module: true,
44-
toplevel: true,
45-
unsafe_arrows: true,
46-
drop_console: production,
47-
drop_debugger: production
48-
},
49-
output: { quote_style: 1 }
5036
})
5137
],
5238
external: ['joi', 'rxjs', 'ethers', '@ethereumjs/common', 'bignumber.js']

packages/core/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.7.0-alpha.2",
3+
"version": "2.7.0-alpha.3",
44
"description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -76,14 +76,13 @@
7676
"prettier-plugin-svelte": "^2.4.0",
7777
"rollup": "^2.3.4",
7878
"rollup-plugin-svelte": "^7.0.0",
79-
"rollup-plugin-terser": "^7.0.2",
8079
"svelte-check": "^2.2.6",
8180
"svelte-preprocess": "^4.9.4",
8281
"tslib": "^2.0.0",
8382
"typescript": "^4.5.5"
8483
},
8584
"dependencies": {
86-
"@web3-onboard/common": "^2.1.7",
85+
"@web3-onboard/common": "^2.1.8-alpha.1",
8786
"bignumber.js": "^9.0.0",
8887
"bnc-sdk": "^4.4.1",
8988
"bowser": "^2.11.0",

packages/core/rollup.config.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import json from '@rollup/plugin-json'
55
import sveltePreprocess from 'svelte-preprocess'
66
import typescript from '@rollup/plugin-typescript'
77
import copy from '@rollup-extras/plugin-copy'
8-
import { terser } from 'rollup-plugin-terser'
98

109
const production = !process.env.ROLLUP_WATCH
1110

@@ -14,7 +13,6 @@ export default {
1413
output: {
1514
format: 'es',
1615
dir: 'dist/',
17-
sourcemap: true,
1816
},
1917
plugins: [
2018
json(),
@@ -41,18 +39,6 @@ export default {
4139
src: 'src/i18n/en.json',
4240
dest: 'i18n'
4341
}),
44-
production && terser({
45-
ecma: 2017,
46-
mangle: { toplevel: true },
47-
compress: {
48-
module: true,
49-
toplevel: true,
50-
unsafe_arrows: true,
51-
drop_console: production,
52-
drop_debugger: production
53-
},
54-
output: { quote_style: 1 }
55-
})
5642
],
5743
external: [
5844
'@web3-onboard/common',

packages/dcent/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/dcent",
3-
"version": "2.0.7",
3+
"version": "2.0.8-alpha.1",
44
"description": "D'CENT wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -56,7 +56,7 @@
5656
"typescript": "^4.5.5"
5757
},
5858
"dependencies": {
59-
"@web3-onboard/common": "^2.1.7",
59+
"@web3-onboard/common": "^2.1.8-alpha.1",
6060
"@ethereumjs/common": "^2.6.1",
6161
"@ethereumjs/tx": "^3.4.0",
6262
"@ethersproject/providers": "^5.5.0",

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"dependencies": {
2525
"@web3-onboard/coinbase": "^2.0.10",
26-
"@web3-onboard/core": "^2.7.0-alpha.2",
26+
"@web3-onboard/core": "^2.7.0-alpha.3",
2727
"@web3-onboard/dcent": "^2.0.7",
2828
"@web3-onboard/fortmatic": "^2.0.9",
2929
"@web3-onboard/gas": "^2.0.0",

packages/fortmatic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/fortmatic",
3-
"version": "2.0.9",
3+
"version": "2.0.10-alpha.1",
44
"description": "Fortmatic wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -59,7 +59,7 @@
5959
"typescript": "^4.5.5"
6060
},
6161
"dependencies": {
62-
"@web3-onboard/common": "^2.1.7",
62+
"@web3-onboard/common": "^2.1.8-alpha.1",
6363
"fortmatic": "^2.2.1"
6464
}
6565
}

packages/gnosis/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/gnosis",
3-
"version": "2.0.8",
3+
"version": "2.0.9-alpha.1",
44
"description": "Gnosis Safe module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -59,6 +59,6 @@
5959
"dependencies": {
6060
"@gnosis.pm/safe-apps-provider": "^0.9.2",
6161
"@gnosis.pm/safe-apps-sdk": "^6.1.1",
62-
"@web3-onboard/common": "^2.1.7"
62+
"@web3-onboard/common": "^2.1.8-alpha.1"
6363
}
6464
}

packages/injected/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/injected-wallets",
3-
"version": "2.0.15",
3+
"version": "2.0.16-alpha.1",
44
"description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -62,7 +62,7 @@
6262
"window": "^4.2.7"
6363
},
6464
"dependencies": {
65-
"@web3-onboard/common": "^2.1.7",
65+
"@web3-onboard/common": "^2.1.8-alpha.1",
6666
"joi": "^17.4.2",
6767
"lodash.uniqby": "^4.7.0"
6868
}

packages/keepkey/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/keepkey",
3-
"version": "2.1.7",
3+
"version": "2.1.8-alpha.1",
44
"description": "KeepKey hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -63,7 +63,7 @@
6363
"@ethersproject/providers": "^5.5.0",
6464
"@shapeshiftoss/hdwallet-core": "^1.15.2",
6565
"@shapeshiftoss/hdwallet-keepkey-webusb": "^1.15.2",
66-
"@web3-onboard/common": "^2.1.7",
66+
"@web3-onboard/common": "^2.1.8-alpha.1",
6767
"ethereumjs-util": "^7.1.3"
6868
}
6969
}

packages/keystone/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/keystone",
3-
"version": "2.1.8",
3+
"version": "2.1.9-alpha.1",
44
"description": "Keystone hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -58,6 +58,6 @@
5858
"@ethereumjs/tx": "^3.4.0",
5959
"@ethersproject/providers": "^5.5.0",
6060
"@keystonehq/eth-keyring": "^0.14.0-alpha.10.3",
61-
"@web3-onboard/common": "^2.1.7"
61+
"@web3-onboard/common": "^2.1.8-alpha.1"
6262
}
6363
}

packages/ledger/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/ledger",
3-
"version": "2.1.8-alpha.1",
3+
"version": "2.1.8-alpha.2",
44
"description": "Ledger hardare wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -65,7 +65,7 @@
6565
"@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated",
6666
"@ledgerhq/hw-transport-webusb": "^6.19.0",
6767
"@metamask/eth-sig-util": "^4.0.0",
68-
"@web3-onboard/common": "^2.1.7",
68+
"@web3-onboard/common": "^2.1.8-alpha.1",
6969
"buffer": "^6.0.3",
7070
"ethereumjs-util": "^7.1.3"
7171
}

packages/magic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/magic",
3-
"version": "2.0.10",
3+
"version": "2.0.11-alpha.1",
44
"description": "Magic SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -80,7 +80,7 @@
8080
"typescript": "^4.5.5"
8181
},
8282
"dependencies": {
83-
"@web3-onboard/common": "^2.1.7",
83+
"@web3-onboard/common": "^2.1.8-alpha.1",
8484
"joi": "^17.4.2",
8585
"magic-sdk": "^8.1.0",
8686
"rxjs": "^7.5.2"

packages/mew/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/mew",
3-
"version": "2.0.7",
3+
"version": "2.0.8-alpha.1",
44
"description": "MEW (My Ether Wallet) SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -59,7 +59,7 @@
5959
"@myetherwallet/mewconnect-web-client": "^2.2.0-beta.14"
6060
},
6161
"dependencies": {
62-
"@web3-onboard/common": "^2.1.7",
62+
"@web3-onboard/common": "^2.1.8-alpha.1",
6363
"rxjs": "^7.5.2"
6464
}
6565
}

packages/portis/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/portis",
3-
"version": "2.0.7",
3+
"version": "2.0.8-alpha.1",
44
"description": "Portis SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -57,6 +57,6 @@
5757
},
5858
"dependencies": {
5959
"@portis/web3": "^4.0.6",
60-
"@web3-onboard/common": "^2.1.7"
60+
"@web3-onboard/common": "^2.1.8-alpha.1"
6161
}
6262
}

packages/react/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/react",
3-
"version": "2.2.6-alpha.1",
3+
"version": "2.2.6-alpha.2",
44
"description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -62,8 +62,8 @@
6262
"typescript": "^4.5.5"
6363
},
6464
"dependencies": {
65-
"@web3-onboard/core": "^2.7.0-alpha.1",
66-
"@web3-onboard/common": "^2.1.7",
65+
"@web3-onboard/core": "^2.7.0-alpha.3",
66+
"@web3-onboard/common": "^2.1.8-alpha.1",
6767
"use-sync-external-store": "1.0.0"
6868
},
6969
"peerDependencies": {

packages/torus/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/torus",
3-
"version": "2.0.8",
3+
"version": "2.0.9-alpha.1",
44
"description": "Torus SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -57,6 +57,6 @@
5757
},
5858
"dependencies": {
5959
"@toruslabs/torus-embed": "^1.18.3",
60-
"@web3-onboard/common": "^2.1.7"
60+
"@web3-onboard/common": "^2.1.8-alpha.1"
6161
}
6262
}

packages/trezor/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/trezor",
3-
"version": "2.1.7",
3+
"version": "2.1.8-alpha.1",
44
"description": "Trezor hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -60,7 +60,7 @@
6060
"dependencies": {
6161
"@ethereumjs/tx": "^3.4.0",
6262
"@ethersproject/providers": "^5.5.0",
63-
"@web3-onboard/common": "^2.1.7",
63+
"@web3-onboard/common": "^2.1.8-alpha.1",
6464
"buffer": "^6.0.3",
6565
"eth-crypto": "^2.1.0",
6666
"ethereumjs-util": "^7.1.3",

packages/vue/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/vue",
3-
"version": "2.1.6-alpha.1",
3+
"version": "2.1.6-alpha.2",
44
"description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -62,8 +62,8 @@
6262
"dependencies": {
6363
"@vueuse/core": "^8.4.2",
6464
"@vueuse/rxjs": "^8.2.0",
65-
"@web3-onboard/common": "^2.1.7",
66-
"@web3-onboard/core": "^2.7.0-alpha.1",
65+
"@web3-onboard/common": "^2.1.8-alpha.1",
66+
"@web3-onboard/core": "^2.7.0-alpha.3",
6767
"vue-demi": "^0.12.4"
6868
},
6969
"peerDependencies": {

packages/walletconnect/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/walletconnect",
3-
"version": "2.0.8",
3+
"version": "2.0.9-alpha.1",
44
"description": "WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",
@@ -61,7 +61,7 @@
6161
"@ethersproject/providers": "^5.5.0",
6262
"@walletconnect/client": "^1.7.1",
6363
"@walletconnect/qrcode-modal": "^1.7.1",
64-
"@web3-onboard/common": "^2.1.7",
64+
"@web3-onboard/common": "^2.1.8-alpha.1",
6565
"rxjs": "^7.5.2"
6666
}
6767
}

0 commit comments

Comments
 (0)