We've released Ingest Keys, but need to update the key detection logic to allow Ingest Keys to be used to send data to Classic environments.
Short description of the changes
updates the Classic API Key detection logic to understand the shape of a Classic Ingest Key
Changes isClassic from a "private" class method of Libhoney to a static class method, so we can reuse it in dependent libraries without repeating logic everywhere
Which problem is this PR solving?
We've released Ingest Keys, but need to update the key detection logic to allow Ingest Keys to be used to send data to Classic environments.
Short description of the changes
isClassic
from a "private" class method ofLibhoney
to a static class method, so we can reuse it in dependent libraries without repeating logic everywhere