Skip to content

Commit 5d3ef98

Browse files
committed
Bump version to 3.0.6 and rebuild
1 parent 08fe53a commit 5d3ef98

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.postcodes",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"authors": [
55
"support@ideal-postcodes.co.uk"
66
],

dist/postcodes.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Ideal Postcodes jQuery Plugin - v3.0.5 - 2017-11-16
1+
/*! Ideal Postcodes jQuery Plugin - v3.0.6 - 2017-11-17
22
* https://github.com/ideal-postcodes/jquery.postcodes
33
2017 Ideal Postcodes; Licensed MIT */
44
(function($) {
@@ -816,9 +816,11 @@
816816

817817
// Check if key is usable if necessary
818818
if (options.check_key) {
819-
$.idealPostcodes.checkKey({
820-
api_key: options.api_key
821-
}, initPlugin, failedKeyCheck);
819+
var keyOptions = { api_key: options.api_key };
820+
if (options.licensee) {
821+
keyOptions.licensee = options.licensee;
822+
}
823+
$.idealPostcodes.checkKey(keyOptions, initPlugin, failedKeyCheck);
822824
} else {
823825
initPlugin();
824826
}

dist/postcodes.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-postcodes",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"engines": {
55
"node": ">= 0.8.0"
66
},

postcodes.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "postcodes",
33
"title": "Ideal Postcodes jQuery Plugin",
44
"description": "Add UK Address lookups using postcodes on any address form using Royal Mail's addressing database",
5-
"version": "3.0.5",
5+
"version": "3.0.6",
66
"homepage": "https://github.com/ideal-postcodes/jquery.postcodes",
77
"author": {
88
"name": "Ideal Postcodes",

0 commit comments

Comments
 (0)