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

remotestorage-module-shares

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remotestorage-module-shares - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

7

dist/build.js

@@ -85,2 +85,7 @@ (function webpackUniversalModuleDefinition(root, factory) {

* @public
*
* @example
*
* remoteStorage.shares.storeFile(mimeType, filename, content)
* .then((url) => { console.log(`successfully stored file at ${url}`)
*/

@@ -105,2 +110,4 @@ storeFile: function storeFile(mimeType, name, data) {

*
* @returns {Promise}
*
* @alias module:shares

@@ -107,0 +114,0 @@ * @public

@@ -24,2 +24,7 @@ /**

* @public
*
* @example
*
* remoteStorage.shares.storeFile(mimeType, filename, content)
* .then((url) => { console.log(`successfully stored file at ${url}`)
*/

@@ -45,2 +50,4 @@ storeFile: function(mimeType, name, data) {

*
* @returns {Promise}
*
* @alias module:shares

@@ -47,0 +54,0 @@ * @public

2

package.json
{
"name": "remotestorage-module-shares",
"version": "2.1.0",
"version": "2.1.1",
"description": "remoteStorage.js module for sharing images and other files",

@@ -5,0 +5,0 @@ "main": "./dist/build.js",

@@ -14,3 +14,3 @@ [![npm](https://img.shields.io/npm/v/remotestorage-module-shares.svg)](https://www.npmjs.com/package/remotestorage-module-shares)

* [storeFile(mimeType, name, data)](#exp_module_shares--storeFile) ⇒ <code>Promise</code> ⏏
* [remove(name)](#exp_module_shares--remove) ⏏
* [remove(name)](#exp_module_shares--remove) ⇒ <code>Promise</code> ⏏
* [list()](#exp_module_shares--list) ⇒ <code>Promise</code> ⏏

@@ -35,5 +35,10 @@ * [getFileURL(name)](#exp_module_shares--getFileURL) ⇒ <code>string</code> ⏏

**Example**
```js
remoteStorage.shares.storeFile(mimeType, filename, content)
.then((url) => { console.log(`successfully stored file at ${url}`)
```
<a name="exp_module_shares--remove"></a>
### remove(name) ⏏
### remove(name) ⇒ <code>Promise</code> ⏏
Remove a file

@@ -40,0 +45,0 @@

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