@crowdin/app-project-module 0.81.0 → 0.81.1

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/README.md CHANGED
@@ -1,13 +1,11 @@
1
- # Crowdin App Project Module
1
+ # Crowdin Apps SDK
2
2
 
3
- Module that will automatically add all necessary endpoints for Crowdin App.
3
+ The Crowdin Apps SDK is a framework that allows you to build custom apps for Crowdin. It provides a set of tools and components that you can use to build your app and integrate it with Crowdin.
4
4
 
5
- :bookmark: See the [docs](https://crowdin.github.io/app-project-module/) for more information.
6
-
7
- ## Contributing
5
+ It is designed to help you create apps that can be easily installed and used by Crowdin users. It handles the communication between your app and Crowdin, so you can focus on building the functionality of your app.
8
6
 
9
- If you would like to contribute please read the [Contributing](/CONTRIBUTING.md) guidelines.
7
+ :bookmark: See the [docs](https://crowdin.github.io/app-project-module/) for more information.
10
8
 
11
9
  ## Seeking Assistance
12
10
 
13
- If you find any problems or would like to suggest a feature, please feel free to file an issue on GitHub at [Issues Page](https://github.com/crowdin/app-project-module/issues) or [Contact Customer Success Service](https://crowdin.com/contacts).
11
+ If you are experiencing problems or would like to suggest a feature, [Contact Customer Success Service](https://crowdin.com/contacts).
@@ -192,7 +192,9 @@ class AppModuleError extends Error {
192
192
  super(typeof error === 'string' ? error : error.message);
193
193
  this.isAxiosError = false;
194
194
  this.name = 'AppModuleError';
195
- this.stack = typeof error === 'string' ? this.stack : error.stack;
195
+ if (typeof error !== 'string' && error.stack) {
196
+ this.stack = error.stack;
197
+ }
196
198
  this.appData = data;
197
199
  if (typeof error !== 'string') {
198
200
  this.data = Object.assign({}, error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",