Socket
Socket
Sign inDemoInstall

alga-news-sdk

Package Overview
Dependencies
2
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.4 to 1.3.5

2

dist/services/Posts.service.d.ts

@@ -92,3 +92,3 @@ import { Post } from '../interfaces';

}>;
export declare const updatePost: (postId: number, newPost: Post.Detailed) => Promise<{
export declare const updatePost: (postId: number, newPost: Post.Input) => Promise<{
id: number;

@@ -95,0 +95,0 @@ editor: {

{
"name": "alga-news-sdk",
"version": "1.3.4",
"version": "1.3.5",
"description": "SDK para aplicações que envolvem API da AlgaNews em React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -45,3 +45,3 @@ import { type } from 'os';

export const updatePost = (postId: number, newPost: Post.Detailed) => {
export const updatePost = (postId: number, newPost: Post.Input) => {
type Response = AlgaNews.paths['/posts/{postId}']['put']['responses']['200']['application/json']

@@ -48,0 +48,0 @@ return Http.post<Response>(

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc