New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@socketsecurity/sdk

Package Overview
Dependencies
Maintainers
7
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/sdk - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

1

index.d.ts

@@ -0,1 +1,2 @@

export type SocketSdkOperations = keyof import('./types/api').operations;
export type SocketSdkReturnType<T extends keyof import("./types/api").operations> = import('./types/api-helpers').OpReturnType<import('./types/api').operations[T]>;

@@ -2,0 +3,0 @@ export type SocketSdkErrorType<T extends keyof import("./types/api").operations> = import('./types/api-helpers').OpErrorType<import('./types/api').operations[T]>;

8

index.js

@@ -9,4 +9,6 @@ 'use strict'

/** @typedef {keyof import('./types/api').operations} SocketSdkOperations */
/**
* @template {keyof import('./types/api').operations} T
* @template {SocketSdkOperations} T
* @typedef {import('./types/api-helpers').OpReturnType<import('./types/api').operations[T]>} SocketSdkReturnType

@@ -16,3 +18,3 @@ */

/**
* @template {keyof import('./types/api').operations} T
* @template {SocketSdkOperations} T
* @typedef {import('./types/api-helpers').OpErrorType<import('./types/api').operations[T]>} SocketSdkErrorType

@@ -22,3 +24,3 @@ */

/**
* @template {keyof import('./types/api').operations} T
* @template {SocketSdkOperations} T
* @typedef {SocketSdkReturnType<T> | SocketSdkErrorType<T>} SocketSdkResultType

@@ -25,0 +27,0 @@ */

{
"name": "@socketsecurity/sdk",
"version": "0.5.3",
"version": "0.5.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "SDK for the Socket API client",

Sorry, the diff of this file is not supported yet

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