locize-cli 7.14.14 → 7.14.15

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +1 -1
  3. package/sync.js +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  Project versioning adheres to [Semantic Versioning](http://semver.org/).
6
6
  Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
7
7
 
8
+ ## [7.14.15](https://github.com/locize/locize-cli/compare/v7.14.14...v7.14.15) - 2023-12-18
9
+
10
+ - fix sync for private published translations
11
+
8
12
  ## [7.14.14](https://github.com/locize/locize-cli/compare/v7.14.13...v7.14.14) - 2023-11-28
9
13
 
10
14
  - update gettext and xlsx dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locize-cli",
3
- "version": "7.14.14",
3
+ "version": "7.14.15",
4
4
  "description": "locize cli to import locales",
5
5
  "main": "index.js",
6
6
  "bin": {
package/sync.js CHANGED
@@ -28,9 +28,9 @@ const getDownloads = (opt, cb) => {
28
28
  if (!opt.unpublished) {
29
29
  request(opt.apiPath + '/download/' + opt.projectId + '/' + opt.version, {
30
30
  method: 'get',
31
- // headers: opt.apiKey ? {
32
- // 'Authorization': opt.apiKey
33
- // } : undefined
31
+ headers: opt.apiKey ? {
32
+ 'Authorization': opt.apiKey
33
+ } : undefined
34
34
  }, (err, res, obj) => {
35
35
  if (err) return cb(err);
36
36
  if (res.status >= 300) {