Skip to content

Commit

Permalink
Merge pull request #54 from mondaycom/fix/dorsh/redundant_secure_stor…
Browse files Browse the repository at this point in the history
…age_authentication

Prevent multiple authentication to secure storage
  • Loading branch information
DorShakedMonday authored Mar 6, 2024
2 parents d0dbf34 + f2d235b commit 91db027
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/minimal-package.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default { name: '@mondaycom/apps-sdk', version: '3.0.1' };
export default { name: '@mondaycom/apps-sdk', version: '3.0.2' };
2 changes: 1 addition & 1 deletion lib/secure-storage/secure-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { TIME_IN_MILLISECOND } from 'utils/time-enum';
import { isObject } from 'utils/validations';

const logger = new Logger('SecureStorage', { mondayInternal: true });
const MIN_TOKEN_EXPIRE_TTL_HOURS = 0.5;
const MIN_TOKEN_EXPIRE_TTL_HOURS = 0.05;

const secureStorageFetch = async <T>(path: string, connectionData: ConnectionData, options: RequestOptions): Promise<T | undefined> => {
const { method = 'GET', body } = options;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mondaycom/apps-sdk",
"version": "3.0.1-beta.1",
"version": "3.0.2",
"description": "monday apps SDK for NodeJS",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand Down

0 comments on commit 91db027

Please sign in to comment.