@dataemergencia/emergency 0.4.0 → 0.6.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/dist/index.d.cts CHANGED
@@ -215,6 +215,7 @@ interface EmergencyClientState {
215
215
  readonly lastError: EmergencyError | null;
216
216
  readonly geolocation: EmergencyGeolocation | null;
217
217
  readonly geolocationError: EmergencyError | null;
218
+ readonly contactPhone: string | null;
218
219
  readonly realtimeStatus: RealtimeStatus;
219
220
  readonly abortResult: AbortResult | null;
220
221
  readonly simulationResult: SimulationResult | null;
@@ -242,6 +243,7 @@ interface EmergencyClient {
242
243
  requestSimulationConfirmation(): void;
243
244
  cancelSimulationConfirmation(): void;
244
245
  dismissFeedback(): void;
246
+ setContactPhone(phone: string | null): void;
245
247
  }
246
248
  type EmergencyTrigger = string | HTMLElement | ((open: () => void) => void | (() => void));
247
249
  interface EmergencyMountOptions extends EmergencyConfig {
package/dist/index.d.ts CHANGED
@@ -215,6 +215,7 @@ interface EmergencyClientState {
215
215
  readonly lastError: EmergencyError | null;
216
216
  readonly geolocation: EmergencyGeolocation | null;
217
217
  readonly geolocationError: EmergencyError | null;
218
+ readonly contactPhone: string | null;
218
219
  readonly realtimeStatus: RealtimeStatus;
219
220
  readonly abortResult: AbortResult | null;
220
221
  readonly simulationResult: SimulationResult | null;
@@ -242,6 +243,7 @@ interface EmergencyClient {
242
243
  requestSimulationConfirmation(): void;
243
244
  cancelSimulationConfirmation(): void;
244
245
  dismissFeedback(): void;
246
+ setContactPhone(phone: string | null): void;
245
247
  }
246
248
  type EmergencyTrigger = string | HTMLElement | ((open: () => void) => void | (() => void));
247
249
  interface EmergencyMountOptions extends EmergencyConfig {