Version 3.6.0

@esri/arcgis-rest-feature-layer

Feature layer query and edit helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-feature-layer @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  addFeatures,
  addAttachment,
  applyEdits,
  decodeValues,
  deleteFeatures,
  deleteAttachments,
  getAllLayersAndTables,
  getAttachments,
  getLayer,
  getService,
  parseServiceUrl,
  getFeature,
  queryFeatures,
  queryRelated,
  updateFeatures,
  updateAttachment,
} from "@esri/arcgis-rest-feature-layer";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.6.0/dist/umd/feature-layer.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.6.0/dist/umd/feature-layer.umd.min.js" integrity="sha384-G1cfompQwS/O57crskYv9WazDiJmAVfMEhIbti94x9zxezVMZKzzBRIAA+7urF32" crossorigin="anonymous"></script>