Comparing version 0.1.1 to 0.1.2
@@ -111,3 +111,3 @@ var defaults = { | ||
var filter, offset, limit, orderby, direction, fullText; | ||
var filter, offset, limit, orderby, direction, fullText, nocache; | ||
if (query && typeof query === 'object') { | ||
@@ -120,2 +120,3 @@ if (typeof query.filter === 'object' || query.filter) { filter = query.filter || filter; } | ||
fullText = query.fullText || fullText; | ||
nocache = query.nocache || nocache; | ||
} | ||
@@ -129,3 +130,4 @@ | ||
(limit !== undefined ? "&limit=" + limit : "") + | ||
(orderby !== undefined ? "&orderby=" + orderby : "&orderby=created_at") + | ||
(orderby !== undefined ? "&orderby=" + orderby : "&orderby=created_at") + | ||
(nocache !== undefined ? "&nocache=" + nocache : "") + | ||
(direction !== undefined ? "," + direction : "") | ||
@@ -132,0 +134,0 @@ , requestVerb = "get"; |
@@ -10,3 +10,3 @@ { | ||
"description": "jotform API nodejs client", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"directories": { | ||
@@ -13,0 +13,0 @@ "test": "test" |
55394
1038