Socket
Socket
Sign inDemoInstall

@heimdallr-sdk/types

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heimdallr-sdk/types - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

1

esm/base.d.ts

@@ -25,3 +25,2 @@ import { BreadcrumbPushData } from './breadcrumb';

app: AppInfoType;
storeAppKey: string;
uploadUrl: string;

@@ -28,0 +27,0 @@ initUrl: string;

2

esm/breadcrumb.d.ts

@@ -6,3 +6,3 @@ import { BrowserBreadcrumbTypes, CodeErrorDataType, ConsoleDataMsgType, LinkMsgDataType, DomDataMsgType, PromiseErrorDataType, RouteDataMsgType } from './browser';

}
export declare type BreadcrumbTypes = BrowserBreadcrumbTypes | BaseBreadcrumbTypes;
export type BreadcrumbTypes = BrowserBreadcrumbTypes | BaseBreadcrumbTypes;
export interface BreadcrumbPushData {

@@ -9,0 +9,0 @@ eventId: string;

@@ -19,3 +19,7 @@ import { ReportDataMsgType } from './base';

type: PageLifeType;
session_id: string;
user_id: string;
}
export interface LifeCycleMsgType extends ReportDataMsgType, LinkMsgDataType {
}
export interface PromiseErrorDataType {

@@ -26,13 +30,17 @@ message?: string;

}
export interface clientInfoType {
appID: string;
pageTitle: string;
export interface ClientInfoType {
app_id: string;
session_id: string;
page_title: string;
path: string;
language: string;
userAgent: string;
user_agent: string;
}
export interface ReportPayloadDataType extends ClientInfoType {
[key: string]: any;
}
export interface CrashErrorType extends ReportDataMsgType, LinkMsgDataType {
sendUrl: string;
stack: BreadcrumbPushData[];
clientInfo: clientInfoType;
clientInfo: ClientInfoType;
}

@@ -39,0 +47,0 @@ export interface DomDataMsgType {

@@ -1,5 +0,5 @@

export declare type voidFun = () => void;
export type voidFun = () => void;
export interface IAnyObject {
[key: string]: any;
}
export declare type UnknownFunc = (...args: unknown[]) => void;
export type UnknownFunc = (...args: unknown[]) => void;

@@ -0,1 +1,5 @@

export declare enum StoreKeyType {
SESSION = "HEIMDALLR_SDK_SESSION_ID",
APP = "HEIMDALLR_SDK_APP_ID"
}
export declare enum MethodTypes {

@@ -52,3 +56,3 @@ GET = "GET",

}
export declare type BrowserSubTypes = BrowserErrorTypes | DomTypes | HttpTypes | ConsoleTypes | PerTypes | RouteTypes | CustomerTypes;
export type BrowserSubTypes = BrowserErrorTypes | DomTypes | HttpTypes | ConsoleTypes | PerTypes | RouteTypes | CustomerTypes;
export declare enum StoreType {

@@ -69,1 +73,5 @@ LOCAL = "local",

}
export declare enum DeviceType {
MOBILE = "mobile",
PC = "pc"
}

@@ -0,1 +1,6 @@

export var StoreKeyType;
(function (StoreKeyType) {
StoreKeyType["SESSION"] = "HEIMDALLR_SDK_SESSION_ID";
StoreKeyType["APP"] = "HEIMDALLR_SDK_APP_ID";
})(StoreKeyType || (StoreKeyType = {}));
export var MethodTypes;

@@ -79,2 +84,7 @@ (function (MethodTypes) {

})(PageLifeType || (PageLifeType = {}));
export var DeviceType;
(function (DeviceType) {
DeviceType["MOBILE"] = "mobile";
DeviceType["PC"] = "pc";
})(DeviceType || (DeviceType = {}));
//# sourceMappingURL=constant.js.map

@@ -26,2 +26,3 @@ import { AppInfoType, Dsn } from './base';

export interface BrowserOptionsType extends BaseOptionsType {
userIdentify?: CustomerOptionType;
throttleDelayTime?: number;

@@ -28,0 +29,0 @@ vue?: VueInstance;

@@ -0,6 +1,7 @@

import { ReportDataType } from "./base";
export interface BasePluginType {
name: string;
monitor: (notify: (eventName: string, data: any) => void) => void;
transform?: (collectedData: any) => any;
transform?: (collectedData: any) => ReportDataType<any>;
[key: string]: any;
}
{
"name": "@heimdallr-sdk/types",
"version": "0.0.2",
"version": "0.0.3",
"description": "@heimdallr-sdk/types",

@@ -27,3 +27,3 @@ "license": "MIT",

},
"gitHead": "fd80f8abe099bbfcfd48d61409a431ce1497e813"
"gitHead": "f3332143947416e42d2b002faeea385ca6272a4f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc