@todesktop/shared 7.146.0 → 7.148.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/lib/base.d.ts CHANGED
@@ -91,6 +91,7 @@ export interface IAppMeta {
91
91
  snap?: IAppBuilderLib["config"]["snap"];
92
92
  windows?: {
93
93
  icon?: FilePath;
94
+ nsisInclude?: FilePath;
94
95
  };
95
96
  };
96
97
  shouldCodeSign?: boolean;
@@ -52,13 +52,13 @@ exports.urlValidationForm = yup.object().shape({
52
52
  exports.heightValidation = yup
53
53
  .number()
54
54
  .label("Height")
55
- .moreThan(100)
55
+ .moreThan(1)
56
56
  .lessThan(2000)
57
57
  .required();
58
58
  exports.widthValidation = yup
59
59
  .number()
60
60
  .label("Width")
61
- .moreThan(200)
61
+ .moreThan(1)
62
62
  .lessThan(3000)
63
63
  .required();
64
64
  exports.internalAppRegexValidation = yup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.146.0",
3
+ "version": "7.148.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -98,6 +98,7 @@ export interface IAppMeta {
98
98
  snap?: IAppBuilderLib["config"]["snap"];
99
99
  windows?: {
100
100
  icon?: FilePath;
101
+ nsisInclude?: FilePath;
101
102
  };
102
103
  };
103
104
  shouldCodeSign?: boolean;
@@ -71,14 +71,14 @@ export const urlValidationForm = yup.object().shape({
71
71
  export const heightValidation = yup
72
72
  .number()
73
73
  .label("Height")
74
- .moreThan(100)
74
+ .moreThan(1)
75
75
  .lessThan(2000)
76
76
  .required();
77
77
 
78
78
  export const widthValidation = yup
79
79
  .number()
80
80
  .label("Width")
81
- .moreThan(200)
81
+ .moreThan(1)
82
82
  .lessThan(3000)
83
83
  .required();
84
84