Skip to content

docs: Update Deno SDK readme #9486

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

Merged
merged 2 commits into from
Nov 8, 2023
Merged
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
7 changes: 6 additions & 1 deletion packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

## 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 @@ -23,6 +24,10 @@ To use this SDK, call `Sentry.init(options)` as early as possible in the main en
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 All @@ -31,7 +36,7 @@ Sentry.init({
});
```

To set context information or send manual events, use the exported functions of `@sentry/deno`. Note that these
To set context information or send manual events, use the exported functions of the Deno SDK. Note that these
functions will not perform any action before you have called `init()`:

```javascript
Expand Down