lob 6.5.5 → 6.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
+ ### 6.6.1 (2022-04-11)
2
+ ##### Maintenance
3
+ * bump minimist from 1.2.0 to 1.2.6
4
+ * bump moment from 2.29.1 to 2.29.2
5
+
6
+ ### 6.6.1 (2022-04-05)
7
+ ##### Maintenance
8
+ * **autocomplete** add query param for address casing
9
+ * Update dependency version
10
+ * Updates to CI process
11
+ * Updates to Repo branch naming
12
+
1
13
  ### 6.5.5 (2022-01-14)
2
- ##### Maintinence
14
+ ##### Maintenance
3
15
  * Removed Bluebird dependency and replaced with p-map
4
16
  * Updated 4 out of date dev dependencies
5
17
  * Updated min required version of NodeJS to 10
@@ -8,8 +8,12 @@ class USAutocompletions extends ResourceBase {
8
8
  super('us_autocompletions', config);
9
9
  }
10
10
 
11
- autocomplete (params, callback) {
12
- return this._transmit('POST', null, null, params, null, callback);
11
+ autocomplete (params, query_param, callback) {
12
+ if (typeof query_param === 'function') {
13
+ callback = query_param;
14
+ query_param = {};
15
+ }
16
+ return this._transmit('POST', null, query_param, params, null, callback);
13
17
  }
14
18
 
15
19
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "Lob.com",
11
11
  "printing"
12
12
  ],
13
- "version": "6.5.5",
13
+ "version": "6.6.2",
14
14
  "homepage": "https://github.com/lob/lob-node",
15
15
  "author": "Lob <support@lob.com> (https://lob.com/)",
16
16
  "dependencies": {