Version 14.0.0

@esri/hub-events

Module to interact with ArcGIS Hub Events in Node.js and modern browsers.

npm install:

npm install @esri/hub-events @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-feature-layer@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.15.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3  @esri/hub-common@^14.0.0 

Module Import:

import {
  addUsersToEvent,
  getEventFeatureServiceUrl,
  getEventQueryFromType,
  getEventServiceItem,
  getEventServiceUrl,
  registerForEvent,
  searchEvents,
  unregisterForEvent,
} from "@esri/hub-events";