Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serverless/sdk

Package Overview
Dependencies
Maintainers
6
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/sdk - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

index.ts

13

.ts-types/index.d.ts
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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc