Skip to content

Commit 5dc5f57

Browse files
Merge pull request #114 from smarty/rebekah/update-npm-packages
Rebekah/update npm packages
2 parents fad7794 + c0f4ace commit 5dc5f57

12 files changed

+990
-869
lines changed

examples/international_address_autocomplete.js renamed to examples/international_address_autocomplete.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.internationalAddressAutocomplete.Lookup;
45

examples/international_street.js renamed to examples/international_street.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.internationalStreet.Lookup;
45

examples/us_autocomplete_pro.js renamed to examples/us_autocomplete_pro.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.usAutocompletePro.Lookup;
45

examples/us_enrichment.js renamed to examples/us_enrichment.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.usEnrichment.Lookup;
45

examples/us_extract.js renamed to examples/us_extract.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.usExtract.Lookup;
45

examples/us_reverse_geo.js renamed to examples/us_reverse_geo.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.usReverseGeo.Lookup;
45

examples/us_street.js renamed to examples/us_street.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.usStreet.Lookup;
45

examples/us_zipcode.js renamed to examples/us_zipcode.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const SmartySDK = require("smartystreets-javascript-sdk");
1+
import SmartySDK from "smartystreets-javascript-sdk";
2+
23
const SmartyCore = SmartySDK.core;
34
const Lookup = SmartySDK.usZipcode.Lookup;
45

0 commit comments

Comments
 (0)