{"_id":"@coralproject/talk-plugin-custom-asset-id","_rev":"10-3e549c3dcf8e2efcce568c3e9dffbe9c","name":"@coralproject/talk-plugin-custom-asset-id","description":"Custom Asset ID Plugin for The Coral Project's Talk","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@coralproject/talk-plugin-custom-asset-id","version":"1.0.0","description":"Custom Asset ID Plugin for The Coral Project's Talk","main":"index.js","author":{"name":"Mozilla","url":"https://mozilla.org"},"license":"Apache-2.0","devDependencies":{"@coralproject/eslint-config-talk":"^0.0.4","eslint":"^4.11.0"},"gitHead":"3445d9701bfd516852571cd5adef6472f56ddf5f","_id":"@coralproject/talk-plugin-custom-asset-id@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"wyattjoh","email":"wyattjoh@gmail.com"},"dist":{"integrity":"sha512-vW/n9uUZbvP82lPQMc1WpVKw05o92ApVEN0Bpism+wX6f/tn9T44GkpewiLL6p75k6Oxu3kYalPkwQPOy7HFHg==","shasum":"39077a4b2caa53b895cf9682211da12bd5710648","tarball":"https://registry.npmjs.org/@coralproject/talk-plugin-custom-asset-id/-/talk-plugin-custom-asset-id-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWM2Y+n4OME+EE6nxcezfrknMnQg7jOTRMkibS+akFCAiBhjg0hp/yjmdeUDgBsIwpIaAXxWaGVaPdB9nyfBfGYgQ=="}]},"maintainers":[{"name":"wyattjoh","email":"wyattjoh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talk-plugin-custom-asset-id-1.0.0.tgz_1515720455367_0.712900574086234"},"directories":{}},"1.1.0":{"name":"@coralproject/talk-plugin-custom-asset-id","version":"1.1.0","description":"Custom Asset ID Plugin for The Coral Project's Talk","main":"index.js","author":{"name":"Mozilla","url":"https://mozilla.org"},"license":"Apache-2.0","devDependencies":{"@coralproject/eslint-config-talk":"^0.0.4","eslint":"^4.11.0"},"gitHead":"f87aa7b4a78e0c622dc151896693ce7c86c07a31","_id":"@coralproject/talk-plugin-custom-asset-id@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"wyattjoh","email":"wyattjoh@gmail.com"},"dist":{"integrity":"sha512-LmUGDu0odFl++bqzHp3j05JMxjcXTIeb/Iz0u9CuUpWnv14ollFmwtgAlBj1nsVdxugf6YTunjZ9YnfkcuK1BQ==","shasum":"fa130bf6f121ecae12c4a25e7c127b400f6440a3","tarball":"https://registry.npmjs.org/@coralproject/talk-plugin-custom-asset-id/-/talk-plugin-custom-asset-id-1.1.0.tgz","fileCount":8,"unpackedSize":42437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1LnbCRA9TVsSAnZWagAAjF8P/0Cby8h3GEiSrImEKx/a\nb+PRF8uG1PsLI+abHbDhGBo60jREBMRKV/nscGFuXxsNhUAXTuymtm6E/wpR\nbIwEaeRkP/OIh+5qgS2Teyz39OodkQbtKC/lHEMJKZCFpzMxpUJxJLPkq4hI\nib+hqBkoYpLNZi6pgw4mP/yb2ZhoZAYLQhcCNTyIlgqe1lYILR2+sJlD40Vm\nZvy/G+0CP3VaZWUqUuMYeoFYkQ2D3sDt2cGcRdobeD+ASuSxYrFAIg6CsGl8\nu0veW6YgU7/+RHYWuC+y8OMjPKTk2gEle326nAR68+pY9y/s12AJNdsakhw6\nur+FXvKaOpsQHafl700TWWDkLuhq40acIPH6DSPiarmirKbCigzY/odICAgZ\ngbFyRslZjy6yDpGp/lSgxFPM9QmzY8wHVxjmbbgXF9tht6+Tw+f2wbwVClnl\nSZUmblXBP1WYnICU82Gusl/GOJ+xTApf/mpTLbxtcgYxn3ZVl86hchrThwKR\nMHDvGkjKAI7RVuVSm8xUtmypeMjF/WEayrhemkqnM95ysWNh8c7Yp115mGPJ\nkLm/DqfN9jYROctv34gKjNAgMnOF21MM8LVba5s9doo7mFxOykQAlc51GNMM\nbybMlN+k4xgjctuFLzy+/nIJ9cGxaAtA0hItPRrR3U223Ue+M06yY1T/iQpy\nmWbK\r\n=a5aX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhXiVBbR+M/2d/TUuedgZUK+a7GNiyUe1B6JgJJfIpqAiBz+ZSLQdS4aZC0vkF4V040XYfq+XipYko4xRem2dmBPw=="}]},"maintainers":[{"email":"curciobelen@gmail.com","name":"okbel"},{"email":"vinh@wikiwi.io","name":"wikiwi"},{"email":"wyattjoh@gmail.com","name":"wyattjoh"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/talk-plugin-custom-asset-id_1.1.0_1523890651306_0.6143302324421345"},"_hasShrinkwrap":false}},"readme":"# Talk Plugin Custom ID Assets\n\n:sparkles: Thanks to The Register-Guard for agreeing to open source this plugin. :sparkles:\n\nThis plugin is designed to allow the embed for Talk to specify an Asset ID to\nlookup and if not found create with the given ID and URL. If the ID is not\nprovided however, the url will be used instead and it will fall back to Talk\nassigning an ID.\n\n## Algorithm\n\n### Asset ID provided\n\nAttempt to lookup Asset with the given ID, if found, return asset. If the asset\nis not found, create it with the url.\n\n### Asset ID not provided\n\nAttempt to lookup Asset with the url, if found, return asset. If the asset is\nnot found, create it with the url and assign a new ID.\n\n## Installation\n\nSimply modify/create the `plugins.json` file to include it:\n\n```js\n{\n  \"server\": [\n    // ...\n    {\"@coralproject/talk-plugin-custom-asset-id\": \"^1.0.0\"},\n    // ...\n  ],\n  \"client\": [\n    // ...\n  ]\n}\n```\n\nWhich will enable it.\n\n## License\n\nTalk is released under the [Apache License, v2.0](/LICENSE).\n","maintainers":[{"email":"kabeaty@gmail.com","name":"kabeaty"},{"email":"me@wyattjoh.ca","name":"wyattjoh"},{"email":"vinh@vinh.tech","name":"wikiwi"},{"email":"jessiekrushing@gmail.com","name":"immber"},{"email":"tessathornton@gmail.com","name":"tessat"},{"email":"nick.funk@outlook.com","name":"nick.funk"}],"time":{"modified":"2022-05-12T17:32:12.307Z","created":"2018-01-12T01:27:35.428Z","1.0.0":"2018-01-12T01:27:35.428Z","1.1.0":"2018-04-16T14:57:31.382Z"},"author":{"name":"Mozilla","url":"https://mozilla.org"},"license":"Apache-2.0","readmeFilename":"README.md"}