@wiris/mathtype-tinymce6 7.31.0 → 8.0.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/README.md CHANGED
@@ -71,7 +71,7 @@ Easily include quality math equations in your documents and digital content.
71
71
 
72
72
  This npm module uses remotely hosted services to render MathML data. However, we recommend you install these services on your backend. This will allow you, among other things, to configure the service and to locally store the images generated by MathType.
73
73
 
74
- The services are available for Java, PHP, .NET and Ruby on Rails. If you use any of these technologies, please download the plugin for your backend technology from [here](https://store.wiris.com/en/products/downloads/mathtype/integrations#froala3?utm_source=npmjs&utm_medium=referral).
74
+ The services are available for Java, PHP, .NET and Ruby on Rails. If you use any of these technologies, please download the plugin for your backend technology from [here](https://store.wiris.com/en/products/downloads/mathtype/integrations#froala?utm_source=npmjs&utm_medium=referral).
75
75
 
76
76
  ## Displaying on Target Page
77
77
 
@@ -92,4 +92,4 @@ To find out more information about MathType, please go to the following document
92
92
 
93
93
  ## Privacy policy
94
94
 
95
- The [MathType Privacy Policy](https://www.wiris.com/en/mathtype-privacy-policy/?utm_source=npmjs&utm_medium=referral) covers the data processing operations for the MathType users. It is an addendum of the company’s general Privacy Policy and the [general Privacy Policy](https://www.wiris.com/en/privacy-policy?utm_source=npmjs&utm_medium=referral) still applies to MathType users.
95
+ The [MathType Privacy Policy](https://www.wiris.com/en/mathtype-privacy-policy/?utm_source=npmjs&utm_medium=referral) covers the data processing operations for the MathType users. It is an addendum of the company’s general Privacy Policy and the [general Privacy Policy](https://www.wiris.com/en/privacy-policy?utm_source=npmjs&utm_medium=referral) still applies to MathType users.
@@ -174,9 +174,10 @@ export const currentInstance = null;
174
174
  * @property {String} editor - Editor name.
175
175
  */
176
176
  const integrationModelProperties = {};
177
- integrationModelProperties.serviceProviderProperties = {};
178
- integrationModelProperties.serviceProviderProperties.URI = 'https://www.wiris.net/demo/plugins/app';
179
- integrationModelProperties.serviceProviderProperties.server = 'java';
177
+ integrationModelProperties.serviceProviderProperties = {
178
+ URI: process.env.SERVICE_PROVIDER_URI,
179
+ server: process.env.SERVICE_PROVIDER_SERVER,
180
+ };
180
181
  integrationModelProperties.version = packageInfo.version;
181
182
  integrationModelProperties.isMoodle = (!!((typeof M === 'object' && M !== null))); // eslint-disable-line no-undef
182
183
  if (integrationModelProperties.isMoodle) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wiris/mathtype-tinymce6",
3
- "version": "7.31.0",
3
+ "version": "8.0.0",
4
4
  "description": "MathType Web for TinyMCE6 editor",
5
5
  "keywords": [
6
6
  "chem",
@@ -29,11 +29,10 @@
29
29
  "build": "webpack --mode production",
30
30
  "build-dev": "webpack --mode development",
31
31
  "clean": "shx rm -f plugin.min.js",
32
- "compile": "node ../../scripts/services/compile editor_plugin.src.js .",
33
- "prepack": "npm install && npm run compile -- npm"
32
+ "prepack": "npm install && npm run build"
34
33
  },
35
34
  "dependencies": {
36
- "@wiris/mathtype-html-integration-devkit": "1.8.1"
35
+ "@wiris/mathtype-html-integration-devkit": "1.9.0"
37
36
  },
38
37
  "devDependencies": {
39
38
  "@babel/core": "^7.15.0",