Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@foxiko/client

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foxiko/client - npm Package Compare versions

Comparing version 1.0.86 to 1.0.87

8

finance/controllers/EmployeeController.js

@@ -27,5 +27,5 @@ const {Employee} = require("../entities/Employee");

return data.map(e => {
let vendor = new Employee(e);
vendor._handler(this);
return vendor;
let employee = new Employee(e);
employee._handler(this);
return employee;
});

@@ -56,3 +56,3 @@ }

.contentType().json()
.body(vendor.toArray())
.body(employee.toArray())
.header("x-finance-account-id", this.#accountId)

@@ -59,0 +59,0 @@ .responseType().json()

@@ -45,4 +45,4 @@ const schema = process.env['LOCAL'] === "true" ? "http" : "https";

EDIT: (id) => `${schema}://${domain}/${version}/finance/employee/${id}/edit`,
CREATE: `${schema}://${domain}/${version}/finance/employee/create`,
ALL: `${schema}://${domain}/${version}/finance/employee/all`,
CREATE: `${schema}://${domain}/${version}/finance/employees/create`,
ALL: `${schema}://${domain}/${version}/finance/employees/all`,
},

@@ -49,0 +49,0 @@ ACCOUNT: {

{
"name": "@foxiko/client",
"version": "1.0.86",
"version": "1.0.87",
"description": "",

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

@@ -5,6 +5,6 @@ const {APIEntity} = require("../../APIEntity");

#handle;
#handler;
_handle(handler) {
this.#handle = handler;
_handler(handler) {
this.#handler = handler;
}

@@ -11,0 +11,0 @@

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