@contentstack/datasync-manager 2.0.7 → 2.0.8
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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/api.js +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 Contentstack LLC <https://www.contentstack.com/>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Contentstack DataSync lets you sync your Contentstack data with your database, e
|
|
|
9
9
|
The DataSync Manager is one of the four important components of Contentstack DataSync. When any publish, unpublish, or delete operations are performed on assets or content, the DataSync Manager fetches the data and sends it to Content Store. It uses Contentstack's Sync APIs to sync data from Contentstack with your preferred database — Filesystem and MongoDB in our case.
|
|
10
10
|
|
|
11
11
|
### Prerequisite
|
|
12
|
-
- nodejs
|
|
12
|
+
- nodejs v20+
|
|
13
13
|
|
|
14
14
|
### Usage
|
|
15
15
|
|
package/dist/api.js
CHANGED
|
@@ -57,7 +57,7 @@ const get = (req, RETRY = 1) => {
|
|
|
57
57
|
headers: Contentstack.headers,
|
|
58
58
|
hostname: Contentstack.host,
|
|
59
59
|
method: Contentstack.verbs.get,
|
|
60
|
-
path: (0, sanitize_url_1.sanitizeUrl)(req.path),
|
|
60
|
+
path: (0, sanitize_url_1.sanitizeUrl)(encodeURI(req.path)),
|
|
61
61
|
port: Contentstack.port,
|
|
62
62
|
protocol: Contentstack.protocol,
|
|
63
63
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/datasync-manager",
|
|
3
3
|
"author": "Contentstack LLC <support@contentstack.com>",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.8",
|
|
5
5
|
"description": "The primary module of Contentstack DataSync. Syncs Contentstack data with your server using Contentstack Sync API",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"dependencies": {
|