stomita/node-salesforce — pull request #2 by cianclarke (2012-06-21 16:30:47+00:00)
Title: Add features to the SOAP Auth API: Enterprise API support, logout() support, return some user info

In this pull request I've:
-Added a streaming test example
-Allow the salesforce test to be run with custom login server URL
-Add some useful user info to the conn. object on return from the login API (this is SOAP only - don't think the OAuth API returns such info, it's a further call?)
-Add the ability to specify an API type (enterprise or partner), and if enterprise API, ability call the logout endpoint. This invalidates the sessionId with SalesForce. Add a logout example to the readme.

I'm afraid I can't get the salesforce.test.js testcases to run in their entirety, but removing some of the inner runBatch()'s things work OK - so the update login() testcase passes, along with the new logout.

Any questions, comments, things you'd like me to change don't hesitate to ask. Thanks for a great module!