New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@arn4v/event-gobbler

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arn4v/event-gobbler

This package contains the event ingestion routes and the core Clickhouse logic. It can be used as a Fastify plugin or as a standalone server.

dev
latest
npmnpm
Version
0.0.0-dev.1
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

@initflow/event-gobbler

This package contains the event ingestion routes and the core Clickhouse logic. It can be used as a Fastify plugin or as a standalone server.

Event Schema

type ISO8601String = string;

export interface EventPayloadSchema {
  $type: "$identify";
  $event: "User Signed Up";
  $captured_at: ISO8601String;
  $user_id: string;
  $properties: DefaultProperties & {
    [key: string]: any;
  };
}

Identify Schema

type ISO8601String = string;

type UserTraits = {
  email: string;
} & (
  | {
      $firstName: string;
      $lastName: string;
    }
  | {
      $name: string;
    }
);

export interface IdentifyPayloadSchema {
  $type: "$identify";
  $captured_at: ISO8601String;
  $user_id: string;
  $properties: UserTraits &
    DefaultProperties & {
      [key: string]: any;
    };
}

Default Properties

Properties that are added to every event by the SDK.

// Default properties captured by SDK on identify/track call
type DefaultProperties = {
  $browser: string;
  $browser_version: string;
  $os: string;
  $url: string;
};

FAQs

Package last updated on 29 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts