Skip to content

Commit 73e24a6

Browse files
chore(release): 2.0.0 [skip ci]
# [2.0.0](1.9.0...2.0.0) (2021-06-04) ### Code Refactoring * **Defaults:** Export `defaults` object ([6b9b698](6b9b698)) ### Features * **Version 2:** Reduce package size ([cfcae8a](cfcae8a)) ### BREAKING CHANGES * **Version 2:** - Package now exports a `defaults` object - Client.defaults has been removed - All client config is now stored in `client.config` - All resources have been removed from the client. Instead retrieve these from the library and inject the client. E.g. `client.postcodes.retrieve` becomes `postcodes.retrieve(client, ...)` - Helper methods (like lookupPostcode, ping) have been removed from the client. Instead retrieve these from teh library and inject the client. E.g. `client.lookupPostcode` becomes `lookupPostcode(client, ...)` * **Defaults:** Uppercased default variables no longer exported. Instead `defaults` object is supplied
1 parent 8ce0e40 commit 73e24a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
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": "@ideal-postcodes/core-interface",
3-
"version": "1.9.0",
3+
"version": "2.0.0",
44
"description": "Interface specification for javascript based API Clients to api.ideal-postcodes.co.uk",
55
"author": {
66
"name": "Ideal Postcodes",

0 commit comments

Comments
 (0)