smartystreets-javascript-sdk 2.1.1 → 2.2.0
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/.github/workflows/node-tests.yml +1 -1
- package/Makefile +2 -2
- package/Readme.md +1 -1
- package/package.json +1 -1
- package/src/ClientBuilder.js +8 -8
package/Makefile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/make -f
|
|
2
2
|
|
|
3
|
-
VERSION := $(shell tagit -
|
|
3
|
+
VERSION := $(shell tagit -m --dry-run)
|
|
4
4
|
VERSION_FILE1 := package.json
|
|
5
5
|
VERSION_FILE2 := package-lock.json
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ node_modules:
|
|
|
11
11
|
npm install
|
|
12
12
|
|
|
13
13
|
publish: test version upload unversion
|
|
14
|
-
tagit -
|
|
14
|
+
tagit -m
|
|
15
15
|
git push origin --tags
|
|
16
16
|
|
|
17
17
|
upload:
|
package/Readme.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
#### SMARTY DISCLAIMER: Subject to the terms of the associated license agreement, this software is freely available for your use. This software is FREE, AS IN PUPPIES, and is a gift. Enjoy your new responsibility. This means that while we may consider enhancement requests, we may or may not choose to entertain requests at our sole and absolute discretion.
|
|
2
2
|
|
|
3
3
|
# Smarty JavaScript SDK
|
|
4
4
|
|
package/package.json
CHANGED
package/src/ClientBuilder.js
CHANGED
|
@@ -21,14 +21,14 @@ const InternationalStreetClient = require("./international_street/Client");
|
|
|
21
21
|
const UsReverseGeoClient = require("./us_reverse_geo/Client");
|
|
22
22
|
const InternationalAddressAutocompleteClient = require("./international_address_autocomplete/Client");
|
|
23
23
|
|
|
24
|
-
const INTERNATIONAL_STREET_API_URI = "https://international-street.api.
|
|
25
|
-
const US_AUTOCOMPLETE_API_URL = "https://us-autocomplete.api.
|
|
26
|
-
const US_AUTOCOMPLETE_PRO_API_URL = "https://us-autocomplete-pro.api.
|
|
27
|
-
const US_EXTRACT_API_URL = "https://us-extract.api.
|
|
28
|
-
const US_STREET_API_URL = "https://us-street.api.
|
|
29
|
-
const US_ZIP_CODE_API_URL = "https://us-zipcode.api.
|
|
30
|
-
const US_REVERSE_GEO_API_URL = "https://us-reverse-geo.api.
|
|
31
|
-
const INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = "https://international-autocomplete.api.
|
|
24
|
+
const INTERNATIONAL_STREET_API_URI = "https://international-street.api.smarty.com/verify";
|
|
25
|
+
const US_AUTOCOMPLETE_API_URL = "https://us-autocomplete.api.smarty.com/suggest";
|
|
26
|
+
const US_AUTOCOMPLETE_PRO_API_URL = "https://us-autocomplete-pro.api.smarty.com/lookup";
|
|
27
|
+
const US_EXTRACT_API_URL = "https://us-extract.api.smarty.com/";
|
|
28
|
+
const US_STREET_API_URL = "https://us-street.api.smarty.com/street-address";
|
|
29
|
+
const US_ZIP_CODE_API_URL = "https://us-zipcode.api.smarty.com/lookup";
|
|
30
|
+
const US_REVERSE_GEO_API_URL = "https://us-reverse-geo.api.smarty.com/lookup";
|
|
31
|
+
const INTERNATIONAL_ADDRESS_AUTOCOMPLETE_API_URL = "https://international-autocomplete.api.smarty.com/lookup";
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* The ClientBuilder class helps you build a client object for one of the supported Smarty APIs.<br>
|