@agility/content-sync 1.1.8 → 1.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agility/content-sync",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "JavaScript SDK for synchronizing content from Agility CMS",
5
5
  "main": "dist/agility-sync-sdk.node.js",
6
6
  "scripts": {
@@ -17,16 +17,14 @@
17
17
  "contributors": [
18
18
  "Joel Varty",
19
19
  "James Vidler",
20
- "Joshua Isaac",
21
- "Kevin Tran",
22
- "Aaron Taylor"
20
+ "Joshua Isaac"
23
21
  ],
24
22
  "bugs": {
25
23
  "url": "https://github.com/agility/agility-sync-sdk/issues"
26
24
  },
27
25
  "homepage": "https://github.com/agility/agility-sync-sdk#readme",
28
26
  "dependencies": {
29
- "@agility/content-fetch": "^2.0.8",
27
+ "@agility/content-fetch": "^1.0.0",
30
28
  "dotenv": "^8.2.0",
31
29
  "proper-lockfile": "^4.1.2"
32
30
  },
@@ -45,4 +43,4 @@
45
43
  "webpack": "^4.29.6",
46
44
  "webpack-cli": "^3.2.3"
47
45
  }
48
- }
46
+ }
@@ -24,7 +24,6 @@ function validateConfigParams(configParams) {
24
24
  }
25
25
 
26
26
  const defaultConfig = {
27
- region: null,
28
27
  baseUrl: null,
29
28
  isPreview: false,
30
29
  guid: null,
@@ -55,8 +54,7 @@ function createSyncClient(userConfig) {
55
54
  apiKey: config.apiKey,
56
55
  isPreview: config.isPreview,
57
56
  debug: config.debug,
58
- baseUrl: config.baseUrl,
59
- region: config.region
57
+ baseUrl: config.baseUrl
60
58
  });
61
59
 
62
60
 
@@ -77,4 +75,4 @@ function createSyncClient(userConfig) {
77
75
  }
78
76
  }
79
77
 
80
- export default { getSyncClient }
78
+ export default { getSyncClient }
package/webpack.config.js CHANGED
@@ -23,17 +23,6 @@ const nodeConfig = {
23
23
  test: /\.js$/,
24
24
  exclude: /node_modules/,
25
25
  use: ['babel-loader'],
26
- },
27
- // JavaScript
28
- {
29
- test: /\.js$/,
30
- exclude: /node_modules\/(?!@agility\/content-fetch)/, // Transpile @agility/content-fetch
31
- use: {
32
- loader: 'babel-loader',
33
- options: {
34
- presets: ['@babel/preset-env'], // Ensure compatibility with modern syntax
35
- }
36
- }
37
26
  }
38
27
  ]
39
28
  },