Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

skyflow-js

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skyflow-js - npm Package Compare versions

Comparing version 1.34.3 to 1.34.4-beta.1

types/metrics/index.d.ts

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## [1.34.3] - 2024-03-05
### Added
- File render element enhancement.
## [1.34.2] - 2024-01-25

@@ -7,0 +12,0 @@ ### Fixed

2

package.json

@@ -5,3 +5,3 @@ {

"analyze": false,
"version": "1.34.3",
"version": "1.34.4-beta.1",
"author": "Skyflow",

@@ -8,0 +8,0 @@ "description": "Skyflow JavaScript SDK",

@@ -0,1 +1,2 @@

export declare const SESSION_ID = "session_id";
export declare const SKY_METADATA_HEADER = "sky-metadata";

@@ -8,2 +9,49 @@ export declare const SDK_VERSION = "sdkVersion";

export declare const FRAME_ELEMENT = "element";
export declare const ELEMENT_TYPES: {
COLLECT: string;
REVEAL: string;
COMPOSE: string;
};
export declare const EVENT_TYPES: {
MOUNTED: string;
READY: string;
};
export declare const STATUS_TYPES: {
SUCCESS: string;
INITIALIZED: string;
PARTIAL_RENDER: string;
FAILED: string;
};
export declare const METRIC_TYPES: {
ELEMENT_ID: string;
ELEMENT_TYPE: {
COLLECT: string;
REVEAL: string;
COMPOSE: string;
};
ELEMENT_TYPE_KEY: string;
DIV_ID: string;
CONTAINER_ID: string;
CONTAINER_NAME: string;
SESSION_ID: string;
VAULT_ID: string;
VAULT_URL: string;
EVENTS: {
MOUNTED: string;
READY: string;
};
EVENTS_KEY: string;
CREATED_AT: string;
REGION: string;
MOUNT_START_TIME: string;
MOUNT_END_TIME: string;
ERROR: string;
LATENCY: string;
STATUS: {
SUCCESS: string;
INITIALIZED: string;
PARTIAL_RENDER: string;
FAILED: string;
};
};
export declare const PUREJS_TYPES: {

@@ -57,2 +105,3 @@ INSERT: string;

RENDER_FILE_REQUEST: string;
PUSH_EVENT: string;
};

@@ -59,0 +108,0 @@ export declare const REVEAL_ELEMENT_OPTIONS_TYPES: {

@@ -7,5 +7,5 @@ export default class IFrame {

constructor(name: any, metadata: any, containerId: any, logLevel: any);
mount: (domElement: any) => void;
mount: (domElement: any, elementId?: string) => void;
setIframeHeight: (height: any) => void;
unmount: () => void;
}

@@ -8,3 +8,4 @@ import { IRevealRecord } from '../../../utils/common';

renderFile(data: IRevealRecord, containerId: any, iframeName: any): Promise<unknown>;
pushEvent(event: any): Promise<unknown>;
}
export default SkyflowFrameController;

@@ -126,1 +126,26 @@ export declare enum RedactionType {

}
export interface MeticsObjectType {
element_id: string;
element_type: string[];
div_id: string;
container_id: string;
container_name: string;
session_id: string;
vault_id: string;
vault_url: string;
events: string[];
created_at: number;
region: string;
mount_start_time?: number;
mount_end_time?: number;
error?: string;
latency?: number;
status: 'SUCCESS' | 'INITIALIZED' | 'PARTIAL_RENDER' | 'FAILED' | string;
sdk_name_version: string;
sdk_client_device_model: string | undefined;
sdk_client_os_details: string;
sdk_runtime_details: string;
}
export interface SharedMeticsObjectType {
records: MeticsObjectType[];
}

@@ -52,2 +52,3 @@ import { SdkInfo } from '../../client';

export declare function checkAndSetForCustomUrl(config: ISkyflow): void;
export declare function getVaultBeffeURL(vaultURL: string): string;
export {};

@@ -50,2 +50,5 @@ declare const logs: {

CAPTURE_EVENT: string;
METRIC_CAPTURE_EVENT: string;
UNKNOWN_METRIC_CAPTURE_EVENT: string;
UNKNOWN_RESPONSE_FROM_METRIC_EVENT: string;
LISTEN_COLLECT_FRAME_READY: string;

@@ -52,0 +55,0 @@ EMIT_COLLECT_ELEMENT_FRAME_READY: string;

Sorry, the diff of this file is too big to display

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