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.19 to 1.0.21

2

lib/callRemoteService.d.ts
import { HttpRequestOptions } from './types/HttpRequestOptions';
import { PromiseErrorOr } from './types/PromiseErrorOr';
export declare type ServiceFunctionType = 'create' | 'update' | 'other';
export default function callRemoteService(microserviceName: string, serviceFunctionName: string, serviceFunctionType: ServiceFunctionType, serviceFunctionArgument: any, microserviceNamespace: string, accessTokenStorageEncryptionKey: string, options?: HttpRequestOptions): PromiseErrorOr<any>;
export default function callRemoteService(microserviceName: string, serviceFunctionName: string, serviceFunctionType: ServiceFunctionType, serviceFunctionArgument: any, microserviceNamespace: string, accessTokenStorageEncryptionKey: string | undefined, options?: HttpRequestOptions): PromiseErrorOr<any>;

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

return __awaiter(this, void 0, void 0, function* () {
if (!accessTokenStorageEncryptionKey) {
return [
null,
{
message: "Access token storage encryption key is not set. Use 'Service.setAccessTokenStorageEncryptionKey()' function to set the encryption key for services before using them",
},
];
}
try {

@@ -19,0 +27,0 @@ yield validateServiceFunctionArgumentOrThrow(serviceFunctionArgument, serviceFunctionType);

{
"name": "backk-frontend-utils",
"version": "1.0.19",
"version": "1.0.21",
"description": "Web frontend utils for Backk microservices",

@@ -5,0 +5,0 @@ "author": {

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