UNPKG

@tak-ps/node-tak

Version:

Lightweight JavaScript library for communicating with TAK Server

619 lines (320 loc) 11.4 kB
# CHANGELOG ## Emoji Cheatsheet - :pencil2: doc updates - :bug: when fixing a bug - :rocket: when making general improvements - :white_check_mark: when adding tests - :arrow_up: when upgrading dependencies - :tada: when adding new features ## Version History ### v12.19.0 - 2025-07-07 - :rocket: Return an error if a File.download results in an upstream 404 - :arrow_up: Update Core Deps ### v12.19.0 - 2025-07-01 - :arrow_up: Migrate to `@tak-ps/xml-js` which is a fill TypeScript port of `xml-js` - :bug: Fix attribute escaping in `xml-js` to ensure callsigns with `&` are properly escaped ### v12.18.3 - 2026-06-24 - :arrow_up: Update Core Deps ### v12.18.2 - 2026-06-23 - :bug: Fix issue with undefined handling in Mission Update ### v12.18.1 - 2026-06-22 - :bug: Check for undefined keywords instead of empty array ### v12.18.0 - 2026-06-12 - :arrow_up: Update Core Deps ### v12.17.0 - 2026-05-21 - :rocket: Add support for entryUID and ContentHashes in Mission Logs ### v12.16.0 - 2026-05-03 - :arrow_up: Update Core Deps ### v12.15.3 - 2026-05-03 - :arrow_up: Update Core Deps ### v12.15.2 - 2026-04-27 - :bug: MimeType fallback on File upload ### v12.15.1 - 2026-04-24 - :bug: Use provided headers in Mission Update ### v12.15.0 - 2026-04-24 - :rocket: Add support for changing groups on Missions ### v12.14.0 - 2026-04-23 - :rocket: Add support for setting keywords and deleting keywords on Missions ### v12.13.0 - 2026-04-22 - :rocket: Surface cause of a failed network request in error message ### v12.12.0 - 2026-04-21 - :tada: Add Mission Children/Parent API ### v12.11.1 - 2026-04-20 - :bug: Fix URL endpoints ### v12.11.0 - 2026-04-20 - :tada: Handle Mission Package Updates ### v12.10.0 - 2026-04-14 - :rocket: handle multipart form data internally ### v12.9.0 - 2026-04-13 - :arrow_up: Remove `tape` in favor of `node:test` and update tests accordingly ### v12.8.0 - 2026-04-13 - :arrow_up: Remove use of `form-data` ### v12.7.0 - 2026-04-13 - :arrow_up: Migrate to Typescript 6.0 ### v12.6.0 - 2026-04-08 - :arrow_up: Migrate to DFPC controlled P12 extractor library ### v12.5.0 - 2026-04-06 - :arrow_up: Update to TypeScript@6 ### v12.4.0 - 2026-03-18 - :arrow_up: Update pinned node-cot dep ### v12.3.1 - 2026-03-18 - :arrow_up: Update pinned node-cot dep ### v12.3.0 - 2026-03-18 - :rocket: Enable Flow Stripping Option ### v12.2.1 - 2026-03-13 - :rocket: Switch to using body to avoid URL encoding issues ### v12.2.0 - 2026-03-06 - :rocket: Adjust mission contentResource to support REMOVE_CONTENT ### v12.1.0 - 2026-03-02 - :bug: Fix connect_ssl race condition where a stale socket's delayed close or end event could destroy a newly-reconnected socket, leaving the connection permanently dead after a server restart. ### v12.0.0 - 2026-02-11 - :tada: Significantly improve memory performance of client when writing large amounts of data ### v11.26.2 - 2026-02-05 - :bug: Wrap return type of Client list in TAKList object ### v11.26.1 - 2026-02-05 - :rocket: Allow specifying Client Endpoint List query parameters ### v11.26.0 - 2026-02-05 - :tada: Add support for Client Endpoint List ### v11.25.2 - 2026-02-03 - :arrow_up: Update Core Deps ### v11.25.1 - 2026-01-28 - :rocket: MissionGuid is optional ### v11.25.0 - 2026-01-28 - :rocket: Update MissionChange type ### v11.24.0 - 2026-01-06 - :rocket: Require clientUid in Mission Invite List ### v11.23.0 - 2026-01-05 - :rocket: Updated Mission Invite after talking to TPC Developers ### v11.22.0 - 2026-01-05 - :rocket: Add Mission Invite Get and improve List Support ### v11.21.0 - 2026-01-05 - :tada: Add Mission Invite & Uninvite Support ### v11.20.2 - 2025-12-24 - :bug: Update Github Actions Workflow ### v11.20.1 - 2025-12-21 - :bug: Update Github Actions Workflow ### v11.20.0 - 2025-12-21 - :tada: Introduce deleting/revoking by ID and add TS Docs ### v11.19.0 - 2025-12-21 - :tada: Introduce first batch of Certificate APIs ### v11.18.2 - 2025-12-16 - :rocket: Add Build Step ### v11.18.1 - 2025-12-15 - :rocket: Update Release Process ### v11.18.0 - 2025-12-04 - :rocket: Update Mission type to require description ### v11.17.4 - 2025-12-03 - :bug: Update Mission must occur via `guid` ### v11.17.3 - 2025-12-02 - :bug: Fix Mission Creation with Groups ### v11.17.2 - 2025-12-02 - :rocket: Use `PUT` For Mission Creation ### v11.17.1 - 2025-12-02 - :rocket: Fix Group Assignments in Mission Updates ### v11.17.0 - 2025-12-02 - :tada: Allow setting keywords when creating or updating Missions ### v11.16.0 - 2025-12-02 - :tada: Mission Updates ### v11.15.0 - 2025-11-30 - :tada: Introduce Listing Mission Invites ### v11.14.0 - 2025-11-19 - :rocket: Allow filtering Data Packages by name ### v11.13.0 - 2025-11-10 - :rocket: Add Iconset API Wrapper ### v11.12.0 - 2025-10-29 - :bug: Due to a bug in TAK Server (https://issues.tak.gov/browse/TKS-1023) patch the Mission List Layers to only use Mission Name ### v11.11.0 - 2025-10-29 - :rocket: Add interactive subcommand selection ### v11.10.1 - 2025-10-24 - :rocket: Additional `dtg` Log support ### v11.10.0 - 2025-10-24 - :rocket: Allow setting Log `dtg` values ### v11.9.8 - 2025-10-09 - :bug: Throw invalid password for 401 or 403 code on OAuth Generation ### v11.9.7 - 2025-10-09 - :bug: Make `Package.MIMEType` optional ### v11.9.6 - 2025-10-09 - :bug: Make `Mission.Content[].SubmissionUser` optional - :bug: Make `Mission.Content[].MimeType` optional ### v11.9.5 - 2025-10-09 - :bug: Make `Package.SubmissionUser` optional ### v11.9.4 - 2025-10-09 - :bug: Make `Package.Keywords` optional ### v11.9.3 - 2025-10-09 - :bug: Make `Package.Tool` optional ### v11.9.2 - 2025-10-07 - :bug: Pass LogID value in Mission Log Update ### v11.9.1 - 2025-09-29 - :rocket: Don't allow forward slashes in Mission Names ### v11.9.0 - 2025-09-29 - :rocket: Mission Creation is now done by a single query param ### v11.8.0 - 2025-09-11 - :rocket: Include Int Certs in returned CA chain ### v11.7.0 - 2025-09-11 - :tada: Add `Security` Module ### v11.6.0 - 2025-09-07 - :tada: Allow setting Groups when creating a Mission Package - :rocket: Add the ability to set keywords on a Mission Package ### v11.5.0 - 2025-09-07 - :rocket: Migrate to `xml-js` and remove `xml2js` to reduce dependency count ### v11.4.0 - 2025-09-07 - :tada: Allow constructor opts to pass through CoT Parser options ### v11.3.1 - :bug: Remove Debug Calls - :arrow_up: Update Core Deps ### v11.3.0 - :tada: Add support for Group Selection in Video Creation API (v2) ### v11.2.2 - :bug: Make CreatorUID Optional ### v11.2.1 - :bug: Make CreatorUID Optional ### v11.2.0 - :rocket: Explicitly export Type Definitions in package.json - :rocket: Include declaration files in build process ### v11.1.1 - :rocket: Handle different content-types in Package List API ### v11.1.0 - :rocket: TAK Server 5.5 changed the Cookie format so this PR switches to Bearer tokens ### v11.0.1 - :arrow_up: Update Core Deps ### v11.0.0 - :rocket: Update `TAK.write` function to use promises - :rocket: Update all instances of CoTParser to await new Promise ### v10.2.0 - :arrow_up: Update Mission Response expectations ### v10.1.0 - :arrow_up: Include CA list in SignClient list ### v10.0.0 - :arrow_up: Migrate to `node-cot@13` ### v9.3.2 - :arrow_up: Update Core Deps ### v9.3.1 - :arrow_up: Update Core Deps ### v9.3.0 - :tada: Add Profile Connection API Call ### v9.2.2 - :arrow_up: Update Core Deps ### v9.2.1 - :bug: Ensure MissionTokens are used internally if present in a top level call ### v9.2.0 - :rocket: Ensure Mission Name meets regex/length requirements of TAK Server on creation - :tada: Add Locate API SDK ### v9.1.0 - :rocket: Register and validate `--format` flag in CLI - :tada: Allow specifying custom p12 file for auth ### v9.0.1 - :bug: Fix Global bin registration ### v9.0.0 - :rocket: *Breaking* Change TAK constructor & connect sig. to make CloudTAK used props optional - :tada: Introduce new CLI - :tada: Introduce `Files.list` API Integration ### v8.10.0 - :rocket: Support additional TLS options ### v8.9.0 - :rocket: Allow getting & setting repeater period ### v8.8.1 - :bug: Fix relative path ### v8.8.0 - :rocket: Add exports field to package.json ### v8.7.0 - :tada: Add ability to delete Repeater ### v8.6.0 - :tada: Add initial support for the Repeaters API ### v8.5.0 - :tada: Add initial support for the Injectors API ### v8.4.1 - :bug: Fix named export ### v8.4.0 - :tada: Include TAK API Operations SDK ### v8.3.0 - :rocket: Events are always forwarded regardless of destroyed status - :arrow_up: Update all core deps ### v8.2.1 - :rocket: Explicit TS return defs ### v8.2.0 - :arrow_up: Update all core deps ### v8.1.0 - :arrow_up: Update all core deps ### v8.0.0 - :arrow_up: Update required `node-cot` version to 12 ### v7.0.0 - :arrow_up: Update required `node-cot` version to 11 ### v6.0.0 - :arrow_up: Update required `node-cot` version to 10 ### v5.0.0 - :arrow_up: Update required `node-cot` version to 9 ### v4.4.0 - :rocket: Remove Remainder ### v4.3.1 - :bug: Optimize Regex Compilation ### v4.3.0 - :bug: Optimize Regex Compilation ### v4.2.0 - :bug: Fix remainder values for multi-line regex ### v4.1.1 - :bug: Fix lints ### v4.1.0 - :rocket: Support parsing XML CoTs with multiline fields ### v4.0.2 - :arrow_up: Add necessary library types ### v4.0.1 - :arrow_up: Update required `node-tak` version to 8.0.1 ### v4.0.0 - :arrow_up: Update required `node-tak` version to 8 ### v3.0.0 - :arrow_up: Update required `node-tak` version to 7 ### v2.1.2 - :rocket: Add automatic GH Release ### v2.1.1 - :arrow_up: Move ts-eslint to dev deps ### v2.1.0 - :arrow_up: Update to ESLint Flat Config System ### v2.0.1 - :white_check_mark: Fix tests ### v2.0.0 - :arrow_up: Update `node-cot@6.1` Which uses the new `.properties.metadata` for user defined properties ### v1.9.0 - :arrow_up: Increase Ping Aggressiveness ### v1.8.0 - :arrow_up: Update to latest TS Libraries and Node-COT@5.5 ### v1.7.0 - :bug: Fix leak where retries would spin up new Ping Intervals ### v1.6.1 - :bug: Fix capture group to not be numbered ### v1.6.0 - :bug: Update regex in findCoT to find `<event>` but not `<events>` - :arrow_up: Update to latest deps ### v1.5.0 - :arrow_up: Update to latest deps - :rocket: Add `secureConnect` event ### v1.4.0 - :bug: Destory client when a new client is created after `reconnect` is called ### v1.3.0 - :rocket: Perform initial parsing in try/catch - :rocket: Remove ts-ignores now that node-cot has strong type defs ### v1.2.0 - :arrow_up: Move `node-cot` to `peerDependencies` ### v1.0.2 - :arrow_up: Update node-cot ### v1.0.1 - :arrow_up: Update node-cot ### v1.0.0 - :arrow_up: Update node-cot ### v0.4.2 - :arrow_up: Update node-cot ### v0.4.1 - :arrow_up: Update node-cot ### v0.4.0 - :rocket: Update node-cot to support encoding Polygons and LineStrings ### v0.3.3 - :bug: Non-Zero Opacity Level ### v0.3.2 - :bug: Close Polygons in Node-CoT ### v0.3.1 - :bug: Bump Build ### v0.3.0 - :bug: Properly encode Polygons in Node-COT ### v0.2.0 - :bug: Fix Lint Errors ### v0.1.0 - :pencil2: Add a CHANGELOG, Initial Commit