Socket
Socket
Sign inDemoInstall

@peerboard/core

Package Overview
Dependencies
Maintainers
2
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.1 to 0.0.2

4

dist/lib/peerboard-core.js

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

createForum: function (forumID, container, options) {
var opts = __assign({ resize: true, hideMenu: true }, options);
var opts = __assign({ resize: true, hideMenu: true, scrollTarget: 'top', baseURL: options.baseURL || "https://peerboard." + window.document.location.hostname }, options);
return loadSdk(options.sdkURL || PEERBOARD_EMBED_SDK_URL).then(function () {

@@ -50,3 +50,3 @@ if (!forumSDK) {

}
forumSDK.createForum(forumID, container, __assign({ resize: true, hideMenu: true }, options));
forumSDK.createForum(forumID, container, opts);
});

@@ -53,0 +53,0 @@ }

@@ -59,3 +59,3 @@ 'use strict';

createForum: function (forumID, container, options) {
var opts = __assign({ resize: true, hideMenu: true }, options);
var opts = __assign({ resize: true, hideMenu: true, scrollTarget: 'top', baseURL: options.baseURL || "https://peerboard." + window.document.location.hostname }, options);
return loadSdk(options.sdkURL || PEERBOARD_EMBED_SDK_URL).then(function () {

@@ -65,3 +65,3 @@ if (!forumSDK) {

}
forumSDK.createForum(forumID, container, __assign({ resize: true, hideMenu: true }, options));
forumSDK.createForum(forumID, container, opts);
});

@@ -68,0 +68,0 @@ }

{
"name": "@peerboard/core",
"version": "0.0.1",
"version": "0.0.2",
"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

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