Version 3.3.1

@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.3.1/dist/umd/feature-layer.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.3.1/dist/umd/feature-layer.umd.min.js" integrity="sha384-fs+p7sIWTPZsy9Vltzz0yp7GXTFi9RzJCw/9yjDFxkUFMssrCSSJ4EQL0QwA2Fh1" crossorigin="anonymous"></script>