diff --git a/package-lock.json b/package-lock.json index e4ccf88f..21d2dcdf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,6 +33,7 @@ "ethereum-cryptography": "^2.0.0", "ethereumjs-util": "^7.1.5", "ethr-did-resolver": "^8.0.0", + "jdenticon": "^3.2.0", "js-generate-password": "^0.1.9", "localstorage-slim": "^2.4.0", "luxon": "^3.3.0", @@ -12049,6 +12050,14 @@ "resolved": "https://registry.npmjs.org/canonicalize/-/canonicalize-2.0.0.tgz", "integrity": "sha512-ulDEYPv7asdKvqahuAY35c1selLdzDwHqugK92hfkzvlDCwXRRelDkR+Er33md/PtnpqHemgkuDPanZ4fiYZ8w==" }, + "node_modules/canvas-renderer": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/canvas-renderer/-/canvas-renderer-2.2.1.tgz", + "integrity": "sha512-RrBgVL5qCEDIXpJ6NrzyRNoTnXxYarqm/cS/W6ERhUJts5UQtt/XPEosGN3rqUkZ4fjBArlnCbsISJ+KCFnIAg==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/case-sensitive-paths-webpack-plugin": { "version": "2.4.0", "resolved": "https://registry.npmmirror.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz", @@ -17798,6 +17807,20 @@ "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", "dev": true }, + "node_modules/jdenticon": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jdenticon/-/jdenticon-3.2.0.tgz", + "integrity": "sha512-z6Iq3fTODUMSOiR2nNYrqigS6Y0GvdXfyQWrUby7htDHvX7GNEwaWR4hcaL+FmhEgBe08Xkup/BKxXQhDJByPA==", + "dependencies": { + "canvas-renderer": "~2.2.0" + }, + "bin": { + "jdenticon": "bin/jdenticon.js" + }, + "engines": { + "node": ">=6.4.0" + } + }, "node_modules/jest-environment-node": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.5.0.tgz", diff --git a/package.json b/package.json index de2f9cad..f2eb5a6b 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "ethereum-cryptography": "^2.0.0", "ethereumjs-util": "^7.1.5", "ethr-did-resolver": "^8.0.0", + "jdenticon": "^3.2.0", "js-generate-password": "^0.1.9", "localstorage-slim": "^2.4.0", "luxon": "^3.3.0", diff --git a/src/components/EntityIcon.vue b/src/components/EntityIcon.vue new file mode 100644 index 00000000..00298492 --- /dev/null +++ b/src/components/EntityIcon.vue @@ -0,0 +1,19 @@ + + + diff --git a/src/views/ContactGiftingView.vue b/src/views/ContactGiftingView.vue index dc32988b..0f2a5e3e 100644 --- a/src/views/ContactGiftingView.vue +++ b/src/views/ContactGiftingView.vue @@ -24,8 +24,12 @@