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

live-connect-common

Package Overview
Dependencies
Maintainers
0
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 4.0.0 to 4.1.0

5

dist/index.d.ts

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

type Headers = Record<string, string | undefined>;
interface ErrorBus {

@@ -23,3 +24,3 @@ emitErrorWithMessage(name: string, message: string, e?: unknown): this;

interface CallHandler {
ajaxGet?: (url: string, onSuccess: (responseText: string, response?: unknown) => void, onError?: (error: unknown) => void, timeout?: number) => void;
ajaxGet?: (url: string, onSuccess: (responseText: string, response?: unknown) => void, onError?: (error: unknown) => void, timeout?: number, headers?: Headers) => void;
pixelGet?: (url: string, onLoad?: () => void) => void;

@@ -64,2 +65,2 @@ }

export { type CallHandler, ERRORS_CHANNEL, type ErrorBus, type ErrorDetails, type EventBus, type ReadOnlyStorageHandler, ReplayEmitter, type StorageHandler, UUID, expiresInDays, expiresInHours, isArray, isFunction, isNonEmpty, isObject, isRecord, isString, isUUID, nonNull, onNonNull, safeToString, strEqualsIgnoreCase, trim, wrapError };
export { type CallHandler, ERRORS_CHANNEL, type ErrorBus, type ErrorDetails, type EventBus, type Headers, type ReadOnlyStorageHandler, ReplayEmitter, type StorageHandler, UUID, expiresInDays, expiresInHours, isArray, isFunction, isNonEmpty, isObject, isRecord, isString, isUUID, nonNull, onNonNull, safeToString, strEqualsIgnoreCase, trim, wrapError };

10

package.json

@@ -8,3 +8,3 @@ {

"description": "Interfaces and basic functionality for LiveConnect projects",
"version": "4.0.0",
"version": "4.1.0",
"license": "Apache-2.0",

@@ -50,3 +50,3 @@ "private": false,

"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-typescript": "^12.1.0",
"@types/chai": "^4.3.16",

@@ -60,4 +60,4 @@ "@types/chai-spies": "^1.0.6",

"eslint-config-standard": "^17.1.0",
"eslint-plugin-typescript-formatter": "^0.0.2",
"glob": "^10.4.4",
"eslint-plugin-typescript-formatter": "^1.0.0",
"glob": "^11.0.0",
"mocha": "^10.6.0",

@@ -71,4 +71,4 @@ "mocha-junit-reporter": "^2.2.1",

"typescript": "^5.5.3",
"typescript-eslint": "^7.16.0"
"typescript-eslint": "^8.0.0"
}
}
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