@groupdocs/groupdocs.viewer 26.4.0 → 26.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/lib/groupdocs.viewer.js +2 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -11,8 +11,8 @@ const path = require('path');
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-viewer-nodejs-26.
|
|
15
|
-
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-viewer-nodejs-26.
|
|
14
|
+
if (!checkFileExists(path.join(__dirname, 'lib/groupdocs-viewer-nodejs-26.5.jar'))) {
|
|
15
|
+
console.warn('\x1b[33m%s\x1b[0m', `File groupdocs-viewer-nodejs-26.5.jar not found in the lib directory.\nPlease navigate to the package directory:`);
|
|
16
16
|
console.log('\n cd node_modules/@groupdocs/groupdocs.viewer\n')
|
|
17
17
|
console.warn('\x1b[33m%s\x1b[0m', `Then download the JAR file using the command:`);
|
|
18
18
|
console.log('\n npm run postinstall\n');
|
package/lib/groupdocs.viewer.js
CHANGED
|
@@ -11,7 +11,7 @@ java.asyncOptions = {
|
|
|
11
11
|
syncSuffix: '',
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
java.classpath.push(path.join(__dirname, '/groupdocs-viewer-nodejs-26.
|
|
14
|
+
java.classpath.push(path.join(__dirname, '/groupdocs-viewer-nodejs-26.5.jar'))
|
|
15
15
|
|
|
16
16
|
exports = module.exports
|
|
17
17
|
|
|
@@ -113,6 +113,7 @@ exports.LayerImpl = java.import("com.groupdocs.viewer.results.LayerImpl");
|
|
|
113
113
|
exports.LayoutImpl = java.import("com.groupdocs.viewer.results.LayoutImpl");
|
|
114
114
|
exports.LineImpl = java.import("com.groupdocs.viewer.results.LineImpl");
|
|
115
115
|
exports.LotusNotesViewInfoImpl = java.import("com.groupdocs.viewer.results.LotusNotesViewInfoImpl");
|
|
116
|
+
exports.MailMessageViewInfoImpl = java.import("com.groupdocs.viewer.results.MailMessageViewInfoImpl");
|
|
116
117
|
exports.MboxViewInfoImpl = java.import("com.groupdocs.viewer.results.MboxViewInfoImpl");
|
|
117
118
|
exports.OutlookViewInfoImpl = java.import("com.groupdocs.viewer.results.OutlookViewInfoImpl");
|
|
118
119
|
exports.PageImpl = java.import("com.groupdocs.viewer.results.PageImpl");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@groupdocs/groupdocs.viewer",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.5.0",
|
|
4
4
|
"description": "Document viewer API for Node.js (powered by Java). Powerful, high-performance, cross-platform library for building desktop and web file viewer applications.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-viewer-nodejs/26.
|
|
7
|
+
"postinstall": "curl -H 'Cache-Control:no-cache' https://releases.groupdocs.com/java/repo/com/groupdocs/groupdocs-viewer-nodejs/26.5/groupdocs-viewer-nodejs-26.5.jar > lib/groupdocs-viewer-nodejs-26.5.jar"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [
|
|
10
10
|
"groupdocs",
|