Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telefonica/object-storage

Package Overview
Dependencies
Maintainers
18
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telefonica/object-storage - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

LICENSE

2

lib/index.js
"use strict";
var storage_1 = require('./storage');
var storage_1 = require("./storage");
exports.ObjectStorage = storage_1.ObjectStorage;
//# sourceMappingURL=index.js.map
"use strict";
const logger = require('logops');
const uuid = require('node-uuid');
const logger = require("logops");
const uuid = require("node-uuid");
const AWS = require('aws-sdk');

@@ -33,3 +33,3 @@ class ObjectStorage {

Key: params.Key,
Expires: 120
Expires: 2 * 24 * 60 * 60
};

@@ -36,0 +36,0 @@ let url = this.s3.getSignedUrl('getObject', urlParams);

{
"name": "@telefonica/object-storage",
"version": "2.1.0",
"description": "Object storage publishes objects in a safe and accessible place",
"license": "UNLICENSED",
"repository": "https://github.com/Telefonica/yot-bot",
"author": "TDAF",
"version": "2.2.0",
"description": "Upload and keep objects in a S3 storage",
"license": "Apache-2.0",
"repository": "https://github.com/Telefonica/object-storage",
"author": "TDAF <tdaf@tid.es>",
"keywords": [

@@ -12,6 +12,2 @@ "s3",

],
"files": [
"lib",
"bin"
],
"main": "lib/index.js",

@@ -18,0 +14,0 @@ "scripts": {

# object-storage
This is a tool to upload and keep objects in a safe place.
This is a tool to upload and keep objects in a S3 storage.
## Usage examples
It has been tested with Telefónica Cloud Storage, that is S3 compatible.
```javascript

@@ -11,1 +13,23 @@ let storage = new ObjectStorage();

```
Set the following env variables:
- S3_ENDPOINT
- S3_BUCKET
- S3_ACCESS_KEY_ID
- S3_SECRET_ACCESS_KEY
## LICENSE
Copyright 2016 [Telefónica I+D](http://www.tid.es)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

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