Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

rantscript

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rantscript - npm Package Compare versions

Comparing version
1.3.7
to
1.3.8
+1
-1
package.json
{
"name": "rantscript",
"version": "1.3.7",
"version": "1.3.8",
"description": "A JavaScript wrapper for the FULL devRant API",

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

@@ -140,5 +140,7 @@ 'use strict';

function postRant(rant, tags, token, imagePath) {
function postRant(rant, tags, type, token, imagePath) {
const url = `${variables['API']}/devrant/rants`;
if(type == undefined) {type = 1}
const token_id = token["id"];

@@ -153,2 +155,3 @@ const token_key = token["key"];

tags: tags,
type: type,
token_id: token_id,

@@ -155,0 +158,0 @@ token_key: token_key,