{"_id":"@carisls/apple-pusher","_rev":"9-cee953919e28670430c55e2a200c87e5","name":"@carisls/apple-pusher","dist-tags":{"latest":"0.4.4"},"versions":{"0.1.0":{"name":"@carisls/apple-pusher","version":"0.1.0","description":"Component to deliver Apple push notifications","main":"index.js","scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","dependencies":{"axios":"^0.21.1"},"devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","jws":"^3.2.2","mocha":"^9.1.1"},"gitHead":"8b90a3382b8aa231151665a66677eb27b145ad1d","_id":"@carisls/apple-pusher@0.1.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-W2aeEjokooxfPMszl8bpL8l95afdnmpjJMeqppBVJMti6boDEcIZFvVD/A5TyIoL8fyop7sEBHwVV5q2xQ/0BA==","shasum":"8604c8c74b48641b5478c5d4fa82561950513164","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.1.0.tgz","fileCount":11,"unpackedSize":10374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNnxzCRA9TVsSAnZWagAA/SgP/RGHQIeqhbMrESL4Bl8Z\nh2ZfrOudGNPUVlObS5GssZEhxq9XQLCJM2IgncQqXjOvRCK842A8dno/AEVS\nHD+YV6aeADKG/BcbGHjpEGH1y23x6A9mMRxaGlrRj2OLAaZk/q60K4ffVwV+\nd8C7PUchAmvK+laMslAqfi3nOu+x/YWpx94R6D+ZHobOxmUqi++h7h4RkswR\nROzdxeyyrbxSqHMRRUwuGhgcUjWJRYE9xGkNjtxKoltKzYeSXqKKYMtV3rz3\nLNRuGov3EQEA+J9gErLsYw8TYSRP28UkVpUVeS9Nw//u54jxdVUG/N849nXM\nUtxOdPCql6CybfKJYXFettILwsox28KJ+LWx44l/sbStz4edThYHXZTTrK4w\nT7whukTdbAzSjGrBLpY/nhJkniWc4K/j3yF6+zrb46uRq8nAfY2vWZM+ml7o\ndOzziElOwYKN7t6TNlJfj/yTlOSbcFcg0yQW5OVp20QeaTGySTnrau8+J0cS\nuMqNSZS927gTwoXSSO5Wl7yY3nbBFdGvrstDIAWjA+e3Op9oFeGeX4ON+3+P\n/kCKyPJnIQqk6RsPHDO65MTdDiXuncE6YpYZ2YOgiZ6poZwvIXdfj2KFC638\nFqRLoricGrCM0dEVCkq3CDHw6KMqMeCIvAVzaTb3CaGYGeDxRuztbmf5vn+h\nWzwN\r\n=yE+Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiRTBnCqoCxJt5tDmpj8rt+Y8zPNMlj3O+MORfStT1uAiBdwHFu8YE0zfzz0JpDS4fYtb7+vUg28Rysxi6wHUjpMw=="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.1.0_1630960755066_0.02623771996332236"},"_hasShrinkwrap":false},"0.1.1":{"name":"@carisls/apple-pusher","version":"0.1.1","description":"Component to deliver Apple push notifications","main":"index.js","scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","dependencies":{"axios":"^0.21.1"},"devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","jws":"^3.2.2","mocha":"^9.1.1"},"gitHead":"45ef03091bdec5ebe69fddb8c02a704f6100750b","_id":"@carisls/apple-pusher@0.1.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-3wcKGbxMaeGGOEXPe3MX92UoTAp+AFwOQBx36WvwTp5ECt+YFBonJLwER6kACy31RbKAUllxq+2HuRX0HnVvRw==","shasum":"64e95fc5b96b0766309551924a34f08d0d68fdb2","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.1.1.tgz","fileCount":11,"unpackedSize":10540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNop8CRA9TVsSAnZWagAAzLoP/133tkc/jSCY1rKixU3x\n/aqjfs067bYSPmSi0pt/x8ICGMfiL+gBhhI2Q7ir+lBWYBaxeUh5hIukn8j3\nRlvsOaWjLp3OWhVbkCfVsJtNyjSjKDczYgGVMDleOLKwxxq0yGtCuoLd8W/T\nfePEG6cgqGkTdldfNKUVF/1Gg6pRn/r58jjNkpytuRiOLg44ABKPbauXu9F0\nBWNZM0YvicpOfKOiOIwg9bPN8yuumfkSR9TMbh5JUXyfhw4wyca+l8Krvg2v\ncv/d3tc4qnl1WuT7d+GClaQmXqIpYsXb6/H2aHKLwNv0jmo/71FQ3NAQ8D6m\nCfmhY0C9Skcb3D3p94rmBbIEcf5l1jdb5iont2vj7wzdvVTb+IjyFExaikmU\nYO0uJbHn0ZVdiwzdjFb/E5shMZHjcWsMrF3iQq44qrceMi8KeIf5DUO22fhl\nIZnp9lCF2nn4LCxoH0q25Ea/8wqlkcABYR7nkXcP4yJrQJCdcLS+FF1zQVHL\nbX6d8rkGrcBoUfcALcSvVRK5hMIuBJ8il7atcAETFryVWCcOuaVTmbedqpNL\nD6MRtsAjXWxnPsvPuwInJsqVZqI9r51IqwONuAb+wItlGhdHlGEBesq7u9ms\nFAGybvZfdUguOzPm9BZ6VkyqjHbt4rJ174aukyooEGJYQYAEtE8glQ4l5qTy\n9BxC\r\n=6YuB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+S7CbK+Mv1Gueehqw8/i39kyUg8qRBgDROUnkcYXzrAiAlFhE60N/uhDpErStt0T95fNKDCb3b+yTDwUA/5YMVYw=="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.1.1_1630964348723_0.9073959127627487"},"_hasShrinkwrap":false},"0.2.0":{"name":"@carisls/apple-pusher","version":"0.2.0","description":"Component to deliver Apple push notifications","main":"index.js","scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","jws":"^3.2.2","mocha":"^9.1.1"},"gitHead":"b26355ea0acbd8f2435cc6c4ac37b57ac475b023","_id":"@carisls/apple-pusher@0.2.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-kT2qY13LaeDKLgkR+mL73TcxuyLPBbXVD9GwGQJUm8/l3k4FZbvti1eme65Q/AUvUHfcoUguZMqehqzjHL7bOQ==","shasum":"1d8f8e3a3f776ebd360b3b4296bd4733242fb6fe","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.2.0.tgz","fileCount":11,"unpackedSize":10492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNo0BCRA9TVsSAnZWagAAl0wP+gIcWx3RIsRtKrdFksNn\no4ca3Aek8R5omQxo+mw9z7XiwCb+2T4rZODeCc9Hm/QqHBLtPTwnyZ//fm/C\nqcgmJWEhQVp5cgV9+/rjjO1mPiXrC7sTK/Y1cBMp+oxUei9rdFB7MnOo8nwe\n5gkPdP+snUeaeIfSDZs7/Yz1jcIPhmBZs7fVm8dFpZwaBdCtGeP+pajbNART\nXyG3p4Z512ZsPzZbvsag1L/kuG0kPJimD0qPOYrH7Pz82byq0yBl5gDlXwut\noPSAvhjiH6sZSkDqMobQCj0pX7CjPFY7SsrPtx30EhLQE1NdTjpVfibwhM0J\n/ym4L+t2tgkrMHmrl2/RVUVuj3c7ZhW/WAzu8QXl/zdkKr7kbvZu+w7hqELe\nRQF72LXjvC/KHEkaa0XvOELu2/TZRcNcwhHblIzyAnggAoyLc/v6vPBVHIiS\nOx5AZXR2kZEmsjZ+5qQd5927EcHmFf6TPB1/ig2WAYJ0ObPWLk2OfOK/nxxt\ngk8SQFISpFIm/p8h7/kuTk9KjVzwDQveePwT+uKn4E/4p9HGsc96mwC9YZbQ\n8Y2USLi+5y27uBbJltIWMs3+8p/ZH44UsSWoSqXVx1aHdek9Vm8PJ7wmmRfX\nmaWOqpBCQGiPRcuX/N7L/4WWp9NKCoVUtKkdDzkbP68NZ2dWZ/Q4YFEj1hcZ\n64mg\r\n=rPVW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtmyLmH2MgPUApWNDAf/O/y9aSx3xcBVPTct6Vdj5srwIgZW3V4t6Hl9QKuoopg8F7nLWxZAbnzS2pIfSHq98mL0Q="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.2.0_1630964993799_0.9751853515667095"},"_hasShrinkwrap":false},"0.3.0":{"name":"@carisls/apple-pusher","version":"0.3.0","description":"Component to deliver Apple push notifications","main":"index.js","scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","jws":"^4.0.0","mocha":"^9.1.1"},"gitHead":"1bac4563f067885cc0713ee4fb600b5bebc660db","_id":"@carisls/apple-pusher@0.3.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-d6WKWqHZZZZVS1zDtuxrdVYP5aU/mUUgEd9QRGGA2UcZB2nBSfVpcfHYmRQ9gLVcg5MYYi+fc+IRVghrd1pK6Q==","shasum":"85a6eaf8848fac84e4fd783a1efb824c9443ae5b","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.3.0.tgz","fileCount":11,"unpackedSize":11509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN2S3CRA9TVsSAnZWagAAulMP/iqem0d/n0P4yXK+sYTf\n+H8dA/DMfpL0Wdr6Kz3GBQOg9g3UvJH2xBP4oahQhh3/5RQXAIgZ6+3z23ML\nw5lRrSloaS7+pQJCHcQULAGDWhd+Sp6yJzYx24mHpthr7cM3xfk/DR4BvBU7\nW4fxybvz5aJe6WMXOmuHBUG7DWENMYKA/ed6U6ACJi+i+jyEp3ECAiw6D1jW\nwKcl5zaAylk13vY4gcxsLmh/qPhf+J5XxzlEhVyjpfZcyZSCLT/pr5yijeG9\nZq9DfRTEcm3iJTwdl874AVPc1eaCIqDaXLexnOvHMVChx8ZISTfY53ql59Nd\nCx5ty8m/1gf6oAb/RcbrpMEz9D329Xx1gcIeMDYQU2hApScuq9bw9Z6vjRtS\n6vX1U3SCfkBPb+LWSRquZqN+I7Hbrykg0Yu2zA+ALAZjeP9FGyxz1B1hwxTl\n5Gnkt7o3AcFa2AUUe0dmzA0NiW0OHWQ1eqkD53ySyMjePJxdt1scuU2H6ICI\nmGIoqV1lMP6qXEuo4hsUMAVBNUb6UYDGZ4n2k56/Vn3Nk/TL8mvA2MwxyGVG\n+uLrN+jEdEXm5gSS1rL/T9UFmnHvuf1b4lHGjtjBo+8+mYJRwvM4S72H9WUS\n5gzYE5d9o/YIE2ieeYCdg+88aFITtS4jL3wDr1rkKiEfn8YIgMQP3SNOvkg8\nGyjY\r\n=P5Ua\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0Em/d9nLAW9l/+tulzIAV3tm5/zU6qHPEfMrFCWjB3wIgfc7PeKbe52SYYtz5v6ASAkX/DCrAeWkOUr0kYrS7o9w="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.3.0_1631020215463_0.923802630608092"},"_hasShrinkwrap":false},"0.4.0":{"name":"@carisls/apple-pusher","version":"0.4.0","description":"Component to deliver Apple push notifications","main":"index.js","bin":{"pusher":"bin/pusher.js"},"scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","jws":"^4.0.0","mocha":"^9.1.1"},"dependencies":{"commander":"^8.1.0"},"gitHead":"14484dd3171532214396597c0873f1d66e527717","_id":"@carisls/apple-pusher@0.4.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-8fM1XpY4BRk2qxt8/AvJUXtwie3d9cloJcdTwtLGtt+fIC/Ms2zIUS/VuyUvJUgO5TNmMEubkpjr/jQeCO9QfQ==","shasum":"61e2dc8257ace132d4adc733a96b8a98f9d2203f","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.4.0.tgz","fileCount":12,"unpackedSize":15946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN7QmCRA9TVsSAnZWagAAF9QP/iPnFPWinWCPfgS1L7xj\nUIzzHu0apPFBqaMvDNtHQBHZ4j0lbMWCATy5XRlPTuGRdYDDcp9UIqtZ3+YB\n15/2DHwCB7YV7iRMrXv8RZ9ysXPBJTVV1RM1RukDYhrfB11TIz8PXsmrUAgd\nqFuJJfoxIwa0/WGAtsRvmKwS+OdZPANd6/zfxoFSbn9KZ0LNLL2wNYgX5ksy\nMnjkG8GJdAkZayvKPQ5lfUtgxTm0KBMlvCG0u3BXnG+OLP5BOdoRmpRdoVEj\nv1XIpgdkPOA6k514mkWvxLIuvkAsHi4ipcy4bHCF+ukiCN9Y/RYVyoMpoJh8\nIO3Huw9prhx/PFPZ5sbNJO4k+9LjrvnUmMs5I8Ym0b0GOE2MPhk9kfD0VEN0\nNOeZRxKke7kLo5mnY3eGJRQ/bIDqrKvxCRhoGyid4e3xilrPnZS6rP7UPVHm\nYWYEMuoGJkbtjP8ip/RVoRsP3zvQwmtUFRU5X3xjgB3XZLOnX4x0X7wq53HF\nPksoHgunh+TRxOS2R4rjpp3SuUOyf2dGW7K4ZBJNkcT/caZzr1zlCjbhN4o9\nimvaimlHQ4rOkZvutjT4GTduzlhkdZNHMJLR9SOi9MRJtQONHgd0Q8GaFp5g\n3DrwcBWp9T5UzRcVIdHv+jL6FjsPKsl/p1j7sDDCXvMWpwvGv4yWDz1C/USC\nG99/\r\n=dZZo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzch9qBOGj3OWZ+qKdy3bftj9PZSRhDsi0bc96aIFEqAiBOqQ5NGegNuAsb+zQmjiylAQwDnalWn4EV6UkvxHaklw=="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.4.0_1631040550353_0.5100293555544075"},"_hasShrinkwrap":false},"0.4.1":{"name":"@carisls/apple-pusher","version":"0.4.1","description":"Component to deliver Apple push notifications","main":"index.js","bin":{"pusher":"bin/pusher.js"},"scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","jws":"^4.0.0","mocha":"^9.1.1"},"dependencies":{"commander":"^8.1.0"},"gitHead":"55a00b4824d6ad6194db834bcba184a5bc0c8084","_id":"@carisls/apple-pusher@0.4.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-9PS5hhTZKUDafFFblpVlb1rZe4p9PhEFlg+UtzsMYHka2uyrzfr+acHF/PdLwehNMzFS7WvK0MaFkwFkK3I6/Q==","shasum":"2dca0f85303163c57236f178d87dffa0618eb73a","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.4.1.tgz","fileCount":12,"unpackedSize":16159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN7vqCRA9TVsSAnZWagAAw+oP/0iFl0AR5Aw9CK1j4/qm\nCqD9JPhilNIT0iYBT8EoctDxJiGeEwbU+LnEnAT/nS0QGXHipCaQVNUHj0bX\nzefpu8wnpRlKbRj7s1MN8i3XVKs3u4kOBGZwZwxGBOtU3MedHHNWJ87sxVU4\nuGfNaVgOLZoyE7ajur7Pa97quYdtDK/VuIoKS58jqVUgLcx22XRt8E5ez6Io\nRLmFWG1jUs7+Eti4QCV4jslnvPtpADJwBOe4EeeJywLUPxoIAy42+1RyIUrT\nWkowedYOoFOoobnVNUDaEfdPKsHnpQvsR64N4S6fvLIDrtlVd1Ogn9BfcRTP\nrB9IOGAOmvhh9PcW8sGk0wauYqmbOWKdqzxFNQtn+BnET16Nt3Uq6DqQihUL\nUmFnKPnfcHx19yQ4KSOyi6oSZ8xZ38mP4EfJhAknOnvbtq3zDp418gWiRPBb\neIPO3Bkmv+46oWCe8IrxG5CLDV0uen4FGFHHwIsqVzP79NwQgu7rKRRDmP1O\nr9QmG3YuahuVUUnRK1Bysuhvljhw87U5XA8eZ4YWAzw12UlcC3w2PaasHyZm\nLYemDd2xbfvzQ0f0Y94f0hYX8Fepo04T5TfMitSisJ44QuBKDmaM27Ft74Y3\nTcbadUuWL+JMCaWjzs+jNj+k9SzbSpJlgLBBqWImjuLbmwryMUpcJtaajp/V\nrOcV\r\n=HXDu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpNrWgUCorMcKcovjpnZ31pS6p5uHEs98+IuoRsLhGvQIgDNMq26fjL+eq24S8OroPlEOUBIDchK7aC8ZpQGksYVU="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.4.1_1631042537965_0.5847619774732942"},"_hasShrinkwrap":false},"0.4.2":{"name":"@carisls/apple-pusher","version":"0.4.2","description":"Component to deliver Apple push notifications","main":"index.js","bin":{"pusher":"bin/pusher.js"},"scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.4","dotenv":"^10.0.0","mocha":"^9.1.1"},"dependencies":{"commander":"^8.1.0","jws":"^4.0.0"},"gitHead":"a76f1c0132124c0dc2d733c95fecbb2bc3e5c4b0","_id":"@carisls/apple-pusher@0.4.2","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-WNG5aUohsjDTshhURkB+wAXyQlo/TuBmx1jtv3T9jfClrLxQp8HMOKaFhPsIKGcKfOMUlmoZv120jWfe4wfkbQ==","shasum":"82048e51efb89e72557b6bc84b633ae3f587f950","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.4.2.tgz","fileCount":12,"unpackedSize":16159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhN7yyCRA9TVsSAnZWagAAbXEP/2hpAgHd/AJC61/na+uN\nHtWrE+pjAHI2LuYz2TXs8/trlkDOjoqUlcBn6NcfccqsL/kKVyzX2GrNdwWD\nyFhIUfR+DOU3oxB9vpy/LmaysRLBPy0PMzaNW+K8twTE/WyCuYSlggsEa2cH\nOjP9Fi7Da5DzPlZlU3G8UcjWcFCpHY2I1UCCCdobNF4sYd89QLfq2tjr0Fsv\nY9rc+P/J7iTCYvWKPj9Q9Bs7aWgIxa7YJKRxOgsWl/Jki8DPo9mB8sPufBNF\n/BmsYiU0UUw2QwJRPJaiA3hTM1r6zjzJXIWUV6tt0q/yjQrwpEXiifIbCCxN\nJ8nF6owEBL+bRNRMEBKTE9UGY83ia+K+k3vCleMHKW/qEV6UNx1zMmbT8TR9\nQgQW6GGprfJ30r/1LRjjxkIUdGiICW6BzasxR934ywcuB0nFuswykXD1h2KH\n4jSPmJKh3pmQ+5cjSMvlCoOtUteQKuvDEACh8AVdbp+devRNh1Gw/huHdkzt\nXE/FnC1pxB/CKPbycJ7nU3ALsz6HYRGRpo9IFUwboqtKNjHeeGMW0wxIOLbV\nPl8snwSVxoCnc01/VutwcGVYJDodVrcOuSAaiz7SRa/eVh75azM9tLMfKiuh\nD/rxh9C8q6L8smNfpAJSMoarHk41/0eUTO0YjfhtfrBLqGWAtmZJaX7xgK58\nQ5WL\r\n=4WK3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzUit++XM/WG8rmRYCDU91QH17ENk4Ft4IvyfcN9tFDgIhAM80C2PxEjikqFZR7G5EXdU5VYboCj90hHJrh+rPHSLN"}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.4.2_1631042738466_0.7686320640441351"},"_hasShrinkwrap":false},"0.4.3":{"name":"@carisls/apple-pusher","version":"0.4.3","description":"Component to deliver Apple push notifications","main":"index.js","bin":{"pusher":"bin/pusher.js"},"scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.7","dotenv":"^16.1.3","mocha":"^10.2.0"},"dependencies":{"commander":"^10.0.1","jws":"^4.0.0"},"gitHead":"29d3b009b26680e021b51c70dd91081a6c689d25","_id":"@carisls/apple-pusher@0.4.3","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-0eMylEd4Ku0o0J/8Xfj1C+ENP+7rZr7UQugjtarARFOf1PvNn0VoXxdK+BqHAe8kNeWGfAp4QbtZVvO0Avubcw==","shasum":"3fb541fe6cc201eb3601f22fa95dcaae3af876c8","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.4.3.tgz","fileCount":12,"unpackedSize":15895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/TaUuztdVQu9O+LY20WZJvD0SYYOp3DIV7moRdhf9igIgNf72tFp4Xx/mMPQXojo5x6GpM6E296lWRGPn1f3MsmY="}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.4.3_1685626530378_0.7686774779344008"},"_hasShrinkwrap":false},"0.4.4":{"name":"@carisls/apple-pusher","version":"0.4.4","description":"Component to deliver Apple push notifications","main":"index.js","bin":{"pusher":"bin/pusher.js"},"scripts":{"test":"mocha services/**/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"keywords":["apple","push","notifications"],"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"license":"MIT","bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","devDependencies":{"chai":"^4.3.7","dotenv":"^16.1.3","mocha":"^10.2.0"},"dependencies":{"commander":"^10.0.1","jws":"^4.0.0"},"gitHead":"a471b67068d6e84964710a21e9e99b5bc917df12","_id":"@carisls/apple-pusher@0.4.4","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-bVkbyQOMMfk3xFtI/mpVtk7vpnGFBtZydrVIdfExOqvOmhDvKcfY5GM26ER435M5hIrZ4MlK993h2dPPOKEXcw==","shasum":"bbba68d55fc78888b81609ddb61782882069eba1","tarball":"https://registry.npmjs.org/@carisls/apple-pusher/-/apple-pusher-0.4.4.tgz","fileCount":12,"unpackedSize":16547,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDx5fqKZy8CvG3UfHOUA6dRrg3AFSL0PxPyA7ey1wCP+wIhAJFnP4Ot+ckGrvW0IvzTOX22au2wgn5zdLjCx+G12XYn"}]},"_npmUser":{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},"directories":{},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apple-pusher_0.4.4_1685626665902_0.18929852917053513"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-06T20:39:14.994Z","0.1.0":"2021-09-06T20:39:15.187Z","modified":"2023-06-01T13:37:46.243Z","0.1.1":"2021-09-06T21:39:08.880Z","0.2.0":"2021-09-06T21:49:53.912Z","0.3.0":"2021-09-07T13:10:15.626Z","0.4.0":"2021-09-07T18:49:10.591Z","0.4.1":"2021-09-07T19:22:18.102Z","0.4.2":"2021-09-07T19:25:38.602Z","0.4.3":"2023-06-01T13:35:30.518Z","0.4.4":"2023-06-01T13:37:46.091Z"},"maintainers":[{"name":"mstrujic-caris","email":"mstrujic@carisls.com"},{"name":"michaelortho","email":"mihovil.strujic@gmail.com"}],"description":"Component to deliver Apple push notifications","homepage":"https://github.com/Caris-Life-Sciences/apple-pusher#readme","keywords":["apple","push","notifications"],"repository":{"type":"git","url":"git+https://github.com/Caris-Life-Sciences/apple-pusher.git"},"author":{"name":"Mihovil Strujic","email":"mstrujic@carisls.com"},"bugs":{"url":"https://github.com/Caris-Life-Sciences/apple-pusher/issues"},"license":"MIT","readme":"# Caris Apple Pusher\n\n[![NPM Version](https://img.shields.io/npm/v/@carisls/apple-pusher.svg?style=flat)](https://www.npmjs.org/package/@carisls/apple-pusher)\n[![NPM Downloads](https://img.shields.io/npm/dm/@carisls/apple-pusher.svg?style=flat)](https://npmcharts.com/compare/@carisls/apple-pusher?minimal=true)\n[![Install Size](https://packagephobia.now.sh/badge?p=%40carisls%2Fapple-pusher)](https://packagephobia.now.sh/result?p=%40carisls%2Fapple-pusher)\n[![GitHub Actions](https://github.com/Caris-Life-Sciences/apple-pusher/actions/workflows/npm_publish.yml/badge.svg)](https://github.com/Caris-Life-Sciences/apple-pusher/actions/workflows/npm_publish.yml/badge.svg)\n\n## Introduction\nThis component is used by various Caris services to push certain\nnotifications to third party users about orders, cases and trials.\n\n## Prerequisites\nIn order to use this component, user needs to get:\n- `privateKey` for push notifications from Apple Developer account\n- `keyId` for that key\n- `teamId` for Apple Developer Account\n\n### Installation\n```sh\nnpm i @caris/apple-pusher\n```\n\n## Token Authentication\nThis component is using a token authentication to pass authorization\ncheck with Apple. Apple requires that token should be generated not more\nthan once at least each 60 minutes, but not more than one in 20 minutes.\nFor that reason, we need to keep previously used tokens and pass the last one\nto each call to this module and module will decide if a new token is needed.\n\n## How to send Requisitions notification\n```javascript\nconst pusherModule = require('@carisls/apple-pusher');\nconst pusher = pusherModule({\n  teamId,\n  keyId,\n  privateKey,\n  topic\n});\n\n// Send notification\npusher.pushRequisitions(\n  '715ea424697fb9b0706637c43f806f46445564357a79a4fe866095910a632a4e', // deviceId\n  '123332', // requisitionId\n  'eyJhbGciOiJFUzI1NiIsImtpZCI6IjQ1UkVZMzk0U0QifQ.eyJpc3MiOiJLNDVFVFNXMDJRIiwiaWF0IjoxNjMwOTU5NTg4fQ.RmQny_nR11rsnJyT9_kvKWPl5KkZsq7kDkC8XIbiYJEbFzB5-ZbvLHBaGyWAPPSCSd2VGUHVtV_LZifCUs6TFg' // lastToken\n)\n  .then((result) => {\n    /* Result will have\n        - id returned by Apple APN as apns-id\n        - status (HttpStatusCode 200 if ok)\n        - token (new or old depending on expiration)\n     */\n  })\n  .catch((err) => {\n    /* Error will have\n        - id returned by Apple APN as apns-id\n        - status (HttpStatusCode 400, 403, 413, etc)\n        - message (in case of error explaining the error)\n        - token (new or old depending on expiration)\n     */\n  });\n```\n\n## How to Generate Token for Testing?\n\nSometimes we want to test how our settings with Apple work. The easiest way is to try to\nsend message manually. For that, we need token.\n\nIf you pass some token to the function it will check if it needs to be extended\nand if not, it will just return the same token.\n\n```javascript\nconst pusherModule = require('@carisls/apple-pusher');\nconst pusher = pusherModule({\n  teamId,\n  keyId,\n  privateKey,\n  topic\n});\n\npusher\n  .generateToken()\n  .then((token) => {\n    // Token is returned\n  })\n  .catch((err) => {\n    // There was an error\n  });\n\n```\n\n## CLI (Command Line Interface)\n\nFor testing we have CLI `pusher` that can be installed by running:\n```sh\nnpm i -g @carisls/apple-pusher\n```\n\nThis will register a global command `pusher` that can be used\nto generate token or to push notifications.\n\nFor a complete list of options, you can run\n```sh\npusher --help\n```\n\n### Generate token\n\nTo generate a token that can be used for subsequent calls, you can run:\n```sh\npusher -n -t <teamId> -k <keyId> --privateKey <base64 encoded privateKey>\n```\n\n**Example:**\n```sh\npusher -n -t K45ETSW02Q -k 45REY394SD --privateKey LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JR0VBZ0VBTUJBR0J5cUdTTTQ5QWdFR0JTdUJCQUFLQkcwd2F3SUJBUVFnMlNLQ0FPckpEMnF3cW5FdzdjdFkKTm5jYXlJbkdZc01kLy9yZnc0dTM3TjZoUkFOQ0FBUkRaRlR5YmhhTnpsTCswb2s1VkRiS1N0S1BNZWNmNkhDNQovRFhrTXI0ZktLRVVxaEFJbGlTWDBoSmhzd1Vsb2trZElZVXlrVStBTlVOek5uanVmRVpFCi0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K\n```\n\n### Send Notification\n\nTo send some notification, you need to execute this:\n```sh\npusher -x <token> -b <topic/bundleId> -d <deviceId> -a <type>\n```\n\n**Example:**\n```sh\npusher -x eyJhbGciOiJFUzI1NiIsImtpZCI6IjQ1UkVZMzk0U0QifQ.eyJpc3MiOiJLNDVFVFNXMDJRIiwiaWF0IjoxNjMxMDM5OTY5fQ.pPKoMpkrH81velYaov81ogRA_lTThE6VYc44KwJRnMtcfwODRkPeb5UjnicWllxGed7JLyqwnQW_83ej0eS9IQ -b org.myCompany.AppName -d c851135547d66958c82395287b3dcb76673d7e40f864c628ab6106ff2e8464ac -a requisition\n```\n","readmeFilename":"readme.md"}