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

to
1.0.2

3

lib/callRemoteService.js

@@ -0,1 +1,2 @@

import { Base64 } from 'js-base64';
import getJwtFromSessionStorage from './getJwtFromSessionStorage';

@@ -8,3 +9,3 @@ export default async function callRemoteService(microserviceName, serviceFunctionName, serviceFunctionArgument, microserviceNamespace, jwtStorageEncryptionKey, options) {

'Content-Type': 'application/json',
Authorization: 'Bearer ' + getJwtFromSessionStorage(jwtStorageEncryptionKey) ?? '',
Authorization: 'Bearer ' + Base64.encode(getJwtFromSessionStorage(jwtStorageEncryptionKey) ?? ''),
},

@@ -11,0 +12,0 @@ });

{
"name": "backk-frontend-utils",
"version": "1.0.1",
"version": "1.0.2",
"description": "Web frontend utils for Backk microservices",

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

"dependencies": {
"crypto-js": "4.1.1"
"crypto-js": "4.1.1",
"js-base64": "3.7.2"
},

@@ -46,0 +47,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet