Skip to content

Releases: VersiumAnalytics/reach-api-sdk-node

v1.1.1

01 Oct 20:46
v1.1.1
75257d6

Choose a tag to compare

Added

  • Append: New preferred options object for the third argument to client.append.
    • outputTypes: string[] — which outputs to request
    • additionalParams (optional): object — request-level parameters applied to every input record in the call
    • Example:
      for await (const results of client.append("contact", inputs, {
        outputTypes: ["email", "phone"],
        additionalParams: { cfg_max_emails: 3 },
      })) {
        // ...
      }

Changed

  • Append: The legacy third-argument array form (e.g., client.append("contact", inputs, ["email", "phone"])) is still supported for backward compatibility but is now deprecated. Please migrate to the options object shown above.

Notes

  • You can still include parameters on individual input records when you need per-record behavior (not deprecated). If a parameter is provided both per-record and in additionalParams, the value from the input record applies for that call.

Full Changelog: v1.0.4...v1.1.1

v1.0.4

01 Nov 18:03

Choose a tag to compare

Documentation update to clarify AsyncGenerator usage.

v1.0.3

24 Oct 23:19

Choose a tag to compare

Small patch release, implements the new rcfg_max_time parameter available in the Versium append APIs which signals to the API that the request should attempt to complete before the time is elapsed. This means that if the request is approaching the max time the API may forgo some processing in favor of returning results on time. Be sure to increase your timeout if you would like to avoid this, though our default timeout should allow for plenty of processing time.

Also includes some small improvements to rate limiting logic.

v1.0.2

06 Mar 19:22

Choose a tag to compare

Initial release!