Skip to content

Commit 357c503

Browse files
committed
upg beacon
1 parent c4fa465 commit 357c503

7 files changed

Lines changed: 9831 additions & 30819 deletions

File tree

package-lock.json

Lines changed: 9788 additions & 30803 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve --open",
7-
"build": "vue-cli-service build",
7+
"build": "NODE_OPTIONS='--openssl-legacy-provider' vue-cli-service build",
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {
11-
"@airgap/beacon-sdk": "^3.3.2",
11+
"@airgap/beacon-sdk": "4.5.0",
1212
"@baking-bad/vjsf": "^1.20.11",
1313
"@braintree/sanitize-url": "^6.0.0",
1414
"@sentry/tracing": "^6.19.2",
1515
"@sentry/vue": "^6.19.2",
16-
"@taquito/beacon-wallet": "^15.0.0",
17-
"@taquito/taquito": "^15.0.0",
16+
"@taquito/beacon-wallet": "21.0.4",
17+
"@taquito/taquito": "21.0.4",
1818
"async-wait-until": "^2.0.12",
1919
"axios": "^0.21.4",
20-
"bignumber.js": "^9.0.1",
20+
"bignumber.js": "^9.2.1",
2121
"bs58check": "^2.1.2",
2222
"codemirror": "^5.58.2",
2323
"dayjs": "^1.8.23",
@@ -30,6 +30,7 @@
3030
"is-ipfs": "^1.0.3",
3131
"json-view": "^0.4.0",
3232
"lodash.capitalize": "^4.2.1",
33+
"node-polyfill-webpack-plugin": "^4.1.0",
3334
"null": "^2.0.0",
3435
"portal-vue": "^2.1.7",
3536
"redoc": "^2.0.0-rc.65",
@@ -52,14 +53,15 @@
5253
"devDependencies": {
5354
"@mdi/font": "^5.0.45",
5455
"@mdi/js": "^5.0.45",
55-
"@vue/cli": "^4.5.13",
56-
"@vue/cli-plugin-eslint": "^4.2.3",
57-
"@vue/cli-service": "^4.2.3",
56+
"@vue/cli": "^5.0.8",
57+
"@vue/cli-plugin-eslint": "^5.0.8",
58+
"@vue/cli-service": "^5.0.8",
5859
"babel-eslint": "^10.1.0",
59-
"eslint": "^5.16.0",
60-
"eslint-plugin-vue": "^5.0.0",
60+
"eslint": "^7.32.0",
61+
"eslint-plugin-vue": "^7.20.0",
62+
"node-stdlib-browser": "^1.3.1",
6163
"sass": "~1.32.6",
62-
"sass-loader": "^8.0.2",
64+
"sass-loader": "^10.0.0",
6365
"vue-cli-plugin-vuetify": "^2.0.5",
6466
"vue-template-compiler": "^2.6.10",
6567
"vuetify-loader": "^1.3.0"

src/components/Dialogs/LongBox.vue

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<v-card-text class="pt-7">
2727
<v-row no-gutters>
2828
<v-col cols="12">
29-
<HexView v-if="hex" v-model="text"/>
29+
<HexView v-if="hex" v-model="localText"/>
3030
<ValueInspector
3131
v-else
3232
prim="string"
@@ -58,13 +58,22 @@ export default {
5858
HexView
5959
},
6060
data: () => ({
61-
show: false
61+
show: false,
62+
localText: ''
6263
}),
6364
updated() {
6465
if (this.show) {
6566
this.$refs.box.show();
6667
}
67-
}
68+
},
69+
watch: {
70+
text: {
71+
handler(newVal) {
72+
this.localText = newVal;
73+
},
74+
immediate: true
75+
}
76+
}
6877
}
6978
</script>
7079

src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@font-face {
22
font-family: "Script1-Casual";
3-
src: url("/fonts/script1-script-casual-normal.ttf");
3+
src: url("../public/fonts/script1-script-casual-normal.ttf");
44
}
55

66
:root {

src/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import Vue from 'vue'
22
import Clipboard from 'v-clipboard'
33
import App from './App.vue'
44

5+
import { Buffer } from 'buffer';
6+
window.Buffer = Buffer;
7+
58
import './styles';
69

710
import store from '@/store'

src/utils/wallet.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class Wallet {
1717
Wallet.wallet = new DAppClient({
1818
name: "Better Call Dev",
1919
eventHandlers,
20+
enableMetrics: true,
2021
preferredNetwork: network in CORRECT_NETWORK_TYPES ? CORRECT_NETWORK_TYPES[network] : network,
2122
blockExplorer: new TZKTBlockExplorer(),
2223
});

vue.config.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1+
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
2+
const webpack = require('webpack');
3+
14
module.exports = {
25
"transpileDependencies": [
36
"vuetify"
4-
]
7+
],
8+
configureWebpack: {
9+
plugins: [
10+
new NodePolyfillPlugin(),
11+
new webpack.ProvidePlugin({
12+
Buffer: ['buffer', 'Buffer'],
13+
process: 'process/browser'
14+
})
15+
]
16+
}
517
}

0 commit comments

Comments
 (0)