Skip to content

Commit

Permalink
feat(deno): Deprecate Deno SDK as published on deno.land (#15121)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Jan 22, 2025
1 parent b0dc860 commit 79c2c2a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

## Links

- [SDK on Deno registry](https://deno.land/x/sentry)
- [Official SDK Docs](https://docs.sentry.io/quickstart/)
- [TypeDoc](http://getsentry.github.io/sentry-javascript/)

Expand All @@ -21,14 +20,13 @@ The Sentry Deno SDK is in beta. Please help us improve the SDK by

## Usage

> DEPRECATION NOTICE: The Sentry Deno SDK as published on the Deno registry (deno.land) is deprecated.
> Import the package from the npm registry instead.
To use this SDK, call `Sentry.init(options)` as early as possible in the main entry module. This will initialize the SDK
and hook into the environment. Note that you can turn off almost all side effects using the respective options.

```javascript
// Import from the Deno registry
import * as Sentry from 'https://deno.land/x/sentry/index.mjs';

// or import from npm registry
import * as Sentry from 'npm:@sentry/deno';

Sentry.init({
Expand Down

0 comments on commit 79c2c2a

Please sign in to comment.