@dynatrace-sdk/app-utils
Advanced tools
Comparing version
@@ -5,2 +5,19 @@ # App utils | ||
## 0.4.1 | ||
### Patch Changes | ||
- Update documentation | ||
## 0.4.0 | ||
### Minor Changes | ||
- Rename serverless to app functions | ||
Remove util-serverless package | ||
### Patch Changes | ||
- Fix typo in the documentation | ||
## 0.3.1 | ||
@@ -7,0 +24,0 @@ |
@@ -61,16 +61,1 @@ /** | ||
}; | ||
/** | ||
* @license | ||
* Copyright 2022 Dynatrace LLC | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
@@ -15,3 +15,3 @@ # App utils | ||
<div class="col" style={{textAlign: 'right'}}> | ||
<a href="https://www.npmjs.com/package/@dynatrace-sdk/app-utils/v/0.3.1">v0.3.1</a> | ||
<a href="https://www.npmjs.com/package/@dynatrace-sdk/app-utils/v/0.4.1">v0.4.1</a> | ||
</div> | ||
@@ -49,6 +49,8 @@ </div> | ||
<div class="padding-left--md padding-bottom--md"> | ||
A convenience layer for the user to communicate with an app function. | ||
</div> | ||
<div class="padding-left--md"> | ||
A convenience layer for the user to communicate with a serverless function. | ||
**Parameters** | ||
@@ -58,20 +60,20 @@ | ||
<strong>functionName</strong>: <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | ||
<div class="padding-left--md"> | ||
<div class="padding-left--md"></div> | ||
</div> | ||
<div class="padding-left--md padding-bottom--md"> | ||
<strong>options?</strong>: <a href="https://developer.mozilla.org/en-US/docs/Glossary/Object">Object</a> | ||
<div class="padding-left--md"> | ||
<div class="padding-left--md"></div> | ||
</div> | ||
<div class="padding-left--md padding-bottom--md"> | ||
<strong>options.data?</strong>: Any </a> | ||
<div class="padding-left--md"> | ||
<strong>options.data?</strong>: Any | ||
<div class="padding-left--md"></div> | ||
</div> | ||
<div class="padding-left--md padding-bottom--md"> | ||
<strong>options.abortSignal?</strong>: <a href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal">AbortSignal</a> | ||
<div class="padding-left--md"> | ||
<div class="padding-left--md"></div> | ||
</div> | ||
</div> | ||
#### Returns | ||
@@ -81,3 +83,2 @@ | ||
A promise resolving a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#response_objects">fetch response</a> object. | ||
</div> | ||
@@ -84,0 +85,0 @@ |
@@ -39,16 +39,1 @@ /** | ||
}; | ||
/** | ||
* @license | ||
* Copyright 2022 Dynatrace LLC | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
{ | ||
"name": "@dynatrace-sdk/app-utils", | ||
"version": "0.3.1", | ||
"version": "0.4.1", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "description": "Utilities for app function executions.", |
/** | ||
* @license | ||
* Copyright 2022 Dynatrace LLC | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
/** | ||
* A convenience layer for the user to communicate with functions. | ||
@@ -21,3 +6,3 @@ */ | ||
/** | ||
* A convenience layer for the user to communicate with a serverless function. | ||
* A convenience layer for the user to communicate with an app function. | ||
* @param functionName | ||
@@ -24,0 +9,0 @@ * @param options Optional options |
18155
-7.77%114
-28.3%