svelte-tel-input 3.4.0 → 3.4.1

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.
@@ -16,7 +16,7 @@ declare const __propDef: {
16
16
  /** Detailed parse of the E164 phone number */ detailedValue?: Partial<DetailedValue> | null;
17
17
  /** Validity of the input based on the config settings.*/ valid?: boolean;
18
18
  /** You can turn on and off certain features by this object */ options?: TelInputOptions;
19
- updateValue?: (newValue: string | E164Number | null, newCountry: CountryCode | null) => void;
19
+ updateValue?: (newValue: string | E164Number | null, newCountry?: CountryCode | null) => void;
20
20
  };
21
21
  events: {
22
22
  beforeinput: InputEvent;
@@ -43,6 +43,6 @@ export type TelInputProps = typeof __propDef.props;
43
43
  export type TelInputEvents = typeof __propDef.events;
44
44
  export type TelInputSlots = typeof __propDef.slots;
45
45
  export default class TelInput extends SvelteComponentTyped<TelInputProps, TelInputEvents, TelInputSlots> {
46
- get updateValue(): (newValue: string | E164Number | null, newCountry: CountryCode | null) => void;
46
+ get updateValue(): (newValue: string | E164Number | null, newCountry?: CountryCode | null) => void;
47
47
  }
48
48
  export {};
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.4.0",
4
+ "version": "3.4.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/gyurielf/svelte-tel-input.git"