{"_id":"@absolutejs/dispatch-apns","_rev":"4-c5bbf82826a3f45ac8077e4ea17f4046","name":"@absolutejs/dispatch-apns","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@absolutejs/dispatch-apns","version":"0.0.1","keywords":["dispatch","push","apns","apple","absolutejs"],"author":{"name":"Alex Kahn"},"license":"Apache-2.0","_id":"@absolutejs/dispatch-apns@0.0.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/apns","bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"dist":{"shasum":"647e40d06bd53503737fc30d3ba772a131708d73","tarball":"https://registry.npmjs.org/@absolutejs/dispatch-apns/-/dispatch-apns-0.0.1.tgz","fileCount":11,"integrity":"sha512-xIvgqbOi6ebz4Q6WktS90bm5MUHpzwlMGLqfdS/kk+v2jvaDhmCjGdDTnoNDCf4palDgmIBO9xpoLt6T1qVeYw==","signatures":[{"sig":"MEUCIBSrNUuq/DWBSGiLx4L+YH3fsbgV0AbiZ62GSxl4CN2zAiEA0gLBYqR6dJ7JfrujMoztHUVWpuJiflG53PqDK+Sb2vQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1123154},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"fbba34db1829dd156801ca339a7ef15e177ac30e","scripts":{"test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/dispatch && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run build && bun publish","typecheck":"tsc --noEmit"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":1},"repository":{"url":"git+https://github.com/absolutejs/dispatch-adapters.git","type":"git","directory":"apns"},"_npmVersion":"10.9.2","description":"Apple Push Notification service HTTP/2 PushAdapter for @absolutejs/dispatch with ES256 provider-token rotation.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"3.8.1","@types/bun":"1.3.14","typescript":"5.9.3","@absolutejs/dispatch":"^0.0.3"},"peerDependencies":{"@absolutejs/dispatch":">= 0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/dispatch-apns_0.0.1_1784316184025_0.2100442728433758","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@absolutejs/dispatch-apns","version":"0.0.2","keywords":["dispatch","push","apns","apple","absolutejs"],"author":{"name":"Alex Kahn"},"license":"Apache-2.0","_id":"@absolutejs/dispatch-apns@0.0.2","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/apns","bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"dist":{"shasum":"e0d8a982162b284ba27cd07b8e01125a8fc280cf","tarball":"https://registry.npmjs.org/@absolutejs/dispatch-apns/-/dispatch-apns-0.0.2.tgz","fileCount":11,"integrity":"sha512-BN/JyyFV6VZO2gnnoPFlRSsgOHH8RCN9/7AZYnAQRvrCjKuBCEjy93FGDD6w8VnBaWZOduhYppQqWXzriGmqQw==","signatures":[{"sig":"MEQCIHu6I6G1gPgop8osRsgvjRS2EoebL9QwAF3pbbDiw/toAiBzSW7ob78bRePiAm+ve43j+OIf0v9H7hlGAm3SIElxHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36310},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"748a80e3deb2d01bae7ac76c787c5a3d00899ea8","scripts":{"test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/dispatch --external '@absolutejs/dispatch/*' --external @absolutejs/manifest --external @sinclair/typebox && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run check:package && npm publish --access public","typecheck":"tsc --noEmit","check:package":"bun run format && bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts","verify-package":"absolute-manifest verify-package"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"runtimePeers":{"@absolutejs/dispatch":{"range":">=0.1.1 <0.2","tested":"0.1.1","optional":false,"buildExternals":["@absolutejs/dispatch","@absolutejs/dispatch/*"],"artifactImports":[]}},"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/dispatch-adapters.git","type":"git","directory":"apns"},"_npmVersion":"10.9.2","description":"Apple Push Notification service HTTP/2 PushAdapter for @absolutejs/dispatch with ES256 provider-token rotation.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"0.7.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"3.8.1","@types/bun":"1.3.14","typescript":"5.9.3","@absolutejs/dispatch":"0.1.1"},"peerDependencies":{"@absolutejs/dispatch":">=0.1.1 <0.2"},"_npmOperationalInternal":{"tmp":"tmp/dispatch-apns_0.0.2_1784964462313_0.9447449363781399","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@absolutejs/dispatch-apns","version":"0.1.0","keywords":["dispatch","push","apns","apple","absolutejs"],"author":{"name":"Alex Kahn"},"license":"Apache-2.0","_id":"@absolutejs/dispatch-apns@0.1.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/apns","bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"dist":{"shasum":"abad1c9b57cce052febf4edd0992a91f2fbfeb57","tarball":"https://registry.npmjs.org/@absolutejs/dispatch-apns/-/dispatch-apns-0.1.0.tgz","fileCount":12,"integrity":"sha512-44wzhvmjwB9AHDoh+purEZi9h5QLJpDufTHG422Hfh1Vy2ewXxTGRvHkrtjwK7UyTlnWIy8KJupL0BjdFf8PcA==","signatures":[{"sig":"MEYCIQDfBOYljnPcmnPkj9TnodLis4ErieB1SrAco3q0LqjqjwIhANW3gFoqOFXXo5xAQlYcQipJLdbNtQ3Jbe/bFl7rV0Av","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46562},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"c7ced4f2c36deff0db92b72ef5bf86ca98aa004d","scripts":{"test":"bun test","build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/dispatch --external '@absolutejs/dispatch/*' --external @absolutejs/manifest --external @sinclair/typebox && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run check:package && npm publish --access public","typecheck":"tsc --noEmit","check:package":"bun run format && bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts","verify-package":"absolute-manifest verify-package"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"runtimePeers":{"@absolutejs/dispatch":{"range":">=0.6.2 <0.7","tested":"0.6.2","optional":false,"buildExternals":["@absolutejs/dispatch","@absolutejs/dispatch/*"],"artifactImports":[]}},"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/dispatch-adapters.git","type":"git","directory":"apns"},"_npmVersion":"10.9.2","description":"Apple Push Notification service HTTP/2 PushAdapter for @absolutejs/dispatch with ES256 provider-token rotation.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"0.7.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"3.8.1","@types/bun":"1.3.14","typescript":"5.9.3","@absolutejs/dispatch":"0.6.2"},"peerDependencies":{"@absolutejs/dispatch":">=0.6.2 <0.7"},"_npmOperationalInternal":{"tmp":"tmp/dispatch-apns_0.1.0_1785615962009_0.9442843595852646","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@absolutejs/dispatch-apns","version":"0.2.0","description":"Apple Push Notification service HTTP/2 PushAdapter for @absolutejs/dispatch with ES256 provider-token rotation.","repository":{"type":"git","url":"git+https://github.com/absolutejs/dispatch-adapters.git","directory":"apns"},"homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/apns","bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","type":"module","license":"Apache-2.0","author":{"name":"Alex Kahn"},"publishConfig":{"access":"public"},"keywords":["dispatch","push","apns","apple","absolutejs"],"scripts":{"build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/dispatch --external '@absolutejs/dispatch/*' --external @absolutejs/manifest --external @sinclair/typebox && tsc --project tsconfig.build.json && absolute-manifest emit","test":"bun test","typecheck":"tsc --noEmit","format":"prettier --write \"./**/*.{ts,json,md}\"","verify-package":"absolute-manifest verify-package","check:package":"bun run format && bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts","release":"bun run check:package && npm publish --access public"},"peerDependencies":{"@absolutejs/dispatch":">=0.7.0 <0.8"},"devDependencies":{"@absolutejs/dispatch":"0.7.1","@types/bun":"1.3.14","prettier":"3.8.1","typescript":"5.9.3"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"absolutejs":{"manifestContract":2,"runtimePeers":{"@absolutejs/dispatch":{"artifactImports":[],"buildExternals":["@absolutejs/dispatch","@absolutejs/dispatch/*"],"optional":false,"range":">=0.7.0 <0.8","tested":"0.7.1"}}},"dependencies":{"@absolutejs/manifest":"0.7.2","@sinclair/typebox":"^0.34.0"},"_id":"@absolutejs/dispatch-apns@0.2.0","gitHead":"c7ced4f2c36deff0db92b72ef5bf86ca98aa004d","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-//deIKaFlK92JOPnBzBu2kUYx21GZi0/rju/Obbe1Xn93MvGlHkOZkyMNDHEhvIINhScX5fMgdljKdHhFy595g==","shasum":"567095879d817f0932af315ff12ccb70be4f3220","tarball":"https://registry.npmjs.org/@absolutejs/dispatch-apns/-/dispatch-apns-0.2.0.tgz","fileCount":12,"unpackedSize":47295,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBPvHLjGBy20oK0aJ+myRvb40y01T/adS5O/CIFqCntPAiEA9aGtZsgqtNd3NIwPyYLimQ8FD4V7gzX+1mqq2SAL3nM="}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dispatch-apns_0.2.0_1785618457674_0.939012039231955"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-17T19:23:03.920Z","modified":"2026-08-01T21:07:37.992Z","0.0.1":"2026-07-17T19:23:04.178Z","0.0.2":"2026-07-25T07:27:42.446Z","0.1.0":"2026-08-01T20:26:02.154Z","0.2.0":"2026-08-01T21:07:37.821Z"},"bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"author":{"name":"Alex Kahn"},"license":"Apache-2.0","homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/apns","keywords":["dispatch","push","apns","apple","absolutejs"],"repository":{"type":"git","url":"git+https://github.com/absolutejs/dispatch-adapters.git","directory":"apns"},"description":"Apple Push Notification service HTTP/2 PushAdapter for @absolutejs/dispatch with ES256 provider-token rotation.","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"readme":"# @absolutejs/dispatch-apns\n\nApple Push Notification service HTTP/2 `PushAdapter` for\n`@absolutejs/dispatch`. It signs ES256 provider JWTs, reuses them for fifty\nminutes, maintains pooled HTTP/2 sessions, and never exposes the `.p8` key to\ndispatch messages or audit metadata.\n\n```ts\nimport { createDispatcher } from \"@absolutejs/dispatch\";\nimport { createApnsAdapter } from \"@absolutejs/dispatch-apns\";\n\nconst apns = createApnsAdapter({\n  bundleId: process.env.APNS_BUNDLE_ID!,\n  keyId: process.env.APNS_KEY_ID!,\n  privateKey: process.env.APNS_PRIVATE_KEY!,\n  teamId: process.env.APNS_TEAM_ID!,\n});\n\nconst dispatcher = createDispatcher({ push: apns });\n```\n\nCall `apns.dispose()` during shutdown to drain its HTTP/2 sessions. Use\n`environment: 'sandbox'` only for development registrations. Alert, background,\nbadge, sound, category, collapse, expiration, and mutable-content controls are\navailable through message metadata.\n","readmeFilename":"README.md"}