1100 Commits
Author SHA1 Message Date
Stefan Trauth 8bd4d3c157 add support for apns-push-type
This is a new header key for APNS. Required when delivering notifications to devices running iOS 13 and later, or watchOS 6 and later.
2019-06-20 17:21:37 +02:00
Florian Reinhart e72259fae1 Drop Node.js v4 and v9 for testing 2018-07-16 08:18:13 +02:00
Florian Reinhart 2e876a6888 Update npm token 2018-07-16 08:15:54 +02:00
Michael Stewart 2a6cc039d9 add info about where to get keyId 2018-07-01 10:52:26 +02:00
Sean Scott 89bbbf44f6 fix readme spelling 2018-07-01 10:51:50 +02:00
Florian Reinhart 7af166ff47 Run tests with Node.js 10 2018-04-26 16:58:51 +02:00
Shane Vitarana 09b459cfff Fixed typo 2018-04-21 10:41:18 +02:00
Florian Reinhart aef8ec16e7 Update changelog for 2.2.0 v2.2.0 2017-12-20 12:27:39 +01:00
Florian Reinhart fda20f9ca2 Run tests with Node.js 9 and remove 7 2017-12-20 12:19:25 +01:00
Florian Reinhart e5b309738f Update (dev) dependencies.
Update tests for Chai 4.x.
Update tests for Sinon 4.x.
2017-12-20 12:17:57 +01:00
Daniel Jimenez Garcia 37e388a1c1 163, allow connection through HTTP proxy 2017-11-16 10:58:41 +01:00
Anthony Ringoet dff9d1ca66 Fix minor typo's 2017-10-12 12:59:13 +02:00
Anthony Ringoet 95f68f32ce Tweak install command in readme 2017-10-11 16:53:20 +02:00
Oliver 5eb2bc3aa6 Add --save to npm command 2017-06-29 19:24:56 +02:00
Florian Reinhart c1458be3c0 Update changelog for 2.1.5 v2.1.5 2017-06-29 13:47:38 +02:00
Keith Wedinger 7f38a17200 Fix issues 571 and 572 by adding .nvmrc and updating .gitignore 2017-06-01 19:00:16 +02:00
Florian Reinhart 615d703023 Update dependencies 2017-06-01 18:16:27 +02:00
Florian Reinhart 51545c72b9 Fix certificate tests on systems which don’t run in UTC timezone 2017-06-01 18:13:08 +02:00
Florian Reinhart ebf1e3153e Run tests on Node.js 8 2017-06-01 18:06:55 +02:00
Karl Böhlmark 5d3d9a60a8 update node-forge to 0.7.1 2017-06-01 17:58:47 +02:00
Florian Reinhart 757f865fda Fix documentation for thread-id 2017-05-08 16:28:57 +02:00
Alex Povar a2d4deeca8 Provider creation fix 2017-04-17 19:09:33 +02:00
Erlend Fagerheim b3fc329e8e change auth-key file .pem to .p8 in README.md 2017-04-17 19:08:56 +02:00
Nora Petrova a024d3de17 Sync up README and doc/apn.markdown 2017-03-29 12:42:47 +02:00
Elad Nava 6749bde1fe Document apn.Provider.shutdown() in README
Closes #542.
2017-03-29 12:32:35 +02:00
Aditya 2c122a35d4 add typings for Notification#aps 2017-03-29 12:31:21 +02:00
Aditya 5b6cc89d08 Provider class extends EventEmitter 2017-03-29 12:31:21 +02:00
Florian Reinhart f7456dfe24 Update changelog for 2.1.4 v2.1.4 2017-03-24 13:14:59 +01:00
Florian Reinhart adfc7784ef Update node-http2 fork 2017-03-24 13:07:28 +01:00
William Belle a8422e0b5f fix typo 2017-03-06 17:57:48 +01:00
Jianfei Bai f1d79ccc9d Change endpoint name to match APNs definition 2017-02-20 16:18:41 +01:00
michiluki c915b9a364 Update APN dev endpoint (#528)
* Change APN development endpoint

The APN dev endpoint got updated see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html

under "APNs Connections"
2017-02-19 13:41:00 +01:00
Shen 5d6bfb43c6 avoid mutating given payload 2017-02-08 09:20:56 +01:00
Florian Reinhart b4c31cb7c8 Update changelog for 2.1.3 v2.1.3 2017-02-05 13:29:12 +01:00
Florian Reinhart 7aab2f0a97 Update npm dependencies 2017-02-05 13:28:38 +01:00
Florian 61495d2dd8 Merge pull request #480 from cmdkoh/master
Take care of idle connection and token expiration.
2017-02-05 13:15:04 +01:00
Darren e0f7a54052 Change _pingedThreshold to 2.5 times of headbeat
Change _pingedThreshold to 2.5 times the configured heartbeat (set in this.options.heartBeat)
2017-02-04 11:11:28 -08:00
Jianfei Bai 448b6213e5 Update the document. (#509)
* Update provider.markdown
* Update doc (delete comma at the end of last item)
2017-01-21 14:00:15 +01:00
Florian 467179538b Fix documentation links 2017-01-21 13:57:05 +01:00
Poker 2d2c126db1 edit doc 2017-01-19 11:41:32 +01:00
Jianfei Bai a01596b2ea Update provider.markdown
Delete comma at the end of last line in Json format.
2017-01-11 09:42:16 +01:00
Jack Williams 19f4a858a8 Fixing incorrect docs (String -> Array) 2017-01-08 14:38:46 +01:00
Darren Koh 710f68c9fb Code refactoring 2017-01-06 11:21:18 -08:00
Edward Sammut Alessi 6950fb4f7f Add missing timestamp key to failure reason 2017-01-06 18:55:02 +01:00
Tao 476d55d722 fix broken link 2017-01-06 18:54:14 +01:00
Darren Koh f7f6e9c7ff Revert parameter name for isExpired() to validSeconds 2016-12-21 14:04:08 -08:00
Darren Koh 6fbf113105 Fix parameter in client.js when calling isExpired() function 2016-12-21 13:13:28 -08:00
Darren Koh 3fcc0a7111 Update parameter name to correctly reflect expected unit of measure in isExpired() function 2016-12-21 13:08:56 -08:00
Florian f33ce9ff6e Fix example in "What's New" (Fixes #487) 2016-12-13 14:45:26 +01:00
Florian ddd0aa2ade Fix mutable-content in example JSON output (Fixes #488) 2016-12-13 14:42:29 +01:00