@trayio/cdk-dsl 3.19.0 → 4.0.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 +10 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -858,6 +858,16 @@ export const myOperationHandler =
|
|
|
858
858
|
);
|
|
859
859
|
```
|
|
860
860
|
|
|
861
|
+
### How to enable / disable raw http operation.
|
|
862
|
+
|
|
863
|
+
By default, all the connectors come with a Raw Http Operation. You can disable it by updating the config in the connector.json
|
|
864
|
+
|
|
865
|
+
```typescript
|
|
866
|
+
{
|
|
867
|
+
"rawHttp": {
|
|
868
|
+
"enabled": false
|
|
869
|
+
}
|
|
870
|
+
}
|
|
861
871
|
## Error Handling
|
|
862
872
|
|
|
863
873
|
You could use `withErrorHandling()` on the `response` to display custom error messages to the users.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trayio/cdk-dsl",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "A DSL for connector development",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": "./dist/*.js"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@trayio/commons": "
|
|
17
|
+
"@trayio/commons": "4.0.1"
|
|
18
18
|
},
|
|
19
19
|
"typesVersions": {
|
|
20
20
|
"*": {
|