@serverless/sdk
Advanced tools
Comparing version 0.2.2 to 0.2.3
import TraceSpan from './lib/trace-span'; | ||
import ExpressAppInstrument from './instrumentation/express-app'; | ||
import sdk from './../index'; | ||
@@ -10,3 +11,3 @@ export interface TraceSpans {} | ||
interface Sdk { | ||
export interface Sdk { | ||
name: string; | ||
@@ -22,3 +23,3 @@ version: string; | ||
immediateDescendants?: string[]; | ||
tags?: Record<string, boolean | number | string | Date | Array | Null>; | ||
tags?: Record<string, boolean | number | string | Date | Array<unknown> | null>; | ||
input?: string; | ||
@@ -32,3 +33,3 @@ output?: string; | ||
options?: { | ||
tags?: Record<string, boolean | number | string | Date | Array | Null>; | ||
tags?: Record<string, boolean | number | string | Date | Array<unknown> | null>; | ||
} | ||
@@ -39,3 +40,3 @@ ): undefined; | ||
options?: { | ||
tags?: Record<string, boolean | number | string | Date | Array | Null>; | ||
tags?: Record<string, boolean | number | string | Date | Array<unknown> | null>; | ||
} | ||
@@ -45,4 +46,2 @@ ): undefined; | ||
export default Sdk; | ||
export interface SdkOptions { | ||
@@ -56,1 +55,3 @@ orgId?: string; | ||
} | ||
export default sdk; |
declare class Tags extends Map { | ||
set(key: string, value: boolean | number | string | Date | Array): Tags; | ||
set(key: string, value: boolean | number | string | Date | Array<unknown>): this; | ||
setMany( | ||
tags: Record<string, boolean | number | string | Date | Array | Null>, | ||
tags: Record<string, boolean | number | string | Date | Array<unknown> | null>, | ||
options?: { prefix?: string } | ||
@@ -6,0 +6,0 @@ ): Tags; |
@@ -5,2 +5,8 @@ # Changelog | ||
### [0.2.3](https://github.com/serverless/console/compare/@serverless/sdk@0.2.2...@serverless/sdk@0.2.3) (2023-01-09) | ||
### Bug Fixes | ||
- Adjusted typescript implementation for sdk ([#360](https://github.com/serverless/console/issues/360)) ([e8a7066](https://github.com/serverless/console/commit/e8a7066b7c02833a00d38aa8b8456d0e26b417a9)) | ||
### [0.2.2](https://github.com/serverless/console/compare/@serverless/sdk@0.2.1...@serverless/sdk@0.2.2) (2023-01-09) | ||
@@ -7,0 +13,0 @@ |
{ | ||
"name": "@serverless/sdk", | ||
"repository": "serverless/console", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"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
54454
32
1085