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

glitch-javascript-sdk

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glitch-javascript-sdk - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

10

dist/esm/api/SocialPosts.d.ts

@@ -40,3 +40,13 @@ import Response from "../util/Response";

static dispute<T>(post_id: string, data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
/**
* Get the change of the post metrics over a period of time.
*
* @see https://api.glitch.fun/api/documentation#/Social%20Media%20Posts/getSocialMediaPostHistory
*
* @param post_id The id fo the post to retrieve.
*
* @returns promise
*/
static history<T>(post_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
}
export default SocialPosts;

2

package.json
{
"name": "glitch-javascript-sdk",
"version": "1.1.6",
"version": "1.1.7",
"description": "Javascript SDK for Glitch",

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

@@ -58,4 +58,18 @@ import SocialPostsRoute from "../routes/SocialPostsRoute";

/**
* Get the change of the post metrics over a period of time.
*
* @see https://api.glitch.fun/api/documentation#/Social%20Media%20Posts/getSocialMediaPostHistory
*
* @param post_id The id fo the post to retrieve.
*
* @returns promise
*/
public static history<T>(post_id: string, params?: Record<string, any>): AxiosPromise<Response<T>> {
return Requests.processRoute(SocialPostsRoute.routes.history, {}, { post_id: post_id }, params);
}
}
export default SocialPosts;

@@ -11,2 +11,3 @@ import Route from "./interface";

dispute: { url: '/social/{post_id}/dispute', method: HTTP_METHODS.POST },
history : { url: '/socialposts/{post_id}/history', method: HTTP_METHODS.GET },
};

@@ -13,0 +14,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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