@serverless/sdk
Advanced tools
Comparing version 0.5.23 to 0.5.24
@@ -36,5 +36,5 @@ import TraceSpan from '../lib/trace-span'; | ||
setEndpoint(endpoint: string): undefined; | ||
createTraceSpan(name: string): TraceSpan; | ||
createTraceSpan(name: string, closure: () => T): T; | ||
createTraceSpan(name: string, closure: () => Promise<T>): Promise<T>; | ||
createSpan(name: string): TraceSpan; | ||
createSpan(name: string, closure: () => T): T; | ||
createSpan(name: string, closure: () => Promise<T>): Promise<T>; | ||
} | ||
@@ -41,0 +41,0 @@ |
@@ -5,2 +5,8 @@ # Changelog | ||
### [0.5.24](https://github.com/serverless/console/compare/@serverless/sdk@0.5.23...@serverless/sdk@0.5.24) (2023-08-09) | ||
### Bug Fixes | ||
- Use createSpan instead of createTraceSpan ([a1d3e19](https://github.com/serverless/console/commit/a1d3e1964ee1bf871edba79e1651ed204e5c608a)) | ||
### [0.5.23](https://github.com/serverless/console/compare/@serverless/sdk@0.5.22...@serverless/sdk@0.5.23) (2023-08-02) | ||
@@ -7,0 +13,0 @@ |
@@ -67,3 +67,3 @@ 'use strict'; | ||
}; | ||
serverlessSdk.createTraceSpan = (name, closure) => { | ||
serverlessSdk.createSpan = (name, closure) => { | ||
const span = serverlessSdk._createTraceSpan(name); | ||
@@ -70,0 +70,0 @@ |
{ | ||
"name": "@serverless/sdk", | ||
"repository": "serverless/console", | ||
"version": "0.5.23", | ||
"version": "0.5.24", | ||
"author": "Serverless, Inc.", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91336