Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sentry version #566

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.32.1](https://github.com/filestack/filestack-js/compare/v3.32.0...v3.32.1) (2024-05-30)
* **miemtypes:** Fixed support for vsdx file using through accept params

## [3.32.0](https://github.com/filestack/filestack-js/compare/v3.31.0...v3.32.0) (2024-04-03)

### Updgrade
* **picker:** Upgraded picker to v1.27.1.
* **picker:** Fixed support for hpt file type ([558](https://github.com/filestack/filestack-js/pull/558/))

## [3.30.2](https://github.com/filestack/filestack-js/compare/v3.30.2...v3.31.0) (2024-03-10)

### Updgrade
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Upload abort throws an `FilestackError` with type `FilestackErrorType.ABORTED`

## Sentry Integration

If you're using [Sentry](https://sentry.io/welcome/) to monitor your application, Filestack will automatically report upload errors to Sentry, and tag them with helpful diagnostic information via [`@sentry/minimal`](https://github.com/getsentry/sentry-javascript/tree/master/packages/minimal).
If you're using [Sentry](https://sentry.io/welcome/) to monitor your application, Filestack will automatically report upload errors to Sentry, and tag them with helpful diagnostic information via [`@sentry/core`](https://github.com/getsentry/sentry-javascript/tree/master/packages/core).

## Versioning

Expand Down
139 changes: 39 additions & 100 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filestack-js",
"version": "3.31.0",
"version": "3.32.1",
"description": "Official JavaScript library for Filestack",
"main": "build/main/index.js",
"module": "build/module/index.js",
Expand Down Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@babel/runtime": "^7.8.4",
"@filestack/loader": "^1.0.9",
"@sentry/minimal": "^6.19.7",
"@sentry/core": "^8.9.1",
"abab": "^2.0.6",
"debug": "^4.3.4",
"eventemitter3": "^5.0.0",
Expand Down
12 changes: 10 additions & 2 deletions src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

import { EventEmitter } from 'eventemitter3';
import * as Sentry from '@sentry/minimal';
import * as Sentry from '@sentry/core';
import { config, Hosts } from '../config';
import { FilestackError } from './../filestack_error';
import { metadata, MetadataOptions, remove, retrieve, RetrieveOptions, download } from './api/file';
Expand Down Expand Up @@ -305,7 +305,15 @@ export class Client extends EventEmitter {
* @param headers Optional headers to send
* @param workflowIds Optional workflowIds to send
*/
storeURL(url: string, storeParams?: StoreParams, token?: any, security?: Security, uploadTags?: UploadTags, headers?: {[key: string]: string}, workflowIds?: string[]): Promise<Object> {
storeURL(
url: string,
storeParams?: StoreParams,
token?: any,
security?: Security,
uploadTags?: UploadTags,
headers?: { [key: string]: string },
workflowIds?: string[]
): Promise<Object> {
return storeURL({
session: this.session,
url,
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ export const ExtensionsMap = {
'application/vnd.uoml+xml': ['uoml'],
'application/vnd.vcx': ['vcx'],
'application/vnd.visio': ['vsd', 'vst', 'vss', 'vsw'],
'application/vnd.ms-visio.drawing.main+xml': ['vsdx'],
'application/vnd.visionary': ['vis'],
'application/vnd.vsf': ['vsf'],
'application/vnd.wap.wbxml': ['wbxml'],
Expand Down