@ideal-postcodes/address-finder
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -29,3 +29,3 @@ "use strict"; | ||
const watch = (config, options = {}) => { | ||
const client = new core_axios_1.Client({ api_key: config.apiKey }); | ||
const client = new core_axios_1.Client({ ...config, api_key: config.apiKey }); | ||
const { pageTest = isTrue } = options; | ||
@@ -32,0 +32,0 @@ if (!pageTest()) |
@@ -26,3 +26,3 @@ import { Client, checkKeyUsability } from "@ideal-postcodes/core-axios"; | ||
export const watch = (config, options = {}) => { | ||
const client = new Client({ api_key: config.apiKey }); | ||
const client = new Client({ ...config, api_key: config.apiKey }); | ||
const { pageTest = isTrue } = options; | ||
@@ -29,0 +29,0 @@ if (!pageTest()) |
{ | ||
"name": "@ideal-postcodes/address-finder", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "Address Finder JS library backed by the Ideal Postcodes UK address search API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252923
5370