Minimal changeset, I just add two new variables (one per Segment source, nodejs & browser) and provide them to the Lambda functions & SPAs, respectively. Included the source type in the variable names so that consumers understand the requirements on the WRITE_KEYs they supply.
Once merged, this PR resolves #109 . Note that it is based off of the indent-for-clarity branch, where files can be easily collapsed into lists of section headers.
Minimal changeset, I just add two new variables (one per Segment source, nodejs & browser) and provide them to the Lambda functions & SPAs, respectively. Included the source type in the variable names so that consumers understand the requirements on the WRITE_KEYs they supply.
Once merged, this PR resolves #109 . Note that it is based off of the
indent-for-clarity
branch, where files can be easily collapsed into lists of section headers.