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

@edsdk/flmngr

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edsdk/flmngr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

dist/flmngr.d.ts

@@ -14,2 +14,3 @@ export interface IFile {

onOk: (files: IFile[]) => void;
useImageEditor?: boolean;
onlyImages?: boolean;

@@ -25,2 +26,2 @@ isMultiple?: boolean;

}): void;
export declare function preload(onLoaded?: () => void): void;
export declare function preload(useImageEditor: boolean, onLoaded?: () => void): void;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const imgpen_1 = require("@edsdk/imgpen");
function openFlmngr(conf) {
preload(() => {
if (!conf.useImageEditor)
conf.useImageEditor = false;
preload(conf.useImageEditor, () => {
window.Flmngr.openFlmngr(conf);

@@ -9,6 +12,8 @@ });

exports.openFlmngr = openFlmngr;
function preload(onLoaded) {
function preload(useImageEditor, onLoaded) {
includeJS('//cdn.flmngr.com/flmngr.js', () => {
if (onLoaded)
onLoaded();
if (useImageEditor)
imgpen_1.preload(onLoaded);
else
onLoaded && onLoaded();
});

@@ -15,0 +20,0 @@ }

{
"name": "@edsdk/flmngr",
"version": "1.0.0",
"version": "1.0.1",
"description": "File manager SDK for your application or website",

@@ -25,3 +25,6 @@ "main": "./dist/flmngr.js",

"imgpen"
]
],
"dependencies": {
"@edsdk/imgpen": "^1.0.7"
}
}
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