@onereach/identifiers
v0.1.5
Published
Identifiers SDK for flow runtimes (Lambda layer provides @onereach/flow-sdk)
Readme
@onereach/identifiers
Flow-runtime Identifiers helper (sticky senders, opt-out, account identifier/provider settings).
Requirements
- Must run inside a flow (
new Identifiers(flow, options)). - Expects
@onereach/flow-sdkfrom the Lambda layer / flow runtime. Do not bundleflow-sdkwith this package. - Declared as a peer dependency; install it only for local build/dev.
Install
pnpm add @onereach/identifiersPeer: @onereach/flow-sdk (provided by the layer at runtime).
Usage
import Identifiers from '@onereach/identifiers';
const identifiers = new Identifiers(flow, {
accountId,
providerAccountId,
});