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

live-connect-common

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-connect-common - npm Package Compare versions

Comparing version 0.1.0-alpha.0 to 0.1.0-alpha.1

12

dist/index.d.ts

@@ -15,2 +15,12 @@ declare const UUID = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}";

declare function expiresInHours(expires: number): Date;
interface ErrorBus {
emitErrorWithMessage(name: string, message: string, e?: unknown): this;
emitError(name: string, exception?: unknown): this;
}
interface EventBus extends ErrorBus {
on<F extends ((event: unknown) => void)>(name: string, callback: F, ctx?: ThisParameterType<F>): this;
once<F extends ((event: unknown) => void)>(name: string, callback: F, ctx?: ThisParameterType<F>): this;
emit(name: string, event: unknown): this;
off(name: string, callback: (event: unknown) => void): this;
}
interface ExternalReadStorageHandler {

@@ -31,2 +41,2 @@ getCookie?: (key: string) => string | null;

}
export { UUID, safeToString, nonNull, isNonEmpty, isUUID, isArray, trim, isString, strEqualsIgnoreCase, isObject, isRecord, isFunction, expiresInDays, expiresInHours, ExternalReadStorageHandler, ExternalStorageHandler, ExternalCallHandler };
export { UUID, safeToString, nonNull, isNonEmpty, isUUID, isArray, trim, isString, strEqualsIgnoreCase, isObject, isRecord, isFunction, expiresInDays, expiresInHours, ErrorBus, EventBus, ExternalReadStorageHandler, ExternalStorageHandler, ExternalCallHandler };

4

package.json

@@ -5,6 +5,6 @@ {

"type": "git",
"url": "https://github.com/liveintent-berlin/live-connect-common"
"url": "https://github.com/liveintent/live-connect-common"
},
"description": "Interfaces and basic functionality for LiveConnect projects",
"version": "0.1.0-alpha.0",
"version": "0.1.0-alpha.1",
"license": "Apache-2.0",

@@ -11,0 +11,0 @@ "private": false,

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