{"_id":"@business-nxt/app-messaging","_rev":"16-8957665a0cd38c99be9f131a2dae7bc0","name":"@business-nxt/app-messaging","dist-tags":{"latest":"3.0.2"},"versions":{"0.1.0":{"name":"@business-nxt/app-messaging","version":"0.1.0","_id":"@business-nxt/app-messaging@0.1.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"028d27da5644987d9625851b0ce21e169dc5a12f","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.1.0.tgz","fileCount":15,"integrity":"sha512-0pDLr+v+vO6DxiEpj4EwudfKQ6x8BMmWY34wQ0JItMAClU195TmzBhVyEx5sMifpVfPAp725F6mZzy+urwXFFQ==","signatures":[{"sig":"MEUCIQDyikd7wnhIcA2gY3mC7OnNLsdjqx6XcQVrN4y64kaeHgIgY/PwGPPg8UCRLyBNsjcZxKntRNUV6akHLQdPvJ4L00w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15501},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.1.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\03d3650d073091bfcdbc7c230512b7bb\\business-nxt-app-messaging-0.1.0.tgz","_integrity":"sha512-0pDLr+v+vO6DxiEpj4EwudfKQ6x8BMmWY34wQ0JItMAClU195TmzBhVyEx5sMifpVfPAp725F6mZzy+urwXFFQ==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.1.0_1737536096943_0.6349507221475477","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@business-nxt/app-messaging","version":"0.2.0","_id":"@business-nxt/app-messaging@0.2.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"5b07c55acc1e5082a061dc193f7d765121d37324","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.2.0.tgz","fileCount":16,"integrity":"sha512-4Mg3bTsil+yqBl/Ofts/MKLU4rFOcrIeP7C6Pf0OfqkDTxzC8clC39ZrhM2isrwbWO5aNLucldWV/o3vZEw9aw==","signatures":[{"sig":"MEUCIEH7UcZmlCiYmV3AEhxGNuTsa2lnORhydcWEGnE70/ZXAiEA05oCsfxSXxNNHEfj241AirxUlJjVQAkN1eDnB1OKNsw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15813},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.2.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\fbf531f93586c3547b2f269108456049\\business-nxt-app-messaging-0.2.0.tgz","_integrity":"sha512-4Mg3bTsil+yqBl/Ofts/MKLU4rFOcrIeP7C6Pf0OfqkDTxzC8clC39ZrhM2isrwbWO5aNLucldWV/o3vZEw9aw==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.2.0_1737537046069_0.5512716904134278","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@business-nxt/app-messaging","version":"0.2.1","_id":"@business-nxt/app-messaging@0.2.1","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"1fd1f7b551c2fdc7d8d245a0dc0c3f3f71ebf858","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.2.1.tgz","fileCount":16,"integrity":"sha512-4KrMT2o0fJgLRPZbS0ct2EDAIs5TjlsKp34fZeqCzwK/Ys+ttu1MAspDqljYy/yHcVLQqo5GWR3KUo/bGSsK9w==","signatures":[{"sig":"MEQCIANVh3WPMBvbs0HVx54hEvxjzPpyMDvrmz2P8ICkdIbKAiB9PbRl48w8GMXedwNicn27BPhGX027XdL4uMt8/NJebg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15984},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.2.1.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\bd6c72da5f906abd35ba2f23cb36cee5\\business-nxt-app-messaging-0.2.1.tgz","_integrity":"sha512-4KrMT2o0fJgLRPZbS0ct2EDAIs5TjlsKp34fZeqCzwK/Ys+ttu1MAspDqljYy/yHcVLQqo5GWR3KUo/bGSsK9w==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.2.1_1737537438655_0.07754898024835111","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@business-nxt/app-messaging","version":"0.3.0","_id":"@business-nxt/app-messaging@0.3.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"bbdefde21e2df618df20a86b522c6952a9158fd1","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.3.0.tgz","fileCount":8,"integrity":"sha512-Gvv1Nl4TfqAUsXIuCdB6K2r4SGfE7aCWFsnIAuDzSkHtd0qTbv2jUlD0EIMBjiTlRb09crEIFtT0pWYOkxRleg==","signatures":[{"sig":"MEYCIQDTloFS1Hpj1c0LD6ttd+m1Or9KisfKMm5dLgf7lsYqQwIhAKgfo9w2qLsAzVJU9quop/b56TJv7lwnbo5R3NFBxDiP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8469},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.3.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\8c625fa48bb90cf5b321ea113c17fb36\\business-nxt-app-messaging-0.3.0.tgz","_integrity":"sha512-Gvv1Nl4TfqAUsXIuCdB6K2r4SGfE7aCWFsnIAuDzSkHtd0qTbv2jUlD0EIMBjiTlRb09crEIFtT0pWYOkxRleg==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.3.0_1737537850159_0.6494145841694254","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@business-nxt/app-messaging","version":"0.4.0","_id":"@business-nxt/app-messaging@0.4.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"a0d7aea5d2f7ed5a34051bbe05cf028debf11197","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.4.0.tgz","fileCount":8,"integrity":"sha512-TE/U4kDRxwO4A6ELUoKi/Ob5IXS4W44r98m0GTcm2P7jT2beRxbxlzjp6UQt9cOfNcJyNwk7xdnRxnrca7FZSg==","signatures":[{"sig":"MEUCIQCgtGCxl27jLbWMYeeM8THdXrCdtxrH5TzTOU+aVdB59gIgUX0l/JrfkZPKtd7MO+AcsKIWX41n5/h5lvm4/mAe8dw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8469},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.4.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\d13d6506652f618484688d4d1c213f36\\business-nxt-app-messaging-0.4.0.tgz","_integrity":"sha512-TE/U4kDRxwO4A6ELUoKi/Ob5IXS4W44r98m0GTcm2P7jT2beRxbxlzjp6UQt9cOfNcJyNwk7xdnRxnrca7FZSg==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.4.0_1737540379431_0.5913599600119943","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@business-nxt/app-messaging","version":"0.4.1","_id":"@business-nxt/app-messaging@0.4.1","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"e35eb473426bfa36f0680b993a869b29f6b1f72e","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.4.1.tgz","fileCount":8,"integrity":"sha512-L/t5T/mxd/keE1DrnVNAC95AJ+CGefVGJGK+5p/qjtlszsaJDiQMRJrooj3TUcYoJL9Er71EX6Z5//nn85u1KQ==","signatures":[{"sig":"MEUCIFpR8yOe91HunAxZd6mFNBbg3cHWpRlGJJ11AArPBFGNAiEA0lQuXvxbZ/vfO3WgFIBiWjpMiiJjIrmNfdkPHwx46+s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8469},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.4.1.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\274b16fcb8ee36cf6d9c587943b59c19\\business-nxt-app-messaging-0.4.1.tgz","_integrity":"sha512-L/t5T/mxd/keE1DrnVNAC95AJ+CGefVGJGK+5p/qjtlszsaJDiQMRJrooj3TUcYoJL9Er71EX6Z5//nn85u1KQ==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.4.1_1737541412591_0.9613436336817229","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@business-nxt/app-messaging","version":"0.5.0","_id":"@business-nxt/app-messaging@0.5.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"7dd5771f9b717357a1ee329ad4a1dc87ec5091a6","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.5.0.tgz","fileCount":7,"integrity":"sha512-vWVnu9w3E4FYyQ+HSTD3EgFaNXULvEWtGa4wAZ0IDd5Nh/DcVFSN4XjR+f3CgSYo1hlr7SnywgrTtu2SW5fuEw==","signatures":[{"sig":"MEYCIQCOPYI6/54Hu32iNMOEDXgp07W7TLpRgO6hLym5vZUTIwIhAO7bHIp5lTiapXi5syY7fQNBY4xyZWhDFGxWCRlHFOvw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8337},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.5.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\c1bea2c05502cf7767d0077d828caec2\\business-nxt-app-messaging-0.5.0.tgz","_integrity":"sha512-vWVnu9w3E4FYyQ+HSTD3EgFaNXULvEWtGa4wAZ0IDd5Nh/DcVFSN4XjR+f3CgSYo1hlr7SnywgrTtu2SW5fuEw==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.5.0_1737552997371_0.41419646483533223","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@business-nxt/app-messaging","version":"0.6.0","license":"MIT","_id":"@business-nxt/app-messaging@0.6.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"26b6585b6ae2e256b0c9aa3939fe9932e8e9d495","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-0.6.0.tgz","fileCount":7,"integrity":"sha512-L4oZ13V4+hTK9DE7Ech1OB1WcxmxuP1T7B1LWnVhbdqLSbC4Nczv3x9voRPd/bFkPxrbCE3PVnfGUnQtQTTaCA==","signatures":[{"sig":"MEUCIFKRGWgd+cNU/N7+lhd3ixV+2LdSGXggkVd+SkgewNU4AiEAwnMU4LUf4RzdCDyWx9mhXQEMwOsHNJ3uofttQxRsTYk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8357},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-0.6.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\dc82d6e59913ff30515403da4110c974\\business-nxt-app-messaging-0.6.0.tgz","_integrity":"sha512-L4oZ13V4+hTK9DE7Ech1OB1WcxmxuP1T7B1LWnVhbdqLSbC4Nczv3x9voRPd/bFkPxrbCE3PVnfGUnQtQTTaCA==","_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_0.6.0_1737554530273_0.6918576985248939","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@business-nxt/app-messaging","version":"1.0.0","license":"MIT","_id":"@business-nxt/app-messaging@1.0.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"2b33cf390559df41fe2fcb0321cb5e7d94ce8c7e","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-1.0.0.tgz","fileCount":8,"integrity":"sha512-dQPqT28NcZoBG4OO+dV8nOKyEuU/BPGVqCxdI8S/W439qGzDVmudjQCdA8/TL8Eg3kehc7OkXRNobRSKsTMAyQ==","signatures":[{"sig":"MEUCIQCPHSM5TC3S/4ZKjjqzEW2jJ365j7tUVFTXItxvyb+D6QIgG63LQrum3KzvRKDlsJjyTRTd4sYwSh2JB4/OWtdANGc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10694},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-1.0.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\7ce07bc8b863b596b881fbec9a3e67b7\\business-nxt-app-messaging-1.0.0.tgz","_integrity":"sha512-dQPqT28NcZoBG4OO+dV8nOKyEuU/BPGVqCxdI8S/W439qGzDVmudjQCdA8/TL8Eg3kehc7OkXRNobRSKsTMAyQ==","_npmVersion":"10.8.2","description":"Helper library to build applications for Business NXT","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_1.0.0_1737710262000_0.1690415650347472","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@business-nxt/app-messaging","version":"1.1.0","license":"MIT","_id":"@business-nxt/app-messaging@1.1.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"2fd27ec192093a754ac05ba58b5ef712ba1376ee","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-1.1.0.tgz","fileCount":8,"integrity":"sha512-a7v5OX8yNCTxBSjh8UZEWNgsjy9q09CAUx3HX7YCWO4WTd7FEPyDrmT9ldm3N2LAo4qloKCfVrk4850FukfVng==","signatures":[{"sig":"MEQCIBn9xX/I7Aa7ctp5GsadD0AY2jtRs2zbItobAERUjXWvAiBrznSqSrGdbf7MB53AvL2FDvUVraIxi4GhQCnHtfFjkA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10694},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-1.1.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"C:\\Users\\ole\\AppData\\Local\\Temp\\1c72614d06137294c684fe0d7ba19489\\business-nxt-app-messaging-1.1.0.tgz","_integrity":"sha512-a7v5OX8yNCTxBSjh8UZEWNgsjy9q09CAUx3HX7YCWO4WTd7FEPyDrmT9ldm3N2LAo4qloKCfVrk4850FukfVng==","_npmVersion":"10.8.2","description":"Helper library to build applications for Business NXT","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_1.1.0_1738238673622_0.31796941422239056","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@business-nxt/app-messaging","version":"2.0.0","license":"MIT","_id":"@business-nxt/app-messaging@2.0.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"}],"dist":{"shasum":"016a92790d347bc180db45f16af42228485401d2","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-2.0.0.tgz","fileCount":8,"integrity":"sha512-lqOQx4VUY0Qu2sPPplOtgs2BNEKPSI3lyXGyttqRZIzY/7cOvMTAGWUBw4Z0KzoosAerlraL0YyTg6Mz2OA2kQ==","signatures":[{"sig":"MEYCIQCNuvelpvR/f3rM2qEY+1sxv0ddi58TEBXBLDQOUxhYXQIhAOvk4c+jDciWk0rxTW1dBkpebWCOPNkKloX14ns+6f4Y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9795},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-2.0.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"/private/var/folders/0t/ldkv5c0s429g60ybx41s48vc0000gn/T/a0ce78b123f80fa1930fbe35552c28e3/business-nxt-app-messaging-2.0.0.tgz","_integrity":"sha512-lqOQx4VUY0Qu2sPPplOtgs2BNEKPSI3lyXGyttqRZIzY/7cOvMTAGWUBw4Z0KzoosAerlraL0YyTg6Mz2OA2kQ==","_npmVersion":"11.3.0","description":"Helper library to build applications for Business NXT","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.5","typescript":"~5.6.2","vite-plugin-dts":"^4.5.0"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_2.0.0_1746014675401_0.1133844423834447","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@business-nxt/app-messaging","version":"3.0.0","license":"MIT","_id":"@business-nxt/app-messaging@3.0.0","maintainers":[{"name":"omelhus","email":"ole@on-it.no"},{"name":"redpal","email":"redas.paliskevicius@visma.com"},{"name":"mariusengen","email":"marius.engen@visma.com"}],"dist":{"shasum":"ecda3035bf1fe9af1fb85226692671fc0b38a43d","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-3.0.0.tgz","fileCount":11,"integrity":"sha512-d0A0as+N7EthGlod9nDxBeKpS+mLQchjFWbwcnFur8q4h7rinAoJwowbdwWT/NyfvDWieBbiaeKotc+m/lDJGA==","signatures":[{"sig":"MEUCICMwU6MjmZnLkKtl1bBs2d5+sv7b5lJg7oBkS1oywGwQAiEAmNkvnuvGrrH1NPWROrvioGhAID6j5j9H6Ntn13A68yc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29449},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-3.0.0.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","test":"vitest run","build":"tsc && vite build","preview":"vite preview","test:watch":"vitest"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"/private/var/folders/1w/f2j6cr2s33v_1s2cjpmgmp4c0000gn/T/5e33c571547bbf4398048450e4ac2a52/business-nxt-app-messaging-3.0.0.tgz","_integrity":"sha512-d0A0as+N7EthGlod9nDxBeKpS+mLQchjFWbwcnFur8q4h7rinAoJwowbdwWT/NyfvDWieBbiaeKotc+m/lDJGA==","_npmVersion":"10.9.4","description":"Helper library to build applications for Business NXT","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^29.1.1","vitest":"^4.1.7","typescript":"~6.0.3","vite-plugin-dts":"^5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_3.0.0_1779947953094_0.3416320981243144","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@business-nxt/app-messaging","version":"3.0.1","license":"MIT","_id":"@business-nxt/app-messaging@3.0.1","maintainers":[{"name":"omelhus","email":"ole@on-it.no"},{"name":"redpal","email":"redas.paliskevicius@visma.com"},{"name":"mariusengen","email":"marius.engen@visma.com"}],"dist":{"shasum":"513bf5442645634abd6a49ec1391a52437ebd2b7","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-3.0.1.tgz","fileCount":11,"integrity":"sha512-k+oPS2iH/1HQSGPOZSZrSK+Lg0Eiii11XNGQ2RnyIUHffY2sdD43EtNXG5D1q5YLYnIisGPvyhyXKcFIElOtpg==","signatures":[{"sig":"MEQCIGufliaxWPDhYvAXnDaYL0klEg8b38ip7cyleJVsYep2AiA2Pk35074bG679kM8gnID7dIaDew4XfrMfYmLuOdJn0Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28279},"main":"./dist/app-messaging.js","type":"module","_from":"file:business-nxt-app-messaging-3.0.1.tgz","types":"./dist/app-messaging.d.ts","private":false,"scripts":{"dev":"vite","test":"vitest run","build":"tsc && vite build","preview":"vite preview","test:watch":"vitest"},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"_resolved":"/private/var/folders/1w/f2j6cr2s33v_1s2cjpmgmp4c0000gn/T/bfd1506dc863a7e47ac8edbfda69ba35/business-nxt-app-messaging-3.0.1.tgz","_integrity":"sha512-k+oPS2iH/1HQSGPOZSZrSK+Lg0Eiii11XNGQ2RnyIUHffY2sdD43EtNXG5D1q5YLYnIisGPvyhyXKcFIElOtpg==","_npmVersion":"10.9.4","description":"Helper library to build applications for Business NXT","directories":{},"_nodeVersion":"22.21.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.14","jsdom":"^29.1.1","vitest":"^4.1.7","typescript":"~6.0.3","vite-plugin-dts":"^5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/app-messaging_3.0.1_1779949752985_0.4926968610948772","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@business-nxt/app-messaging","private":false,"license":"MIT","version":"3.0.2","type":"module","main":"./dist/app-messaging.js","types":"./dist/app-messaging.d.ts","devDependencies":{"jsdom":"^29.1.1","typescript":"~6.0.3","vite":"^8.0.14","vite-plugin-dts":"^5.0.1","vitest":"^4.1.7"},"scripts":{"dev":"vite","build":"tsc && vite build","preview":"vite preview","test":"vitest run","test:watch":"vitest"},"_id":"@business-nxt/app-messaging@3.0.2","description":"Helper library to build applications for Business NXT","_integrity":"sha512-peAlUJF5Vs1LSqg/XN8ul3aJ3T3MYUqujFa4XC90hexzPtt4mdzCNDFGdoZWoW4Pm1jXKUitiD7W9u3j9WWA8Q==","_resolved":"/private/var/folders/1w/f2j6cr2s33v_1s2cjpmgmp4c0000gn/T/4ec33e33afb5a75c9a387bd13df08613/business-nxt-app-messaging-3.0.2.tgz","_from":"file:business-nxt-app-messaging-3.0.2.tgz","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-peAlUJF5Vs1LSqg/XN8ul3aJ3T3MYUqujFa4XC90hexzPtt4mdzCNDFGdoZWoW4Pm1jXKUitiD7W9u3j9WWA8Q==","shasum":"e5b679627c25496593d8838235286f63662104e5","tarball":"https://registry.npmjs.org/@business-nxt/app-messaging/-/app-messaging-3.0.2.tgz","fileCount":11,"unpackedSize":28242,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID1AhTg0I8DIPEPmMfWJpVZw7dzhQaRZcQbebmH0PnKKAiEA8SbTDYAMgEzQmj0MzP7nZELFUlEQKLTJ5es/dFlnOj8="}]},"_npmUser":{"name":"omelhus","email":"ole@on-it.no"},"directories":{},"maintainers":[{"name":"omelhus","email":"ole@on-it.no"},{"name":"redpal","email":"redas.paliskevicius@visma.com"},{"name":"mariusengen","email":"marius.engen@visma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/app-messaging_3.0.2_1779949972398_0.2066669246849182"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-22T08:54:56.854Z","modified":"2026-05-28T06:32:52.657Z","0.1.0":"2025-01-22T08:54:57.113Z","0.2.0":"2025-01-22T09:10:46.241Z","0.2.1":"2025-01-22T09:17:18.819Z","0.3.0":"2025-01-22T09:24:10.355Z","0.4.0":"2025-01-22T10:06:19.597Z","0.4.1":"2025-01-22T10:23:32.740Z","0.5.0":"2025-01-22T13:36:37.556Z","0.6.0":"2025-01-22T14:02:10.442Z","1.0.0":"2025-01-24T09:17:42.213Z","1.1.0":"2025-01-30T12:04:33.803Z","2.0.0":"2025-04-30T12:04:35.585Z","3.0.0":"2026-05-28T05:59:13.468Z","3.0.1":"2026-05-28T06:29:13.146Z","3.0.2":"2026-05-28T06:32:52.534Z"},"license":"MIT","description":"Helper library to build applications for Business NXT","maintainers":[{"name":"omelhus","email":"ole@on-it.no"},{"name":"redpal","email":"redas.paliskevicius@visma.com"},{"name":"mariusengen","email":"marius.engen@visma.com"}],"readme":"# @business-nxt/app-messaging\n\nHelper library to build applications for Business NXT\n\n### How it fits together\n\nYour app runs inside an iframe served by the Business NXT **apps proxy**:\n\n```\nBusiness NXT (parent)\n  └─ apps proxy frame   (holds the auth token; relays messages; injects appName)\n       └─ your app      (uses this library; posts to window.parent = the proxy)\n```\n\nCommunication is `postMessage` both ways. This library wraps that protocol: `SendMessage` for the request/reply message contract, and `ExecuteGraphQL` for authenticated GraphQL through the proxy relay (your app never sees the bearer token).\n\nMessages that fail validation come back as `{ messageType: \"error\", reason: \"schema-violation\" }`. A few fields are owned by the proxy, not the app: `appName` on `dialog-request` is injected by the proxy on every relayed message and cannot be set by the consumer.\n\n### Listen for changes from Business NXT\n\nYour app and Business NXT communicate using postMessage back and forth. This means that you have to listen for messages with a messageType set.\n\nThe message types Business NXT will post are `selection-state`, `edit-session`, `dialog-response`, and `error`.\n\n```ts\nimport type { Message } from \"@business-nxt/app-messaging\";\n\nwindow.addEventListener(\"message\", (event) => {\n  const data = event.data as Message;\n  switch (data?.messageType) {\n    case \"selection-state\":\n      // do something as selection changed\n      break;\n    case \"edit-session\":\n      // do something as the session have changed edit mode\n      break;\n    case \"dialog-response\":\n      // user closed a dialog you opened with `dialog-request`\n      break;\n    case \"error\":\n      // a previous request failed (e.g. schema-violation or overlay-already-open)\n      break;\n  }\n});\n```\n\n### Request the current selection state\n\n```ts\nimport { SendMessage } from \"@business-nxt/app-messaging\";\n\nconst selection = await SendMessage({ messageType: \"selection-state-request\" });\n```\n\nPass `toParent: true` if you want the parent table that your app is joined to instead of the currently focused table. The default is `false`.\n\n```ts\nconst parentSelection = await SendMessage({\n  messageType: \"selection-state-request\",\n  toParent: true,\n});\n```\n\n_selection_\n\n```json\n{\n  \"messageType\": \"selection-state\",\n  \"id\": \"3dc32970-c15e-4227-84dc-0f8c3bba7e13\",\n  \"table\": \"associate\",\n  \"focusedRow\": {\n    \"associateNo\": 9\n  },\n  \"selectedRows\": [{ \"associateNo\": 7 }, { \"associateNo\": 8 }],\n  \"fromParent\": false\n}\n```\n\n`fromParent` mirrors the `toParent` flag on the request: it is `true` when the selection came from the parent table this app is joined to, `false` when it came from the focused table.\n\n### Request a table refresh\n\nThis will refresh the order table in the current layout\n\n```ts\nimport { SendMessage } from \"@business-nxt/app-messaging\";\n\nconst refreshResponse = await SendMessage({\n  messageType: \"refresh-data-request\",\n  table: \"order\",\n});\n```\n\n_refreshResponse_\n\n```json\n{\n  \"messageType\": \"ok\"\n  \"id\": \"3dc32970-c15e-4227-84dc-0f8c3bba7e13\",\n}\n```\n\n### Request the current edit session state\n\n```ts\nimport { SendMessage } from \"@business-nxt/app-messaging\";\n\nconst editSessionStatus = await SendMessage({\n  messageType: \"edit-session-request\",\n});\n```\n\n_editSessionStatus_\n\n```json\n{\n  \"messageType\": \"edit-session\",\n  \"id\": \"3dc32970-c15e-4227-84dc-0f8c3bba7e13\",\n  \"editing\": true,\n  \"editSessionId\": \"a1b2c3d4-...\"\n}\n```\n\n`editSessionId` identifies the edit session and is optional - the host includes it when known (including on `saved` / `discarded`, where it is the id of the session that just ended).\n\n### Open a dialog in Business NXT\n\nAsk the host to show a modal dialog rendered with your markdown content. At least one of `primaryButtonCaption` / `secondaryButtonCaption` must be provided.\n\n```ts\nimport { SendMessage, DialogResolution } from \"@business-nxt/app-messaging\";\n\nconst response = await SendMessage({\n  messageType: \"dialog-request\",\n  title: \"Confirm delete\",\n  content: \"Are you sure you want to delete **3 orders**?\",\n  primaryButtonCaption: \"Delete\",\n  secondaryButtonCaption: \"Cancel\",\n});\n\nswitch (response.result) {\n  case DialogResolution.Primary:\n    // user clicked the primary button\n    break;\n  case DialogResolution.Secondary:\n    // user clicked the secondary button\n    break;\n  case DialogResolution.Closed:\n    // user dismissed the dialog without choosing\n    break;\n}\n```\n\nWhen the host cannot serve the request (`reason: \"overlay-already-open\"` if a blocking overlay is open, `reason: \"schema-violation\"` if the message is malformed) `SendMessage` rejects with a `MessagingError`. Catch it to react to the failure:\n\n```ts\nimport { SendMessage, MessagingError } from \"@business-nxt/app-messaging\";\n\ntry {\n  const response = await SendMessage({ messageType: \"dialog-request\", ... });\n} catch (err) {\n  if (err instanceof MessagingError && err.reason === \"overlay-already-open\") {\n    // queue the dialog for later, etc.\n  }\n}\n```\n\n### Execute a GraphQL query against Business NXT\n\nWhen your app is loaded through the Business NXT apps proxy, you can run authenticated GraphQL queries without ever seeing the bearer token. The proxy attaches the user's access token and forwards the request to the internal GraphQL API.\n\n```ts\nimport {\n  ExecuteGraphQL,\n  GraphQLRequestError,\n} from \"@business-nxt/app-messaging\";\n\nconst Query_GetCustomer = /* GraphQL */ `\n  query GetCustomer($id: ID!) {\n    customer(id: $id) {\n      name\n    }\n  }\n`;\n\ntry {\n  const data = await ExecuteGraphQL<\n    { customer: { name: string } | null },\n    { id: string }\n  >(\n    Query_GetCustomer,\n    { id: \"42\" },\n    {\n      operationName: \"GetCustomer\",\n      signal: abortController.signal,\n      timeout: 30000,\n    },\n  );\n} catch (err) {\n  if (err instanceof GraphQLRequestError) {\n    // err.errors holds the structured GraphQL errors\n  }\n}\n```\n\nThe promise rejects with `GraphQLRequestError` when the response carries `errors`, with a `DOMException` (`AbortError`) when the supplied `signal` aborts, and with a `DOMException` (`TimeoutError`) when the `timeout` (default 30s) is exceeded.\n\n#### With GraphQL codegen\n\n`ExecuteGraphQL` accepts any document whose type is structurally compatible with `TypedDocumentNode<TResult, TVariables>` - the standard shape emitted by `@graphql-codegen` (client-preset, typed-document-node) and `@graphql-typed-document-node/core`. When you pass such a document, `TResult` and `TVariables` flow through automatically and TypeScript will require the right shape:\n\n```ts\nimport { GetCustomerDocument } from \"./generated/graphql\";\n\n// TResult and TVariables are inferred from GetCustomerDocument\nconst data = await ExecuteGraphQL(GetCustomerDocument, { id: \"42\" });\n```\n\nAt runtime the helper accepts:\n\n- a plain string,\n- a `TypedDocumentString` (the `String` subclass form from codegen client-preset),\n- a `DocumentNode` whose `loc.source.body` is populated (default for `gql` template tags and most codegen output).\n\nPre-print AST documents whose `loc` is stripped before passing them in.\n","readmeFilename":"README.md"}