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

backk-frontend-utils

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backk-frontend-utils - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

lib/validation/validateServiceFunctionArgument.d.ts

12

lib/callRemoteService.js

@@ -13,5 +13,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import { HTTPS_DEFAULT_PORT } from './constants/constants';
import validateServiceFunctionArgumentOrThrow from './validation/validateServiceFunctionArgument';
export default function callRemoteService(microserviceName, serviceFunctionName, serviceFunctionArgument, microserviceNamespace, jwtStorageEncryptionKey, options) {
var _a, _b, _c, _d;
return __awaiter(this, void 0, void 0, function* () {
try {
yield validateServiceFunctionArgumentOrThrow(serviceFunctionArgument);
}
catch (error) {
return [
null,
{
message: error.message,
},
];
}
const serverPort = window.location.search

@@ -18,0 +30,0 @@ ? (_a = window.location.search.split('serverPort=').pop()) !== null && _a !== void 0 ? _a : HTTPS_DEFAULT_PORT

1

lib/index.d.ts

@@ -8,1 +8,2 @@ export { default as callRemoteService } from './callRemoteService';

export { default as _Id } from './types/_id/_Id';
export * from 'class-validator';
export { default as callRemoteService } from './callRemoteService';
export { default as DefaultPostQueryOperations } from './types/DefaultPostQueryOperations';
export { default as _Id } from './types/_id/_Id';
export * from 'class-validator';
//# sourceMappingURL=index.js.map

3

package.json
{
"name": "backk-frontend-utils",
"version": "1.0.12",
"version": "1.0.13",
"description": "Web frontend utils for Backk microservices",

@@ -43,2 +43,3 @@ "author": {

"dependencies": {
"class-validator": "0.11.1",
"crypto-js": "4.1.1",

@@ -45,0 +46,0 @@ "js-base64": "3.7.2"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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