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

acrolinx-sidebar-sdk

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acrolinx-sidebar-sdk - npm Package Compare versions

Comparing version 0.4.31 to 0.4.32

8

dist/acrolinx-libs/plugin-interfaces.d.ts

@@ -83,3 +83,3 @@ /**

/**
* This property enables the user to manually change the serverAddress on the log-in screen.
* This property enables the user to manually change the serverAddress on the sidebar start page.
*/

@@ -123,2 +123,8 @@ showServerSelector?: boolean;

helpUrl?: string;
/**
* The sidebar tries to sign in the user with this optional accessToken.
* The sidebar start page forwards this accessToken to the sidebar only if showServerSelector === false.
* New since sidebar version 14.11.0.
*/
accessToken?: string;
}

@@ -125,0 +131,0 @@ export declare type UiMode = 'default' | 'noOptions';

3

dist/utils/sidebar-loader.d.ts
import { AcrolinxPluginConfig } from "../acrolinx-plugin";
export declare const SIDEBAR_URL = "https://sidebar-classic.acrolinx-cloud.com/v14/prod/";
export declare class SidebarURLInvalidError extends Error {

@@ -16,3 +15,3 @@ message: string;

*/
export declare function loadSidebarCode(sidebarUrl?: string): void;
export declare function loadSidebarCode(sidebarBaseUrl: string): void;
export declare function grepAttributeValues(html: string, attribute: string): string[];

@@ -19,0 +18,0 @@ export declare function rebaseRelativeUrl(url: string, sidebarBaseUrl: string): string;

@@ -21,3 +21,2 @@ "use strict";

var acrolinx_sidebar_startpage_1 = require("acrolinx-sidebar-startpage");
exports.SIDEBAR_URL = 'https://sidebar-classic.acrolinx-cloud.com/v14/prod/';
var SidebarURLInvalidError = /** @class */ (function (_super) {

@@ -64,5 +63,3 @@ tslib_1.__extends(SidebarURLInvalidError, _super);

*/
function loadSidebarCode(sidebarUrl) {
if (sidebarUrl === void 0) { sidebarUrl = exports.SIDEBAR_URL; }
var sidebarBaseUrl = sidebarUrl;
function loadSidebarCode(sidebarBaseUrl) {
var completeSidebarUrl = createCompleteSidebarUrl(sidebarBaseUrl);

@@ -120,3 +117,3 @@ utils.fetch(completeSidebarUrl, function (sidebarHtml) {

}
var sidebarBaseUrl = config.sidebarUrl || exports.SIDEBAR_URL;
var sidebarBaseUrl = config.sidebarUrl;
var completeSidebarUrl = createCompleteSidebarUrl(sidebarBaseUrl);

@@ -123,0 +120,0 @@ if (config.useMessageAdapter || (config.useSidebarFromSameOriginDirectly && utils.isFromSameOrigin(sidebarBaseUrl))) {

{
"name": "acrolinx-sidebar-sdk",
"description": "Acrolinx Sidebar SDK for JavaScript",
"version": "0.4.31",
"version": "0.4.32",
"license": "Apache-2.0",

@@ -23,3 +23,3 @@ "author": "Acrolinx",

"@types/tinymce": "^4.5.19",
"acrolinx-sidebar-startpage": "^2.0.6",
"acrolinx-sidebar-startpage": "^2.0.7",
"diff-match-patch": "1.0.4",

@@ -59,3 +59,3 @@ "es6-promise": "^4.2.6",

"typedoc": "0.13.0",
"typescript": "3.3.3333",
"typescript": "3.3.4000",
"uglify-js": "^3.4.9",

@@ -62,0 +62,0 @@ "webpack": "^4.29.6",

@@ -9,3 +9,3 @@ # Acrolinx Sidebar SDK JS

See: [Getting Started with Custom Integrations](https://support.acrolinx.com/hc/en-us/articles/205687652-Getting-Started-with-Custom-Integrations)
See: [Getting Started with Custom Integrations](https://docs.acrolinx.com/customintegrations)

@@ -25,3 +25,3 @@ ## Live Demo

To get an impression what the Sidebar looks like in existing integrations, have a look at
[Get Started With the Sidebar](https://support.acrolinx.com/hc/en-us/articles/205697451-Get-Started-With-the-Sidebar).
[Get Started With the Sidebar](https://docs.acrolinx.com/coreplatform/latest/en/the-sidebar/get-started-with-the-sidebar).

@@ -40,3 +40,3 @@ ## Prerequisites

* [Getting Started with Custom Integrations](https://support.acrolinx.com/hc/en-us/articles/205687652-Getting-Started-with-Custom-Integrations),
* [Getting Started with Custom Integrations](https://docs.acrolinx.com/customintegrations),
* the [Guidance for the Development of Acrolinx Integrations](https://github.com/acrolinx/acrolinx-coding-guidance),

@@ -96,2 +96,2 @@ * the [Acrolinx SDKs](https://github.com/acrolinx?q=sdk), and

For more information visit: [https://www.acrolinx.com](https://www.acrolinx.com)
For more information visit: [https://www.acrolinx.com](https://www.acrolinx.com)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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