@capacitor/cli 7.6.3 → 7.6.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.
Binary file
Binary file
Binary file
@@ -504,7 +504,7 @@ async function copyPluginsNativeFiles(config, cordovaPlugins) {
504
504
  const isSPM = (await config.ios.packageManager) === 'SPM';
505
505
  for (const p of cordovaPlugins) {
506
506
  const platformTag = (0, plugin_1.getPluginPlatform)(p, platform);
507
- if ((_a = platformTag.$) === null || _a === void 0 ? void 0 : _a.package) {
507
+ if (isSPM && ((_a = platformTag.$) === null || _a === void 0 ? void 0 : _a.package)) {
508
508
  continue;
509
509
  }
510
510
  const sourceFiles = (0, plugin_1.getPlatformElement)(p, platform, 'source-file');
package/dist/ipc.js CHANGED
@@ -36,16 +36,16 @@ async function receive(msg) {
36
36
  const { data } = msg;
37
37
  // This request is only made if telemetry is on.
38
38
  const req = (0, https_1.request)({
39
- hostname: 'api.ionicjs.com',
39
+ hostname: 'metrics-capacitor.outsystems.com',
40
40
  port: 443,
41
- path: '/events/metrics',
41
+ path: '/metrics',
42
42
  method: 'POST',
43
43
  headers: {
44
44
  'Content-Type': 'application/json',
45
45
  },
46
46
  }, (response) => {
47
47
  debug('Sent %O metric to events service (status: %O)', data.name, response.statusCode);
48
- if (response.statusCode !== 204) {
48
+ if (response.statusCode !== 202) {
49
49
  response.on('data', (chunk) => {
50
50
  debug('Bad response from events service. Request body: %O', chunk.toString());
51
51
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/cli",
3
- "version": "7.6.3",
3
+ "version": "7.6.5",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",