Socket
Socket
Sign inDemoInstall

@ideal-postcodes/address-finder

Package Overview
Dependencies
9
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

35

CHANGELOG.md

@@ -0,1 +1,8 @@

## [3.0.1](https://github.com/ideal-postcodes/address-finder/compare/3.0.0...3.0.1) (2022-03-21)
### Bug Fixes
* **Context:** Allow initial context to be changed ([42be4ce](https://github.com/ideal-postcodes/address-finder/commit/42be4ce7d6ac4f8db972f00150eeb8807aef7043))
# [3.0.0](https://github.com/ideal-postcodes/address-finder/compare/2.5.1...3.0.0) (2022-02-28)

@@ -7,30 +14,14 @@

* **Exports:** Namespace all exports to AddressFinder ([4eaa385](https://github.com/ideal-postcodes/address-finder/commit/4eaa385766dd61bc2fc056aff2a2f7989c5d1567))
* **Exports:** Namespace all exports to AddressFinder ([9d64f93](https://github.com/ideal-postcodes/address-finder/commit/9d64f9323cb578afb334d98bdde671756d82fdd3))
* **Global:** Enable USA Address Finder ([59bc38a](https://github.com/ideal-postcodes/address-finder/commit/59bc38a6b1186546f2e370310dc03cb637c401f9))
### Features
* **AddressFinder:** 3.0.0 ([a8c543e](https://github.com/ideal-postcodes/address-finder/commit/a8c543e80ce47e966c62ce9eef3b478794ce42c8))
* **AddressFinder:** 3.0.0 ([8bdb008](https://github.com/ideal-postcodes/address-finder/commit/8bdb008557c87b0f808ef61d21b3f03083e0cdaf))
* **Countries:** Allow user to restrict to specific countries ([d32085f](https://github.com/ideal-postcodes/address-finder/commit/d32085fed97924c54811287ff45016a2427de3ed))
* **Countries:** Allow user to restrict to specific countries ([4809a25](https://github.com/ideal-postcodes/address-finder/commit/4809a25fe5416669d358804cb64c42ac7615d831))
* **Hints:** Add hints in placeholder ([045e1a7](https://github.com/ideal-postcodes/address-finder/commit/045e1a7b9a198f7cd6c64af52bf68053f3440b3f))
* **Hints:** Add hints in placeholder ([c5ba376](https://github.com/ideal-postcodes/address-finder/commit/c5ba376570dd82403b38ef3573eca50fb9045643))
* **Resolver:** Use new resolve API ([dd37b59](https://github.com/ideal-postcodes/address-finder/commit/dd37b5982f0b31c7c1d2997fcff8aa7dc2ea2431))
* **Resolver:** Use new resolve API ([609b359](https://github.com/ideal-postcodes/address-finder/commit/609b3598f86720c1b803a558ba023041d77b7d62))
* **Styling:** Automatically offset AF if input has bottom margin ([1fb334f](https://github.com/ideal-postcodes/address-finder/commit/1fb334fde6338f6ecbfb86f401af196702d59bac))
* **Styling:** Automatically offset AF if input has bottom margin ([3ed3a78](https://github.com/ideal-postcodes/address-finder/commit/3ed3a78653e5ad6a5b55885352302bc340d6e072))
* **Toolbar:** Option to hide toolbar ([ea9bc97](https://github.com/ideal-postcodes/address-finder/commit/ea9bc977271ab4f612565802204510883761dd2a))
* **Toolbar:** Option to hide toolbar ([441f6de](https://github.com/ideal-postcodes/address-finder/commit/441f6de9f726a087e26b0f30eae6379f8e7a2099))
* **Typings:** Drop api-typings for OpenApi typings ([bcde3f2](https://github.com/ideal-postcodes/address-finder/commit/bcde3f2f6ffa23bd7da107f4202d4d36775afa62))
* **Typings:** Drop api-typings for OpenApi typings ([baa469a](https://github.com/ideal-postcodes/address-finder/commit/baa469a4afa9827ae9ecf1118f061c1fd3adcb5a))
* **USA:** Add support for US Address Search ([13deb0b](https://github.com/ideal-postcodes/address-finder/commit/13deb0b6821821a5a332df30408fd8b8ee01d347))
* **USA:** Add support for US Address Search ([b04bd89](https://github.com/ideal-postcodes/address-finder/commit/b04bd89e6ecaaef835d4507dd98259fdebb5b45c))
* **USA:** Add USA support ([1f2b006](https://github.com/ideal-postcodes/address-finder/commit/1f2b006f6da49675a977167710c7c07e533e4dfa))
* **USA:** Add USA support ([589f0ab](https://github.com/ideal-postcodes/address-finder/commit/589f0abb5626ee3728e65caa91a9e9a3289d8bfb))
* **View:** View brought into main scope ([43e97f9](https://github.com/ideal-postcodes/address-finder/commit/43e97f958ead9502779ec33ffb0ebe896868aa2e))
* **View:** View brought into main scope ([01781ac](https://github.com/ideal-postcodes/address-finder/commit/01781accb1f3e43ef86ebb49157130bcccb59f27))
### BREAKING CHANGES

@@ -51,4 +42,2 @@

/autocomplete/addresses/:id API
* **Typings:** Address Finder now uses the typings found at
@ideal-postcodes/api-typings
* **USA:** Adds USA support. Underlying API Client upgraded to

@@ -62,12 +51,4 @@ 3.0.0

advance the state machine
* **Exports:** All exports have been namespaced to AddressFinder
* **View:** Removed controller.view. View components are incorporated into main
Address Finder instance. e.g. `controller.view.input` becomes
`controller.input`
* **Resolver:** Address Finder now completes addresses using the
/autocomplete/addresses/:id API
* **Typings:** Address Finder now uses the typings found at
@ideal-postcodes/api-typings
* **USA:** Adds USA support. Underlying API Client upgraded to
3.0.0
@ideal-postcodes/openapi

@@ -74,0 +55,0 @@ # [3.0.0-beta.2](https://github.com/ideal-postcodes/address-finder/compare/3.0.0-beta.1...3.0.0-beta.2) (2022-02-28)

@@ -155,3 +155,6 @@ "use strict";

return this.cache
.query(query, this.options.queryOptions)
.query(query, {
...this.options.queryOptions,
context: this.context,
})
.then((suggestions) => {

@@ -568,3 +571,2 @@ this.options.onSuggestionsRetrieved.call(this, suggestions);

this.context = context;
this.setQueryOptions({ ...this.options.queryOptions, context });
this.countryIcon.innerText = details.icon;

@@ -571,0 +573,0 @@ this.announce(`Country switched to ${details.name}`);

@@ -148,3 +148,6 @@ /**

return this.cache
.query(query, this.options.queryOptions)
.query(query, {
...this.options.queryOptions,
context: this.context,
})
.then((suggestions) => {

@@ -561,3 +564,2 @@ this.options.onSuggestionsRetrieved.call(this, suggestions);

this.context = context;
this.setQueryOptions({ ...this.options.queryOptions, context });
this.countryIcon.innerText = details.icon;

@@ -564,0 +566,0 @@ this.announce(`Country switched to ${details.name}`);

{
"name": "@ideal-postcodes/address-finder",
"version": "3.0.0",
"version": "3.0.1",
"description": "Address Finder JS library backed by the Ideal Postcodes UK address search API",

@@ -152,3 +152,3 @@ "main": "dist/index.js",

"puppeteer": "~9.0.0",
"rollup": "~2.56.2",
"rollup": "~2.70.0",
"semantic-release": "~17.4.1",

@@ -155,0 +155,0 @@ "sinon": "~11.1.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc