diff --git a/examples/add-example-Web3Id/package.json b/examples/add-example-Web3Id/package.json index c053d1bc..76cccf3c 100644 --- a/examples/add-example-Web3Id/package.json +++ b/examples/add-example-Web3Id/package.json @@ -8,6 +8,6 @@ "start": "live-server ./index.html --mount=/sdk.js:../../node_modules/@concordium/web-sdk/lib/concordium.min.js --mount=/helpers.js:../../packages/browser-wallet-api-helpers/lib/concordiumHelpers.min.js" }, "dependencies": { - "@concordium/web-sdk": "^7.0.3" + "@concordium/web-sdk": "^7.1.0" } } diff --git a/examples/eSealing/CHANGELOG.md b/examples/eSealing/CHANGELOG.md index 87de5c57..7e3a3003 100644 --- a/examples/eSealing/CHANGELOG.md +++ b/examples/eSealing/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.1.4 + +- Bumped version of @concordium/web-sdk and @concordium/react-components (fixes wallet connect serialization issue) + +## 1.1.3 + +- Bumped version of @concordium/web-sdk and @concordium/react-components + ## 1.1.2 - Migrate dApp from using deprecated JSON-RPC client to new gRPC client. diff --git a/examples/eSealing/package.json b/examples/eSealing/package.json index 8d6cd2ef..489da9cf 100644 --- a/examples/eSealing/package.json +++ b/examples/eSealing/package.json @@ -1,11 +1,11 @@ { "name": "e_sealing", "packageManager": "yarn@3.2.0", - "version": "1.1.3", + "version": "1.1.4", "license": "Apache-2.0", "dependencies": { - "@concordium/react-components": "0.4.0-rc.5", - "@concordium/web-sdk": "^7.0.3", + "@concordium/react-components": "^0.4.0", + "@concordium/web-sdk": "^7.1.0", "@thi.ng/leb128": "^2.1.18", "@types/sha256": "^0.2.0", "@walletconnect/types": "^2.1.4", diff --git a/examples/nft-minting/package.json b/examples/nft-minting/package.json index 48b9b685..4c1b450d 100644 --- a/examples/nft-minting/package.json +++ b/examples/nft-minting/package.json @@ -3,7 +3,7 @@ "packageManager": "yarn@3.2.0", "dependencies": { "@concordium/browser-wallet-api-helpers": "workspace:^", - "@concordium/web-sdk": "^7.0.3", + "@concordium/web-sdk": "^7.1.0", "cors": "^2.8.5", "express": "^4.18.1", "express-fileupload": "^1.4.0", diff --git a/examples/piggybank/package.json b/examples/piggybank/package.json index 3c08dcec..5f2fff6e 100644 --- a/examples/piggybank/package.json +++ b/examples/piggybank/package.json @@ -3,7 +3,7 @@ "packageManager": "yarn@3.2.0", "dependencies": { "@concordium/browser-wallet-api-helpers": "workspace:^", - "@concordium/web-sdk": "^7.0.3", + "@concordium/web-sdk": "^7.1.0", "react": "^18.1.0", "react-dom": "^18.1.0" }, diff --git a/examples/two-step-transfer/package.json b/examples/two-step-transfer/package.json index 43b96471..8891289a 100644 --- a/examples/two-step-transfer/package.json +++ b/examples/two-step-transfer/package.json @@ -8,6 +8,6 @@ "start": "live-server ../two-step-transfer/index.html --mount=/sdk.js:../../node_modules/@concordium/web-sdk/lib/min/concordium.web.min.js --mount=/helpers.js:../../packages/browser-wallet-api-helpers/lib/concordiumHelpers.min.js" }, "dependencies": { - "@concordium/web-sdk": "^7.0.3" + "@concordium/web-sdk": "^7.1.0" } } diff --git a/examples/voting/CHANGELOG.md b/examples/voting/CHANGELOG.md index 57fa28fe..8ec6d6cd 100644 --- a/examples/voting/CHANGELOG.md +++ b/examples/voting/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1.2 + +- Bumped version of @concordium/web-sdk and @concordium/browser-wallet-api-helpers + ## 1.1.1 - Migrate dApp from using deprecated JSON-RPC client to new gRPC client. diff --git a/examples/voting/Dockerfile b/examples/voting/Dockerfile index 93b31dd6..11cb4a14 100644 --- a/examples/voting/Dockerfile +++ b/examples/voting/Dockerfile @@ -5,7 +5,8 @@ FROM ${base_image} AS build WORKDIR /app COPY ./package.json ./package.json COPY ./tsconfig.json ./tsconfig.json -COPY ./esbuild.config.ts ./ +COPY ./index.html ./ +COPY ./vite.config.ts ./ COPY ./public ./public COPY ./src ./src diff --git a/examples/voting/esbuild.config.ts b/examples/voting/esbuild.config.ts deleted file mode 100644 index 10c35534..00000000 --- a/examples/voting/esbuild.config.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* eslint-disable no-console */ -/* eslint-disable import/no-extraneous-dependencies */ -import esbuild, { BuildOptions } from 'esbuild'; -import { copy } from 'esbuild-plugin-copy'; -import svgrPlugin from 'esbuild-plugin-svgr'; - -const watch = Boolean(process.env.WATCH); - -const main = 'src/index.js'; - -const config: BuildOptions = { - entryPoints: [main], - entryNames: '[name]', - bundle: true, - minify: true, - metafile: true, - logLevel: 'info', - loader: { '.js': 'jsx' }, - sourcemap: 'inline', - target: ['chrome67'], - outdir: 'dist/public', - plugins: [ - copy({ - assets: { - from: ['./public/**/*'], - to: ['../'], - keepStructure: true, - }, - }), - svgrPlugin(), - ], -}; - -(async () => { - if (watch) { - const ctx = await esbuild.context(config); - await ctx.watch(); - console.log('watching for changes...'); - } else { - esbuild.build(config).catch(() => process.exit(1)); - } -})(); diff --git a/examples/voting/public/index.html b/examples/voting/index.html similarity index 93% rename from examples/voting/public/index.html rename to examples/voting/index.html index d5a1361f..f9b65410 100644 --- a/examples/voting/public/index.html +++ b/examples/voting/index.html @@ -21,7 +21,6 @@ Learn how to configure a non-root public URL by running `npm run build`. --> React App - @@ -37,6 +36,6 @@ To create a production bundle, use `npm run build` or `yarn build`. --> - + diff --git a/examples/voting/nginx.conf b/examples/voting/nginx.conf index 11b65a5e..ea2af5d3 100644 --- a/examples/voting/nginx.conf +++ b/examples/voting/nginx.conf @@ -1,9 +1,42 @@ -server { - listen 80; - server_name frontend; - location / { - # This would be the directory where your React app's static files are stored at - root /usr/share/nginx/html; - try_files $uri /index.html; - } -} \ No newline at end of file +# Enable Gzip +gzip on; +gzip_http_version 1.0; +gzip_comp_level 2; +gzip_min_length 1100; +gzip_buffers 4 8k; +gzip_proxied any; +gzip_types + text/css + text/javascript + text/xml + text/plain + text/x-component + application/javascript + application/json + application/xml + application/wasm + application/rss+xml + font/truetype + font/opentype + application/vnd.ms-fontobject + image/svg+xml + image/jpeg; + +gzip_static on; + +gzip_proxied expired no-cache no-store private auth; +gzip_disable "MSIE [1-6]\."; +gzip_vary on; + +server { + listen 80 default; + server_name frontend; + root /usr/share/nginx/html; + + # Set expires max on static file types + location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|eot|mp4|ogg|ogv|webm|wasm)$ { + expires max; + root /usr/share/nginx/html; + access_log off; + } +} diff --git a/examples/voting/package.json b/examples/voting/package.json index cb5ab72b..c25494d2 100644 --- a/examples/voting/package.json +++ b/examples/voting/package.json @@ -1,13 +1,12 @@ { "name": "voting", "license": "Apache-2.0", - "version": "1.1.1", + "version": "1.1.3", "packageManager": "yarn@3.2.0", "dependencies": { - "@concordium/browser-wallet-api-helpers": "beta", - "@concordium/web-sdk": "^7.0.3", + "@concordium/browser-wallet-api-helpers": "^3.0.0", + "@concordium/web-sdk": "^7.1.0", "bootstrap": "^5.2.1", - "cross-env": "^7.0.3", "moment": "^2.29.4", "react": "^18.2.0", "react-bootstrap": "^2.5.0", @@ -20,16 +19,17 @@ "@types/node": "^18.7.23", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.5", - "esbuild": "^0.19.5", - "esbuild-plugin-copy": "^1.6.0", - "esbuild-plugin-svgr": "^1.0.1", - "express": "^4.18.1", + "@vitejs/plugin-react-swc": "^3.4.0", "ts-node": "^10.8.0", - "typescript": "^5.2.2" + "typescript": "^5.2.2", + "vite": "^4.5.0", + "vite-plugin-svgr": "^4.1.0", + "vite-plugin-top-level-await": "^1.3.1", + "vite-plugin-wasm": "^3.2.2" }, "scripts": { - "build": "node --loader ts-node/esm ./esbuild.config.ts; cp ./public/static/img/* ./dist", - "start": "node ./serve", - "watch": "cross-env WATCH=1 yarn build" + "build": "vite build", + "start": "vite preview", + "watch": "vite" } } diff --git a/examples/voting/src/App.js b/examples/voting/src/App.jsx similarity index 100% rename from examples/voting/src/App.js rename to examples/voting/src/App.jsx diff --git a/examples/voting/src/App.test.js b/examples/voting/src/App.test.jsx similarity index 100% rename from examples/voting/src/App.test.js rename to examples/voting/src/App.test.jsx diff --git a/examples/voting/src/CreateElectionPage.js b/examples/voting/src/CreateElectionPage.jsx similarity index 100% rename from examples/voting/src/CreateElectionPage.js rename to examples/voting/src/CreateElectionPage.jsx diff --git a/examples/voting/src/Footer.js b/examples/voting/src/Footer.jsx similarity index 100% rename from examples/voting/src/Footer.js rename to examples/voting/src/Footer.jsx diff --git a/examples/voting/src/HomePage.js b/examples/voting/src/HomePage.jsx similarity index 100% rename from examples/voting/src/HomePage.js rename to examples/voting/src/HomePage.jsx diff --git a/examples/voting/src/Results.js b/examples/voting/src/Results.jsx similarity index 100% rename from examples/voting/src/Results.js rename to examples/voting/src/Results.jsx diff --git a/examples/voting/src/VotePage.js b/examples/voting/src/VotePage.jsx similarity index 100% rename from examples/voting/src/VotePage.js rename to examples/voting/src/VotePage.jsx diff --git a/examples/voting/src/Wallet.js b/examples/voting/src/Wallet.jsx similarity index 100% rename from examples/voting/src/Wallet.js rename to examples/voting/src/Wallet.jsx diff --git a/examples/voting/src/index.js b/examples/voting/src/index.jsx similarity index 100% rename from examples/voting/src/index.js rename to examples/voting/src/index.jsx diff --git a/examples/voting/vite.config.ts b/examples/voting/vite.config.ts new file mode 100644 index 00000000..21e5d965 --- /dev/null +++ b/examples/voting/vite.config.ts @@ -0,0 +1,21 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react-swc'; +import svgr from 'vite-plugin-svgr'; +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore +import wasm from 'vite-plugin-wasm'; +import topLevelAwait from 'vite-plugin-top-level-await'; + +export default defineConfig({ + plugins: [ + react(), + svgr(), + wasm(), + topLevelAwait(), // For legacy browser compatibility + ], + resolve: { + alias: { + '@concordium/rust-bindings': '@concordium/rust-bindings/bundler', // Resolve bundler-specific wasm entrypoints. + }, + }, +}); diff --git a/examples/wCCD/CHANGELOG.md b/examples/wCCD/CHANGELOG.md index cc3934f3..9fc3c7d5 100644 --- a/examples/wCCD/CHANGELOG.md +++ b/examples/wCCD/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog -# 4.1.0 +## 4.1.2 + +- Bumped version of @concordium/web-sdk and @concordium/react-components (fixes wallet connect serialization issue) + +## 4.1.1 + +- Bumped version of @concordium/web-sdk and @concordium/react-components + +## 4.1.0 - Migrate dApp from using deprecated JSON-RPC client to new gRPC client. diff --git a/examples/wCCD/package.json b/examples/wCCD/package.json index 7ac8f74b..f721f0e3 100644 --- a/examples/wCCD/package.json +++ b/examples/wCCD/package.json @@ -1,11 +1,11 @@ { "name": "wccd", "packageManager": "yarn@3.2.0", - "version": "4.1.1", + "version": "4.1.2", "license": "Apache-2.0", "dependencies": { - "@concordium/react-components": "0.4.0-rc.5", - "@concordium/web-sdk": "^7.0.3", + "@concordium/react-components": "^0.4.0", + "@concordium/web-sdk": "^7.1.0", "@thi.ng/leb128": "^2.1.18", "@walletconnect/types": "^2.1.4", "mathjs": "^11.4.0", diff --git a/packages/browser-wallet-api/package.json b/packages/browser-wallet-api/package.json index cec1f2b0..bdc43aa0 100644 --- a/packages/browser-wallet-api/package.json +++ b/packages/browser-wallet-api/package.json @@ -9,7 +9,7 @@ "dependencies": { "@concordium/browser-wallet-api-helpers": "workspace:^", "@concordium/browser-wallet-message-hub": "workspace:^", - "@concordium/web-sdk": "^7.0.3", + "@concordium/web-sdk": "^7.1.0", "@concordium/web-sdk-legacy": "npm:@concordium/web-sdk@6", "@protobuf-ts/grpcweb-transport": "^2.8.2", "@protobuf-ts/runtime-rpc": "^2.8.2", diff --git a/packages/browser-wallet/package.json b/packages/browser-wallet/package.json index 5397efb4..8c6bcdb0 100644 --- a/packages/browser-wallet/package.json +++ b/packages/browser-wallet/package.json @@ -22,7 +22,7 @@ "@concordium/browser-wallet-api": "workspace:^", "@concordium/browser-wallet-api-helpers": "workspace:^", "@concordium/browser-wallet-message-hub": "workspace:^", - "@concordium/web-sdk": "^7.0.3", + "@concordium/web-sdk": "^7.1.0", "@noble/ed25519": "^1.7.0", "@protobuf-ts/runtime-rpc": "^2.8.2", "@scure/bip39": "^1.1.0", @@ -53,7 +53,7 @@ "react-window-infinite-loader": "^1.0.8", "readable-stream": "^4.2.0", "uuid": "^8.3.2", - "wallet-common-helpers": "https://github.com/Concordium/concordium-wallet-common-helpers.git#12cba9df452e92130566dd0b525f814dbee85190" + "wallet-common-helpers": "https://github.com/Concordium/concordium-wallet-common-helpers.git#d6dd106aa892d683bcaad33189ed4043bcfc55a0" }, "devDependencies": { "@babel/core": "^7.18.2", diff --git a/yarn.lock b/yarn.lock index 1a31f2a3..7b9fd0c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2161,18 +2161,7 @@ __metadata: languageName: node linkType: hard -"@concordium/browser-wallet-api-helpers@npm:3.0.0-rc.1, @concordium/browser-wallet-api-helpers@npm:beta": - version: 3.0.0-rc.1 - resolution: "@concordium/browser-wallet-api-helpers@npm:3.0.0-rc.1" - dependencies: - "@protobuf-ts/runtime-rpc": ^2.9.1 - peerDependencies: - "@concordium/web-sdk": 7.0.0-rc.4 - checksum: ddf28e049ddf562845f611a3a8cbe770433e8d139b4859ce6162a727d9c4108ef477c5365c8836519f912888b8f293a7f3c8edb3b35860290ee434954e2f63c1 - languageName: node - linkType: hard - -"@concordium/browser-wallet-api-helpers@workspace:^, @concordium/browser-wallet-api-helpers@workspace:packages/browser-wallet-api-helpers": +"@concordium/browser-wallet-api-helpers@^3.0.0, @concordium/browser-wallet-api-helpers@workspace:^, @concordium/browser-wallet-api-helpers@workspace:packages/browser-wallet-api-helpers": version: 0.0.0-use.local resolution: "@concordium/browser-wallet-api-helpers@workspace:packages/browser-wallet-api-helpers" dependencies: @@ -2195,7 +2184,7 @@ __metadata: dependencies: "@concordium/browser-wallet-api-helpers": "workspace:^" "@concordium/browser-wallet-message-hub": "workspace:^" - "@concordium/web-sdk": ^7.0.3 + "@concordium/web-sdk": ^7.1.0 "@concordium/web-sdk-legacy": "npm:@concordium/web-sdk@6" "@protobuf-ts/grpcweb-transport": ^2.8.2 "@protobuf-ts/runtime-rpc": ^2.8.2 @@ -2224,7 +2213,7 @@ __metadata: "@concordium/browser-wallet-api": "workspace:^" "@concordium/browser-wallet-api-helpers": "workspace:^" "@concordium/browser-wallet-message-hub": "workspace:^" - "@concordium/web-sdk": ^7.0.3 + "@concordium/web-sdk": ^7.1.0 "@craftamap/esbuild-plugin-html": ^0.4.0 "@mdx-js/react": ^1.6.22 "@noble/ed25519": ^1.7.0 @@ -2291,7 +2280,7 @@ __metadata: tsconfig-paths-webpack-plugin: ^3.5.2 typescript: ^5.2.2 uuid: ^8.3.2 - wallet-common-helpers: "https://github.com/Concordium/concordium-wallet-common-helpers.git#12cba9df452e92130566dd0b525f814dbee85190" + wallet-common-helpers: "https://github.com/Concordium/concordium-wallet-common-helpers.git#d6dd106aa892d683bcaad33189ed4043bcfc55a0" languageName: unknown linkType: soft @@ -2316,15 +2305,15 @@ __metadata: languageName: node linkType: hard -"@concordium/react-components@npm:0.4.0-rc.5": - version: 0.4.0-rc.5 - resolution: "@concordium/react-components@npm:0.4.0-rc.5" +"@concordium/react-components@npm:^0.4.0": + version: 0.4.0 + resolution: "@concordium/react-components@npm:0.4.0" dependencies: - "@concordium/wallet-connectors": ^0.4.0-rc.4 + "@concordium/wallet-connectors": ^0.4.0 peerDependencies: - "@concordium/web-sdk": 7.0.0-rc.4 + "@concordium/web-sdk": 7.x react: ^18 - checksum: 49e32d5b6090d1da849bd2a8a1710e77420ef4c9f422223c7ea65ff2a0a404b97e98ab42ee38a2a155f849b1743ba92c0331a26ed3e33f6ca7afb75886062033 + checksum: 7b4cb906228f514c7d180c67fdef369c0aacde549c7a3237473732bf797c6188647e25f16d4ca300559a6db3e9fa9492632d37428a5af86d3411b1286208e332 languageName: node linkType: hard @@ -2342,16 +2331,16 @@ __metadata: languageName: node linkType: hard -"@concordium/wallet-connectors@npm:^0.4.0-rc.4": - version: 0.4.0-rc.4 - resolution: "@concordium/wallet-connectors@npm:0.4.0-rc.4" +"@concordium/wallet-connectors@npm:^0.4.0": + version: 0.4.0 + resolution: "@concordium/wallet-connectors@npm:0.4.0" dependencies: - "@concordium/browser-wallet-api-helpers": 3.0.0-rc.1 + "@concordium/browser-wallet-api-helpers": ^3.0.0 "@walletconnect/qrcode-modal": ^1.8.0 "@walletconnect/sign-client": ^2.1.4 peerDependencies: - "@concordium/web-sdk": 7.0.0-rc.4 - checksum: 31a59dde90930f8f04c037f9a9e9a38651fb4086b024d6a75403e2d5146ade7f087756c139d9dbe814d2a227b2eacfa05216aad16b68d06d35b17d41309fc65e + "@concordium/web-sdk": 7.x + checksum: 038e4f9b35404e03dfcffae3a5891f583654296e0fadcce17066798ba3df9be3ea321cecad6e1d9a3e6056403fe571c539202a00d9e95bb7de052546ed8a9cb0 languageName: node linkType: hard @@ -2369,9 +2358,9 @@ __metadata: languageName: node linkType: hard -"@concordium/web-sdk@npm:^7.0.3": - version: 7.0.3 - resolution: "@concordium/web-sdk@npm:7.0.3" +"@concordium/web-sdk@npm:^7.1.0": + version: 7.1.0 + resolution: "@concordium/web-sdk@npm:7.1.0" dependencies: "@concordium/rust-bindings": 2.0.1 "@grpc/grpc-js": ^1.9.4 @@ -2389,7 +2378,7 @@ __metadata: iso-3166-1: ^2.1.1 json-bigint: ^1.0.0 uuid: ^8.3.2 - checksum: 1cb8966c335655f0d9cdb19dd5f39acb655136ddae4181b29368dfa555852eac41f14d983792b5fbdaf5a2ce0383638c9b6c1e81a61cbecd6da61426f5753a6d + checksum: 471518fee52c45fc9bc826c4025f7da890c51a02cffaaaeab22c4b4eea0848c0ef47164719fa0c4053335c40c1e37dab323cc40c59b5b09e37790088caf517a5 languageName: node linkType: hard @@ -7540,7 +7529,7 @@ __metadata: resolution: "NFT-Minting@workspace:examples/nft-minting" dependencies: "@concordium/browser-wallet-api-helpers": "workspace:^" - "@concordium/web-sdk": ^7.0.3 + "@concordium/web-sdk": ^7.1.0 "@craftamap/esbuild-plugin-html": ^0.4.0 "@types/react": ^18.0.9 "@types/react-dom": ^18.0.5 @@ -7692,7 +7681,7 @@ __metadata: version: 0.0.0-use.local resolution: "add-example-web3-id@workspace:examples/add-example-Web3Id" dependencies: - "@concordium/web-sdk": ^7.0.3 + "@concordium/web-sdk": ^7.1.0 live-server: ^1.2.2 languageName: unknown linkType: soft @@ -11085,8 +11074,8 @@ __metadata: version: 0.0.0-use.local resolution: "e_sealing@workspace:examples/eSealing" dependencies: - "@concordium/react-components": 0.4.0-rc.5 - "@concordium/web-sdk": ^7.0.3 + "@concordium/react-components": ^0.4.0 + "@concordium/web-sdk": ^7.1.0 "@thi.ng/leb128": ^2.1.18 "@types/node": ^18.7.23 "@types/react": ^18.0.9 @@ -11546,19 +11535,6 @@ __metadata: languageName: node linkType: hard -"esbuild-plugin-copy@npm:^1.6.0": - version: 1.6.0 - resolution: "esbuild-plugin-copy@npm:1.6.0" - dependencies: - chalk: ^4.1.2 - fs-extra: ^10.0.1 - globby: ^11.0.3 - peerDependencies: - esbuild: ">= 0.14.0" - checksum: 814f428db6a645c92b2ec99f5e6c3003777384b72f46765a9904976293ad0b07f3b7039a25f27cfc743f0ac1e3959fc052f7b88fd48b0062e11ccf121ed2140f - languageName: node - linkType: hard - "esbuild-plugin-svgr@npm:^1.0.1": version: 1.0.1 resolution: "esbuild-plugin-svgr@npm:1.0.1" @@ -18383,7 +18359,7 @@ __metadata: resolution: "piggybank@workspace:examples/piggybank" dependencies: "@concordium/browser-wallet-api-helpers": "workspace:^" - "@concordium/web-sdk": ^7.0.3 + "@concordium/web-sdk": ^7.1.0 "@types/react": ^18.0.9 "@types/react-dom": ^18.0.5 "@vitejs/plugin-react-swc": ^3.4.0 @@ -22489,7 +22465,7 @@ __metadata: version: 0.0.0-use.local resolution: "two-step-transfer@workspace:examples/two-step-transfer" dependencies: - "@concordium/web-sdk": ^7.0.3 + "@concordium/web-sdk": ^7.1.0 live-server: ^1.2.2 languageName: unknown linkType: soft @@ -23264,17 +23240,13 @@ __metadata: version: 0.0.0-use.local resolution: "voting@workspace:examples/voting" dependencies: - "@concordium/browser-wallet-api-helpers": beta - "@concordium/web-sdk": ^7.0.3 + "@concordium/browser-wallet-api-helpers": ^3.0.0 + "@concordium/web-sdk": ^7.1.0 "@types/node": ^18.7.23 "@types/react": ^18.0.9 "@types/react-dom": ^18.0.5 + "@vitejs/plugin-react-swc": ^3.4.0 bootstrap: ^5.2.1 - cross-env: ^7.0.3 - esbuild: ^0.19.5 - esbuild-plugin-copy: ^1.6.0 - esbuild-plugin-svgr: ^1.0.1 - express: ^4.18.1 moment: ^2.29.4 react: ^18.2.0 react-bootstrap: ^2.5.0 @@ -23283,6 +23255,10 @@ __metadata: react-router-dom: ^6.4.0 ts-node: ^10.8.0 typescript: ^5.2.2 + vite: ^4.5.0 + vite-plugin-svgr: ^4.1.0 + vite-plugin-top-level-await: ^1.3.1 + vite-plugin-wasm: ^3.2.2 web-vitals: ^2.1.4 languageName: unknown linkType: soft @@ -23323,19 +23299,19 @@ __metadata: languageName: node linkType: hard -"wallet-common-helpers@https://github.com/Concordium/concordium-wallet-common-helpers.git#12cba9df452e92130566dd0b525f814dbee85190": +"wallet-common-helpers@https://github.com/Concordium/concordium-wallet-common-helpers.git#d6dd106aa892d683bcaad33189ed4043bcfc55a0": version: 2.0.0 - resolution: "wallet-common-helpers@https://github.com/Concordium/concordium-wallet-common-helpers.git#commit=12cba9df452e92130566dd0b525f814dbee85190" + resolution: "wallet-common-helpers@https://github.com/Concordium/concordium-wallet-common-helpers.git#commit=d6dd106aa892d683bcaad33189ed4043bcfc55a0" dependencies: - "@concordium/web-sdk": ^7.0.3 buffer: ^6.0.3 cbor: ^8.0.0 clsx: ^2.0.0 qrcode.react: ^3.1.0 peerDependencies: + "@concordium/web-sdk": 7.x react: ">=16" react-dom: ">=16" - checksum: e950cc5abfc3253d2df436aa44fc7b5e98ff3639e5281ac36015cefec98040aa0fae4c171fab2176f6d2a49e36355bf3212204bd8984810e54fed88bc8bb6572 + checksum: 508bf6f0d52f72ff110090e4ee2ec0e58affe2d93cdb55e26a7962d2fbe2714b9bd169ce196556a54aa4d16f13541bd6fcf6b32adc709845591cf97fc61a746a languageName: node linkType: hard @@ -23388,8 +23364,8 @@ __metadata: version: 0.0.0-use.local resolution: "wccd@workspace:examples/wCCD" dependencies: - "@concordium/react-components": 0.4.0-rc.5 - "@concordium/web-sdk": ^7.0.3 + "@concordium/react-components": ^0.4.0 + "@concordium/web-sdk": ^7.1.0 "@thi.ng/leb128": ^2.1.18 "@types/node": ^18.7.23 "@types/react": ^18.0.9