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

@vivocha/public-entities

Package Overview
Dependencies
Maintainers
7
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivocha/public-entities - npm Package Compare versions

Comparing version 5.9.29 to 5.9.30

4

dist/wrappers/widget_browser.d.ts

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

import { WidgetInstanceWrapper } from './widget';
export declare class BrowserWidgetInstance extends WidgetInstanceWrapper {
import { EngagementInstanceWrapper } from './widget';
export declare class BrowserEngagementInstance extends EngagementInstanceWrapper {
renderSass(scss: string): Promise<string>;
fetchURL(url: string): Promise<any>;
}

@@ -6,3 +6,3 @@ "use strict";

Sass.setWorkerUrl('sass.worker.js');
class BrowserWidgetInstance extends widget_1.WidgetInstanceWrapper {
class BrowserEngagementInstance extends widget_1.EngagementInstanceWrapper {
renderSass(scss) {

@@ -41,3 +41,3 @@ const sass = new Sass();

}
exports.BrowserWidgetInstance = BrowserWidgetInstance;
exports.BrowserEngagementInstance = BrowserEngagementInstance;
//# sourceMappingURL=widget_browser.js.map
import { Asset } from '../widget';
import { BrowserWidgetInstance } from './widget_browser';
export declare class DebuggerWidgetInstance extends BrowserWidgetInstance {
import { BrowserEngagementInstance } from './widget_browser';
export declare class DebuggerEngagementInstance extends BrowserEngagementInstance {
getAssetUrl(asset: Asset): string;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const widget_browser_1 = require("./widget_browser");
class DebuggerWidgetInstance extends widget_browser_1.BrowserWidgetInstance {
class DebuggerEngagementInstance extends widget_browser_1.BrowserEngagementInstance {
getAssetUrl(asset) {

@@ -9,3 +9,3 @@ return asset.path;

}
exports.DebuggerWidgetInstance = DebuggerWidgetInstance;
exports.DebuggerEngagementInstance = DebuggerEngagementInstance;
//# sourceMappingURL=widget_debugger.js.map

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

import { WidgetInstanceWrapper } from './widget';
export declare class NodeWidgetInstance extends WidgetInstanceWrapper {
import { EngagementInstanceWrapper } from './widget';
export declare class NodeEngagementInstance extends EngagementInstanceWrapper {
renderSass(scss: string): Promise<string>;
fetchURL(url: string): Promise<any>;
}

@@ -8,3 +8,3 @@ "use strict";

const render = util_1.promisify(node_sass_1.render);
class NodeWidgetInstance extends widget_1.WidgetInstanceWrapper {
class NodeEngagementInstance extends widget_1.EngagementInstanceWrapper {
async renderSass(scss) {

@@ -45,3 +45,3 @@ return (await render({

}
exports.NodeWidgetInstance = NodeWidgetInstance;
exports.NodeEngagementInstance = NodeEngagementInstance;
//# sourceMappingURL=widget_node.js.map

@@ -1,12 +0,12 @@

import { Asset, WidgetManifest, WidgetSettings, EngagementInstance } from '../widget';
import { Asset, WidgetManifest, EngagementSettings, EngagementInstance } from '../widget';
export interface AssetMap {
[key: string]: Asset;
}
export interface WidgetInstanceFactory {
new (options: WidgetInstanceCreateOptions): WidgetInstanceWrapper;
export interface EngagementInstanceFactory {
new (options: EngagementInstanceCreateOptions): EngagementInstanceWrapper;
}
export interface WidgetInstanceCreateOptions {
export interface EngagementInstanceCreateOptions {
id: string;
manifest: WidgetManifest;
settings: WidgetSettings;
settings: EngagementSettings;
strings: any;

@@ -17,3 +17,3 @@ requestedLanguage: string;

}
export declare abstract class WidgetInstanceWrapper implements EngagementInstance {
export declare abstract class EngagementInstanceWrapper implements EngagementInstance {
id: string;

@@ -23,4 +23,4 @@ html: string;

selector?: string;
constructor(options: WidgetInstanceCreateOptions);
readonly options: WidgetInstanceCreateOptions;
constructor(options: EngagementInstanceCreateOptions);
readonly options: EngagementInstanceCreateOptions;
readonly assetsById: AssetMap;

@@ -36,3 +36,3 @@ readonly assetsByPath: AssetMap;

create(): Promise<EngagementInstance>;
static create(factory: WidgetInstanceFactory, options: WidgetInstanceCreateOptions): Promise<EngagementInstance>;
static create(factory: EngagementInstanceFactory, options: EngagementInstanceCreateOptions): Promise<EngagementInstance>;
}

@@ -10,3 +10,3 @@ "use strict";

const __assetsRegExp = /^(?:\.\/)?(assets\/.*)$/;
class WidgetInstanceWrapper {
class EngagementInstanceWrapper {
constructor(options) {

@@ -143,3 +143,3 @@ this[__options] = options;

}
exports.WidgetInstanceWrapper = WidgetInstanceWrapper;
exports.EngagementInstanceWrapper = EngagementInstanceWrapper;
//# sourceMappingURL=widget.js.map
{
"name": "@vivocha/public-entities",
"version": "5.9.29",
"version": "5.9.30",
"description": "Vivocha public entities and types",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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