{"_id":"@advanced-rest-client/arc-messages","_rev":"7-d17746d8b0aabe362a33115657d7308d","name":"@advanced-rest-client/arc-messages","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@advanced-rest-client/arc-messages","version":"0.1.0","keywords":["web-components","advanced-rest-client","messages"],"license":"Apache-2.0","_id":"@advanced-rest-client/arc-messages@0.1.0","maintainers":[{"name":"carowright","email":"carolina.wright@mulesoft.com"},{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/arc-messages#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-messages/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"a215c040c23f31f3757728c214eaf668340da3e7","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-messages/-/arc-messages-0.1.0.tgz","fileCount":15,"integrity":"sha512-trT7wQ2/s3BE+XjKA/XZ583Tcs+CDiSsSRY310FH1PZSdhgWD5JqccppmFY0uyeoI5EtdHOVckU0X5Jb0xYWDQ==","signatures":[{"sig":"MEYCIQC4yxTdcjwyY8fUtU7/wLWZH0qzCKHE5/AQs9RnwHCGsQIhAP5tsTcVe57JUkfiR8SMi2xxnfpgpfVYzir0T0dvi7pN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56357,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHfqJCRA9TVsSAnZWagAAuAwP/05096xdMLnTmHphWYFN\nJ2vcSSlhdUImsfC22xEz0nf9pl37hhV0w7Rgsl3LgXGeTcA4nvrkGshpdY2d\nRi/1K3ROvAEonFMK8f205UDmZN52GnC4ZyCP4BDfwn7ukUqNR8QvFI5vCQcJ\nIJRkwliQXPofu23Vr7psINl9RqUVdu66N7RLnP2nc9Ek15Uj+WNYmjb4q97s\nwLU8vKUHWf4Yoc593eWGl2t2m1SWP7ksPZd40wAsAgVIbgS2F/nnH5I9kgBY\nbCf7YwpOsGoKddrrfcJUlCpABCy9w6JdTWLUiVcl+o1+emnKwDyXhrw9+TJY\nIE9mJNeMqFiuBOBI/PYGe+jBAqYQSHBBvsr2rC8UYmTNlrKeQ2+4DUCX3/kG\n89kCeYmfC0i1y/QgSUxkYEbUk4hroGXXduDJpFl6cnESQY2FnOn73lfPsDHl\nPhPHTWFvhDcS8L9Lhp/KPO8SI6EMhlEn5HcEgsc7fAhLVC+OWozXNTBWylSJ\nFN7uyCMMHNj0Yn3td+lYmdMSUTCHazBGUEyFBdbETk/E/dEvOKtDDxFjpfqm\nS8v+p5WswmWbPJzCxcX4D2TuDBD8My5P6MCZakpd+ba98NwX6oIshNbpwZ5G\nae0f5da7XzdfnXM2tQSaG+nQwo289UkWtAFfl2xyUbM8uBifhWdv3JqFBC+H\nJjBJ\r\n=ljmH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","authors":["Pawel Psztyc"],"gitHead":"997b2402c6f25618ea76c87ddd8db5cd8d4137bb","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/arc-messages.git","type":"git"},"_npmVersion":"6.14.9","description":"A module containing the UI regions and the logic to render the ARC in-app messages","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.15.3","dependencies":{"lit-html":"^1.3.0","lit-element":"^2.4.0","@advanced-rest-client/arc-icons":"^3.2.2","@advanced-rest-client/arc-types":"^0.2.49","@advanced-rest-client/date-time":"^3.0.2","@advanced-rest-client/arc-events":"^0.2.14","@anypoint-web-components/anypoint-button":"^1.2.0","@anypoint-web-components/anypoint-dialog":"^0.1.7"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-plusplus":"off","no-param-reassing":"off","no-unused-expressions":"off","class-methods-use-this":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","sinon":"^9.2.4","chance":"^1.1.7","eslint":"^7.19.0","typescript":"^4.1.3","lint-staged":"^10.5.3","@web/dev-server":"^0.1.5","@open-wc/testing":"^2.5.32","@web/test-runner":"^0.12.7","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^7.2.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.1","@advanced-rest-client/arc-demo-helper":"^2.2.5"},"_npmOperationalInternal":{"tmp":"tmp/arc-messages_0.1.0_1612577416982_0.45247380520419966","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@advanced-rest-client/arc-messages","version":"0.1.1","keywords":["web-components","advanced-rest-client","messages"],"author":{"name":"Pawel Uchida-Psztyc","email":"arc@mulesoft.com"},"license":"Apache-2.0","_id":"@advanced-rest-client/arc-messages@0.1.1","maintainers":[{"name":"carowright","email":"carolina.wright@mulesoft.com"},{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/arc-messages#readme","bugs":{"url":"https://github.com/advanced-rest-client/arc-messages/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"c6c726573d836cd6d774757bb7b1bf7a77651160","tarball":"https://registry.npmjs.org/@advanced-rest-client/arc-messages/-/arc-messages-0.1.1.tgz","fileCount":15,"integrity":"sha512-MPSfLNMjmZruXjD5FYJfWr4D0OjlmCnaZLtao7Vy99cst/9QFBc0UueJN5fnvNAORD9QeXkmfo3Iv8AbeKmDuw==","signatures":[{"sig":"MEYCIQDYK4HvrGDI6UA85nPW0KwMci2t0eWV9yG9rXV5RFoj4AIhAJT9JAMnRAj36CY+Gclzs2/pfPiqeqJIJeJp3sURAwwb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgurAGCRA9TVsSAnZWagAAiDAP/iGrJsYsPLoFQnVJrzIM\n3Vwa7iz1htspoEVqvqMRSEKulKmb0+w4aAv2iSO1h+fTLBTEWqIAoWB1B7v7\nkxPqUiJsz5zmjbnu6cMqmLDdziZ4k1ecojTrqzaIiW/ZcoqXxAxql2JnXOJz\nLDKASXrUvo1XjNF7vJceEm73JMJRxGx9UbBz+Ivy58Ty9qo/jhlzBEWS3S60\nI+6YnqgmOVl1qR0Ow8s3A5pqX/1Q12inAyVnb407B31wOVd1+7vC42lztELY\nSJWe2WCzItLtYOJnUNsgWxz/1kKcesZSca9Wq8lGk7P6G718gKYOlUGFdJFw\nq30q4Tt2X08Ns4D0tSv1A9aL7oasLXZ9IozOtx9/yHDXVtuC/5OqwKRtWVPw\ny2JNNwR5kp4l+C52/GVz4iyvSmLUIpgGaXsYMipUKfHF0/K1KCvQDS5U0y6k\nUkNvNSeCLn/nzVLx1hwbbuO+iKHRJ1y7NfqQd/9XAXFWFPjYTKA8vMXQ1Wpr\nx5RrS8VXy+lxJaafsLMDT+/vneriVD/PUrdM6Fmsqa9hAhxc+W4ZBwlVADlr\nnriZGB7iXCVQf0LLHEqj6Yf8Se1b+JvvvGA1Atrkp+92VDj0to8w8moYeFvg\n4YnZ+rVAEQZQHQxqkVxMxDwm2fCVbJ1iKpxA+JpRxOdtWsv6fV3nV6Rjx9JO\n3ETu\r\n=EVW3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"c5690cdd34961515245c875cf36f8d8063d9d11c","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/arc-messages.git","type":"git"},"_npmVersion":"6.14.13","description":"A module containing the UI regions and the logic to render the ARC in-app messages","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.17.0","dependencies":{"lit-html":"^1.4.1","lit-element":"^2.5.1","@advanced-rest-client/arc-icons":"^3.3.3","@advanced-rest-client/arc-types":"^0.2.52","@advanced-rest-client/date-time":"^3.0.2","@advanced-rest-client/arc-events":"^0.2.17","@anypoint-web-components/anypoint-button":"^1.2.1","@anypoint-web-components/anypoint-dialog":"^0.1.9"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-plusplus":"off","no-param-reassing":"off","no-unused-expressions":"off","class-methods-use-this":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^6.0.0","sinon":"^11.1.1","chance":"^1.1.7","eslint":"^7.28.0","typescript":"^4.3.2","lint-staged":"^11.0.0","@web/dev-server":"^0.1.17","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.5","@open-wc/eslint-config":"^4.3.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@advanced-rest-client/arc-demo-helper":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/arc-messages_0.1.1_1622847494210_0.5136847477717064","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-02-06T02:10:16.836Z","modified":"2026-04-07T19:24:08.267Z","0.1.0":"2021-02-06T02:10:17.168Z","0.1.1":"2021-06-04T22:58:14.377Z"},"bugs":{"url":"https://github.com/advanced-rest-client/arc-messages/issues","email":"arc@mulesoft.com"},"author":{"name":"Pawel Uchida-Psztyc","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/arc-messages#readme","keywords":["web-components","advanced-rest-client","messages"],"repository":{"url":"git://github.com/advanced-rest-client/arc-messages.git","type":"git"},"description":"A module containing the UI regions and the logic to render the ARC in-app messages","contributors":[{"name":"Your name can be here!"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"# ARC messages\n\nA module containing the UI regions and the logic to render the ARC in-app messages.\n\n[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/arc-messages.svg)](https://www.npmjs.com/package/@advanced-rest-client/arc-messages)\n\n![example workflow name](https://github.com/advanced-rest-client/arc-messages/workflows/tests/badge.svg)\n\n## Usage\n\n### Installation\n\n```sh\nnpm install --save @advanced-rest-client/arc-messages\n```\n\n### Reading the messages\n\n```javascript\nimport { ArcMessagingService } from '@advanced-rest-client/arc-messages';\n\nconst service = new ArcMessagingService('electron', 'stable');\nconst unreadCount = await this.service.run();\nconst messages = await this.service.readMessages();\n```\n\n## Development\n\n```sh\ngit clone https://github.com/advanced-rest-client/arc-messages\ncd arc-messages\nnpm install\n```\n\n### Running the demo locally\n\n```sh\nnpm start\n```\n\n### Running the tests\n\n```sh\nnpm test\n```\n","readmeFilename":"README.md"}