firebase-tools 13.31.0 → 13.31.1

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.
@@ -48,20 +48,20 @@ const EMULATOR_UPDATE_DETAILS = {
48
48
  },
49
49
  dataconnect: process.platform === "darwin"
50
50
  ? {
51
- version: "1.8.0",
51
+ version: "1.8.1",
52
52
  expectedSize: 25469696,
53
- expectedChecksum: "d20a4240b4290a262caff3d0d3a85a4f",
53
+ expectedChecksum: "dc8b5c38838ebe667e2e93c51c14578a",
54
54
  }
55
55
  : process.platform === "win32"
56
56
  ? {
57
- version: "1.8.0",
58
- expectedSize: 25903616,
59
- expectedChecksum: "dda0350259449493ecc5cc24187ce752",
57
+ version: "1.8.1",
58
+ expectedSize: 25904128,
59
+ expectedChecksum: "4ba969a49ade413c3f68f5bb0287af22",
60
60
  }
61
61
  : {
62
- version: "1.8.0",
62
+ version: "1.8.1",
63
63
  expectedSize: 25383064,
64
- expectedChecksum: "54a19e336f4118854c4c2d4eeeccb506",
64
+ expectedChecksum: "1117c1c3cc0fca725dd7a869c1d2e90f",
65
65
  },
66
66
  };
67
67
  exports.DownloadDetails = {
@@ -77,18 +77,22 @@ async function askQuestions(setup, config) {
77
77
  const connectorYaml = JSON.parse(JSON.stringify(connectorInfo.connectorYaml));
78
78
  const newConnectorYaml = await generateSdkYaml(targetPlatform, connectorYaml, connectorInfo.directory, appDir);
79
79
  if (targetPlatform === types_1.Platform.WEB) {
80
- const unusedFrameworks = fileUtils_1.SUPPORTED_FRAMEWORKS.filter((framework) => { var _a; return (_a = newConnectorYaml.generate) === null || _a === void 0 ? void 0 : _a.javascriptSdk[framework]; });
80
+ const unusedFrameworks = fileUtils_1.SUPPORTED_FRAMEWORKS.filter((framework) => { var _a; return !((_a = newConnectorYaml.generate) === null || _a === void 0 ? void 0 : _a.javascriptSdk[framework]); });
81
81
  if (unusedFrameworks.length > 0) {
82
82
  const additionalFrameworks = await (0, prompt_1.prompt)(setup, [
83
83
  {
84
84
  type: "checkbox",
85
- name: "features",
85
+ name: "fdcFrameworks",
86
86
  message: "Which framework would you like to generate SDKs for? " +
87
87
  "Press Space to select features, then Enter to confirm your choices.",
88
- choices: unusedFrameworks,
88
+ choices: unusedFrameworks.map((frameworkStr) => ({
89
+ value: frameworkStr,
90
+ name: frameworkStr,
91
+ checked: false,
92
+ })),
89
93
  },
90
94
  ]);
91
- for (const framework of additionalFrameworks.features) {
95
+ for (const framework of additionalFrameworks.fdcFrameworks) {
92
96
  newConnectorYaml.generate.javascriptSdk[framework] = true;
93
97
  }
94
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "13.31.0",
3
+ "version": "13.31.1",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {