js-draw 1.7.1 → 1.7.2

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.
@@ -1129,12 +1129,12 @@ class Editor {
1129
1129
  if (this.settings.appInfo.description) {
1130
1130
  descriptionLines.push(this.settings.appInfo.description + '\n');
1131
1131
  }
1132
+ else {
1133
+ descriptionLines.push(`js-draw v${version_1.default.number}`);
1134
+ }
1132
1135
  notices.push({
1133
1136
  heading: `${this.settings.appInfo.name}`,
1134
- text: [
1135
- ...descriptionLines,
1136
- `(js-draw v${version_1.default.number})`,
1137
- ].join('\n'),
1137
+ text: descriptionLines.join('\n'),
1138
1138
  });
1139
1139
  }
1140
1140
  else {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
- number: '1.7.1',
4
+ number: '1.7.2',
5
5
  };
@@ -1100,12 +1100,12 @@ export class Editor {
1100
1100
  if (this.settings.appInfo.description) {
1101
1101
  descriptionLines.push(this.settings.appInfo.description + '\n');
1102
1102
  }
1103
+ else {
1104
+ descriptionLines.push(`js-draw v${version.number}`);
1105
+ }
1103
1106
  notices.push({
1104
1107
  heading: `${this.settings.appInfo.name}`,
1105
- text: [
1106
- ...descriptionLines,
1107
- `(js-draw v${version.number})`,
1108
- ].join('\n'),
1108
+ text: descriptionLines.join('\n'),
1109
1109
  });
1110
1110
  }
1111
1111
  else {
@@ -1,3 +1,3 @@
1
1
  export default {
2
- number: '1.7.1',
2
+ number: '1.7.2',
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-draw",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript. ",
5
5
  "types": "./dist/mjs/lib.d.ts",
6
6
  "main": "./dist/cjs/lib.js",
@@ -86,5 +86,5 @@
86
86
  "freehand",
87
87
  "svg"
88
88
  ],
89
- "gitHead": "2b3787fac2ddb580948f049eb43186e19a65c882"
89
+ "gitHead": "e1677b6e40bd385e1ce40643fd10f064847adf5b"
90
90
  }