@todesktop/cli 1.10.3 → 1.10.5

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
@@ -772,6 +772,14 @@ Example: `true`.
772
772
 
773
773
  Whether or not the snap should automatically start on login.
774
774
 
775
+ #### `snap.base` - (optional) string
776
+
777
+ Default: `core18`.
778
+
779
+ Example: `core20`.
780
+
781
+ The base snap to use for building this snap.
782
+
775
783
  #### `snap.buildPackages` - (optional) array of strings
776
784
 
777
785
  Default: `[]`.
@@ -1138,6 +1146,15 @@ Now, when we build your app on ToDesktop servers, it will also run your custom `
1138
1146
 
1139
1147
  ## Changelog
1140
1148
 
1149
+ ### v1.10.5
1150
+
1151
+ - Add support for `snap.base` in snap configuration
1152
+ - Fix required JSON validation when extending another json file
1153
+
1154
+ ### v1.10.4
1155
+
1156
+ - Add support for additional token verification when cancelling smoke test
1157
+
1141
1158
  ### v1.10.3
1142
1159
 
1143
1160
  - Update Readme to include instructions on `todesktop.json` VSCode/Cursor validation
package/dist/cli.js CHANGED
@@ -1448,8 +1448,16 @@ var addCustomKeywords_default = (ajv, context) => {
1448
1448
  // schemas/schema.json
1449
1449
  var schema_default = {
1450
1450
  type: "object",
1451
- required: ["id", "icon", "schemaVersion"],
1452
1451
  additionalProperties: false,
1452
+ if: {
1453
+ required: ["extends"]
1454
+ },
1455
+ then: {
1456
+ required: []
1457
+ },
1458
+ else: {
1459
+ required: ["id", "icon", "schemaVersion"]
1460
+ },
1453
1461
  properties: {
1454
1462
  appBuilderLibVersion: {
1455
1463
  type: "string",
@@ -1885,6 +1893,9 @@ var schema_default = {
1885
1893
  autoStart: {
1886
1894
  type: "boolean"
1887
1895
  },
1896
+ base: {
1897
+ type: "string"
1898
+ },
1888
1899
  buildPackages: {
1889
1900
  type: "array",
1890
1901
  items: {
@@ -5168,10 +5179,12 @@ async function cancelSmokeTest({
5168
5179
  buildId,
5169
5180
  userId
5170
5181
  }) {
5182
+ var _a;
5171
5183
  await postToFirebaseFunction_default("cancelSmokeTest_HTTP", {
5172
5184
  appId,
5173
5185
  buildId,
5174
- userId
5186
+ userId,
5187
+ idToken: await ((_a = currentUser()) == null ? void 0 : _a.getIdToken())
5175
5188
  });
5176
5189
  }
5177
5190
 
@@ -5420,7 +5433,7 @@ var package_default = {
5420
5433
  access: "public"
5421
5434
  },
5422
5435
  name: "@todesktop/cli",
5423
- version: "1.10.2",
5436
+ version: "1.10.4",
5424
5437
  license: "MIT",
5425
5438
  author: "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
5426
5439
  homepage: "https://todesktop.com/cli",