svelte-tel-input 3.3.8 → 3.3.9

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.
@@ -113,10 +113,10 @@ const countryChangeWatch = watcher(null, countryChangeWatchFunction);
113
113
  $:
114
114
  $countryChangeWatch = country;
115
115
  $:
116
- getPlaceholder = combinedOptions.autoPlaceholder ? country ? generatePlaceholder(country, {
116
+ getPlaceholder = combinedOptions.autoPlaceholder && country ? generatePlaceholder(country, {
117
117
  format: combinedOptions.format,
118
118
  spaces: combinedOptions.spaces
119
- }) : null : placeholder;
119
+ }) : placeholder;
120
120
  $:
121
121
  if (value === null && inputValue !== null && detailedValue !== null) {
122
122
  inputValue = null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-tel-input",
3
3
  "description": "svelte-tel-input",
4
- "version": "3.3.8",
4
+ "version": "3.3.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/gyurielf/svelte-tel-input.git"
@@ -87,8 +87,7 @@
87
87
  "exports": {
88
88
  ".": {
89
89
  "types": "./dist/index.d.ts",
90
- "svelte": "./dist/index.js",
91
- "default": "./dist/index.js"
90
+ "svelte": "./dist/index.js"
92
91
  },
93
92
  "./types": {
94
93
  "types": "./dist/types/index.d.ts",