This branch removes certain obvious code smells (things that are over the top or unnecessary. Some of those being:
The Session type was removed to ensure no confusion about how the SDK runs. Although it maintains user and tag information, it does not actually maintain the "session".
User and Tags (currentUser + currentTags) are extracted from the old "sessions", these variables are still initialized on construction of the client, however they are no longer inside a method that needs to be called before the variable declaration.
Instances of "StackTrace" have been replaces with "StackFrames". Although a stack trace is an accurate description of the objects purpose, it is misleading in the means it's treated. An array of StackFrames is technically what a StackTrace is, however, the manipulation of this list renders the meaning incoherent with it's purpose. The StackFrames are labeled as such to ensure reading the code is more intuitive.
Reorganizes the index / export order of methods to align with their placement within RaygunClient.ts
This branch removes certain obvious code smells (things that are over the top or unnecessary. Some of those being:
The Session type was removed to ensure no confusion about how the SDK runs. Although it maintains user and tag information, it does not actually maintain the "session".
User and Tags (currentUser + currentTags) are extracted from the old "sessions", these variables are still initialized on construction of the client, however they are no longer inside a method that needs to be called before the variable declaration.
Instances of "StackTrace" have been replaces with "StackFrames". Although a stack trace is an accurate description of the objects purpose, it is misleading in the means it's treated. An array of StackFrames is technically what a StackTrace is, however, the manipulation of this list renders the meaning incoherent with it's purpose. The StackFrames are labeled as such to ensure reading the code is more intuitive.
Reorganizes the index / export order of methods to align with their placement within RaygunClient.ts