{"_id":"@abhiram6039/medusa-admin-impersonation","name":"@abhiram6039/medusa-admin-impersonation","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@abhiram6039/medusa-admin-impersonation","version":"1.0.1","description":"A Medusa plugin that adds user impersonation functionality to the admin panel","author":{"name":"Abhiram6039"},"repository":{"type":"git","url":"git+https://github.com/Abhiram6039/custom-multivendor-plugin.git"},"license":"MIT","exports":{"./package.json":"./package.json","./*":"./.medusa/server/src/*.js","./admin":{"import":"./.medusa/server/src/admin/index.mjs","require":"./.medusa/server/src/admin/index.js","default":"./.medusa/server/src/admin/index.js"}},"keywords":["medusa","plugin","medusa-plugin","medusa-plugin-admin","admin-impersonation","user-impersonation"],"scripts":{"build":"medusa plugin:build","dev":"medusa plugin:develop","prepublishOnly":"medusa plugin:build"},"devDependencies":{"@medusajs/admin-sdk":"^2.8.3","@medusajs/cli":"^2.8.3","@medusajs/framework":"^2.8.3","@medusajs/medusa":"^2.8.3","@medusajs/ui":"^4.0.4","@swc/core":"1.5.7","@types/node":"^20.0.0","@types/react":"^18.3.2","@types/react-dom":"^18.2.25","react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.6.2","vite":"^5.2.11"},"peerDependencies":{"@medusajs/admin-sdk":"^2.8.3","@medusajs/cli":"^2.8.3","@medusajs/framework":"^2.8.3","@medusajs/medusa":"^2.8.3"},"engines":{"node":">=20"},"dependencies":{"@medusajs/icons":"^2.8.3","@medusajs/js-sdk":"^2.8.3","@medusajs/types":"^2.8.3"},"_id":"@abhiram6039/medusa-admin-impersonation@1.0.1","gitHead":"76f9dc8a75ba795bd59c5b61ccedafa7b4b8a434","bugs":{"url":"https://github.com/Abhiram6039/custom-multivendor-plugin/issues"},"homepage":"https://github.com/Abhiram6039/custom-multivendor-plugin#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-G6iUVIWnjkfVBgD+kkXHFbsBR8ydVLq9IR2MqoLfXdgWRP5WOYEMNn+3Urp5ETxMn+NKYHQgcUZx7pCYfLFdmw==","shasum":"ff79b38c75ace6722b33ead802c3eb5a0446a55a","tarball":"https://registry.npmjs.org/@abhiram6039/medusa-admin-impersonation/-/medusa-admin-impersonation-1.0.1.tgz","fileCount":162,"unpackedSize":250038,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBKwXwNHjdnL/ve4xT264j4rZYPPiT48V2hIMRgIHFEgAiEApXgbw9m/ZMOoELem4lsTlj79Dh5s3Igd2sAymLfmxME="}]},"_npmUser":{"name":"abhiram6039","email":"abhiram.ma@xcdify.com"},"directories":{},"maintainers":[{"name":"abhiram6039","email":"abhiram.ma@xcdify.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/medusa-admin-impersonation_1.0.1_1749540161913_0.050925071325411464"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-10T07:22:41.840Z","1.0.1":"2025-06-10T07:22:42.147Z","modified":"2025-06-10T07:22:42.455Z"},"maintainers":[{"name":"abhiram6039","email":"abhiram.ma@xcdify.com"}],"description":"A Medusa plugin that adds user impersonation functionality to the admin panel","homepage":"https://github.com/Abhiram6039/custom-multivendor-plugin#readme","keywords":["medusa","plugin","medusa-plugin","medusa-plugin-admin","admin-impersonation","user-impersonation"],"repository":{"type":"git","url":"git+https://github.com/Abhiram6039/custom-multivendor-plugin.git"},"author":{"name":"Abhiram6039"},"bugs":{"url":"https://github.com/Abhiram6039/custom-multivendor-plugin/issues"},"license":"MIT","readme":"# Medusa Admin Impersonation Plugin\n\nA lightweight Medusa plugin that adds user impersonation functionality to your admin panel, allowing administrators to troubleshoot and support users effectively.\n\n## Features\n\n* **Admin Impersonation:**\n  * Seamlessly impersonate users for support and troubleshooting\n  * Clear visual indicator when in impersonation mode\n  * One-click exit from impersonation\n  * Secure impersonation management\n\n## Installation\n\n```bash\nnpm install medusa-admin-impersonation\n```\n\n## Configuration\n\n1. Add the plugin to your `medusa-config.js`:\n\n```javascript\nmodule.exports = {\n  plugins: [\n    // ... other plugins\n    {\n      resolve: \"medusa-admin-impersonation\",\n      options: {}\n    }\n  ]\n}\n```\n\n2. Rebuild your admin:\n\n```bash\nnpm run build admin\n```\n\n## Usage\n\nOnce installed, the plugin will automatically add an impersonation banner to your admin panel when an admin is impersonating another user.\n\nThe banner includes:\n- Clear indication of which user is being impersonated\n- A \"Remove Impersonation\" button to exit impersonation mode\n- Visual styling that makes it obvious when impersonation is active\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build the plugin\nnpm run build\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-588a0b9e5493502979040f201dddf377"}