{"_id":"@sphereon/ssi-sdk-qr-react","_rev":"41-ec8252e1ecf20bdf49a1c0b9baabdfdc","name":"@sphereon/ssi-sdk-qr-react","dist-tags":{"unstable":"0.9.1-unstable.20","latest":"0.9.0","next":"0.9.1-next.55"},"versions":{"0.8.1-unstable.227":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.227","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"b7ab1a095dcff2bdacfd93c99a68baf8ef37146f","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.227","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-d00Z0jfodaZihhROkml2MyMyRSx+IJbYDB9l7N8IkQODm5Pu0iyHcy4uW1nYSahvqoh3R0aHXmirKmKwP/ijlA==","shasum":"45e22a75cfd1995cd1360522a4df228a1b3f9e7a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.227.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbRV7DBhwfjYuVhWm7Gj9EEQbbEQ+LMYRtaKVAXAOCeAiEA42Pqjv8yQAjAM076ptnISI7OsKjIQiu/VLvwtHg+8XY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+V5CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqh1g//a5ZNwWG5Hmx9sMeNCkS+4BTZEZ/5RLqwVR5HexNsd5ZVwST2\r\nj5dcQ9newRRuIbR1/XwnUaGB2vpOxF/xol0FNAu4H2VB1G73HqGKS9fCzXJo\r\nAxFcvelyGAEjaxUBBnjGb2u3fT3XAzROWWB7iRYGsnaWcw1EtPOLEaH17FMu\r\n5Mj6Xs+9nRJvsW8h9fbQOOgwzBSXZhbJzJeis72iNdw9T2GDwwTdPu4jRvWA\r\n1eVnXVfLxZVjSCOi2/SAvQpVE4Q4EvYN4z2CMBswLbS7w+A+bafdL/gXIJY2\r\nh+MzDdtxtDYkcfQQzZxNCy1RHvTLg88rSWZjefLRdxhpZu5yDm4JF42eQzKK\r\nBR9wrb31J9qHofXnmHQmNv8ibnFDvREyLuNj1hIy5/Trnb9gbkfNKEMWa3pN\r\nFEghL1aAbhy3KoIoS6Peb0YtQvnWwxrNiGNZ80yK0IICBg6rcWGJ/Zy/7FZa\r\nytTuH9BlQ9i8Ap/JOCcuwbcEKY/4Zipl1KxZVOFvkdVq3zGMNmONSA76ZEK7\r\nPSCU9rwUfKiV51Qbya+73N6RGgsSUQb6vPMIEacH2y30NLwenuH2o8JgZCIO\r\nnS+PXsEy/lmIFFpX3oh2aCEY3HJUcpZb5Y/ro6KxOJBjwfrxhwIJH1A5kXLg\r\nUPisYQPSXicOKFihGLLM3XLGvoPnaMYL9CU=\r\n=72qW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.227_1677286978430_0.013578550323691374"},"_hasShrinkwrap":false},"0.8.1-unstable.228":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.228","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"d19bd2efe1ada5c3854de7b86cd6e2e13689d86a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.228","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-X7rHe7rM7n4/wizILsz98pEHJDYCok8Sz8hk3Ke/yYwtM1bOPL8ktvU9t/y8wA6zeLMNWlraM+4MWFNawTSSpA==","shasum":"6a0da5a6f8e248d4e07b94109312f6af5abbba7e","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.228.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+zWQMGr8u45a7IUHYGRKrB05Fo4xTUcVmpjnc1wdxUAiA4vWCnJqzHlS1B06iFYz9abFNkueJUYYQYAcS60Lw4ig=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+tD4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDaQ//XTBQkM3WySftcFWpFe9KEy7hUZ++62/3KSCCf192jYAqQKGT\r\nEq2Zt8MpcQs1vY5f9Pa8nzBi7sfbSO/tFCDmZ4o8zBRT/VN0c4HRiBGOOUqz\r\nIM+Wic1b2s0gY09YVMEZsEvIVk2riIIw9nmNFKcZayzaRn1Q4TlOP+QE/sUd\r\nkbmG7uyoEFo1DeGWJ5n8LrHPrYqcdzt3aOB9hcGpjmDbjIVa2D3s3fyMyBc3\r\nkLPbibyWGPN7oIRVqs9bO6DWFP4yHw9gDyfvl5nr7pk0qQnN5tQvE0uAJo/c\r\n5DZtuB8BMjFlE8bgFANUfffp5fOJS7QmlydHC8PUKz59da/AGu+J19f5Nu1v\r\nUZUX7x4xuyGiow8ngg8nRqYJCzwJM/SLsq5+5yLZ/gJ/NbCgZ0j6G6fOMB8w\r\n4zxkPTo3QTlUbrq8MgMZQXGAT6lu4cmRBnLCr0XtI8H53Robr4H8+azDnBpV\r\nEX2qETTmhKXkw7eF/i1IFqE7wQ5ilMJDpy9o2Oq2BtEutJXtCbK+BPJs0q0o\r\neQhSdG6nV+9x54iEeW2XRxOQYKNz0AdXMQbmKhXyCT7PDY7RSrtBzyJhXdAM\r\nb8G0lQ+/sR3l2XVKhLPPadiGVKEC3ARNTKua7qeS1saqurb3CrdjR0wx1YWo\r\n7zy3Ro+jU2PdATqgCagzAp0WiYIwaySYnFM=\r\n=RGZj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.228_1677381880344_0.5433053496479754"},"_hasShrinkwrap":false},"0.8.1-unstable.229":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.229","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"457a5f8f586050881b170d35c89716f9b72dd139","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.229","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-+KhVnVf5ax6cFzfW8fUiSQpjEHu79bLd8Y0UIe40lQ5/t6whOJBG6kND0cFieP3S1dP6wqLmu7U1cIFRdooWTw==","shasum":"61b37b175b95060df6a7e129fc0596d1a6db6cdb","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.229.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSAlih7r3/PWNFG1XASpeZE0a/U9NVg7Nho5/piCMatAIgQDHW2xbqgdHnlNqrXQ6YQhdIyZGttwEp7ZGc7APPHyA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+wT8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmofdg//UAY3Owe1FBTlIV9JkottoxwWzK9ze/53p6xxM4O38grJYSSJ\r\nHzdKYFB1g9FaZKjDBT6tP+hxdH9DExWhfiHMAlPVLSM28+8+oZFZB2fHjEVT\r\nvwyAYovVn+IDgbBwZ8Mck+1JxkhCBeLPBlhMpH0P1WPzJXbiShMcQLNLLDFJ\r\nRHcwFS0xaoThB3rcI0+j0JBTqMrhHkrTh2PwZxBshvQMENMAb0d6rUS/UY8S\r\nmBb77QUdvTZCkAp2CGTUqVPjftUXU/kQ28K+QhqnR2GbxEYrzkOWWACpHZSm\r\nxeordcyMj8jE0wAFclxSk1rczilvdZx7Q/kC2k/YjZmz1pPk/9EzFRQElA0C\r\nnadk2Vzx7TOmSpT6e2+kte5VGEB3iK6IsRVU9ub8usarzXYMZXgmURIVASpA\r\nleigt1VMYes8YXdQtDT+FlXwnd2RUpkkbBO50SwDaEL9jMPRw5NqL2GI97eX\r\n/QZ+0QM/JZGBX/87fTCAioeu5J+3aEt/kfljjnccwd3GF1xTkpGByzPS9O/F\r\n+2DwmeLA0A3RWGUjb2I/ks5ISGSd/AJ1Q3L3ekiQAtbS6URpAo2D3n2Bpqmo\r\n5+cOfCESP+qf6qzV+lQ/RQm9NGuIsBfn1fDwbc84dgEzA1wYJfDSA1Jxlim6\r\nwR9VoU14d6TKaeLf7neSxP1Eu0/FHZAUmvA=\r\n=PON+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.229_1677395196382_0.7687954700838677"},"_hasShrinkwrap":false},"0.8.1-unstable.230":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.230","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"11393527630c48fdb34f5f2394b96305a9597ac3","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.230","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-jwDdrH0FWFGWvCado7AQW1inbvagvm9JAF317gbwKQzkpBLNBVWCquNdO40E8Z4sRQyi5g4DE3uT99pGppQI9w==","shasum":"5951e9192e7f0e6675ca04eccc4531f9ec5f1372","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.230.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgNq/A/jevUSFw1ciEoi9tt9rTsYRTeKCAfZmm43vQ1AIgc980oCov1uO+wlfl3dDHXbDtE4yb0N+HSzGE9/baNNA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+wvjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmMBAAjLXFw2vDtEtKmiw2TO3Fyr96f69vPm2ZASqSYK5qLW8th3Qb\r\nA26E/rebutZD0/PAGvyQuN4R8Wtu1GcHzrqbftx+94o9xp0MpyB7VX8xHOFg\r\nBvEIMb/HZVICmKGZiQSRxYFkLLDn5jYsSD9dp6KKqQuh3FiGfynx42HjHy7v\r\nNC33uaE7d+U7oJj7dXwbeyOMgINxEC4BM8iqB8Y68oacjwxpRISIkxmq5ZA9\r\n0j7adYGaLo4NFcJL/n5rFd2u7kUWMlrHAvD8UikoDo+Auykq/HRWrsaXQhBM\r\nAydgDqAlF3Ja0kLH/iWhzlCDiUjSsqA+V5+HkO3BrRy5l5QdU/Z/SXvD6HVq\r\nziWOppHsvbV1aAleKJJU+DaOWNSi8tWa2MyvW6OdXS689jtfr4z23ZaKzgJ9\r\nbaSFCT4e07HMkLi35/BMiT+8SVHLZ5PGwFxpOK5XZ4lUtxHwrSXFPuahvPYf\r\ndcEp/bBPWjnhBB5np8lNLkvd8YJoYGgNzLPKOnLLFuNGY+9EXsT9JTgA53cK\r\nxWBgkZXof2QYPiOttyOJ5hn9jc+f7rbA/tKKWROmKegeCTMMABf2H1BS7S0N\r\nYzD/Py45TXd0kiFCmD7uYQmKqpNAwzH/HTRrBDkl0sXfnPnFCWNYHEDFYNgj\r\n5KWLruWYy4IhFasjK8Ol7cwMAPUFj5jkM3o=\r\n=r++G\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.230_1677396963058_0.4332479431343472"},"_hasShrinkwrap":false},"0.8.1-unstable.238":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.238","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"ec062f8ec01de800469ef10b05b0a79a5ba5dea7","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.238","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-qBjVdFygUF1C66dQc3SaoQ7IWur73F/oagiTxG0HRl/jr2NH55FAqQXfCBLY5mzXpG3YamrSdxSqLRKI8EHVwQ==","shasum":"4dc72bfca450474d0617f291da84657f5ffe6fc7","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.238.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzOkTGpX3fHygrdMP1sYhl9vqzzmyUMuSAB8NYZbi+OwIhAI5PbxlixZNLOlFtKfL9n9UlWMFGQ4DEv1AsPP/4JiSg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+ytaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0uQ/+OmPryQJGFh4RcXCgHrVNo6B1uboDeNPreiTa7kOKTqimp1Jn\r\nXro496wVK19FekK4UCOi07Vn5TDQGfwnzuxAtz5PpKaa6TO4Ao/onNNXwZnb\r\nlK/VsYgBA5LKg9nlKe41ATKS6050jQAsb1eEbSnOnNS1ePrNtbbu3sMv1okK\r\nPs78j3g+OSvthYO0QT3zL8O2TY44codRG4/tuJlSMSI5N++OziOsgrco5o/E\r\nMlsKlQHMXgnsLZNgoDqkyLgtQyCx8HCFG1Et6BZuJ2w+HlYSFYN/Vgb4TtWJ\r\nOarn6Un6Q4xHP4LyA1/9d79iXav+U/FeyZm7e8fVGx5sq/NgZZw1Yr98M8U3\r\nOlqDHwAbkB+ZHAZ4mAzrp3874sZBtYSMMEVOOe0XjYLzgHBwSYlx6PZGbUTE\r\naSVOq+6Q80IHKscc8K8DEPn0Qupdxh9sgnFU7sOOe4btJla18KU6vKzn2e5b\r\n60NGj37o61S3rivQoTYJS1GLAbfjPTjhQ5KhbkUCYy7i5g0nUjShapiBgoDr\r\nnWQw/tZZqrz80jsczpXy3SFdHd8CEG/PF+45Sy8zq1cn9OpfJ3Gl/fTazT4B\r\n1FOCyveR0DgiuAoKr2x9I2hRJ+3cEAsGeNAp+KALlA7DcboxpKGLXZncLm6n\r\ncMwaLGnBh4YgsCe1N0mzT2jF/+RTeP2WCSg=\r\n=sWES\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.238_1677405018244_0.3705039470835203"},"_hasShrinkwrap":false},"0.8.1-unstable.239":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.239","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"ffdc606a95d43d831fa9fe2eabfacf47e62d1361","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.239","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-ugQRIzXPk3T2jMr84DnlWUNVL9rkC7i4lqVOKeilLTSM0tJoUtJKB2vxP5x8KHKGpYw4hyAwXaebUUP/8ZpwrA==","shasum":"4737bf58f8044774b4fb387bb633723c91275078","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.239.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8V6Kx8f1QPtxZpFAXILJw3lG4UOBRX+yEbKFSxZwdegIhAOgHf8Auu3Xg8EksbCeEdSiVME3ZIWdrkG8A0m3ohPxy"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj+43IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4PQ//RTquj5FkF7NLDTOwjhFjBi8O2LaXf7IcgYNfcGgF2RtHuzDA\r\naMzyumgSTKDHqRIUyQS6uFPaVWSOys/MACeZXl8IWS2BA3qH/tyVS6/038kO\r\nB8bAUT10bdFciBIzn0Xajf6hFkrOw1x4pvta2TXvjtqlm0wrPTyEiCJ/j7Yo\r\nWShw26QzFgvM+8qa8Nw2QnEN63r4wpIOpN7MMGO32DclmCVL1Qk0Xc3rSHhJ\r\nbQLihVTjaL2Hin8yWK1R1sDZVWA1jxSbGcuQnZUs46POGtQHQGTSl37UVdgw\r\n6A4DZR5PEeadpvZJC9han4eJA9258ubn3DCfAWio7CtXleeSGsKk+wKe5Jqy\r\nSvWlKeAba0PSzEEzyZoHRsJQvlNY9vX8ByjW8+GUfmMnAw80/56lkSvUh5q1\r\nPqqn0TnzhBssK8VgSPsU7bnY2rpFbSwc6o2AxlbejN2/CqtiEVh/bCe7JY2B\r\nEwcl7HrRoOd8bhpNhyQmvWa4FJoLQgQbEgN5isQcBb3l+E6uVHmXuJ90+a8x\r\nSdMl0QsgZt4eP1quMiuN35BXpKzOHmDOqNU9wXf8V1ajXTgmUh+/bjJb6O2T\r\n7HZQx1KSXVzHxVAOWIzhn7uYB3m5QgWuX0E4NBrhuHcSnAns+RF7SkCj14LB\r\n8T1frJ8hCa5sVTTssJfTLdpY3/PXiCwakbs=\r\n=RTqe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.239_1677430216604_0.4343115430914295"},"_hasShrinkwrap":false},"0.8.1-unstable.240":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.240","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"2fcf72d1acff4ea1b3b09543c37b75d098eec2e2","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.240","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-7ZldFTHYm+OrjwGHfvjrbqwLVg4Ax10AaAxRiNXEMF1V1z3cHSaZ3vfKfaBQBBtZFRakksPWVx/7d7YX7yXI7w==","shasum":"878c10ca2171e5f50bff178d43aadfac4fb6f20c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.240.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACq8blVeoQI4aMiiMEmX/8lz2m7wUBI6eYcxJEZuZ6uAiBll/9MLzo4tELhkyZjuu1APQ3VJdfBydh44UPQICx8KA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj++y/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0HRAAlCkWrZqzgUYE4mppfkUsGHqtwtWVi/UkPU7qgbN/d7yZ95Sq\r\nbCtz3D4EtCRn8wlnqo7zkvUyg0VHd/fLTsyM4we9UEyBPLXqbaWb+Zcexe8W\r\n01aFMa626ftbjW8VV/c0k14m6/G+KKPthLigS00LarnptHWYZDxPaXlohiKR\r\nf2ZF9UYeHwb6JzhWx1irqEtmyeWv9CIHX/yLtX9xX/9rNwQsblQxmRE7uIF3\r\ncVkGr7x+ZHTD+PUcNzmvzDfjSoY5Ohbz0RZbnE5fB6+lh+viHdkpMm+T6pxL\r\nx7/utLNNNyIBroQE7Blo5p0kJ8GdDdOa1OkVzaq709kvg5t8vK+CLppL9QxB\r\n/r00xvFfz+uFaLVuVTSrl2FrUjjkEdq2BCphi1uuB9wsMorWSYJ8xk8pAgeB\r\nvI176NRs4IOzs8g4g1xjYyAJUtYVWHw2SxKKgd5FAvajVG0uvcdjGu9LrNZr\r\nGsbFv72e2jKjVIq8WmKiz6Cf1aBQt2jMDWiPqlvzj/jI7zvDi4PyVVs6gYLb\r\nlOSwlsUt0mdkr7Bpm3Pu6PY1MVrLBqLm5MciBBgoaz+Yqv+QjIOeM3shIkhC\r\nPGT0Ny2LPdjqJQpUMplS/9q97RlGuKYKLL9zT8NsuvJrNuouypymDUGtnUY0\r\nXtZxysQm3UXiLDeRXxfa8tzRYAREZ2DA4JU=\r\n=DeTd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.240_1677454527031_0.4417634398913002"},"_hasShrinkwrap":false},"0.8.1-unstable.242":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.242","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"7ed072708585d2479928bd4314ce3244761c7f4e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.242","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-JtjMjV8cxpTvP9SqF9diQuFqy29PozSggPkY7GCUVE8a9xCnVaBoV/54h5zZoE3S/M0GqtXkWd8jfJc0rDf7hQ==","shasum":"a4e45ede14d605cd4323d576c0b9c393531a32d3","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.242.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFe+g9R0HJtJyarr0Hu5bwv7dX/VxPR3cecVCnJ0B3AzAiEA4W2BljqdmtSfIbJ6U6Xn88jlOHrubVWAxuCHzcxTrik="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/A6dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIxw//bycs+MYrplWxu//x7YotpUpKVtf/CpQv1hA7lI5mn+I+C0OA\r\nqLUjklx0fIsnPjHmSYgcxHJpUPyb77YbNpJV/bZWADtZ8QXaZfWAmIS0qNF0\r\niTnRV4YHxugQ1JbuirDHAUEaukLHPgCOLWhtoO4talt9qT3pLOzYYRou8lwN\r\nLwHR0MD0BGlOpwUKc9bYE12cz15u0REHPjPLZxbUT2pmiH5SI8bo0kqlHBJ4\r\nFYRKpa3czrf6pny4hXMES8AtsJ383Hd1adGxw57qgKTgCIsXPDJVLRlqpI5/\r\n5Le+p/e3p8V126RSXaCw6yORE9PpgY541WqeXiqW+hWxNDS679AQvdKCmpbh\r\nXvq60ZD8NTT6OBdEDL/l9BRGITqzFBtHmYxRQXzyBesNqMHiz9xKLNmD/RyY\r\nHYNtJPx/w5azSZ3AI4Z/P/8wNxQMaIXofFDn2YMTISk65PeIZGx1FgluOoER\r\nLxWM20GiPglHrKOpPO2TmrvBBKZTiBkC8mg5PxM/Kn8dNNEaSjg3VtmWLM3B\r\npQBcvTp+seLi5EkzshAsGCSCiv1+7tIxR+1XMvrprNppREG0INa1PssUpJ3A\r\nc5v76+byHSbxtOLoCX57cJTlwc1TIaXEGSkBaUP+y/KrjHZxgvTugrkI2P/O\r\nrSXS4DNf9/xBFaXGEzub61blskzuNWdYQmg=\r\n=qbFj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.242_1677463197373_0.251336316053997"},"_hasShrinkwrap":false},"0.8.1-unstable.264":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.264","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"455ebb3f0bbb50688c9cf62e10ba084d8fe41041","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.264","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-SCEtzvcdLWCl32DTaV/T1nkwOml1osctq5KiJt6lkElY1MGx3RYmNM1x1YQXE36PbivfQ7X7WG7SdZxnLqirgQ==","shasum":"262f2389e1ffbf4ca4d626dceb611c16792b13db","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.264.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZhT4YYvm4avBQD2++RdzkiD01e5ZKlMBWsVqZos2wEAIgBRjbq64JLp+r4K8JQPM32WfZh6c4HlscefaAom5v6zQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAbEiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoI6Q//RBL+qZo0x1/kkb6R5JvabtMxEQvXTV7Vt6nazA9SZeiS4iYW\r\nQ9mzmH81XwGLpXjX2TlrMDM1rEGEs2ukb1Bj4FXDt77i6Mmwl0tW0SBooaU8\r\nV07kzjdkgSq8UGP597hCszfliyyzjNFfVtkNVV2fKQpAG4lMMbTwCLJXhMz1\r\nMKAW07o6DrIC014aqWO4Kb3Jihh2q7RM42RPqX8wzxC2By+af9vFzqWL/lv6\r\nFxMQ0gTVYmPsvj1j3hLa6Bvds1mhQKgN2Ahbzesxis3tZI43BdHSkFeG9TrP\r\nDbiNBhb7fZlQKgy6erC9V6k+8iq+fFKLFCIKFr2t5Jxjr67DNAMPCROtTmaH\r\nl4u6YbldBNG2ahx7GYjBS45u9+d2iiruAMjYgXN6MXeAb8Eh87OtxUKBPSND\r\nBmsQb2cZcwff2gGKk2vr0xVh8TB0k4BfE8FUEi/G1XDck7OwnPYJ0ZGNuJvn\r\n68ox90SB7t/PR8SPcyHe/SuF1/FjWk07qEjE0p21UqjRrKzycXLIkAvp2DiQ\r\n1x7shdMlMfJm60BC8npcahGU1meh/cwhtwGcVIQ3LaHQof4K6oQn9JxjM5v+\r\nMIz8Lg8D6I5BXH305NsYtabHumngXx6bWbRnY0W5ehq8Qz9Hfw6wqwSKb7Hp\r\n/v41o0WS6TLN7LMaGaqlFnRabwPEl16E6bo=\r\n=6tE1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.264_1677832482163_0.760137310812059"},"_hasShrinkwrap":false},"0.8.1-unstable.263":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.263","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"0ccab93d1692d0e82262f7778c22aeae8e8683e8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.263","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-Oqfh+tQQcBEiW30EdciI1TalrLhbonpHGJ5EESoMHdoOxTkB7PF3M/ZkflE8RXwXFQEy81FOQf32sgxSAOsZPQ==","shasum":"cf8da2a0e616773316b71b5ab1b6869bfee0d79f","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.263.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+G68zK4B+iDuQg289cfVDxPcZAAU3PKC41EW1sTjSjAIgP9pWu0fSpagr+hL7r04gumZfTV0Rd5j382btF3nYKXQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAh16ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrP9w//VyQ01Ss//2GVVHo5zsEN4YXE6bclcbkLCaxrs05b/PEhd6Lt\r\nfGp4qJ3ci1u52i72L/3T+kJVjGnTbmCAczAKzqV+4TwRQMkF+B3M3iFEouRY\r\nndPUz7LJQTtbsAw5baLIYs7D71gY+ImYDWA0f5hXERKFDNnyeyUmVTAZLSNw\r\nZfv6EuCCHXMyY6/Uq1PY0lZnV207Zf/028hDuA+O1iRSUO+mnBL6k7vHfPGR\r\neDqjqsMbmm0RQRv9gb4Ttjotwm5YSqcS3PHtx4P22qXiYXIUMiKlPunK7bbh\r\nzdYga7pNNwRF/pK/680E4JMlokNaSUxRzs+Df6ySk4reLrlmqAQ1wNAttUoI\r\nhrRmmtqWeFSuTlixBcoJ708Jgfebns9fYozxrwOKFw5NqPiCPuBzF3cYD1+v\r\nMBI4KQ4B6vWjcMqkJ4VcQ8moMSzTiUrgja8RXwbiOmsNO7MUn+rtkUOGAK1t\r\ngBNO/lFN8r/tJaBPBiBGItRtGF/+g6BD5knlQ5Ls1DBbTb8SS9j+JgBsJgQi\r\nJ0U7rNChbVN827GzWLciFUGUWJSLCYD8y0ItALCI8jVYIUvLRgPOXc3qSdw3\r\nw/Mq9oZ6kW6cPddTAzrsha5VscnQXd2nKYjTAN3Y3Gm1cnAL3ugQZvUHU9Tt\r\nIVL6il5S/324UIPLACUva0rgem1vYzFub7g=\r\n=eKWW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.263_1677860218193_0.46145317838792765"},"_hasShrinkwrap":false},"0.8.1-unstable.271":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.271","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"9a734b5892bde59c0a57812d2f77c8168744c63a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.271","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-5fI6C+i/b61oBhU7wYxwLQ0WvgVOFcq7NHyr2aJSVlE6gpLytHbebd85V8b83hl9DnGjrcy0TUwl9Tx4HNAjGA==","shasum":"f4f82ba3f3de7cf3608de92abbe278b01119c807","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.271.tgz","fileCount":33,"unpackedSize":50638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh5B3bhT/HOBdKx63ohJ+fICg0HOE+ahfFtbzKHRvp6gIgG/DPsQ3dwmKxPssDr6L9XZpdZbWckXV8vxFgnan0dH8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBfolACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvERAAkKloNQAzQ5jqR9/w/GQOt5cxxFiiLKh2FzhO9uE/z+8fq8Lm\r\njocmibqu3KrYJm/wOpISFiNF8ij/lTSVPSyohgBYQ8w+pU0mEvHmcbr5HomH\r\n40vZU449bZJ3x2H5T66cql6lIDnbMXXIklp3KLofouWZyJMp2GJI/TJTAvVS\r\nU6s9lOQnEJPDWoISdCryokdWDu7ZGBHkYm5s25jGpSu9voFEEnoevOhRppxZ\r\nu8YO4o49KLz4MMnGtO2LDKQe18IACB0+5KHj4+R8NScCTUJq0YgxP83xdwLT\r\no2Cgwr14DIPdd9jRXWL8in6m9jnI8WQSU/O08FH5B3gjKk9SZi+57QJ+PGvO\r\nlVbTEgnEqd/0PsEgkvraQKpD/qUHyoM7UeQRKsJ2N93pAlvFYxZSM4me0Leo\r\nKaadh0/PZwSUOw9774YQ6HLYA+bnxA2n1Wc4eyCNtkFiB5v3jwqijvOZEzjC\r\nkXPBOs7x3KddcmjfFdipfYD0MEBQku2rGD0Vk666T7EZMLAeZafMzeQOkl/9\r\n5MuA8OonZVeMDybXuVYWrSS/4u09GzuqrF3RqYiLRcrRcIwATdUK43gYBaw9\r\nEEbViwkwruzLcJNcEZUl8nwmoVOhGqT96zQdMv40tg/DrVusqq2sNCcOnaau\r\nhl2xZ5Bj6jp583pkpeuvclFb4TcDEWpuwB8=\r\n=xmgJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.271_1678113317383_0.8728939543513006"},"_hasShrinkwrap":false},"0.8.1-unstable.272":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.272","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"af4fcbf2de49be3defba0dd4985102f452bb7fa6","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.272","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-I3FGZKvEgIjRKuI+kOapy85Ev1y8Rqil/n7fuZxGTKUOb8konq24fmgd/x5ZcuK+6N/EgIROBTcdV4TXzr/g6Q==","shasum":"0b0e88272337258cc593a71e2dfa88a958b7c8c8","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.272.tgz","fileCount":33,"unpackedSize":50839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkTfYvvcG0RanHeWbLGYq6AvXBh4+boqG6QIthuWsDAwIhAMko0rd8Y74SA+izu968ZT+/lV4FR8Ny3ktAM+ll9B2P"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBgJSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi2Q//ePqf3UBoY0j4b3HAeC9ygBReABQ2ohwFiJoaBlUI5j6qkycu\r\n50YYHS6bc2mdwSmjU0Ee2b3dknb6z5dclma8E7uBYPDuQ5v+hSvSjjhKLhPS\r\nAeKu+G5F0GCPJFTA8NkI5XJ2OPQG1N06q/Nc2D2lT1DdA2lQmvv+O/VKtnXK\r\ncq+kHyPDXe2GNh8OQgTl7a4tovJ89w8aYhkhxcYq4AQ0SGC+ahCOeZwfLUc/\r\nW1ixxGjdttL37XrCxlayz68huu8JboCiCeiTEKs7kwf4OK09CvgXMmXwP1n9\r\nRljgTIYtEZm6tleZSgGzpumouSi6JQq8swFH/ZTwfbc2UZVN53+Q1SSlRH8q\r\nR/pw1h8XfY6zkAwBYrJz6wRS4Dvp2ZEXExBLEa/k4UmVeiztcjsbatuANK1E\r\nKhpyc2uNLm3WURZqJ1LkpcyaZLwafSyydbaMGBs3YamOq1u/JTJxkk/AEkN3\r\nWkenal0aFXcdbNJ1oaD8J3p+8woGGlQjiVEaThK5e+Hw1VimiWcgxkeE7Fyr\r\nLZ5tgLNrWroQLKbR92yH5uEkao245WCeK2h4L6eanr2zL7bmMJPhovx+ByCr\r\nuyPDhhKmm/cUPXKvMJTI6NTOabRFZnXPIwy5r//t3hVO2PEH0+1nosDu3F0i\r\n3tEp+v+yTW45EZL8oGnrLGkK01XUPtxhKmw=\r\n=NTfP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.272_1678115410350_0.9271689673881409"},"_hasShrinkwrap":false},"0.8.1-unstable.277":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.277","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"9f18a4df8f65c5fc9fb23591404af2ab19b90a76","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.277","_nodeVersion":"18.14.2","_npmVersion":"lerna/4.0.0/node@v18.14.2+x64 (linux)","dist":{"integrity":"sha512-J/9rH6RxYBBrB2ZmU/YaPhs+90U5rW86RqxBASZ/p3QoOtNA1tD7gjoJElrooGRWcJT31rkmawnR71j8qSMuGA==","shasum":"e163915ef081e0316e61439262688834ff4b1fe2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.277.tgz","fileCount":33,"unpackedSize":50839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3kVv03tB8cIN4hb3FForaZ4vKQgDFU3D0mc5SnlCEfAiEAwx7OtPiyZ0SVOZuVqqPHi7eOwPF/VHFcxoEJ9Xi7U4g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkByd9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrs0g/9EVIgNb6L9nrQ9sS7ch8dlRpF0cHVjX3wSKUaCh67vJDVRIEW\r\nYC8eeB1iE2avrtcZVCgXE0C1Bzu309qphzFNWI6vxnnSUo0PvgVSbyb8WVh+\r\nM5QKPza+UNX0iT8caQ6af3uhzWcpL36pGrhK37vMtVp1YdZZWLsl1uBe+0jL\r\nrxrWb8nw7IkUzXjwPChOXf6YdhD+M9vKGPBmbKilhv/gFOWU1hrPJFeUqMDd\r\nDJPZ9WEBmaZ1LbVQR1DfJWxrnL4SwZndyb71wdNteqwNzJjALXfMKT2hoNUw\r\nHwthpSJT+WRYzQatoBUxjwO0wWsYyEoVh4OeJKwuluOruWbQo7S1gjjkQbod\r\noqtio/Kp8LiRuUxA3CTUrOIJ3yBbcOCapOgU+0WZhm/vQoun38ePTavrF4hC\r\nAQa/B0qC/9TR55YZLzKZdkpoecV6+S9xIveF5+f1Foke010Eaf7aQC5QFfAj\r\nIpJxyQIKk4jEdWyMmxdHrAtjjh0R89llEmiCvtWOq6tOb7OfVH5uva9LoS6O\r\n0t3yrNUX1jCUbjiuPOsUjlsSeYM5MDiTRYulayHlG+RXkEQxZyKjjmIRdWp5\r\nvHC6+wrUBVf3LqXjxYSROBXimAkzIBQ/GzAL6q73Xr3Oe/FgNX9tlV7++fXj\r\nFfmQw3Kmw+KVuoo9MfjJFEBGOlZEsDBhpII=\r\n=Pn/3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.277_1678190461089_0.15327981693892112"},"_hasShrinkwrap":false},"0.8.1-unstable.266":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.266","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"f089ac18dc470f0b8c581b49e70e7eba64d72bc3","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.266","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-CmQ9yojlOIG4YZAulSgv+ZyW11YIl1VEBNivI5SuKqdkWa1VrQs8z0cPByw4OVx+Z+4lyBTKTi03G7bdmvBy3Q==","shasum":"0ba6606076f72687c22a7304d014a7b7a4321bd6","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.266.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsi9XMuXMxCBZZndI4xiLmZMR+uVKS2Bil5DyAF+Ql7wIhAM9yYoVIhWoowgfE3EqT/kjAkjg/Dpd6Dh238xGtuppM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB7jQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphaQ/+KBY9P55pmGA3nxyRrvI9fwcfnmHMB11o5opzNXjZG0Fa7pyl\r\nEttrCNuNKs48ifuvupwBBi0x7UYZAMqdCTh8xMmYyuyopS+J9G4fhkh+yoUm\r\nnn8WNyc8eb3bqPL75pcs6GnL8Ua2NbW1ao6VlWtc+xlTAPhGNvPyl4ZbHPRK\r\noAzKjRLE44tAQTazHjY7CZTPjVWtA9EBaCs+CbKp3BuRLfY6ZVxnLpcsFRt5\r\n2pZeVClOzha22I6aeaQAhTD9UJZlwhpXyvGQ4KADYoq684vX8wI1Yx56Ft0O\r\nOdJJ25wxVH0EF31A7MXxI926zTHsZik4MQYrSBmbqe0yBJ35kfmCOuyn2P9b\r\nuSi0HIyXxNoh4Lz2Zb9xaxri+5nREAd9pxiIeolEklFyjHhtcJ2fHxy4lrl0\r\nzkzXHLcO7Tb3imxUHA/xQU/oQEv4igD/mFCDUaZ7cKzh4X3UnEhqBf6UascQ\r\nNjnblciynR2YehBmjSiWwEa/786OJjNbhMT29YMzz/KL7KWo+/rcvl/X0Pvn\r\nWOEx+dwWEbVJSl+g4A681QT4A9CXUnr93IMdyPn1Pcxzk9nCkpKp17/t6Y77\r\nd5bP5zN5nU9Hj8i9TqxPmc06eFn0nxxbLjNnvX32HQIKXQ6MhJMPZaMO1Njl\r\n58WOOLAAGVDESwL8seaHXJHvuBRMI9QoDbM=\r\n=XjzA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.266_1678227664089_0.6913151413761731"},"_hasShrinkwrap":false},"0.8.1-unstable.267":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.267","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"3c2b8ed171aa196473afedb007ba27e4c1c3e71f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.267","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-qRirThA86VI5KROQMkj1BSRvgVuJg76hPul3AEioet70T0wAdW7SpTIRiQTWuxX89UYPJLAMmYiMk7xUuk121Q==","shasum":"2c6c595f088db8d3830d43806cf26293c09bf819","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.267.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnKHSLBtSTrKh3kUX9dVARA59KlTObCzpmg4i+XC1gQAiEA7jehMfrde3c78dWwg7UMDxCl7gmRGgXfXq7DddpO4mQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB8keACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmre5w/8C/uByUZ1mQctOmtafw+R0pqeOfMJYuPeaS4MSPu4sJCZivbS\r\nouIgElx36fXavUKncncA3Z5JByZSNm1PCwBCmvHr+t9Q7gcE1g7nj1v2JYWU\r\nf5PWpFMEwqI4C5eRzrhZyF4PHRpTQXBj9efTVFSRDoRypP6SvhA30W5d1bYF\r\nHVXfdJdR6koAKNlLCfAx+knaYpx3sRMlaPZasWw7j24QERufTslrdb0B/+LS\r\n9EtIhVt2n/oe4VqjOpYo6t7tpGfebhf9svuoVUtt4INfoDQ6GuGdoBT9zw2t\r\n2uavxENpMZMd2lBPR3Gz5CRO9q/y+Ay7IzwfQrbC6ALQYEQFNvaT3Coz3Fvo\r\nDTTRSaclEhIJwhcE7jaYnazoQNCGWl4Eo9t4uECyQAL1K2hxiGCmgzElL7B/\r\n6fB6TltGjYrRtrH/stNdErExtYMAgZhX3MwCHV/S7SKx0ZsSNbupwhzFAqqG\r\nYnT55h4mQI+kUiQjs4VjhLj2Sh5cGNodVyhtRUdQB+5uu41AqODk9/TwA8ps\r\nmz2Q0sxpLEoIFCOQ2jkK1EYQg1XRGAjwYq3ntyuSrLu3FBy+5+93IbTgjp4F\r\nxFfdboT6vDEYbXFyEEJVIWmtoohFoSx5D3bB9vnPrRvxn0DqXEz/XA7x4/zN\r\nOxHG+GlQZTTHWqiuDQuGmnWMPYQJ8UkfZ5A=\r\n=UtCl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.267_1678231838603_0.8362605320242742"},"_hasShrinkwrap":false},"0.8.1-unstable.268":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.268","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"50a264a366a293a9d9cec9c81aad640ba3391bb1","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.268","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-0l+A+D2O7DYzZdladQCoBNvqvJA6FqZVvmkeoYUzjJ9DwWYwUaCRCH8GyGae2vaXbonBT75sI5hDNBVNhT1TJQ==","shasum":"b43e2459ef01442591524614e5f1e65434d7f4f7","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.268.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBV1dQuvyEmaCmJ1lCZMnYEzadl78c//kqWOqOYy0CfHAiEAp2+gCebILaR9nXO+whmJoNRJ0DFso4In90lrINVfq1s="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB8uqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5pw/+KUBS0x1QhMtJa4kwKXUBdHmyUkfrF3tNbCrBYDJ5niS5NASM\r\nI8OL20tDUcyG4Rsxn69Z8Lzr+C52AMhCamjq7R6y0juCxq6ui1cXvTnvLCOT\r\n1EmRdEpDRiKU+f+1px35EmMB1C6cc6dcfdqv8PNNXkKNXPiFtux7etL3HTU8\r\nYk6mcsBJ3/icsTAAvCMxD7Gzg9jZWKhp9Iybb4FSjeE1uzCL5c1XnGFrEggW\r\nlGS31qWxFstsG/ox6RxbrdEYhO68vq8upl6etfX83pyUELPPg2dF7taqf6ro\r\nyj8XUCwhcO0XdF2sbXlTy8BvggPBZtPcRJFva55CPm9UOzQNiTdRm+tkJTma\r\n+gucnMDETbAAu8xVWuoCFBSDognWzr1N0sQAuEHltzNNtHX2kyt2tBddbOWf\r\n8GM+erlTCadQWa+P3A3/xWBhRizXK+HxIe4h3Lq4q/Z1YsfqN9X2y1cPPTBk\r\nt1UiHavmGk2muem47unQClvGzSqXOmtxkLiF6gnmMXh4PK5hdeDfczOAJB1a\r\n2fN289nLe1N6T4s6v1lt8qS6BYgiyO16fmBunvUE0COu0JpLjq78sWQvYy82\r\n6FHThQ9pnXVwKFjeDrBJHyCx18raXLlmlTSIi0U96fbv6Xqk7SGsDDmysVk9\r\n2lWWsmCELcIWkQvSoAPlzrLD7mCa8Hp4Gvw=\r\n=Y1Xu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.268_1678232489799_0.5864935002706444"},"_hasShrinkwrap":false},"0.8.1-unstable.269":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.269","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"4caadec6fe8afbda53d30a74da7b5c8187aac0ad","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.269","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-dNEML9aR7D7o9Z7O0zpk/h/mVJlVEhwGLUT17T5D/OJXFvKIprpd9ETEGKs4TORDZ3Coxxrfm3sg4aKrBK+ldg==","shasum":"fec347465c5db4fc1d8a8236e4b58ef40b4081a2","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.269.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuHRcji3u+RDXrMpVcP1hneW+N7duxCs09vI5BhC3s2wIgYZbA3swJHRFWclYZvSDzUHWnJoUA2fadH3Ja8WVQV94="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB9IOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmolaA//RFrki3orYxsN6udN+cvq1rv7vmX1gCstBgI586/sZYsoNdah\r\nrGng31UgFdGfShA/KleR8rPX4Wf9EnGPAtE8ZxowsJEO3xXnFmPzIPT0HfjS\r\ncLycEt0MqlPGTbRdFV4Ws0yVs9eb8DLtqECcrewiuuWvhmhvlsZFgjZ2gXcR\r\nX8lEFdD5CeVholZ8mHz1aZElXz+5KIh6nNGQRMGSfsKnCyD0sSAO5MFIiRcU\r\nrAXN/lpmsWIFyUJ7hrPhTB+3/UeZpTLKKOUpxh+Ibg49cH3JeR6ed5slWgmH\r\nzEFtWNX9eLiSAK5F6sKqp6CGFhWDVH/NFs3L2NFR7h9fWbCt/Y10pifbxQ8H\r\nNDQsDqmGwW7PDhHuEpbIZUuFukcF+Jismzpyvtg3MYVe0mdx6JoagTA3gD5T\r\nkpIdQ/gEMfOLIEcdlcFuy72Aw44v9u38HjY1fKZGCqTJgcobL0cezzmc0gxT\r\n8sxLReLMzhN0k8caRX0p+l3+zgcJz+Mo+hW63aIU69A/bnO7LFulr4gp+GBy\r\nv+Tv9fvkEOraJnm+JHZiCaQ4U/Z9hjia10Kz2QoIgVciAs0sZT4Gu0sCX6m6\r\nPW3p9X7JjwCPHlmzn9dorZkdV7qmyXptmZYIwH7HOxkdK6nK3sUcVduEsjsF\r\no6BKFEzDG1gzFbQZcaAUv/TBoBYAaURH92E=\r\n=XUDb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.269_1678234126205_0.9280680214107744"},"_hasShrinkwrap":false},"0.8.1-unstable.270":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.270","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"8b6b21e50655c69f0aafe533faab93b47825715f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.270","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-todqYKAvocRYuw7aV36j78r6CLhwkuciRHhJwb+9FaXM3us4l9bp9Z2Rtgk8T32cfXKfkf5cJbn7ALZwVyE/aQ==","shasum":"0f9d988b1a3cb2b390d689434b232a133795e536","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.270.tgz","fileCount":33,"unpackedSize":50615,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRcnjqHTigCysSvruLOChON6dLppM8vpov5L87Zs7ViAiEA8B8rtqMTpaTkV8NPtp8sck89IO1VAyDQy8guWFXxfLQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB95oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwZg//X5ff5LQpNwU6bmU6+G/k1Bj/zbKAdwlh+UQ25L8unbzoWxg1\r\nkA92JKhBvJcXm1EJKBKfYXNdRdKGA08vlTJexbugpt3c8UUfn+0qXlN4Zkun\r\nfJXIm2c4m/zIXINCJa1Mu+I6uoTvuFi3onwsR8+v6rN111CwSlDMmaExHWOK\r\n7lDAZ+fglWFHLh88Qmqqos1evMvpYjLaKwnva5s0HDBtaHsezl5VxBKsubs6\r\njhjRmrxWdgDEPA7fUEyfDWQAyEYvBkEnMimoxifeGUNFfNqbfWaX1rMugQaM\r\nOVDpftSQPUs0uUo4ye92sPVAijDJmAnA1GqwNMo6QP4KIsc32jiOS9iIoQMo\r\nH75XSTIHsVI7nw/0I8MlqXQ7udJTavQY/7ldAE/MDYJ1I8e6kPilR+S2bdb/\r\niHW5+dHWf4rE0cpdmTDur2bNC//mfsP0GRWU8HYJGaBhuUD+U/8SnS29ixTA\r\nq1VpMMHsGdXw46HiaHkSV1OKyxvS3ZHoEeVd/7Yh5bpX/sIdKowM+xyRH7kg\r\nkz0NsDfvakSYjCWbIUEzKGUgrk9RVEXfVJ4DhUVtwoSDIBMxJFIs9vXrDu6+\r\n/4kBYuCbX6HCv7Ld4bZUGmRBPDoCWuL08NKds98bEmcB4RjHpK74RPFLnCme\r\nd8/zTc3ZIhull8G6xAPYNYazhLoQm6/T/MY=\r\n=yQsw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.270_1678237288003_0.15321423024239889"},"_hasShrinkwrap":false},"0.8.1-unstable.278":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.278","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"ced76fd69a1d8235dcccaf77a6a619d9aa7838b7","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.278","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-NFB2QlalpH/wJmhdjtjvr9sR3EAiUElWZatgbD3HwiemRFHsX4Uvc4tQDB0V7N5eGhn2c/xGB8fzZvJdxB9oug==","shasum":"c7c947aff041fa36dae6defaa4e79351873bc9b1","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.278.tgz","fileCount":33,"unpackedSize":50839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFNVp3f5qVGl3nkTXz/12UchxXv+qwyrxrZmgRVEyW8xAiB4zdnvAykeNPPGO2UEEmx/5c2emug9Tmayk5IaCVv/6g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCLekACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2dg//fSzfvIVihkU7pE4shvPTW52V8RJ5oiy7ZeUWx5BNESguAPKP\r\nCnCDBK4EpGPoHreRR79gFewq+MXeQwTdL7uXk3Mrvv98y8dNbMagdrFLL9n/\r\n+v/DCbBoLvJPysLOqSv6xhquzoUzT1oflT9mOhxPHqkXQ5QJ/MbKLGOoeKV6\r\nesWgX1L62pfnRM95kn4hAEpqiaPLuJyV3KJli4fhH2h3vFE2gj+iwNZ/bW/H\r\n3/1u0cskfi61d4cIXRJK9kmESVCHFmBgDyQPvAVsiGoI7uukEaIoJK+QD+uN\r\nsD8kaHg2wprAAOvPLANCeUNphYVMniMrunWtg+9uxRl8Q/7KW4h1t6cZq+Te\r\nmDw8db810Llel9qnsiLMXcGdrXRve9wIkeHTI29X6EY45b1yupb3ZdW0K1bL\r\n+5tgBiCYUPjBx9O+Yewio94ZqebmVfn0nK24K5OdNd81XQk/Y70EiTjSL54b\r\ni/Xr3tIvrYGTHH0Pykqb/mu0QzcRyisv2r2nR4dmp+djT/WhdP3cfAk7IXip\r\nwl+xUEWXNte9rBFoX0Nmw9hbB4OX/OzOgySD6xKR5iRb3D+NgTOf+Ax/ACSd\r\nlzWyar+YNA+OIXU/HWH8YwDlqLtMpLhetwYyBuLy71Q+Bm+7Wsb8CFpQH6ja\r\nzC44HavRpAZxRnCWci92pMuLIlhkhXXzqFc=\r\n=JhNU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.278_1678292900277_0.09917493531579047"},"_hasShrinkwrap":false},"0.8.1-unstable.279":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.279","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"31f0db4b692262cab82cfda3d038589f1987fc69","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.279","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-wJNkf4eBrpudqx59QCRUZsIhRkH6YjXOfrAAU857t7sg8fKjFSrqe8lbPRauNVGqqJq/dexLd96AJnZPwh8sQA==","shasum":"a3b49172542ef666d82b77be47a29b6fc5ca9a34","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.279.tgz","fileCount":33,"unpackedSize":50839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuTUWDhkYVzp70VHqY+2vCg4HFI+mNqPUYmMOmcVjw3AiBvnqKyIYq5pu7wqPA+TgGZwc5OWDAzlQez73BUHaB2Ig=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCOXoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpf/A/9GjepRjZ0eLTG/5q2VzawYO8dYjfTdf/KA2cjWM6+7RGMRPfE\r\nxMZ90fM0T5ACWVL4HT6pScHRzErjBZr9bJtDLInbQGOtToebeoU7JjCy7jo2\r\nS8EmQgiVRJXFzrgE5Bu/0aa8OwLk+1aCZPqdpfpB/PWyVxbAIZgkUE/lyJTW\r\nPJCD3SWYWwGzeCt+bk/e95JzzPfQdXp8FTXQ4a4FXC3qXyQh3DU2cNmlAUvy\r\nLmTF9v07X5RSCjxnasgRZ7TrXlU1OwTpAcTEV5jUM1n7tQGCSrUeaXCdS5pU\r\nYyFbaS1op0fQdEEuxQr2kAsE9sQ/lizxQd3zNO6EoNH6whnmn1D81+lIacJ7\r\nAVjtNmDieCmVlWyHy5DqUoFc/iOhjBIKXISo67W0kevOSONWiDJtLXOQN72F\r\nijSKzPjGKfK2dEc5ttVCsEXaBYQPyv/NcodbZkPhjMrFC6thoTEjPwms7UKa\r\nwlUp4zSdWrV9NLh7WX+sHSGVuBIEbJ5fORuvCUPozM767dMcSEv4TwGSn9ta\r\npnNxtzPPW5yoa8qPzXX4gHXQXegnw+QAw2YSenUi1CWaivfoXGJiqaDzXGyU\r\nXGXDoMzkGL67fDVmWLtUPxBpewv927hgcpxeuRvFggPMJPRUnsi7LmUbIi5Q\r\nHtS4bZ7gSE2M59+k0zw8RqbQwk6CzVjUozg=\r\n=fNCZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.279_1678304744094_0.21908600619639285"},"_hasShrinkwrap":false},"0.8.1-unstable.280":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-unstable.280","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"fb79036acd60a5da2aaab44b49fc942436d3b23e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-unstable.280","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-0gnDJumyJkrHOAP9L7YCQOK81lhU8nxABLPWsdttiwRd8G8yKY3UGRD2K2jy+eeGwO6+8k2dtgg8L63vStRqmQ==","shasum":"e0156014d252cad234b7357fc30a1d3b6cc6fb77","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-unstable.280.tgz","fileCount":33,"unpackedSize":50839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGD0zQi86t9+cYSP8DAC9m4Nd/72FUXuDIpAwCXRY/bQIhAIDKZMMUgQIy1MrIgSEME7V7bAGRLlIWzmUVem+a+ogI"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCQgqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ5BAAh9NCLOuYEw2ZivQ/8joZIRxTJun/Uz1loDxGuq2L3DkvWABl\r\ns+2+G7RhJNJgoqB3Ibqc22ez/OuD5I2V1sCLsJ6q8d8cKTvuZ8nGZFQMT/54\r\nAtxbr2n4fcc2bOTwJWOuvnmoQrAAGaZLgZvE9nJQupIhbjAaHyS8dHYdT1Xu\r\nU8alWBxgHIHckQcyBWPdT3UpiTMqs4ChSz9G4j6B8fmMva1GjCNFEw0x/BLR\r\ncg9Vo7y09xGbDd+l65nRfkJfaEAf3QY9wq618djivD3xy7X3mv6PQCQ5bEDv\r\nHgmC2Kxou7xMrPzERT2DkOS87MQ0mMjKoQHB1xCc3LofjEY8gTuVCehTArxb\r\nqBalo6j8woKPmWPFZmTtmUIGwJ6c8vps3XKrj+w8vvl+DMs6dTI/geWDp7sx\r\nUmf3lKi1K4UPhkmnbAz6z4VjkWIjz20SAgbyeE4YwgslRw4eXJ0OjIZ+JIw4\r\nQ/Qk9JFlKsLa7038bWxNp/f4viM/1zL0+silbls9BgUBZzQ3LNyDx/eVdmfp\r\nhH4KudTBb5uk7PCtYXcnrpBaUNqaqCPhxxnZg3G56e2ZiGgTd6qjXdSg/CRR\r\nqQT8FcmaqUTEBYGQnW9dHHJApRQsZb4Cvg1tRPh7eSCfCCP/PvYrqQtB1F9J\r\ncK2SLdNEFXNQ9dTSoaV7fps7k8NOn9/Buj4=\r\n=qe1s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-unstable.280_1678313513901_0.5337517933356852"},"_hasShrinkwrap":false},"0.8.1-next.272":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.8.1-next.272","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"a34f653b26d26b6d980aa9196b814ad42cfa5e3f","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.8.1-next.272","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-wmu1qNlnjxSbEDcfMo5w2Mm911w8C2s7k8PREqt4tXVERre/uOhMzEP9etCJOn3EXY2ykpMTnKxTBgTRfKhMlQ==","shasum":"a2f73a9e53ad51f47059945c9a757247c6dbd40a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.8.1-next.272.tgz","fileCount":33,"unpackedSize":50611,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGh7qOAe7sxOueu1gAcoYJZrZiAMsEvkJyrVgtNxi+ZMAiEAzDWFRuoCH6t+QhiCiJvUWOW4HJahm719mJSfIXj/Nq4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCSouACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrI8w//Xi+H4BS+0ru3e2PpvMLlR/iNCK0G1ILfB7JSzRJBvabp09Rn\r\nGb602yfJInmeLIZJK0jDrhiD26lnkYSVDE/mULl7C/tttUV4exTvUIX1KxT3\r\neXjYrVd5RZY6nUtjQADQ58HZ1uny+Yfon2YB9+MYPZbhHRs1pxa3KzSgENUs\r\nJyijg3JvwwqHRckZyFFRGO+QXzR1gLfld1jDST4YUbpiIKKkdpN3JNCV3Ss2\r\neJMKkiNWImr3gjihw0qwGNBeHAZAZnJQaNw5yNuvtP7iXy/cak1VqdjAjPyx\r\nAjCHX4COBiDG+fyqehRZ00lxv5pnpAMjTLvVTx4/1/aVqMt3W80RH2AjJn7B\r\nsU1WTOkaXX+yGXqarT7qgJTHxXpFLDaseHMv+ZS1n+Gdwv+xdl8/uXxE+7I4\r\nKD8U9KTEkJAOu4ENLLhEqaHUKMrbPqDN2alcn31gV8VjRbuZ5Aki1OkI+O9F\r\neO/6r6IWNVlV+aBTCdd2NxrgN9Qt5B7YORrrODLfjracZyb8ze/7dhBe1bAL\r\naVFhOLsvzV2lO42wjvKo+9eoWNtdNmbvrGwbHf4woO6Zga//pBi1rFYo7ay8\r\nA/6tJagE+O8QndUadMGd6iGBIhbx1+CfO/zCaU+lNY3qDzRdMa4RheCuBsb+\r\n+vqR0I/Bi/bBeLdNE3s5e4Wbz9a7HrIO17o=\r\n=F7t6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.8.1-next.272_1678322222439_0.8684531969111091"},"_hasShrinkwrap":false},"0.9.0":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.0","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"9119280fec93d685824f0baa454163d703431025","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.0","_nodeVersion":"16.19.1","_npmVersion":"lerna/4.0.0/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-1Vpzk1QiaHYb20Y8XvhiqSDVAb/7gdEY3uqlxgqrKcXPMG1YUPgqYd3eXIPIEL6PYsnD2P9l3zSBDpHrHM6kpw==","shasum":"dd77793ae6f5874ff066ef0c3a2f24dadb5a51c5","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.0.tgz","fileCount":33,"unpackedSize":50594,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ4LS5gqK/Dl4ICBIEznjwTE8CcP9pa2W3SgCXQ9JejwIhAK3GuBk52oDhy7vNOgPqOKKMaJrjKEsMDmi1ECg/OBOz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCSxAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQ/A//bdiyYDqfxpirtuqbOoizwzttLRmcy5pBlb92LCS9vOfBOKqK\r\nu2oyzx2U3zelDIneCxQGUz4HKswydtyQAYFjJRizDnC6STipmto7G2ML5wbf\r\nUno4UAQnw5LnsB4uDRrGXSN4FBcA0L/ouYJKmXxn5/ALkgdAFqm15zwcuQDf\r\nQIUjC6mtMQH6D+JR3T79tT+akQpVEapXxnzcli3b4HpXLYvs7My2MjMG/KC+\r\nFuxI8VmkSQE22XyFKj6elClbRCRnGEsLHFY76Ei06U/2VQAMfsActdZVgcFG\r\njLjOFleUlRi88iywxk1BH2bQC4F+clrTM8Ih3I6TAYnU3/TCO6M3s/9rvWoA\r\n3agtuewtqzBa2RfcUoQGxS0zK8r1xMGYMnth4RX5aPzI+/ykBOv9tyjJ+tQK\r\n54FPJ61wYAcWtS608FEwPs0097t6R4lkAZXO/GU0r3zrUr/ygq4xRGQWjehH\r\nAhvnZhHwDjyIYoYYvqlD5C4aLqcCwwDeEuZKr4eefUssbJzk4V+GkEBKmJdV\r\nlzxinyykFR6eXBAmVFQ6hMKL39HbTQJfiwVEbWUVqt2X4L21UiJY/XnuIeDZ\r\nMqoh+8fDD6QewhrdBgFYabyVm2WpDO6eShoL3zTXlEAQVt/XyIm/6v1j/J1+\r\nafYNDJ4eE2gz1+/B6dMGWmYOlpNM6Pft/D8=\r\n=lBs8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.0_1678322752650_0.5794937400030629"},"_hasShrinkwrap":false},"0.9.1-next.9":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.9","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"fc228a2e85d72e0e1118d71ed8ce6252f4bc273b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.9","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-wYpO75biuCst3MIEnJMxu+Yv83KzjrEoO+PbGgsIjwipLPNF5T8v6nOSSe1iu2qgLlgi3+gWCLq8hgt+mXD0wg==","shasum":"d9952f7d5b2a3affa3de4c9a2f6b6703a358a983","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.9.tgz","fileCount":33,"unpackedSize":50609,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyRpmU75DIpKKfR9Ux5TRs9xeDi+By6jUf0YsYU7y5QAIhAIg1XCSNSwJ3+XVEH/Sf9KyywrIHmeLSNkn1Hml5/Pp8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCn6RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr20hAAoahzoavjJ/Q/o9vtrsOpIkSjNh1XY8He6/d6v4uktbxNGHN1\r\ndXiHZRQUCvk1aQbhmYdPnqcdQ10L64eiTz4gQBV68qnQLHgaVblPBBQ3Ptqr\r\n+z1UYamg8pLRJGbM1L4jO2puMNGfTu41RcDqzlYo0RunlKsHRtrBpYLDfyv4\r\neY4JVjD1AxhE5CT6sMBLwicY1tD9dapRxFNA+M95sS5/6Jo4eNo2hbuDRKbr\r\n0wygNiV7PvdTLQhj5Df98IcrCRRBefwReE7zW6Oc3UEND5rQgbn8Rdj90xDB\r\ngPgi5n7V1U9d47RtvICEtpbKzOkH+zAnc9dOq8qC0mvS1ZdRPBdq3UmyyTiV\r\n1Q3GF9nIL7i6I3MA5lKhZkc5n+0ZPlfR4Xl9obg4bYGtytDOn3KH1zv6X8lL\r\nl93ayPEbZ1YeebS5vpr9oJ63s6qQaF4MdGdlSrgpwpyw2K6boVrN1FKYKvBq\r\nHqddrkGc7d2mMkkiB9KecdK3QauCF44XOvzQjjAUZbDLdfsGM390aY4JFvQO\r\n9YXZds2o+DQc6+za1Bvoh3E0liOqapKhiad+6qJB++kPEcxz9oDIYC4vYJYL\r\nG+yPHCnELxAqi3NzCmq5DGFTug5QwdTbBNMhYCAP6gnR+oyWE2HIeeCU3VY4\r\nnWf+Zy1r321/tuU8WHJPE+fP9QBVMKMQa/Y=\r\n=zsKK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.9_1678409361649_0.08215669360547495"},"_hasShrinkwrap":false},"0.9.1-unstable.17":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.17","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"9f929cb88baf569a1b51d699d1cd2456c5d03255","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.17","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-i8vvbo0hzvFSpEsnd4LdRrqaXTN8nz855EfgrCSl/3J2C88qJHIpxByt6qZHRdZ2F3VZRHN7aJZV8uBIhpt3Lg==","shasum":"faabf706c448e09e63a0cb1caa3cdea4748fdc67","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.17.tgz","fileCount":33,"unpackedSize":50614,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXNM2Jo8MgrAHP+yV0ciiNMDim3ZprZxO2Ao6+AKC96QIgA/TASWkQtavk/yUm4xskH/R2mV/gNOO91jwCA5vj3FM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCwX+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0ehAAnUmzGdDTfrq8PXEuRfxZR16L3KPG+K1d12GHbV/rv8h1Et5d\r\nA2dEdei4LaoLO+2EiMB8OZfd9owQhkoynFvFQUT0ehX8hShmof5HLNGsFMLh\r\nqy6mDGGuR6EBOY4cytvWezm04hEAceY0tM93CiXnmdaIZshcadrEHhQrRRQn\r\nKy3Mv8s+EY9F5U6Au6iA4m1+3tRlgPVasyhJWjGXDK33ivGz6Cn0KKu7tZAg\r\n30w4L6zBA04wc1J7yWJRhF8lctiA+chYEVVFN9Z/hKAaJI8bgCmqJ1Wz9ZZt\r\npvUp7wqnfIfXMeHwCsonjbtGoZMHloXAJc0YtCCz0uYt7U629sm5cL0QG+Q6\r\ns1sNxeILQKbxzeYlgKSiCKAgBTl31vx+2+lRyNz9eL3hT5pr2INbsg9pjavt\r\na92JknT3IKawR+UsOyH+TL0e2E7wb8LXJnGT+PrpbPBJbbJ15BuUEjgdhP9s\r\nR2SW9NbBjmFwqnZjkzmueaGsIUFDopht7UqYPQY1IWNvdJmB2W3tyPT9ayhl\r\nw9KS5OkeRsGrINWvwTdfeJvGlTxwzuALTvIU4OduW2XcBku9hkNYVbWmdoOG\r\nXB5R3glfjrMUOKnWQGlEbQa1CvEOZzFC7jVnB1Y3q7HAKsqzQwOkwLDbL4gf\r\nUik2oqReVbnZIVsV6p7aIJ5gVh2/xrT2P0U=\r\n=xv6X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.17_1678444029906_0.4127103115044435"},"_hasShrinkwrap":false},"0.9.1-next.10":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.10","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5","typescript":"^4.6.4"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"84c08f19f2d40ba7aef0c3b5642c99fe857a2d84","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.10","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-pgf48zK3avznfb33myh6CgHOjZsz2x4pag7yZKxYIPZDUq9LAkD3BClUcqXYydYBtt9q9MBdPkAu/hU+eOPuWg==","shasum":"76fa2c0f4cf667c92aa11c2775b60b62b26ad40a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.10.tgz","fileCount":33,"unpackedSize":50610,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9BuGr75QKwITJxY4YO1ZQE5HWkWdcKYcASMDnxQGlEgIgHuzaCMbY7L3U6lOhkDdwx2XTeaPC6fgW1MvUQkounHg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC8WyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPyA//WbVBKY4RfTxirIpHiXY++9SnZe2NruEGeXSswRj7YDvNgp6Y\r\nOXRrbLmYbaKsftrN71oQ3eVkQ4W/v4E/PiadJmhjXISCMtsegLjSDiLI0fZh\r\nWp94LP3ouJFuahx3r5YaqfzJUeKU3QGKxu+Qj10aINK/wlgDqC29DmRS/DGb\r\ntfp64Kzj+bLh4y6rInB4Y6oucL0uButrjgwNMRdM93hDmmiHwp3YCPPE5rS1\r\nR+PR+i7zzwLbNhhsPm+amxDkv46GZrI/0ccNEw3THQ5HDQ+WMjRid5qmvxWN\r\nT7iRfGXWIYj9/iWAfXLey09ZyqQPoIohg/p2V2uZ2Oj29PlGUnTIG8i9mAas\r\nkR6p06qNcC3sqC1w2G/pG58ueSBrAuW3Zlc///Lx9xwKCCTHJJwEJVPV6wsN\r\nwPoiib1DTvBTIfCLQfJiQoxQI14AFNpFQ5Kp5yEMGQonFp0Oxk94MJhcE9/2\r\n2VXiFsdcetaQL26de8gYg2HnHyQymt8xYmjsO3+ayCV0o9s7+924iowiKuQ1\r\npYAYqa1M/xcjA0F3ut1angVwtnL1E10oJR8jXIlBlXvIaZnG2v0NiEp9UsO6\r\nxsPl0wZW7d5FCkERN4YF2gqErQwuMSqrMELta+1hZHVIlbsmNAiQ6fXhcYnv\r\nm7eMf23DdMNp+m7MPowCFWvIuZxPTUyqVFc=\r\n=ejg/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.10_1678493106500_0.10901956257142742"},"_hasShrinkwrap":false},"0.9.1-next.11":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.11","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"0cc08b6acc168b838bff48b42fdabbdea4cd0899","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.11","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-1g9SWLGb6fe9JFed2BXz7xXe/Vz7EfGJKr0M31nKu520N/rARhme35/AYpdOj6p96mabMDvzw+L5CulGEu3E7Q==","shasum":"cc761c32b6708c263cfbea4569a1da15052374d9","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.11.tgz","fileCount":33,"unpackedSize":50582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdV+XfJzF75PzBAIsYHg1AMr8iyX3qdxf1yp187E224gIgYKUC6hiRqmDMCy3cuwGd94aLqaP2iF4HtsxRMX7KBO4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC8xXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXsg//c343qj9l3mjAHO4BcXPXAvenLuIeVmDO6Kd67rHytmgCsaKR\r\nduW8Q+MKeTFm9M3VbXI9Z87XKNEoy/DRRtRcKODYFiGl0S+X2S2ZtPDnl1H5\r\nl6QaKP+/YX1PqV+UOvuGOIlaD9Lo7UMK+FLdSV/vM3XoJ0j4OM7EJ5B0QqjA\r\nth8lEj0lbT0DVJL+GsyjfaXRSosZeNPUFMJnxRHyJEtrerxUIr7mmBINbMMQ\r\nmDyO8t5dtHcdzGlcLWwZqjAnf2ZlBGxbipn2+wtB32yU3nKg7mB6ysd+Re69\r\nzXTTrSMqORcRbY6SiB/OxC0HaaRzuUahmsauLVyo+ngqcEetRcjJsbM/kxrL\r\nrxaVsfBK+8Gt1Zzg3iwXEEDP71Q1VifvKBsF4lK531RBTd5yI1VPgzj3ACKT\r\n6W8X4UC1XfRzlLFOVFCMH+g7YYXBsQ09DTIAgnU4dBEslxiTn+ovtVvlZHE/\r\nXYH7pcDPTE0Uh4uynu3W5ysUMrnZcJOvpC0EPJj9Vs9Lse1Wr37NwW4P/6QU\r\nCLQugFouoDYRwD9DvQ+bidQ5rFD6wT+hSiedTCFNrXW8u3dTOxFF9QGXpeUf\r\nwn02/P6YyqEfHX2lQV6kd0R7tNQYUlAqsvtKnfauLTu/5DX9VXFJMxO8rleH\r\nhvL7dZvg+Z/JPakRGe3NLvW0hKS1DYRRmNY=\r\n=em0J\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.11_1678494807239_0.33016074817397834"},"_hasShrinkwrap":false},"0.9.1-next.12":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.12","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"aca017b322fa302461d7a8482f4814c7fe1b0f9d","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.12","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-30wrEZHvaTeAkQtfNny8Km+M6T2QLtsbDMHDklodpcoqXugf/ifu3ayKmKI1AXvfQIHX4km+5URFAVexp92OlA==","shasum":"8fe53354b24178d57a470974704ca3f4b010f6eb","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.12.tgz","fileCount":33,"unpackedSize":50582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGoy6dGprJJ4nc5dALaogYRrj529Ybpbp7MC/mDIeAd3AiB3JirVld/AVnGQoFhqMh4KFLqPku25tbK8l52IMIyDrA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC9UNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonEw/+JR6oO1Auw99RpaWHoXIn5PCTDoZ2/1b+3Qsft+cTvgolvjjJ\r\nCrNAZyJLXxqWz7irzB2kN5LzUNILDPGrS7mHKJDZPbpLxMZmPXKeRsifzrpP\r\nvniYzg+lUDBg3/khHVlbkTraeSUHWvj96zy+kaKSgBF/2Zdnwcpww4UHr6uv\r\n1qoU90Gts+OcCpi6QEo4Db8jpkkuB91v4EpMuHP3NJQvvFVUewVSEJ/21wST\r\nWB+iP6E6bwCJwR59DUqt089HeYM785S7Y0kTUTCyJqWRVo23EpCJhV/WTiSa\r\n4NtBnYoI9BK5uVoWLIyjpEXJtOiMKNvQMXzQuig5+3ulrU1A2qXKctnM2YsK\r\n3TYs1o/uLRTckwJ2WoT2wEHe0v0sTDGslGUL1vuLHIebwq4aKq9f6YSh5KNv\r\nVmlKnbRTu8POUgq21xpYhDRFPpyrkG8lujNW8dnThKyyiHlALHSJKsolM0wp\r\nU5+7dld/xD3XkEAzkMIdnrO0UrmgoOzrYcQ2umedOqVmap2qkKDBrDiMTob2\r\nqNkQt8STGLkgBnz5btofRR3mT2TnT2PvO/ztlE4hF4R1yJ1Mhr7YBrE4LbwF\r\n2ZLQduzeDVJmxkYquBOhem2WnkjoBSF6T5QFhq56kclxLCXVhpyq6B+aqqSz\r\nFzKdz57Vd+/k2jJ8MGMqhsiKmZ3/LCJiyzM=\r\n=7bjb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.12_1678497037522_0.3108244708285295"},"_hasShrinkwrap":false},"0.9.1-next.13":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.13","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"e7dbf550b1cabadabb8f1617cec252ea6f692225","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.13","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-c28wHdPSrMQTJBAaiF3whQKzpKdbZyKjrc6soX1LMRRZYalPRmx7DbrS9TWDowFbS2PeuiaZRriYzR6A1siy6g==","shasum":"a0bdcae2f7430eacb99bbbf8d1c9087f15896ec5","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.13.tgz","fileCount":33,"unpackedSize":50582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2fNaxWeezfksR0J88YSnJ70XrZSwUxcjXg802OT1MAwIhAPBTYLNV5Tzcp5jBAtJMupfA5r6MvWLbTHjjWYg4XtJ7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC/r8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGIhAAi0tRk1Oe2IzsjomUMlvVAbhzjy/w68zlA1VTET0JTS7pabcV\r\nFp2DXGySYPE6acbRTl/x3rZg78SiI1vkgBmg+cYgRSYpxWaocsl519JcovW2\r\nxPLfEFrQYGpvpZorrflrGzNdt7MzDCVCOgghACSwNQjHl8jokY2h/BFq+Mxh\r\n/i6cwkRQwKRa0u1PnAlciRswWh+X8SkaeXlSohHNyK6KDsM8koqxOmZUuk/M\r\nSh7jDgEwfHbRdLfhjDGTm4igkRoIQvWsMZzj1Z+x2LvDFnrEZOvaV5vm/7HI\r\nW05i1d/RftGCZPW+DPmb4oRaxbVHT/ZsV/GAizjIzMZhZQggI4mOLPyfoSAv\r\nYBQ8GXaD5vRW/2emFh9V+Q8+m2B93RleTCW93d2VbTkPSRw251T5q5SCa6ej\r\nPPlkVVS4tUybvSnlXIhLypZ0DCoE6MUlyGwBJecQqKWH/tnIKoB8NVv+CVgy\r\nByQ1k6uR8OsZJ3vOY37Y72iPR6dr+1mpW1enA6bHNegsPxgf+VNL80g3V2ct\r\n4IxBjHVt60HnKuJ16UE1B7OFK4ekTHYtWbcfi2oefL3x95MdD/EGp/fVtW7u\r\nKzOnn0K58N+6wNkIGgPaHx2JJPMUEBsNa9pIWskL5jYttbatQMtT8p8h6P8d\r\nSY0pTgeC+jbH3h2azQXF7cjM6IApiO5Efr0=\r\n=eSFn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.13_1678506748284_0.2402459586024246"},"_hasShrinkwrap":false},"0.9.1-next.15":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.15","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"d2b89c2bcec9187b81621dca670b0884031cccc8","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.15","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-BUwC0hmMMiiJVs9xufT6KBsVa+A3+hxdsMIfh4PR+NCpv7oWZ2SHWtXHtN+n/cjYWamC2SoX4V1CFj2F42QfMA==","shasum":"05a95c4ccde370b903ebdbc8c5bad91ebae9a532","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.15.tgz","fileCount":33,"unpackedSize":50582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwSandq7Cp83czOG2RRzFBWXudTKhLAQYQiCLcD9njUAiANp9smeb6dD8Uz01q5epaWc+lGqQ+8cN69mH5rs+HWJw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDRLlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmohgg/+Mt+9/eS2XAx891hqWlswSoa9T/e18PdozhhtQreFNpki4Zjq\r\nTHo9OFf4eF5BpTxuNjIcuAMQ2pAUZLNT+rYCJvmECE2UzCDA5iNST9PAThEo\r\njUzludlAkjlSDGLJ83ZiZ9bKb7qghaoGgVXU8c9EaixknTH7MnQVpuUfZgx5\r\nVlSPQ3ZynewyOaTM3Q8tAMVtoQIecNq3OOhpyLX9wJXfMwjiciyJJCm40WgQ\r\nI+nONkW63e6aPY+SoQrxMdCeuMa6WOV+w3mdsUrAmqcsX8YlXWydpLR9MhW7\r\ndswdj36uswxpTnWyGZ0w5gWDSyvYj5qsbc46CUi6x71W/GAZ6TS19e9j23P+\r\nDwB4NU6TCoOegtglkd793jjQafVFBbBSLHZW1al8UtgSv2JGfKkMSJ3rqJ4t\r\n335fDpb2GvRUhcaaTv7I66msR+yzX690OP10BGKqjCqZvkPJ/7j9s2yTQgE2\r\nkX3MBJPu1rRXRTTse57BsgstQGALR0N4JmZJHs97TkP7aj6hMk2wKuK7hXjm\r\nTzFHnAkCNExVbImVV0o77/D5sZhYI4DLb2JLGMmOuadQc5zc7FD9ZIm2zFUq\r\nQuJ+OAuDqsIZm58Ikf2m4MtNnU28nDPYxDwKWCpcuYwPGEkVEElsUgDacsTk\r\nkx1/fpEAfjWiMTJTpLMLlqaj5AYnYd3Xg0g=\r\n=0YMN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.15_1678578404919_0.008517535525566222"},"_hasShrinkwrap":false},"0.9.1-next.16":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.16","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"1907345725090a90ae9b96104114f33bc4ed8250","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.16","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-hqQJLI2cjkiC7ygJtSk8kFq9sRlrPZsBtgAory6njF56iD9ZGJD1nocB4Qst6Oq2EAZ1JyAUjuvS3wxYLp02CQ==","shasum":"cedfccbaa0858e0ae899b1213cb2f4cc8da7700a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.16.tgz","fileCount":33,"unpackedSize":50582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ0twtmMvwU88adcznpnGdNfGAzA1gCINx/w6fxI2zEQIhAOUNX3nUXhBgbdi7vUnQF9mkEgYWQlcTlFKS+/F1W8Zc"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDWHOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrffQ//VFuYpvU5ye5vE3zA0kaw9lA5m4c9VBgUbAZY1bt1eSMJXtp6\r\nd7TQFrBKxxUghAMLwmZNPpAlL0BsoNShayKMKvHHWIfgP38AgzGehwIWkYK5\r\npLzV1qsITAUlvp6ULDMd7zjt0XlP7+LVLnVmFSfTLHIXAkFJAq5V2MUyjYIY\r\nYfgPwUH9eROXLytoAXNNnLE/JIlMDyQk9i5eXU4rmtK5Kf54zC/u2Q/muPnT\r\nOAWu8Lddl8CmVzpI55cPgomtFEsoHOJRWRVw399GMDywDhSEiRFzWGwDzns3\r\nCilohqof+xqcUCK5VAO6GA2OEYgnRTU79/GmF1pTXHFRVl5RdeRp5MAIihp6\r\nWRCHQCmsNslRAt4j2rBtMXOrI96JIdQ/J4LJG4shEt9yTJFwSiXZkQyWIBrb\r\nTCDKbSQRgK/5lzfmtd29ffTzmp04538oFBVrd8t70ueHkGTGFuEpFN3dClYw\r\naprBwEquhYWtbjGnwuoo01bLjwJerO4ZAgeD9fPdWSFlcWNG6Ok2cOLUWxe5\r\n3X8S0Lp862saWbpUGZJSZAC6+neJBp+Iujqkvn8O9sSVDvNLid0ebYyyBtaf\r\n8cFF7kjP1F7qneBAZARWWstfTz8Wcq9UBYbn7UAfSw60wfYKMqXyGVifZqxG\r\nD83ItqluXUNhCsU9xWd6EZkuJV3Y4gU50Jc=\r\n=cB+a\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.16_1678598605882_0.1530962163283045"},"_hasShrinkwrap":false},"0.9.1-next.17":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.17","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"63e059b0460ae40e6d31a5ed0f0707fbd99f75af","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.17","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-NvSNxMnsKeVCYkph1JNV34Q11dflJGc+UTmZth+jfR3sNWLvNvzujoITCzv9HjkhaBEKi7dR0yaqjsXoT9n6jw==","shasum":"039a6fc84c5a0d235cf291cd535ac812dcacc5ed","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.17.tgz","fileCount":33,"unpackedSize":50582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMvQ4B3dWl+h79uVgRYD8lElizSTR51p5m8fMNPQepVAiEA2KgFR17iO4VOjLY5ispviVMj+trAT1vrwf7QoEH6EYA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDWneACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpR0w/+IcDREoQyghVdN6MicuMlnsf9aWutGQ9S7+nVIqdfbfQkWS/W\r\n5Rf4xvQaqCLJfKuDsh8i0ehq5dl5dr14Nm0jDXazln8g/2BmFJpiputSdEi9\r\nnWEx6vmBZEKHSSsVvvYYH2wWSrwjHRC0riDMbUdr4BHra7YqCtJwXiaDByPK\r\nTY+NkTwcV07mH91l+ZTaVCbRuuFdXhPbL4NdE5QG9nc6KxPiWxW5wj9CL9on\r\ndcLcSHaxpBdTZSAM8odCCTFDFwAfnANgP8KFER86jFIF5R0YegEb8AMGaviB\r\nAM84BY/axjyNGq/0CbdyHxJghw2pgq1jV9WzUQbzlt0wdNPiv82b97DAq8ep\r\nEED5AOaqk7kC7mnwG9Tu60IRouvu8RKULYtQs0gqGI7n9ujXJS4OeLLGsrb3\r\nGfQOQe2PG8nEhnsq6o+1G4qTL4VlAv8xlrQnRKddy0eifXL1NBhnELaqztYQ\r\nUc6Bb+ETpQQ3riJJrJIt1o8GvIrwYZvQBlibMVG6TGlht/X9tFch4gxnQtJZ\r\nIAFPcf1zwB3vu0AYTGmBPibWAM0AI0vkJK3yMSleqOP1/WeWXy0R2PoCZL2h\r\nCXRZ8CJG8K9vB0BcxVFG9OwqHR8Lu5T4Kri7wv8vT86wot+TS87u4na9zTBU\r\nmzyYyzFoEfoSX2GtkIM61SHHgxpWNXeijls=\r\n=0Kjj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.17_1678600670071_0.6894406043585717"},"_hasShrinkwrap":false},"0.9.1-unstable.27":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.27","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"f588994f2aad4f6e7554a3449df78a0816ee063a","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.27","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-bS0a47160dv4LVnQ5BjWS0LIpb+oootWUP3RvcMC/eW8T18m/hhIaL92TlMQ3fmKtF68en+k4o945pufo+GPpQ==","shasum":"abbbb5d79ee84d1b02856fe51f65f1cae290b157","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.27.tgz","fileCount":33,"unpackedSize":50847,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDxw6kCPVSGbePOGvJ5uYAnpyObZJun6Xflh6NGhVlQtgIfBeZG+h7dLF+9FmIHxbsCektLZsSxPWR+pNtdCyUC4Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEc9qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm5Q//QA8dhtiY+0YB5MDheRsU4yhg6+rhYsTCBXcLQlMXsStwk3m+\r\nV6JVV42ftz5CL3SzRl4GTiYFM0QU0SU/uXHANPKfWBiMa9Iltgc6F+5bfxzT\r\nOTGpCgvxsMz2MHp/WI93KCnom93jB/cIQaGVhzmIqDt+K/qvu8+7XxkCwTvy\r\nub5arx7sW8opk6OaadguFH7Cneg/n9fPKmG6iK5Fi1EiPMhv7MUvTeBOv0SC\r\nSyhKozD7VQ6Z538v9Zdpeo6IzOXythYhtF4WbyVYXzqp6bnVMa9PFpt+QhVY\r\nfcs+WfLBBCrmDBbIT6wMC9k+apqRwDLVLwbBUpSFqj5jrvlSiTn41qnXI4uc\r\n4XSgmD0nuGQHgdEN/ZhY1FP/MDVaqNGXM4Xd6KuCU0Uv1WVkRuZkxwQWh+h/\r\nLHWXYt8gTv3BiMjcyVHciS8KCGqCEeRokNqZTHsz2f1ClZjY9Kdz1ch9WiGC\r\nwA+GS5I+y7chHAgkCVc9aJP426CO26At7J6R0zUmVinonyIlASZZJtOxYWjf\r\nW6o+NW4Gu5m3AKL2PevP3xLbIObWgUmd6aXOzJxBUx5kFwretaNW1/LNyCJh\r\nBQ/0Y60E6newF1WYemfzx8ngRcJQBuazbVIWtMpxuFmkHparlk12v2I5rN7s\r\nxAPdnOlzX4jbGJJtRBySbq5iCpAnDGn/tG8=\r\n=sW3F\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.27_1678888810381_0.020107346741391252"},"_hasShrinkwrap":false},"0.9.1-unstable.28":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.28","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"9ec78ec4fba4ce80a35d1e9577aceb8adc10d726","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.28","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-Fe5eF1UyaBWFoYIyEfgAO89HHFdcN1dbaWf9ZaCWx0GEaHWSbr9sn0qcfZ192dcotesqw2sYapuK6aCluTQ13A==","shasum":"88d6e2c104a5265bd4a0c90bd9a2554a5f2a1120","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.28.tgz","fileCount":33,"unpackedSize":50586,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsdPR/V6S1H4eT+7JC2pGpURocbBqX9taAfD2JPJvspgIhAKjTMkOket/Oe0KOwupbkmHeKtYvqnA2hby26nOKtU9s"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEdVgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFaRAAmi/DMjYfBDWoZ5nVNvstGsuMc27GKSVuSdz4tf3HOr/+iYZB\r\nyOJXRLduF5uesRXIZ92DoAhzqIV1W1ttvRV5Yol+JlBxF4ZZ1Pblexy9iMML\r\nE3QICk2gS2swCg7vZv7AqGCOQkSCcH/ffEeoroSYXIm7iul79/ToxpPbF67T\r\nKQhMCf0DEeHWUqz51tUk83+f2mWIbqzaT1raoSO01RR/3KH2MOVKEExqgTww\r\nZVr4EfsacrWc4bT+mXCfjPrqBgdE3t8Cv+gvvqv+/Fe1I0eWG3vSJDEclLC4\r\npP1HUgIqHEcWIUGhXlDCgYmMhA5dJqqnoSXzu1HFTsiGIRJudX6oLzyAF33U\r\nbgZRAyOurXdLSn2B1qTr9FvcBSpSJUey9Ioirg6ZVbYPvx7uU0o1LvjaQejc\r\no34CWOLbtmnwvzGqIF5KGZZSkp7yXN6HuqnS2BkYoBCySlKBx0L1D85UIcvA\r\niqczO3aswR/pzBspdxHembRjbQr6t72MbcU/wCmNQyCRoujZv55ayuF5vIxI\r\ntDXOG3NHUbhhfwj0CMG9sk0k49ZL7HJX30kjC29jnZOM1baP5f1pgJdoxvym\r\ngVTUZNV2o9MDsGpL0ibVNQ+0/nuCDM6pbccXF+Hlu04xMf+7Z7EhvP/iF/Ft\r\nirY7nmAUddWIQ2MRhQxjVFPjVmpHBC8Gyh4=\r\n=J91B\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.28_1678890336467_0.5899767550463042"},"_hasShrinkwrap":false},"0.9.1-unstable.30":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.30","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"f9e10f18b07a49ec535f88e87c93cd69f216d121","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.30","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-swvZXgCzqrc8MMrGZ2tXD468Y9w/3AF6+yMwFsaxWhd69Tjs+VeXt9NYjCas4sWa1m8tdWpJsmZkG+CZIwm8dQ==","shasum":"bd8dc32e3cd0899bab4a19f0edfb16fa50b81249","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.30.tgz","fileCount":33,"unpackedSize":50810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDklnoDF/a9gBOIiq+qivVqK6U4hSVVgnuXxAXEnQYJAwIgEhX9woyA3sORomGkZGY8epxeSZ6p/aouzKmm/T9Jyag="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEd2yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXJQ/+M3/SnVwQ4IgQDEKnSjhRQv+yGAmNxIHkQF1E55CC+B57pHs8\r\nsj2P1HdOUg448xhhG6QWFisL5o4YkuahkWFoDExkucwjRbV0pTM9cI6AfkhA\r\n7GiZBm+svgZ4JuZuncPf6HOLqneu4kKGJP/chL3WtQ0Hpg0bimmO2gkabtyq\r\nuQ3JpJwz/0tp0HUCiLtLR1MBZc6urYKKH/lOFBaahEUhgbi6Fqjjczaz+N/o\r\nfjTVPF3pHVNCMJEz3OQhte55vNep+FZi9lIqxIQmoxpxFMUPMhn/P74R4w0C\r\nRAAtu2UctPQI92h88CNIlYGcDras/I9W/jMuSx1YuNXLxASrn/BJ0pMEJJzY\r\ne9viERg54oZnnVmASdmTQSXKr8KIT4y6JHErd73U++HhjGr3Vg47IpufEk+t\r\nvFeDLQpGAMIc1vYimUMT2j4YYAGRFFS0qWJg8NoZj7Lh0gvjPBzvsLFXaRfx\r\nwg2XRnlTec4xImi238kflfjdpC4vSzwdyLGlzEe9EjkCb28Htg72XsPqdP7p\r\nrSodbymimmWYJgu6vsfUL5nnEyh4Ltyo+WWAeVJhVeoT8FEIcSV4aV1DM/RH\r\nP5RW7Eoz4ZpXs3349SLglFmGpblwZRltOpA1mMjU0Kyzhsu3TpNu65NNvTds\r\nxfM9d1UyWvNEzAqj611aoQTXdwbY0Otb8dc=\r\n=n/Pj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.30_1678892466231_0.5047284857411154"},"_hasShrinkwrap":false},"0.9.1-unstable.34":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.34","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"0a44ee76d7df4f0a1bd0a7aa092ab1f417269f97","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.34","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-lJEVftxxzrAwXKiBBqnUDjT+288x13k+8zfUz0+5DxDFfdHyV13sI/JmC6aOLPVfEyglazpdE3f1n2Y6+98Dkw==","shasum":"623239cc28a9310ab499c62f83950820e243bb81","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.34.tgz","fileCount":33,"unpackedSize":50609,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDh4b6jwpfHlTKnzNrUD1yGzU1Ch29MUFgqq+t+r18tygIhALY6o98CCYPrxp+EPSgfythIQULuDw0W95Ckw3XcLZbZ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEfMBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqVhAAgb6GHk6S4OPuQX+OZm2GBBUDRG/oe+KQYr28okFHYcJIT7hX\r\nmCP+EKTpBhp+bqCN++2a4DmTW808D5XdaL0ToCRSQOB5QwN1lTNwmu9O9H6b\r\nHfiyNQsa2MlZItjD1d8IgVg7T9hOyuL/x6rAeTwt5DHrh6zu3E6eDLVcffDk\r\n0xx4guBtfmgi3MWfDlqW0CFh2nLQuHJExc+7LfyCoDw9KkC0ibPKePSNxVKZ\r\nVqnjoOZbU04RONX7FHHVsT6cry0U/khZOh8G0kVXvkffVTVTzix0WepPzuLC\r\nZexdMJBloyiPRHRCEpgVXA/M1CrZbvA53fhc1LSTZo2EKHeLpQL0uBfCL/sU\r\njiBlrKL0tCX1rUeJd+zWbPFssjrT+tNJGFj8wFuLKBVFWgv5f6jdBd54VMnO\r\ncGGW0CUDztjZGPuoy1rAne6ZlgAnU7lxDhFYQ0z3ZQra7h6zaNv0N4brjM4z\r\nLLcsPmz1lSMewkva0CIj8pxJjS6n5HYglDrXsF4zqzmYL4ZCt9TKI+pB5VvV\r\nRutHH7OYuNLXR3KOXyR6ZT7u47Si7rMuytKB62dBSYSOrzN+i8pJXVFxy5Zv\r\n6f6bMNfALSapuRM7Ss8pA7LT8ekQvZ83bM1EbY7RbAt5TQA41BRkKO7Bxez8\r\n38XLt0NC8MiiU+q/2ptUfcha8jvNDfbBqNQ=\r\n=REdN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.34_1678897921589_0.4935870782257612"},"_hasShrinkwrap":false},"0.9.1-unstable.18":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.18","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"a4e11143915eb1638d999fffdcd92b8578227b2b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.18","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-xDbCTqkkElH+8DAZX9iYys+K9iTMO0QoqtH+338yzB/yqQs0GtneKBLSzBb8xMuyk9EqPftSs6tVw+hMyF4qEA==","shasum":"35bf6dc42129f5e83c8bd5b5995d154fe3a189e4","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.18.tgz","fileCount":33,"unpackedSize":50643,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHHz5Nxwb6jGYgydE1puLNZnQl+rrd1e0ZN2n2k/OCnRAiA8T8b3Ye7Qks56SRBIuy6wIFXdmkbi6mhzQSNgCA+vmw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEuu0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfWg/9HonwDBehdowDafFjgI/a+m2T+GGWXnbXRLjOd9sIsK+pOZnr\r\nfwnB7yuNXGPdqmHYhy6zeoeB25bNaf1rbaKxuHPPDJhJhenix9m8TsX2anc9\r\nTIZq1iOGxUPyGYBAarKGpiV6r3WyGbFcYFj34IhMMhT1f8Ug8mk4lpLV+CTR\r\nB+uedyZw/w+dHC67wknWcVnG+9KQxS5sm7Pwi9/oxvtvHUy6uzgTU8TQ08ea\r\nOIK9PVfLMyOSWIN7OlwK8xtnbUJULMxmQU4ydTveM/jOGq3s8CkbuTjxrg7k\r\nz4cznFfuHdrnuY9l1dK850QfmJnX3jYDDLwbraqts3IutKlj5ZpxvLXOJGdK\r\n1yI8Huv+dG6U5VTN+2p1mGlJiV8cArNJS8kQABCXV2M9RcfhfUiU3suxj7cT\r\nA/KElj1vhMmyIZphiGZ7OudEhhMk9jpIKpoHSOWu/+ZEEtyIGKuNV9SbOCiW\r\n7narHjKHEsHPjXPwYPBeT/XCVKKaa1y9g0bGJKhNAyaDCkvVxI/P6aa7xTmK\r\nvQvC22EkY+GpZ3+H/kgP/U036H/1Au5C2YTZWJ68YmEOWef8jSi62bu/sfnx\r\nv781mk302HtsbMYlPgY9uOBJJAD+tAj+XUExr8e1jhD/YN1pjExbwPHp8l/k\r\nA6J46aSElWibJ3SqZ4X/4NPW0QzQZjyZ/yc=\r\n=/SCi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.18_1678961588067_0.0073320632065470015"},"_hasShrinkwrap":false},"0.9.1-unstable.19":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.19","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"728fc1657d956e66ee8e0a65680b8f9dd6ee701e","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.19","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-0zxIwOjIQuyOi1pb6xsdK0GQfOFf6jw6qk6QWUPQby3Q4T6Idjw5orwmxmfNZkBfhh2ylnBzTGLz5SSQm6pDDQ==","shasum":"30bacbb1c4bb3872c4354005b33dc822f18963e3","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.19.tgz","fileCount":33,"unpackedSize":50643,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBP3nSvNH7uws7AFov3GSdZlprWt2ED9JLNdRSgcXluAiEAtzWLf5tUOGudbKW0KrMapfsZcAYtqNeGe5qU/ce3G4Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEuz9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrfvw/5AVVHZZGfVxTy9C03uQrC2AQveEo2rw+KwOpblNwItHiP+Elk\r\nqgkIDUso0qBqbUGRCRr3V8J6AukXjdaRDputTDnpvNuRJXEp97HSFSs0P529\r\ndB77YE/jlyhFziQT7ofFFliL/bQxFcR631C7WN1JB9pjBlYx00lvtbACGPky\r\nQWnE09TeunwwTm6P2rmgEYBncNv+4kXck2eBJICvsLQwhfZ/ni82j5wOsLSn\r\n8YWAfRQanuW/Xt0A4udmpYRQcyf4kKWJ68RtxDI2NEY9ug/fmKMZ1nKDayJz\r\naIdl7dCGlsAvEB/HsrncDDrkPo9gYu/kWKaCFSuGVUNkiUYFw+fS5nXJZCQ2\r\nDkFSlGEJdOWWFEPG/mjQTsZHxTMLg0MmU5fRmoGe6G/AAXsoQE6ukx+foQKO\r\nACNnm6R8fVKHXhkWeIpi0IMEuNHTTKA+2e9aVWFmevGdk2S7my5d0uA45tXT\r\nbf5g5rBz0nIqd/2ugIVY9HVouFZX0aqR9VAOEJ5PzXzAiYXBXYP6ym6RRxER\r\nasbD+it4Rl6liPHu0vp9AeBXFTOcGRrkF6m0IEcxt9pDIxrzvWMgUFfU1NCc\r\nfbFQC4Rt5zu8G2xhYz37stR4FiijoQoYxOmxgbO/HounY8xORzaSU0sMwiAa\r\newfkrbcVfxUzhcGPP3feF+z/EGcGAWjutgY=\r\n=+0ez\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.19_1678961916970_0.5395907884431834"},"_hasShrinkwrap":false},"0.9.1-unstable.20":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-unstable.20","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"a9192f4b8922f5ec3a82e588081adc49f564b9b4","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-unstable.20","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-oUqFFID+U2Ob2pR8dwcU+i2KGGNU8K6M7oNVGqp02HF1t0NZ+DynOnD888gHSDDpFHHspOUO/bunOq1woH/lvg==","shasum":"87bd7c081a93af2c5eea06303994238d78e41a35","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-unstable.20.tgz","fileCount":33,"unpackedSize":50643,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvjtvLdI5myi9g4bzRWFaJAg3ENHJir4sbNP3ccSaXyAiB9C3OvRj8+4k47jW3FGL8i2FKArSn+z+7om+miN/M/AA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEu1xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZag/+PF/2pyNW0+YZJhEqOGaJ3i0VN+/9gBuDvawKOo1UHNlE+j/H\r\nDoqGPQwNt2VBhXJRtGQo7XiWN3Ngba0DlADD/ctNQXN2XSXtTIp74iRy+JAE\r\nQuujv5VeWFDdcGU7sjIi8FtIUl3suntpBLPGjO4lFWwY/w6rS3zVDmUH2tVd\r\nnjIoN6B9lpNRG4Lk+yWP2xSSBw8ayfc/8Ncrrh+H04owK3wcKkRrd7VIjK81\r\nnTK7CBdg39IznzB9CLjllP2Wx1zo1/UTknf5Zt87clBU0s2+Uj9PYK+RmSpL\r\nmUD9jBpDqCtU5YN7LQKgWQHT0OPcTKkhYYBxHnQwhKs3peeWlM7ZVPOBA2R4\r\nEGda4HPqbcKGqBkp29IZXBior4nQTqG4vVRk/LfRD4x7gv/WzfOmwzVKJcHJ\r\nE5ROz9QqrNUIoOoJFb8JCDJgn2/fqOwMAkCTvVaMD0xL0VnjShw2PdIb6qXa\r\ngmL8DohO0AfXIOv9bOorcA2nFNlOXO0eeTUNMNT+sBTqkdANEiLKUeGKTCgF\r\n+roNTXNbn1FTw7fvlMiA6IH+5K6vqX3vDyjARDQ6cJLRqeFft1CS4gvjtML6\r\nB2Lbbs61zX1H43JDeMjkul71e4uVp23FFgxnprDmD/Za6y46KA+4ADktGy8a\r\n1NI1N53fQlKymWIfrBz3ppYRj4Xb/Z9zAqQ=\r\n=1hWl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-unstable.20_1678962033771_0.3326968648479742"},"_hasShrinkwrap":false},"0.9.1-next.21":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.21","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"b824d21a986787d0989ecd164941a4d74996c9f5","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.21","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-yAD9NDn+w4d+B7boYQATePpKDj5zkK9twGMF3hxbvKZs0EG/3QbGmK8+He/vCSFSp3JotxFcs3pWvTQMUaKF7g==","shasum":"4bc1e9f7a241493e0286de7b712fea3f7297329a","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.21.tgz","fileCount":33,"unpackedSize":50639,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXJCkMGaG0slNE1I1UvZ1rY59amho7d7ik71OQjJe4EAiAo20pfuO/gE9nwAozX/IJ5Lioy5iy3c7qU861BXNREew=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFDBqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7Kg/7BG6TuLRkBPsEC/SMsB+2Kj1NpECAne/Afo/n2pum7I2oY/ie\r\nc+oWc31R82WRLnyhvJ/+PBufu84s4tGos28LhyXGJ/7Y1ryfQtaWvTpAuF1A\r\nBuf7C032CFxLmG5SZ+yK7T93ahRwlSRRXSSGYLOroMrGdgyT6QiMv+2pj9kH\r\n8pMAaC7FoDmxl2SeGHhL5ULWlxW/ItTVpnHHLDvORZHW8lW9+VJeuvfRVIGK\r\nqRtFnq0VjiIyn3ONd3aC14mLTe8od1cajcwH0QTQe2P+aGYz7Og9lDZPs+Oi\r\nrtVai13r2MAMeIzRo3scn8IFwqtgk7C08NpzTQ2eGpDnhpRv5mixCKkBbK7d\r\nGYPQ+5ftKFe1pP6f3AwqjMGBLm5aGH/xswMX8j5IrUpjKy+V1iCvWqmEDgR0\r\nh+GNQgo1WpG08domEDBRfSGI0tOy71/KQ/oLG1/xuEQRM8TlqCD02Izx9UdF\r\nd8kMgJF35guotgYSnJCW2nyJyETqr4DwqOrMZkHyGmUbHYVC6smseEMkZ8X/\r\nJDeOW9i2iKBEcDnL2vjGGJwl0HeWj/IX+AFZ0SlFVV6ak6T7+t+qTCJWeTxR\r\nbQ9CXkCXSFE5hHAix+FxXMOD7zUn/nkPjUtT2gX8aFB1XBTeBy1ZFme/mkuU\r\nhRyM0/lVVXYbO0P3cOoBRDtWgTioGiW2tM8=\r\n=RXXn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.21_1679044713816_0.12321748926177523"},"_hasShrinkwrap":false},"0.9.1-next.42":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.42","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"13ad8825d5bc1148a429c7ff927021891b14b828","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.42","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-DHSI+nXB657or3z+pS90aSgH69uLXLl8StSM1d5wEs3F1QQR/xs1isS5nKA62gFwlF/Bb6yVUSs6RVUMKcaRAA==","shasum":"41401ba9c2ef2e056e69e4fe515a40ce4a4b1b2e","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.42.tgz","fileCount":33,"unpackedSize":50639,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCq367A+IpOb5qZA+b3LeReasx4PUioK6BX4V+5xriSawIgCnn1signV3RyA49WCTEQ+F8lgBVqKI9urbnAXRGw/5k="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFDl0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoI5RAAiuS6qfGikdRbmPwi7cveFa13r2SiUpTzgBDiJ/rzchKKQ4Dx\r\nEjlwbdbWjljSg2iEkSN1YfyNpoeZT59WMUjl3JGTyJtu5jD4YzAl7NOO5QI6\r\nWFX1Fhz5SiYc3CCbv+Rz+94FLs3GmiteoptdqJ8jA4caK07U9T2spaYhOEg9\r\nwQDPkaw9DPK/pIf0Eshn2r63Qb9YTJqUI3oizgVjMVsAxOpHaWDSzBXgCnmo\r\np1+erkSdXWJzvjkiti9wN8COivdrs5YBwcS3bOXkeA/OMQnO6m36DV05uW4c\r\nwq5Y4IHNFfatWcLMjTs7gGb9A5efdGOHKrLsIUjOVfV5CbuVNV1pTrxXaakM\r\nn1ON6E5jqJ+uxhoNIV+bBqn1xvv2zHltJhmU3SEYFs4cZciR4LD5LKL9vWQU\r\npgDQmnuPwRq7XGsQNoX+IwdGEjR0+Wb5NmSOCc8vNFyplVPMg3VZCDG9JfOY\r\nUeYG4ig93SrEyFeWkH3jCd1qmaYNe95XtMOA/Nn6NYyDD39zurbqT175E8k1\r\nRSqNsI/nSTki+/GGaOd4LZdzU1Ej1SwBgxpv7PaRN3x7gkfvfZcQ/J80utI1\r\nN9ayK4ozeFApOQjp5Nf1IzgkQCXVq0jg7EuI/ojF24WiJ44nD7oDqxdgdDmK\r\ncRwuWslsbEd3IMaR3QKC2ASogCxTt+e/DSU=\r\n=dHz5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.42_1679047027740_0.8123479936579803"},"_hasShrinkwrap":false},"0.9.1-next.55":{"name":"@sphereon/ssi-sdk-qr-react","version":"0.9.1-next.55","description":"QR Code provider (react)","source":"src/index.ts","main":"dist/index.js","types":"dist/index.d.ts","veramo":{"pluginInterfaces":{"ISsiQrCodeProvider":"./src/types/ISsiQrCodeProvider.ts"}},"scripts":{"build":"tsc --build","build:clean":"tsc --build --clean && tsc --build"},"dependencies":{"@veramo/core":"4.2.0","base64url":"^3.0.1","react":"^18.2.0","react-qr-code":"^2.0.11"},"devDependencies":{"@inrupt/jest-jsdom-polyfills":"^1.5.5","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/react":"^18.0.28","@types/uuid":"^8.3.4","@veramo/cli":"4.2.0","global-jsdom":"^8.7.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jsdom":"^21.1.0","react-dom":"^18.2.0","ts-jest":"^29.0.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"license":"Apache-2.0","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"gitHead":"6a7ec2ee42281456394a8135cc973a33ba3ea82b","readme":"<!--suppress HtmlDeprecatedAttribute -->\n<h1 align=\"center\">\n  <br>\n  <a href=\"https://www.sphereon.com\"><img src=\"https://sphereon.com/content/themes/sphereon/assets/img/logo.svg\" alt=\"Sphereon\" width=\"400\"></a>\n  <br>waci-pex-qr-react (Typescript) \n  <br>\n</h1>\n\n---\n\n**Warning: This package still is in very early development. Breaking changes without notice will happen at this point!**\n\n---\n\n# waci-pex-qr-react\n\nA `Sphereon SSI-SDK` plugin to create an QR code and to verify using `SIOPv2` or `OIDC4`. This plugin component is only\nsupporting react and react-native frameworks.\n\nIt will be possible in future to request the issuer to issue credentials.\n\n### Installation\n\n```shell\nyarn add @sphereon/ssi-sdk-waci-pex-qr-react\n```\n\n### Build\n\n```shell\nyarn build\n```\n\n### Usage\n\nThe usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the\nrecipient to either:\n\n1. authenticate itself to the requester\n2. inviting the issuer to issue a credential\n\nThe object fields required to generate the QR code will depend on the type of request and the acceptable values. The\npossible `accept` value may be:\n\n1. `oidc4vp`\n2. `siopv2+oidc4vp`\n3. `siopv2`\n4. `didcomm/v2`\n\n#### Importing the plugin\n\n```typescript\nimport { QrCodeProvider } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\n// Include in the interface\n// const agent = createAgent<...  QrCodeProvider>\n```\n\n#### Adding plugin to the agent\n\n```typescript\nplugins: [\n  ...\n    new QrCodeProvider()\n],\n```\n\n#### Export for the function\n\n```typescript\nexport const createSsiQrCode = agent.ssiQrCode\n```\n\nThe function declared in agent can be imported for usage like below:\n\n```typescript\nimport { createSsiQrCode } from '../agent'\nimport { QRContent, QRType } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n```\n\n#### Inside the component we can declare or get the values to pass to QR Code plugin\n\n```typescript\nimport { WaciOobProps } from '@sphereon/ssi-sdk-waci-pex-qr-react'\n\nfunction getOobQrCodeProps(): QRRenderingProps {\n  return {\n    baseUrl: 'https://example.com/?oob=',\n    type: QRType.SIOPV2,\n    id: '599f3638-b563-4937-9487-dfe55099d900',\n    from: 'did:key:zrfdjkgfjgfdjk',\n    object: {\n      goalCode: GoalCode.STREAMLINED_VP,\n      accept: [AcceptMode.SIOPV2_WITH_OIDC4VP],\n    },\n    onGenerate: (oobQRProps: QRRenderingProps, payload: WaciOobProps) => {\n      console.log(payload)\n    },\n    bgColor: 'white',\n    fgColor: 'black',\n    level: 'L',\n    size: 128,\n    title: 'title2021120903',\n  }\n}\n\ndelegateCreateOobQRCode = () => {\n  let qrCode = createQrCode(this.getOobQrCodeProps())\n  return qrCode.then((qrCodeResolved) => {\n    return qrCodeResolved\n  })\n}\n```\n\nOn generate gives the following (example) output\n\n```json lines\n{\n  \"type\": \"openid\",\n  \"id\": \"599f3638-b563-4937-9487-dfe55099d900\",\n  \"from\": \"did:key:zrfdjkgfjgfdjk\",\n  \"object\": {\n    \"goal-code\": \"streamlined-vp\",\n    \"accept\": [\"siopv2+oidc4vp\"]\n  }\n}\n```\n\nIf you want to create the payload manually and want to do serialization yourself you can use:\n\n```typescript\nconst payload = DidCommOutOfBandMessage.createPayload(getOobQrCodeProps())\nconst encoded = DidCommOutOfBandMessage.urlEncode(payload)\nconst url = oobQRProps.baseUrl + encoded\nconsole.log(url) // https://example.com/?oob=eyJ0eXBlIjoic2lvcHYyIiwiaWQiOiI1OTlmMzYzOC1iNTYzLTQ5MzctOTQ4Ny1kZmU1NTA5OWQ5MDAiLCJmcm9tIjoiZGlkOmtleTp6cmZkamtnZmpnZmRqayIsImJvZHkiOnsiZ29hbC1jb2RlIjoic3RyZWFtbGluZWQtdnAiLCJhY2NlcHQiOlsic2lvcHYyK29pZGM0dnAiXX19\n```\n\n#### For rendering add to the view\n\n```jsx\n<View>\n  //...\n  {this.delegateCreateOobQRCode()}\n</View>\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","_id":"@sphereon/ssi-sdk-qr-react@0.9.1-next.55","_nodeVersion":"16.19.1","_npmVersion":"lerna/6.5.1/node@v16.19.1+x64 (linux)","dist":{"integrity":"sha512-UkphKAeO8C/iRl5Ew8m1w+S0o7Hgepisl/69vvlrnyPkRm2/pYpJ6+gzupsH2bpojZXHgnq6srlqTUHOhJiR9Q==","shasum":"e0b691d11df33ba3f7b759b22a32a64c6a7a143c","tarball":"https://registry.npmjs.org/@sphereon/ssi-sdk-qr-react/-/ssi-sdk-qr-react-0.9.1-next.55.tgz","fileCount":33,"unpackedSize":50639,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGQjiNKUXgcOKUUiVypvm9Rk8ExPjXesYXMZAMQ2dSeAIhAONPZGEQb+Tsn8d74PnDPP1XCd9AOOCFs/x/QrxeXbrV"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFFR4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrM2BAAnOtWWybVgErV4bkjKA0O6YQYV7IHs3BEejdmoi04HkbEK4Nn\r\nv23Shd17VmhsiMAlr1bcNV/jKpqGce7+p7YDKTlUWy+6/PzoFYYnVeP4ciav\r\no0sbOr2toiH3jbwy6GOtiPF5zPja1Jq9eRT1xBxwYdvxnDIKXJbva9yk8/Md\r\nuC5ZZQ/INcEd3T07YdRIy7urDtYSDtt4fiPgduq6ZVINl+EQ66QT16BCJU6L\r\nc2vRRPM2betL8wc5vaTsjffx+3iUFpJXj1K034HZ35/0DPFbfA7sKUhqBszw\r\nqHCm8cvYmSypS5j/+tFuaLk00VCOnipzeLOj3rPc8JpK8MuMlopmQEaSDVzM\r\nsdx+eBfSKc4lyjpEkmgZSlGk6ZSB8ls1vXJqk11hN44uXPk7FLuYieIrgzge\r\nQu9vgzF0M3H/vxDGVaJ4qOH3QJNmRvMY+Tnx6VKKMPKf00NhTSxzMV5LyPqI\r\nH5CxQ3kwtlhx++oc1wNfOangjqnFP3AhHjQVr0n/KsfDW2iyL+eFa5z+Eu61\r\nq/GBYFy6Jx6QYZxATRqFKyZco9axJObAEm4HzLfrH7Eu096C1FNqg/qjPwuU\r\niAtfszw8OohH5zXY/nFKIy+DlfNqr5qn1KD4vXOlk/4H9Ta5vDKn+EJHD+NI\r\njc/llgF7tzbF1H9H4shLnIWDAQJTLTXh17s=\r\n=9oLN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nklomp78","email":"dev@sphereon.com"},"directories":{},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssi-sdk-qr-react_0.9.1-next.55_1679053944140_0.6935184378164496"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-25T01:02:58.339Z","0.8.1-unstable.227":"2023-02-25T01:02:58.697Z","modified":"2023-03-17T11:52:24.469Z","0.8.1-unstable.228":"2023-02-26T03:24:40.506Z","0.8.1-unstable.229":"2023-02-26T07:06:36.539Z","0.8.1-unstable.230":"2023-02-26T07:36:03.205Z","0.8.1-unstable.238":"2023-02-26T09:50:18.415Z","0.8.1-unstable.239":"2023-02-26T16:50:16.782Z","0.8.1-unstable.240":"2023-02-26T23:35:27.228Z","0.8.1-unstable.242":"2023-02-27T01:59:57.583Z","0.8.1-unstable.264":"2023-03-03T08:34:42.300Z","0.8.1-unstable.263":"2023-03-03T16:16:58.333Z","0.8.1-unstable.271":"2023-03-06T14:35:17.557Z","0.8.1-unstable.272":"2023-03-06T15:10:10.556Z","0.8.1-unstable.277":"2023-03-07T12:01:01.262Z","0.8.1-unstable.266":"2023-03-07T22:21:04.246Z","0.8.1-unstable.267":"2023-03-07T23:30:38.751Z","0.8.1-unstable.268":"2023-03-07T23:41:30.016Z","0.8.1-unstable.269":"2023-03-08T00:08:46.387Z","0.8.1-unstable.270":"2023-03-08T01:01:28.181Z","0.8.1-unstable.278":"2023-03-08T16:28:20.437Z","0.8.1-unstable.279":"2023-03-08T19:45:44.253Z","0.8.1-unstable.280":"2023-03-08T22:11:54.053Z","0.8.1-next.272":"2023-03-09T00:37:02.626Z","0.9.0":"2023-03-09T00:45:52.839Z","0.9.1-next.9":"2023-03-10T00:49:21.843Z","0.9.1-unstable.17":"2023-03-10T10:27:10.089Z","0.9.1-next.10":"2023-03-11T00:05:06.640Z","0.9.1-next.11":"2023-03-11T00:33:27.439Z","0.9.1-next.12":"2023-03-11T01:10:37.730Z","0.9.1-next.13":"2023-03-11T03:52:28.473Z","0.9.1-next.15":"2023-03-11T23:46:45.060Z","0.9.1-next.16":"2023-03-12T05:23:26.063Z","0.9.1-next.17":"2023-03-12T05:57:50.258Z","0.9.1-unstable.27":"2023-03-15T14:00:10.621Z","0.9.1-unstable.28":"2023-03-15T14:25:36.591Z","0.9.1-unstable.30":"2023-03-15T15:01:06.435Z","0.9.1-unstable.34":"2023-03-15T16:32:01.739Z","0.9.1-unstable.18":"2023-03-16T10:13:08.270Z","0.9.1-unstable.19":"2023-03-16T10:18:37.127Z","0.9.1-unstable.20":"2023-03-16T10:20:33.954Z","0.9.1-next.21":"2023-03-17T09:18:34.021Z","0.9.1-next.42":"2023-03-17T09:57:07.997Z","0.9.1-next.55":"2023-03-17T11:52:24.296Z"},"maintainers":[{"name":"nklomp78","email":"dev@sphereon.com"},{"name":"nklomp","email":"nklomp@sphereon.com"},{"name":"spostma","email":"spostma@sphereon.com"},{"name":"bramtencate","email":"btencate@sphereon.com"}],"description":"QR Code provider (react)","homepage":"https://github.com/Sphereon-Opensource/SSI-SDK#readme","keywords":["Sphereon","SSI","React","WACI","OpenID","OpenID4VP","OpenID4VCI","QR Code"],"repository":{"type":"git","url":"git+ssh://git@github.com/Sphereon-Opensource/SSI-SDK.git"},"author":{"name":"Sphereon","email":"dev@sphereon.com"},"bugs":{"url":"https://github.com/Sphereon-Opensource/SSI-SDK/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}