How to use the @sentry/minimal.addBreadcrumb function in @sentry/minimal

To help you get started, we’ve selected a few @sentry/minimal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github filestack / filestack-js / src / lib / client.ts View on Github external
import { transform, TransformOptions } from './api/transform';
import { storeURL } from './api/store';
import { resolveHost, getVersion } from './utils';
import { Upload, InputFile, UploadOptions, StoreUploadOptions } from './api/upload';
import { preview, PreviewOptions } from './api/preview';
import { CloudClient } from './api/cloud';
import { StoreParams } from './filelink';

import {
  picker,
  PickerInstance,
  PickerOptions,
} from './picker';

/* istanbul ignore next */
Sentry.addBreadcrumb({ category: 'sdk', message: 'filestack-js-sdk scope' });

export interface Session {
  apikey: string;
  urls: Hosts;
  cname?: string;
  policy?: string;
  signature?: string;
}

export interface Security {
  policy: string;
  signature: string;
}

export interface ClientOptions {
  [option: string]: any;

@sentry/minimal

Sentry minimal library that can be used in other packages

MIT
Latest version published 3 years ago

Package Health Score

80 / 100
Full package analysis

Similar packages