Socket
Socket
Sign inDemoInstall

@peerboard/core

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerboard/core - npm Package Compare versions

Comparing version 0.0.16 to 0.0.18

4

dist/lib/peerboard-core.js

@@ -94,3 +94,5 @@ "use strict";

if (spaceID === void 0) { spaceID = 0; }
var opts = __assign(__assign({}, defaultOptions), { scrollToTopOnNavigationChanged: true, onPathChanged: function () { return true; } });
var opts = __assign(__assign({}, defaultOptions), { scrollToTopOnNavigationChanged: true,
// tslint:disable-next-line:no-empty
onPathChanged: function () { } });
Object.assign(opts, options);

@@ -97,0 +99,0 @@ return exports.loadSdk(options.sdkURL).then(function () {

@@ -109,3 +109,5 @@ 'use strict';

if (spaceID === void 0) { spaceID = 0; }
var opts = __assign(__assign({}, defaultOptions), { scrollToTopOnNavigationChanged: true, onPathChanged: function () { return true; } });
var opts = __assign(__assign({}, defaultOptions), { scrollToTopOnNavigationChanged: true,
// tslint:disable-next-line:no-empty
onPathChanged: function () { } });
Object.assign(opts, options);

@@ -112,0 +114,0 @@ return loadSdk(options.sdkURL).then(function () {

@@ -111,3 +111,5 @@ (function (global, factory) {

if (spaceID === void 0) { spaceID = 0; }
var opts = __assign(__assign({}, defaultOptions), { scrollToTopOnNavigationChanged: true, onPathChanged: function () { return true; } });
var opts = __assign(__assign({}, defaultOptions), { scrollToTopOnNavigationChanged: true,
// tslint:disable-next-line:no-empty
onPathChanged: function () { } });
Object.assign(opts, options);

@@ -114,0 +116,0 @@ return loadSdk(options.sdkURL).then(function () {

@@ -14,2 +14,17 @@ export declare enum ExcludeOptions {

}
/**
* User passes JWT Token signed with a secret community token with commenting widget settings
* {
* creds: {
* post_author: {
* external_user_id: string
* user_id: int
* email: string
* }
* }
* }
*/
export interface WidgetJWTOptions {
widgetToken?: string;
}
export interface TitleOptions {

@@ -32,4 +47,9 @@ onTitleChanged?: (title: string) => void;

}
export interface WidgetOptions extends FunctionOptions, LoginOptions, SdkUrlOptions, TitleOptions, UrlOptions {
export interface PostOptions {
title?: string;
content?: string;
}
export interface WidgetOptions extends FunctionOptions, LoginOptions, SdkUrlOptions, TitleOptions, UrlOptions, WidgetJWTOptions {
postOptions?: PostOptions;
}
interface Options extends FunctionOptions, LoginOptions, SdkUrlOptions, TitleOptions, UrlOptions {

@@ -36,0 +56,0 @@ prefix?: string;

{
"name": "@peerboard/core",
"version": "0.0.16",
"version": "0.0.18",
"description": "peerboard.com frontend components",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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