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

ajaon

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajaon - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

3

app/dist/ajaon.js

@@ -104,3 +104,3 @@ import clone from "tiny-clone";

}
const sess = sessKeyKey !== undefined ? typeof sessKeyKey === "string" ? { sessKeyKeyForStorage: sessKeyKey, sessKeyKeyForApi: sessKeyKey } : clone(sessKeyKey) : false;
const sess = sessKeyKey !== undefined ? typeof sessKeyKey === "string" ? { sessKeyKeyForStorage: sessKeyKey, sessKeyKeyForApi: sessKeyKey } : clone(sessKeyKey) : { sessKeyKeyForStorage: "sessKey", sessKeyKeyForApi: "sessKey" };
function post(url, body = {}, headers = { 'Content-Type': 'application/json' }, ensureDelivery = defualtEnsureDelivery, verbose = defaultVervose) {

@@ -184,2 +184,3 @@ let ret = new AjaonPromise((res, fail) => {

if (ensureDelivery) {
delete body[sess.sessKeyKeyForApi];
recall(ret, post, arguments);

@@ -186,0 +187,0 @@ }

@@ -132,3 +132,3 @@ import clone from "tiny-clone"

const sess: SessKeyKey = sessKeyKey !== undefined ? typeof sessKeyKey === "string" ? {sessKeyKeyForStorage: sessKeyKey, sessKeyKeyForApi: sessKeyKey} : clone(sessKeyKey) : false
const sess: SessKeyKey = sessKeyKey !== undefined ? typeof sessKeyKey === "string" ? {sessKeyKeyForStorage: sessKeyKey, sessKeyKeyForApi: sessKeyKey} : clone(sessKeyKey) : {sessKeyKeyForStorage: "sessKey", sessKeyKeyForApi: "sessKey"}
function post<Res = GenericObject>(url: string | string[], body: object | string = {}, headers: HeadersInit | Headers = {'Content-Type': 'application/json'}, ensureDelivery: boolean = defualtEnsureDelivery, verbose: boolean = defaultVervose) {

@@ -217,2 +217,3 @@ let ret = new AjaonPromise<Res, string>((res, fail) => {

if (ensureDelivery) {
delete body[sess.sessKeyKeyForApi]
recall(ret, post, arguments)

@@ -219,0 +220,0 @@ }

{
"name": "ajaon",
"version": "1.3.3",
"version": "1.3.4",
"description": "Asynchron js and json. A tiny, fetch based http client for the web.",

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

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