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`. -->