@appvitalinc/file-upload-widget-api-js
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,3 +10,3 @@ "use strict"; | ||
function ApvFilePicker(apikey) { | ||
this.url = "https://cdn.appvital.com/app/fpicker/1.0.0/fpicker-client.min.js"; | ||
this.url = "https://cdn-apps.appvital.com/app/fpicker/1.0.0/fpicker-client.min.js"; | ||
if (!this.scriptExists(this.url)) { | ||
@@ -13,0 +13,0 @@ (function (w, d, s, o, f, apikey, js, fjs) { |
{ | ||
"name": "@appvitalinc/file-upload-widget-api-js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Javascript wrapper library to quickly integrate Appvital Filepicker in your application with just few lines of code.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -5,2 +5,3 @@ <p align="center"><img src="https://appvital.com/images/logo-appvital-dark-top.png" align="center" height="100"/></p> | ||
</h1> | ||
<p align="center"> | ||
@@ -10,3 +11,3 @@ Javascript wrapper library to quickly integrate Appvital File picker & cloud uploader in your application with just few lines of code. | ||
<p align="center"> | ||
<img src="https://cdn.appvital.com/appsite/static/appvital-file-picker-cloud-uploader.gif" align="center" height="340"/> | ||
<img src="https://cdn-apps.appvital.com/appsite/static/appvital-file-picker-cloud-uploader.gif" align="center" height="340"/> | ||
</p> | ||
@@ -44,3 +45,3 @@ | ||
```javascript | ||
<script src="https://cdn.appvital.com/app/fpicker/{version}/fpicker-client.min.js" crossorigin="anonymous"></script> | ||
<script src="https://cdn-apps.appvital.com/app/fpicker/{version}/fpicker-client.min.js" crossorigin="anonymous"></script> | ||
<script> | ||
@@ -47,0 +48,0 @@ const picker = new ApvFilePicker('apikey'); |
declare const afpkr: any; | ||
export class ApvFilePicker { | ||
url = `https://cdn.appvital.com/app/fpicker/1.0.0/fpicker-client.min.js`; | ||
url = `https://cdn-apps.appvital.com/app/fpicker/1.0.0/fpicker-client.min.js`; | ||
/** | ||
@@ -6,0 +6,0 @@ * Initialize the filepicker |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7023
57