@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 +5 -7
- package/out/util/logger.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
# Crowdin
|
|
1
|
+
# Crowdin Apps SDK
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
11
|
+
If you are experiencing problems or would like to suggest a feature, [Contact Customer Success Service](https://crowdin.com/contacts).
|
package/out/util/logger.js
CHANGED
|
@@ -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
|
-
|
|
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