@transifex/api 2.1.0 → 2.2.0

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": "@transifex/api",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Transifex API SDK",
5
5
  "keywords": [
6
6
  "transifex",
@@ -31,7 +31,7 @@
31
31
  "@babel/cli": "^7.15.4",
32
32
  "@babel/core": "^7.15.5",
33
33
  "@babel/preset-env": "^7.15.0",
34
- "@transifex/jsonapi": "^2.1.0",
34
+ "@transifex/jsonapi": "^2.2.0",
35
35
  "babel-eslint": "^10.1.0",
36
36
  "babel-loader": "^8.2.2",
37
37
  "eslint": "^7.32.0",
@@ -40,17 +40,17 @@ class ResourceString extends JsonApiResource {
40
40
  TransifexApi.register(ResourceString, 'ResourceString');
41
41
 
42
42
  class ResourceStringAsyncDownload extends JsonApiResource {
43
- static TYPE = 'resource_string_async_downloads';
43
+ static TYPE = 'resource_strings_async_downloads';
44
44
  }
45
45
  TransifexApi.register(ResourceStringAsyncDownload, 'ResourceStringAsyncDownload');
46
46
 
47
47
  class ResourceStringAsyncUpload extends JsonApiResource {
48
- static TYPE = 'resource_string_async_downloads';
48
+ static TYPE = 'resource_strings_async_uploads';
49
49
  }
50
50
  TransifexApi.register(ResourceStringAsyncUpload, 'ResourceStringAsyncUpload');
51
51
 
52
52
  class ResourceStringComment extends JsonApiResource {
53
- static TYPE = 'Resource_string_comments';
53
+ static TYPE = 'resource_string_comments';
54
54
  }
55
55
  TransifexApi.register(ResourceStringComment, 'ResourceStringComment');
56
56