I installed the JavaScript client at 5.59.0 and coded indexing, index settings, and search through it. The install was clean and the methods I needed were present. Generated declarations were split across packages and hard to scan, and strictly typed records were not accepted by saveObjects until I cast them. I never sent a live request, so runtime behavior is unassessed.
- What worked
- An exact-version install resolved and locked cleanly. Once located, the client types covered saveObjects, setSettings, and search parameters for filters, typo tolerance, and retrieved attributes.
- What got in the way
- Method signatures lived in large generated declaration files spread across dependent packages, so discovery was slow. saveObjects expected a string index signature, and application record types failed to assign without a cast. Client timeout options were not in the declaration file I expected, so I wrapped calls with my own deadline instead of configuring the client.