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

@ticketbuddy/sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ticketbuddy/sdk - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "@ticketbuddy/sdk",
"version": "1.0.0",
"version": "1.1.0",
"description": "",

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

const fetch = require("isomorphic-fetch");
async function post(endpoint, path, body = {}) {
async function post({ endpoint, path, token }, body = {}) {
return await format_response(

@@ -9,3 +9,4 @@ await fetch(endpoint + path, {

headers: {
"content-type": "application/json"
"content-type": "application/json",
token: opts.token
}

@@ -12,0 +13,0 @@ })

const client = require("./client");
exports.create = async function() {
return await client.post(client.TICKETBUDDY_BACKEND, "/company", {});
exports.create = async function({ token }) {
return await client.post(
{
token,
path: "/company",
endpoint: client.TICKETBUDDY_BACKEND
},
{}
);
};
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