Compare commits

...

2 Commits

Author SHA1 Message Date
e110bb29be
Update @tornado/tornado-oracles 2024-05-12 18:28:40 +00:00
69841d8f56
Use @babel/env for latest ethers.js 2024-05-12 18:14:01 +00:00
3 changed files with 1024 additions and 443 deletions

View File

@ -178,6 +178,24 @@ export default {
if (ctx.isClient) { if (ctx.isClient) {
config.devtool = hasSourceMaps config.devtool = hasSourceMaps
} }
config.module.rules.push({
test: /\.(js|cjs|mjs|jsx)$/,
include: /node_modules/,
type: 'javascript/auto',
use: {
loader: 'babel-loader',
options: {
compact: false,
presets: [['@babel/preset-env', { targets: 'defaults' }]],
plugins: [
'@babel/plugin-transform-private-methods',
'@babel/plugin-transform-class-properties',
'@babel/plugin-transform-optional-chaining',
'@babel/plugin-transform-nullish-coalescing-operator'
]
}
}
})
config.module.rules.push({ config.module.rules.push({
test: /\.bin$/, test: /\.bin$/,
use: 'arraybuffer-loader' use: 'arraybuffer-loader'

View File

@ -30,7 +30,7 @@
"@nuxtjs/moment": "^1.6.0", "@nuxtjs/moment": "^1.6.0",
"@tornado/fixed-merkle-tree": "0.7", "@tornado/fixed-merkle-tree": "0.7",
"@tornado/snarkjs": "0.1.20", "@tornado/snarkjs": "0.1.20",
"@tornado/tornado-oracles": "^2.1.0", "@tornado/tornado-oracles": "git+https://git.tornado.ws/tornadocontrib/tornado-oracles.git#937d65f829e044c1b649ca9305fa4d50733a6d57",
"@tornado/websnark": "0.0.4", "@tornado/websnark": "0.0.4",
"@walletconnect/web3-provider": "1.7.8", "@walletconnect/web3-provider": "1.7.8",
"ajv": "^6.10.2", "ajv": "^6.10.2",
@ -64,6 +64,7 @@
"web3": "1.5.2" "web3": "1.5.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "7.24.4",
"@nuxtjs/eslint-config": "^1.1.2", "@nuxtjs/eslint-config": "^1.1.2",
"@nuxtjs/eslint-module": "^1.1.0", "@nuxtjs/eslint-module": "^1.1.0",
"@vue/test-utils": "^1.0.0-beta.27", "@vue/test-utils": "^1.0.0-beta.27",

1446
yarn.lock

File diff suppressed because it is too large Load Diff