acrolinx-sidebar-sdk
Advanced tools
Comparing version 0.4.31 to 0.4.32
@@ -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'; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5842
94
1792742