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

@lokalise/file-storage-service-sdk

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/file-storage-service-sdk

SDK for file-storage-service

  • 7.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
939
increased by46.49%
Maintainers
0
Weekly downloads
 
Created
Source

file-storage-service-sdk

Sdk for file-storage-service - FSS.

Usage

Sdk exposes FileStorageClient which can be injected via DI or created directly.

Authorization

Authorization will require a valid jwtToken.

For FileStorageClient token should contain 2 claims - ownerId and tenant.

Tenant is a string which represents who is calling the api, supported values are expert and autopilot.

Error handling

All function returning monad Either<L, R> where L - Left is a potential error and R - Right is a potential result, one of these will always present in response. Consumer of the api is responsible to handle result/error.

Error reporting

You can pass an {errorReporter: ErrorReporter} field inside the config argument. The error reporter will then be called in all cases when an error response is returned for a request to file storage service API.

Keywords

FAQs

Package last updated on 07 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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