Permalink
Browse files

Added postageVersion and changed module version (for NPM)

  • Loading branch information...
1 parent f8a094a commit c1d276619d4a49b6028b30e3de0d5e84a8f12644 @JonLim JonLim committed Jul 12, 2011
Showing with 4 additions and 2 deletions.
  1. +3 −1 lib/postageapp.js
  2. +1 −1 package.json
View
@@ -1,5 +1,7 @@
var http = require('http');
+var postageVersion = '1.0.0';
+
module.exports = function(apiKey) {
return {
apiCall: function (emailRecipients, emailContent, emailSubject, emailFrom, emailVariables) {
@@ -9,7 +11,7 @@ module.exports = function(apiKey) {
{
'host': 'api.postageapp.com',
'content-type': 'application/json',
- 'user-agent': 'PostageApp Node.JS 0.0.1 (Node.JS ' + process.version + ')'
+ 'user-agent': 'PostageApp Node.JS ' + postageVersion + ' (Node.JS ' + process.version + ')'
});
var templateName = new String();
View
@@ -1,6 +1,6 @@
{
"name": "postageapp",
- "version": "0.0.1",
+ "version": "0.0.2",
"node": ">= 0.4.0",
"homepage": "https://github.com/postageapp/postageapp-nodejs",
"repository": {

0 comments on commit c1d2766

Please sign in to comment.