@strapi/data-transfer 4.9.0-beta.1 → 4.9.0-beta.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.
@@ -79,15 +79,15 @@ class RemoteStrapiSourceProvider {
79
79
  this.ws
80
80
  ?.on('unexpected-response', (_req, res) => {
81
81
  if (res.statusCode === 401) {
82
- return reject(new providers_1.ProviderInitializationError('Failed to initialize the connexion: Authentication Error'));
82
+ return reject(new providers_1.ProviderInitializationError('Failed to initialize the connection: Authentication Error'));
83
83
  }
84
84
  if (res.statusCode === 403) {
85
- return reject(new providers_1.ProviderInitializationError('Failed to initialize the connexion: Authorization Error'));
85
+ return reject(new providers_1.ProviderInitializationError('Failed to initialize the connection: Authorization Error'));
86
86
  }
87
87
  if (res.statusCode === 404) {
88
- return reject(new providers_1.ProviderInitializationError('Failed to initialize the connexion: Data transfer is not enabled on the remote host'));
88
+ return reject(new providers_1.ProviderInitializationError('Failed to initialize the connection: Data transfer is not enabled on the remote host'));
89
89
  }
90
- return reject(new providers_1.ProviderInitializationError(`Failed to initialize the connexion: Unexpected server response ${res.statusCode}`));
90
+ return reject(new providers_1.ProviderInitializationError(`Failed to initialize the connection: Unexpected server response ${res.statusCode}`));
91
91
  })
92
92
  ?.once('open', async () => {
93
93
  const query = this.dispatcher?.dispatchCommand({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/data-transfer",
3
- "version": "4.9.0-beta.1",
3
+ "version": "4.9.0-beta.2",
4
4
  "description": "Data transfer capabilities for Strapi",
5
5
  "keywords": [
6
6
  "strapi",
@@ -39,8 +39,8 @@
39
39
  "lib": "./lib"
40
40
  },
41
41
  "dependencies": {
42
- "@strapi/logger": "4.9.0-beta.1",
43
- "@strapi/strapi": "4.9.0-beta.1",
42
+ "@strapi/logger": "4.9.0-beta.2",
43
+ "@strapi/strapi": "4.9.0-beta.2",
44
44
  "chalk": "4.1.2",
45
45
  "fs-extra": "10.0.0",
46
46
  "lodash": "4.17.21",
@@ -74,5 +74,5 @@
74
74
  "node": ">=14.19.1 <=18.x.x",
75
75
  "npm": ">=6.0.0"
76
76
  },
77
- "gitHead": "ff37d666d0634fc84827e3d6419d916618275572"
77
+ "gitHead": "d893ead642592a15a95fefb71c544aaabe4db20b"
78
78
  }