Skip to content

Commit 942c50a

Browse files
committed
Update Sentry version
1 parent dd6b663 commit 942c50a

File tree

3 files changed

+49
-102
lines changed

3 files changed

+49
-102
lines changed

package-lock.json

Lines changed: 38 additions & 99 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"dependencies": {
4444
"@babel/runtime": "^7.8.4",
4545
"@filestack/loader": "^1.0.9",
46-
"@sentry/minimal": "^6.19.7",
46+
"@sentry/core": "^8.9.1",
4747
"abab": "^2.0.6",
4848
"debug": "^4.3.4",
4949
"eventemitter3": "^5.0.0",

src/lib/client.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
import { EventEmitter } from 'eventemitter3';
19-
import * as Sentry from '@sentry/minimal';
19+
import * as Sentry from '@sentry/core';
2020
import { config, Hosts } from '../config';
2121
import { FilestackError } from './../filestack_error';
2222
import { metadata, MetadataOptions, remove, retrieve, RetrieveOptions, download } from './api/file';
@@ -305,7 +305,15 @@ export class Client extends EventEmitter {
305305
* @param headers Optional headers to send
306306
* @param workflowIds Optional workflowIds to send
307307
*/
308-
storeURL(url: string, storeParams?: StoreParams, token?: any, security?: Security, uploadTags?: UploadTags, headers?: {[key: string]: string}, workflowIds?: string[]): Promise<Object> {
308+
storeURL(
309+
url: string,
310+
storeParams?: StoreParams,
311+
token?: any,
312+
security?: Security,
313+
uploadTags?: UploadTags,
314+
headers?: { [key: string]: string },
315+
workflowIds?: string[]
316+
): Promise<Object> {
309317
return storeURL({
310318
session: this.session,
311319
url,

0 commit comments

Comments
 (0)