Releases: VersiumAnalytics/reach-api-sdk-node
Releases · VersiumAnalytics/reach-api-sdk-node
v1.1.1
Added
- Append: New preferred options object for the third argument to
client.append.outputTypes: string[] — which outputs to requestadditionalParams(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
v1.0.3
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.