@crowdin/app-project-module 0.88.0 → 0.88.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.
@@ -69,7 +69,7 @@ function webhookHandler(config, webhooks) {
69
69
  const json = JSON.parse(req.body.toString());
70
70
  for (const webhook of webhooks) {
71
71
  if (webhook.key === moduleKey) {
72
- yield webhook.callback({ credentials, events: json.events, client });
72
+ yield webhook.callback({ events: json.events, client });
73
73
  }
74
74
  }
75
75
  }));
@@ -1,4 +1,4 @@
1
- import { CrowdinCredentials, ModuleKey } from '../../types';
1
+ import { ModuleKey } from '../../types';
2
2
  import Crowdin from '@crowdin/crowdin-api-client';
3
3
  export interface Webhook extends ModuleKey {
4
4
  /**
@@ -9,7 +9,6 @@ export interface Webhook extends ModuleKey {
9
9
  * handle function
10
10
  */
11
11
  callback: (data: {
12
- credentials: CrowdinCredentials;
13
12
  events: Event[];
14
13
  client: Crowdin;
15
14
  }) => Promise<void>;
@@ -249,7 +249,6 @@
249
249
  <crowdin-modal
250
250
  style="display: none;"
251
251
  id="settings-modal"
252
- body-overflow-unset="{{#checkLength configurationFields 3}}false{{else}}true{{/checkLength}}"
253
252
  modal-width="65"
254
253
  modal-title="Settings"
255
254
  close-button-title="Close"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.88.0",
3
+ "version": "0.88.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",