Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 7, 2012
  1. Version 1.2.3

    authored
Commits on Jul 5, 2012
  1. Added some more error handling

    authored
    Also fixes a bug with the error handling at the bottom of sendNotification.
Commits on Jun 29, 2012
  1. Fixes #47

    authored
Commits on Jun 28, 2012
  1. v1.2.1

    authored
  2. More logging

    authored
  3. Fixes #46

    authored
Commits on Jun 22, 2012
  1. Fix for notification queue stalling.

    authored
    The 'ondrain' event for a socket isn't called if the entire buffer was flushed during the .write() call. Therefore the queue will stall in these cases. Instead we immediately call the .socketDrained() method to continue queue processing.
Commits on Jun 16, 2012
  1. Readme.md

    authored
  2. Another Readme.md correction

    authored
  3. Updated Readme.md

    authored
Commits on Jun 14, 2012
  1. Rewritten feedback

    authored
    Tidied up code formatting
    Reset notification ID when it gets too big
    Use readUIntXXBE etc. methods instead of int2bytes and bytes2int
    Improved control flow for errors
  2. Fixed an exports problem.

    authored
Commits on Jun 13, 2012
  1. Refactored connection handling.

    authored
    Now making extensive use of promises. Including the possibility of handling notification errors with a promise also.
Commits on May 9, 2012
  1. Version 1.1.7

    authored
    Fixes a problem with sockets being closed on transmission error, causing EPIPE errors
    Issues #29, #30
  2. Addresses issue #30

    authored
    This should prevent crashing with EPIPE error on connection error.
Commits on Mar 7, 2012
  1. Merge pull request #26 from jacksonh/master

    authored
    Add a passphrase option for key files.
  2. @jacksonh
Commits on Jan 21, 2012
  1. Version 1.1.6

    authored
Commits on Jan 19, 2012
  1. Merge pull request #22 from pereckerdal/master

    authored
    Fixes bug introduced by a3cf8b0 where the socket buffer length wasn't checked correctly.
Commits on Jan 17, 2012
  1. @pereckerdal
Commits on Jan 6, 2012
  1. Version 1.1.5

    authored
    * Feature: Certificate and Key data can be passed directly when creating a new connection instead of providing a file name on disk. (See: `certData` and `keyData` options)
    * Deliver whole write buffer if the socket is ready.
    * Fixed some global memory leaks.
    * Tidied up some code formatting glitches flagged by jslint
    * Fixes #16, #17, #18, #19, #20
  2. Fixed #17, #20

    authored
    Removed a global callback, raised by mypark#17
Commits on Dec 31, 2011
  1. @keithnlarsen

    Make the apn library take a cert and a key as a string instead of as …

    keithnlarsen authored committed
    …a file so i can store multiples of them. Also fixed up a bunch of js lint error, not all of them, but most of them.
Commits on Dec 3, 2011
  1. Fixes #16

    authored
    Fix by @bobrik
  2. Fixes #17

    authored
Commits on Nov 25, 2011
  1. v1.1.4

    authored
    Updated the readme and package.json for release
  2. Fixes #15: Sending unified emoji via apn

    authored
    Added encoding parameter when sending notification
  3. Readme for v1.1.3

    authored
Commits on Nov 24, 2011
  1. Version 1.1.3

    authored
    Fixes #11,#12,#13,#14
    
    Ensure delivery of notifications to Apple even under heavy load.
Commits on Oct 18, 2011
  1. Reinstated the check for whether we are using the enhanced binary int…

    authored
    …erface or not.
    
    If we aren't then we can't find which notification made things go wrong then none of the rest of the method is relevant and we can just go back to draining the writeBuffer.
Something went wrong with that request. Please try again.