Permalink
Commits on Oct 9, 2010
  1. Typing fail.

    argon committed Oct 9, 2010
Commits on Oct 8, 2010
  1. Updated the readme

    argon committed Oct 8, 2010
  2. Added npm package.json

    argon committed Oct 8, 2010
  3. It makes more sense for the device setToken method to default to asci…

    argon committed Oct 8, 2010
    …i encoding of the token.
  4. Removed an extraneous module.

    argon committed Oct 8, 2010
  5. Introduced some better error handling with an exports.error object co…

    argon committed Oct 8, 2010
    …ntaining error values for message error response code and local errors.
  6. Altered the buffering code within feedback handler so that a partial …

    argon committed Oct 8, 2010
    …response when data has already buffered will add to the buffer.
  7. Fixed a bad comment

    argon committed Oct 8, 2010
Commits on Oct 7, 2010
Commits on Oct 4, 2010
  1. Changed: feedback event will now return a device object rather than a…

    argon committed Oct 4, 2010
    … buffer containing the device token.
  2. Removed some extraneous logging.

    argon committed Oct 4, 2010
  3. Changed device(token) to device() with a setToken(token, ascii=false)…

    argon committed Oct 4, 2010
    … method which will return this. Can now provide a buffer or ascii representation of the device token.
  4. Replaced int2bytes -> data.write(....'binary') with an int2buf(number…

    argon committed Oct 4, 2010
    …, buffer, start, length) method which writes the integer of length bytes directly into the bytes of the buffer specified by the start. Replaces some really clunky code.
  5. Now store device token as Buffer within object and provide a method t…

    argon committed Oct 4, 2010
    …o get a hex string out. This allows copying the buffer straight into the output stream instead of writing it out.
Commits on Oct 3, 2010
  1. Fixed a potential bug where the socket wont setup as secure. setSecur…

    argon committed Oct 3, 2010
    …e should be called after connection is established.