{"_id":"@2060.io/credo-ts-didcomm-user-profile","_rev":"7-e96c07cd444b2466142ded613c149c95","name":"@2060.io/credo-ts-didcomm-user-profile","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.3":{"name":"@2060.io/credo-ts-didcomm-user-profile","version":"0.0.3","license":"Apache-2.0","_id":"@2060.io/credo-ts-didcomm-user-profile@0.0.3","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"dist":{"shasum":"c3675fc4122bb246fad9590377818721f877d4dd","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.0.3.tgz","fileCount":59,"integrity":"sha512-1DW+QGbO9krth8FHY0oM0c1bEHt2li/u3bYf8Q7BbQjmMVma/LWzNCW05Gc0UCZMSqH+C+THSiABN/IBn2ar1g==","signatures":[{"sig":"MEUCIBXHfvcUB/JzamEkkocbTCgJeBqLy43w10N7BZ0sbO8UAiEAo8wr95OX8JwNhsBnS6OzmdsH1AC5c/+G1bF/LgQNSrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59594},"main":"build/index","types":"build/index","gitHead":"1fb1e6af98234833d9a9d16c56f3d5c147a3fa13","scripts":{"test":"jest","build":"yarn run clean && yarn run compile","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json","prepublishOnly":"yarn run build"},"_npmUser":{"name":"genaris","email":"gentilester@gmail.com"},"repository":{"url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","type":"git","directory":"packages/user-profile"},"_npmVersion":"10.8.2","description":"DIDComm User Profile protocol extension module for Credo","directories":{},"_nodeVersion":"20.17.0","dependencies":{"rxjs":"^7.2.0","tsyringe":"^4.8.0","class-validator":"0.14.1","reflect-metadata":"^0.1.13","class-transformer":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node-dev":"^1.1.8","@credo-ts/core":"^0.5.10","@credo-ts/node":"^0.5.10","@credo-ts/askar":"^0.5.10","@hyperledger/aries-askar-nodejs":"^0.2.3"},"peerDependencies":{"@credo-ts/core":"^0.5.10"},"_npmOperationalInternal":{"tmp":"tmp/credo-ts-didcomm-user-profile_0.0.3_1727393239871_0.22944403691866944","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@2060.io/credo-ts-didcomm-user-profile","version":"0.0.4","license":"Apache-2.0","_id":"@2060.io/credo-ts-didcomm-user-profile@0.0.4","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"dist":{"shasum":"06140768cb56fec8edb643f646f6f7aaa89337ce","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.0.4.tgz","fileCount":59,"integrity":"sha512-2HnrZODr38t9pgTH6YU0UbCG6FSmD7yv7hwvZi78FQ+5IpQ+YLy7wyYQwjsvxGXh11lmYbYlIX9Ra9LK9SB0vQ==","signatures":[{"sig":"MEUCIQDRwcQEq/HkY1VhJ08/rfOkKrV8pY+VD8HK+U6pqgbBiwIgE4W1LFlYMClTQE44FY5/RjPYWU0XPh6B9w4Jsi4BPGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60358},"main":"build/index","types":"build/index","gitHead":"8cc5fd43c6b5aa9e8a1ba26a4f5626c8689d98ce","scripts":{"test":"jest","build":"yarn run clean && yarn run compile","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json","prepublishOnly":"yarn run build"},"_npmUser":{"name":"genaris","email":"gentilester@gmail.com"},"repository":{"url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","type":"git","directory":"packages/user-profile"},"_npmVersion":"10.8.2","description":"DIDComm User Profile protocol extension module for Credo","directories":{},"_nodeVersion":"20.17.0","dependencies":{"rxjs":"^7.2.0","tsyringe":"^4.8.0","class-validator":"0.14.1","reflect-metadata":"^0.1.13","class-transformer":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node-dev":"^1.1.8","@credo-ts/core":"^0.5.10","@credo-ts/node":"^0.5.10","@credo-ts/askar":"^0.5.10","@hyperledger/aries-askar-nodejs":"^0.2.3"},"peerDependencies":{"@credo-ts/core":"^0.5.10"},"_npmOperationalInternal":{"tmp":"tmp/credo-ts-didcomm-user-profile_0.0.4_1727717757362_0.34481591854534566","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@2060.io/credo-ts-didcomm-user-profile","version":"0.0.5","license":"Apache-2.0","_id":"@2060.io/credo-ts-didcomm-user-profile@0.0.5","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"dist":{"shasum":"56115c93005f5166d1d60a36a6981690dd402ae9","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.0.5.tgz","fileCount":59,"integrity":"sha512-KgXhN1oHx8eDY3jol7MhIvdyPeU0dy5Cn2uWLDDkY+1sQRt0IP3KE2vDSaFCwSnzYgUlw0d9fIVTczUENj6cHQ==","signatures":[{"sig":"MEUCICtJW7oFZGzXoMM4R/noA0+bmCD+l7vNvQFFqEjFhVWIAiEA8UoY9tsvrraOR/7Te+B8UofjlQ23ZXFXfTlTJgM3v98=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61011},"main":"build/index","types":"build/index","gitHead":"02ee3083f45525c12736a5d98e5b3e4da6b142ad","scripts":{"test":"jest","build":"yarn run clean && yarn run compile","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json","prepublishOnly":"yarn run build"},"_npmUser":{"name":"genaris","email":"gentilester@gmail.com"},"repository":{"url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","type":"git","directory":"packages/user-profile"},"_npmVersion":"10.8.2","description":"DIDComm User Profile protocol extension module for Credo","directories":{},"_nodeVersion":"20.17.0","dependencies":{"rxjs":"^7.2.0","tsyringe":"^4.8.0","class-validator":"0.14.1","reflect-metadata":"^0.1.13","class-transformer":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node-dev":"^1.1.8","@credo-ts/core":"^0.5.10","@credo-ts/node":"^0.5.10","@credo-ts/askar":"^0.5.10","@hyperledger/aries-askar-nodejs":"^0.2.3"},"peerDependencies":{"@credo-ts/core":"^0.5.10"},"_npmOperationalInternal":{"tmp":"tmp/credo-ts-didcomm-user-profile_0.0.5_1727719500354_0.3453001989235913","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@2060.io/credo-ts-didcomm-user-profile","version":"0.0.6","license":"Apache-2.0","_id":"@2060.io/credo-ts-didcomm-user-profile@0.0.6","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"dist":{"shasum":"6cacd3e3146022589b7d22451953b598352b5c16","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.0.6.tgz","fileCount":59,"integrity":"sha512-W2UMVc5JcQq1e1AVCJKFIpPcolJknu0/Yg9V3FmSnm1pVSa6ZI6a0K4wNMO/uJvsAtNlWYrDRhbjPWjED/ng8g==","signatures":[{"sig":"MEUCIAfD1UxUR79SRaW3Ksjgd3ArDv+s5IyZAAFFqRtRnNztAiEAsq9q6cbihag84kPYUZ07MgrhlfxzO1jeo0REgB02ozU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61523},"main":"build/index","types":"build/index","gitHead":"485bbe5fe139e572a6de4422011420c669f45e1a","scripts":{"test":"jest","build":"yarn run clean && yarn run compile","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json","prepublishOnly":"yarn run build"},"_npmUser":{"name":"genaris","email":"gentilester@gmail.com"},"repository":{"url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","type":"git","directory":"packages/user-profile"},"_npmVersion":"10.8.2","description":"DIDComm User Profile protocol extension module for Credo","directories":{},"_nodeVersion":"20.17.0","dependencies":{"rxjs":"^7.2.0","tsyringe":"^4.8.0","class-validator":"0.14.1","reflect-metadata":"^0.1.13","class-transformer":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node-dev":"^1.1.8","@credo-ts/core":"^0.5.10","@credo-ts/node":"^0.5.10","@credo-ts/askar":"^0.5.10","@hyperledger/aries-askar-nodejs":"^0.2.3"},"peerDependencies":{"@credo-ts/core":"^0.5.10"},"_npmOperationalInternal":{"tmp":"tmp/credo-ts-didcomm-user-profile_0.0.6_1727722670314_0.013941247414428037","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@2060.io/credo-ts-didcomm-user-profile","version":"0.0.7","license":"Apache-2.0","_id":"@2060.io/credo-ts-didcomm-user-profile@0.0.7","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"dist":{"shasum":"c3c652b01252affb5d37ec76871845c4a13d2f5c","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.0.7.tgz","fileCount":59,"integrity":"sha512-glV4qwuCmvkaH12wljY1MUuxHLsO9y94IzpW+wnFUBk1NePHwvvnQ+JyERA8helTqMJTwcpPBNIKGFphahvr/A==","signatures":[{"sig":"MEUCIH8WKzQAKPXwf8zPRYZGLWiGYLry76b7uFbI0np7qOA6AiEA96CQau6NB26W5h/eb3nbqNRmP0jGmADz/TNSzNQk67E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64393},"main":"build/index","types":"build/index","gitHead":"b4176be5aac795e2891f23ae87f11b9755e3305e","scripts":{"test":"jest","build":"yarn run clean && yarn run compile","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json","prepublishOnly":"yarn run build"},"_npmUser":{"name":"genaris","email":"gentilester@gmail.com"},"repository":{"url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","type":"git","directory":"packages/user-profile"},"_npmVersion":"10.9.3","description":"DIDComm User Profile protocol extension module for Credo","directories":{},"_nodeVersion":"22.20.0","dependencies":{"rxjs":"^7.2.0","tsyringe":"^4.8.0","class-validator":"0.14.1","reflect-metadata":"^0.1.13","class-transformer":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node-dev":"^1.1.8","@credo-ts/core":"^0.5.13","@credo-ts/node":"^0.5.13","@credo-ts/askar":"^0.5.13","@hyperledger/aries-askar-nodejs":"^0.2.3"},"peerDependencies":{"@credo-ts/core":"^0.5.13"},"_npmOperationalInternal":{"tmp":"tmp/credo-ts-didcomm-user-profile_0.0.7_1761597425914_0.047135922542492326","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@2060.io/credo-ts-didcomm-user-profile","version":"0.0.8","license":"Apache-2.0","_id":"@2060.io/credo-ts-didcomm-user-profile@0.0.8","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"dist":{"shasum":"0f27e52ab54f4200637a84c226154e6640ff4bf5","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.0.8.tgz","fileCount":6,"integrity":"sha512-67Zfd5MD4buh6FxRBBcYYYMKb+jbel3bqFreAJby/GiP1I0ZlV/Owo0FCWRO/k7D5uDNS1VSmleuPXZ8nfcxaA==","signatures":[{"sig":"MEQCIFU4YHWLBjBoMBXxo1LOYH/Yxm+ZrkmEZeWEhDgLDzXKAiADa98XnSjI3NT+c0Uevo/SEZGwuHFXotqGZRvQ02CHfA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2060.io%2fcredo-ts-didcomm-user-profile@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":74053},"main":"./build/index.mjs","type":"module","_from":"file:2060.io-credo-ts-didcomm-user-profile-0.0.8.tgz","types":"./build/index.d.mts","module":"./build/index.mjs","exports":{".":{"types":"./build/index.d.mts","default":"./build/index.mjs"}},"scripts":{"test":"vitest","build":"tsdown --config ./tsdown.config.ts","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aedeb29c-07f7-4f26-ac54-1a04f3e4b131"}},"_resolved":"/tmp/3b5fb474b7a0d6bf774f5b124e663abd/2060.io-credo-ts-didcomm-user-profile-0.0.8.tgz","_integrity":"sha512-67Zfd5MD4buh6FxRBBcYYYMKb+jbel3bqFreAJby/GiP1I0ZlV/Owo0FCWRO/k7D5uDNS1VSmleuPXZ8nfcxaA==","repository":{"url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","type":"git","directory":"packages/user-profile"},"_npmVersion":"11.7.0","description":"DIDComm User Profile protocol extension module for Credo","directories":{},"_nodeVersion":"22.21.1","dependencies":{"rxjs":"^7.2.0","tsyringe":"^4.8.0","class-validator":"0.14.1","reflect-metadata":"^0.1.13","class-transformer":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node-dev":"^1.1.8","@credo-ts/core":"^0.6.1","@credo-ts/node":"^0.6.1","@credo-ts/askar":"^0.6.1","@credo-ts/didcomm":"^0.6.1","@openwallet-foundation/askar-nodejs":"^0.4.3","@openwallet-foundation/askar-shared":"^0.4.3"},"peerDependencies":{"@credo-ts/core":"^0.6.1","@credo-ts/didcomm":"^0.6.1"},"_npmOperationalInternal":{"tmp":"tmp/credo-ts-didcomm-user-profile_0.0.8_1766088038900_0.6301249944273695","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@2060.io/credo-ts-didcomm-user-profile","type":"module","main":"./build/index.mjs","module":"./build/index.mjs","types":"./build/index.d.mts","version":"0.1.0","exports":{".":{"types":"./build/index.d.mts","default":"./build/index.mjs"}},"publishConfig":{"access":"public"},"license":"Apache-2.0","description":"DIDComm User Profile protocol extension module for Credo","homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","repository":{"type":"git","url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","directory":"packages/user-profile"},"devDependencies":{"@credo-ts/askar":"^0.6.1","@credo-ts/core":"^0.6.1","@credo-ts/didcomm":"^0.6.1","@credo-ts/node":"^0.6.1","@openwallet-foundation/askar-nodejs":"^0.4.3","@openwallet-foundation/askar-shared":"^0.4.3","ts-node-dev":"^1.1.8"},"peerDependencies":{"@credo-ts/core":"^0.6.1","@credo-ts/didcomm":"^0.6.1"},"dependencies":{"class-transformer":"0.5.1","class-validator":"0.14.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0","tsyringe":"^4.10.0"},"scripts":{"build":"tsdown --config ./tsdown.config.ts","clean":"rimraf -rf ./build","compile":"tsc -p tsconfig.build.json","test":"vitest"},"_id":"@2060.io/credo-ts-didcomm-user-profile@0.1.0","bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"_integrity":"sha512-jrg6zepDBceFp/BYZTNg+k5NSDfuhpcv4MGd1KU9T9N5Oxdo+Hh4TDpZ0iISZ88l25EW/SSUM8YYwiYNYl2Cjw==","_resolved":"/tmp/b892b6b47ac475c975b8536456b9e1bd/2060.io-credo-ts-didcomm-user-profile-0.1.0.tgz","_from":"file:2060.io-credo-ts-didcomm-user-profile-0.1.0.tgz","_nodeVersion":"22.22.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-jrg6zepDBceFp/BYZTNg+k5NSDfuhpcv4MGd1KU9T9N5Oxdo+Hh4TDpZ0iISZ88l25EW/SSUM8YYwiYNYl2Cjw==","shasum":"c03ac59beb0c88b8fe7d0984a37efa02fd0b9aaf","tarball":"https://registry.npmjs.org/@2060.io/credo-ts-didcomm-user-profile/-/credo-ts-didcomm-user-profile-0.1.0.tgz","fileCount":6,"unpackedSize":74978,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@2060.io%2fcredo-ts-didcomm-user-profile@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDy/oee+frdaZWRkSKhT7enGvB71jiYcD7cZHFGLijKHQIgD8Yd8XSZE6cXzzPPY0LxvSQ1ni18XW0hhWuJ8y+GEUM="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aedeb29c-07f7-4f26-ac54-1a04f3e4b131"}},"directories":{},"maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/credo-ts-didcomm-user-profile_0.1.0_1773177725096_0.7145132916960506"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-26T23:27:19.790Z","modified":"2026-03-10T21:22:05.527Z","0.0.3":"2024-09-26T23:27:20.143Z","0.0.4":"2024-09-30T17:35:57.540Z","0.0.5":"2024-09-30T18:05:00.522Z","0.0.6":"2024-09-30T18:57:50.521Z","0.0.7":"2025-10-27T20:37:06.104Z","0.0.8":"2025-12-18T20:00:39.037Z","0.1.0":"2026-03-10T21:22:05.253Z"},"bugs":{"url":"https://github.com/2060-io/credo-ts-didcomm-ext/issues"},"license":"Apache-2.0","homepage":"https://github.com/2060-io/credo-ts-didcomm-ext/tree/main/packages/user-profile","repository":{"type":"git","url":"git+https://github.com/2060-io/credo-ts-didcomm-ext.git","directory":"packages/user-profile"},"description":"DIDComm User Profile protocol extension module for Credo","maintainers":[{"name":"genaris","email":"gentilester@gmail.com"}],"readme":"# Credo extension module for DIDComm User Profile protocol\n\n![Credo logo](https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png)\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://raw.githubusercontent.com/openwallet-foundation/credo-ts-ext/main/LICENSE) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](https://www.typescriptlang.org/) [![npm version](https://img.shields.io/npm/v/@2060.io/credo-ts-didcomm-user-profile)](https://www.npmjs.com/package/@2060.io/credo-ts-didcomm-user-profile)\n\n## Overview\n\nThe **DIDComm User Profile** extension module for [Credo](https://github.com/openwallet-foundation/credo-ts.git) enables secure, decentralized sharing and updating of user profile information using DIDComm. It provides APIs, message handlers, and services to manage profile data between agents, including display name, profile picture, description, and preferred language.\n\n## Installation\n\n```bash\nnpm install @2060.io/credo-ts-didcomm-user-profile\n```\n\n## Usage\n\n### Adding the Module to Your Agent\n\nTo use the User Profile module, add it to your agent's modules configuration:\n\n```typescript\nimport { DidCommUserProfileModule, UserProfileModuleConfig } from '@2060.io/credo-ts-didcomm-user-profile'\n\nconst agent = new Agent({\n  modules: {\n    // ...other modules\n    userProfile: new DidCommUserProfileModule(new UserProfileModuleConfig({ autoSendProfile: false })),\n  },\n})\n```\n\n### Handling Profile Events\n\nThe module emits events when profile information should be updated or shared. Subscribe to these events to handle profile workflows in your application:\n\n```typescript\nimport { ProfileMessage } from '@2060.io/vs-agent-model'\n\nconst msg = JsonTransformer.fromJSON(message, ProfileMessage)\nconst { displayImageUrl, displayName, displayIconUrl, description, preferredLanguage } = msg\n\nawait agent.modules.userProfile.sendUserProfile({\n  connectionId: connection.id,\n  profileData: {\n    displayName: displayName ?? undefined,\n    displayPicture: displayImageUrl ? parsePictureData(displayImageUrl) : undefined,\n    displayIcon: displayIconUrl ? parsePictureData(displayIconUrl) : undefined,\n    description: description ?? undefined,\n    preferredLanguage: preferredLanguage ?? undefined,\n  },\n})\n```\n\n### Features\n\n- **Profile Sharing**: Share user profile information securely between agents.\n- **Profile Update**: Update profile details such as display name, image, icon, description, and language.\n- **Event-Driven**: React to profile update events for seamless integration.\n- **DIDComm Protocol**: Uses DIDComm for secure, interoperable messaging.\n\n## API Reference\n\nSee the [source code](./src/) for details on available classes and methods:\n\n- `DidCommUserProfileApi`: Main API for profile operations.\n- `DidCommUserProfileService`: Internal service for profile logic.\n- `DidCommUserProfileModule`: Module integration for Credo agent.\n\n## Message Types\n\n- `DidCommProfileMessage`\n- `DidCommRequestProfileMessage`\n\n## License\n\nApache 2.0\n\n---\n\nFor more information, see the [didcomm.org](https://didcomm.org/user-profile/1.0/).\n","readmeFilename":"README.md"}