@ckeditor/ckeditor5-cloud-services
Advanced tools
Comparing version 37.0.0-alpha.0 to 37.0.0-alpha.1
{ | ||
"name": "@ckeditor/ckeditor5-cloud-services", | ||
"version": "37.0.0-alpha.0", | ||
"version": "37.0.0-alpha.1", | ||
"description": "CKEditor 5's Cloud Services integration layer.", | ||
@@ -14,10 +14,10 @@ "keywords": [ | ||
"dependencies": { | ||
"ckeditor5": "^37.0.0-alpha.0" | ||
"ckeditor5": "^37.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^34.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.0", | ||
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.0", | ||
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.1", | ||
"@ckeditor/ckeditor5-dev-utils": "^35.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.1", | ||
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.1", | ||
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.1", | ||
"typescript": "^4.8.4", | ||
@@ -51,3 +51,3 @@ "webpack": "^5.58.1", | ||
"dll:build": "webpack", | ||
"build": "tsc -p ./tsconfig.release.json", | ||
"build": "tsc -p ./tsconfig.json", | ||
"postversion": "npm run build" | ||
@@ -54,0 +54,0 @@ }, |
@@ -84,6 +84,1 @@ /** | ||
} | ||
declare module '@ckeditor/ckeditor5-core' { | ||
interface PluginsMap { | ||
[CloudServices.pluginName]: CloudServices; | ||
} | ||
} |
@@ -122,11 +122,1 @@ /** | ||
} | ||
declare module '@ckeditor/ckeditor5-core' { | ||
interface EditorConfig { | ||
/** | ||
* The configuration of CKEditor Cloud Services. Introduced by the {@link module:cloud-services/cloudservices~CloudServices} plugin. | ||
* | ||
* Read more in {@link module:cloud-services/cloudservicesconfig~CloudServicesConfig}. | ||
*/ | ||
cloudServices?: CloudServicesConfig; | ||
} | ||
} |
@@ -21,6 +21,6 @@ /** | ||
/** | ||
* Creates the {@link module:cloud-services/token~Token} instance. | ||
* Creates the {@link module:cloud-services/token/token~Token} instance. | ||
* | ||
* @param tokenUrlOrRefreshToken Endpoint address to download the token or a callback that provides the token. If the | ||
* value is a function it has to match the {@link module:cloud-services/token~refreshToken} interface. | ||
* value is a function it has to match the {@link module:cloud-services/token/token~Token#refreshToken} interface. | ||
* @param options.initValue Initial value of the token. | ||
@@ -38,6 +38,1 @@ * @param options.autoRefresh Specifies whether to start the refresh automatically. | ||
} | ||
declare module '@ckeditor/ckeditor5-core' { | ||
interface PluginsMap { | ||
[CloudServicesCore.pluginName]: CloudServicesCore; | ||
} | ||
} |
@@ -22,6 +22,6 @@ /** | ||
/** | ||
* Creates the {@link module:cloud-services/token~Token} instance. | ||
* Creates the {@link module:cloud-services/token/token~Token} instance. | ||
* | ||
* @param tokenUrlOrRefreshToken Endpoint address to download the token or a callback that provides the token. If the | ||
* value is a function it has to match the {@link module:cloud-services/token~refreshToken} interface. | ||
* value is a function it has to match the {@link module:cloud-services/token/token~Token#refreshToken} interface. | ||
* @param options.initValue Initial value of the token. | ||
@@ -28,0 +28,0 @@ * @param options.autoRefresh Specifies whether to start the refresh automatically. |
@@ -10,5 +10,6 @@ /** | ||
export { default as CloudServicesCore } from './cloudservicescore'; | ||
export { TokenUrl } from './cloudservicesconfig'; | ||
export { TokenUrl, type CloudServicesConfig } from './cloudservicesconfig'; | ||
export type { default as Token, InitializedToken } from './token/token'; | ||
export type { default as UploadGateway } from './uploadgateway/uploadgateway'; | ||
export type { default as FileUploader } from './uploadgateway/fileuploader'; | ||
import './augmentation'; |
@@ -10,1 +10,2 @@ /** | ||
export { default as CloudServicesCore } from './cloudservicescore'; | ||
import './augmentation'; |
@@ -20,3 +20,3 @@ /** | ||
* | ||
* @see module:cloud-services/token~InitializedToken | ||
* @see module:cloud-services/token/token~InitializedToken | ||
* @observable | ||
@@ -37,3 +37,3 @@ * @readonly | ||
* @param tokenUrlOrRefreshToken Endpoint address to download the token or a callback that provides the token. If the | ||
* value is a function it has to match the {@link module:cloud-services/token~refreshToken} interface. | ||
* value is a function it has to match the {@link module:cloud-services/token/token~Token#refreshToken} interface. | ||
*/ | ||
@@ -70,6 +70,6 @@ constructor(tokenUrlOrRefreshToken: TokenUrl, options?: TokenOptions); | ||
/** | ||
* Creates a initialized {@link module:cloud-services/token~Token} instance. | ||
* Creates a initialized {@link module:cloud-services/token/token~Token} instance. | ||
* | ||
* @param tokenUrlOrRefreshToken Endpoint address to download the token or a callback that provides the token. If the | ||
* value is a function it has to match the {@link module:cloud-services/token~refreshToken} interface. | ||
* value is a function it has to match the {@link module:cloud-services/token/token~Token#refreshToken} interface. | ||
*/ | ||
@@ -76,0 +76,0 @@ static create(tokenUrlOrRefreshToken: TokenUrl, options?: TokenOptions): Promise<InitializedToken>; |
@@ -6,3 +6,3 @@ /** | ||
/** | ||
* @module cloud-services/token | ||
* @module cloud-services/token/token | ||
*/ | ||
@@ -23,3 +23,3 @@ /* globals XMLHttpRequest, setTimeout, clearTimeout, atob */ | ||
* @param tokenUrlOrRefreshToken Endpoint address to download the token or a callback that provides the token. If the | ||
* value is a function it has to match the {@link module:cloud-services/token~refreshToken} interface. | ||
* value is a function it has to match the {@link module:cloud-services/token/token~Token#refreshToken} interface. | ||
*/ | ||
@@ -137,6 +137,6 @@ constructor(tokenUrlOrRefreshToken, options = {}) { | ||
/** | ||
* Creates a initialized {@link module:cloud-services/token~Token} instance. | ||
* Creates a initialized {@link module:cloud-services/token/token~Token} instance. | ||
* | ||
* @param tokenUrlOrRefreshToken Endpoint address to download the token or a callback that provides the token. If the | ||
* value is a function it has to match the {@link module:cloud-services/token~refreshToken} interface. | ||
* value is a function it has to match the {@link module:cloud-services/token/token~Token#refreshToken} interface. | ||
*/ | ||
@@ -143,0 +143,0 @@ static create(tokenUrlOrRefreshToken, options = {}) { |
@@ -74,3 +74,3 @@ /** | ||
* | ||
* @eventName error | ||
* @eventName ~FileUploader#error | ||
* @param error Error message | ||
@@ -85,3 +85,3 @@ */ | ||
* | ||
* @eventName progress | ||
* @eventName ~FileUploader#progress | ||
* @param status Total and uploaded status | ||
@@ -88,0 +88,0 @@ */ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
55516
22
1102
0
Updatedckeditor5@^37.0.0-alpha.1