# @binance/test

> A sentry sdk for binance mini program

Latest version **1.0.2** (published 2022-10-21) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @binance/test
pnpm add @binance/test
yarn add @binance/test
bun add @binance/test
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-10-21 |
| First published | 2022-10-21 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 62.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | binance-bot |

## Links

- npm: https://www.npmjs.com/package/@binance/test
- npm.io page: https://npm.io/package/@binance/test

## Dependencies (5)

- [tslib](https://npm.io/package/tslib.md) ^2.3.1
- [@sentry/core](https://npm.io/package/@sentry/core.md) 7.7.0
- [@sentry/types](https://npm.io/package/@sentry/types.md) 7.7.0
- [@sentry/utils](https://npm.io/package/@sentry/utils.md) 7.7.0
- [@sentry/browser](https://npm.io/package/@sentry/browser.md) 7.7.0

## Recent versions

- 1.0.2 (latest) — 2022-10-21

## README

`@binance/mp-sentry` is a Sentry SDK for the Binance Mini Program. Except that, it is the same as `@sentry/browser`, which means you can directly run it in the browser.

# Install

```
$ yarn add @binance/mp-sentry
```

# Usage

All the API is the same as `@sentry/browser`, so you can just use it as usual. For those who never used Sentry before, you can refer to the `docs/sentry-usage-guide.md` for more details. Besides that, you need to add the Sentry domain to the white list before using this SDK.

![](./images/service-domain.jpg)

# Directory Structure

All source codes are placed in the `src` folder, here are some details

- integrations: All Mini Program related integrations
- transports: Transport for Mini Program, which is used to send the sentry data.
- `runtime.ts`: Mini program runtime API
- `SDK.ts`: The real entry file. It will detect the environment to use the right config for Sentry to initial.
- `sentry.ts`: All needed sentry APIs are exported in this file. Which can be more easily maintained and upgraded.

---
_Source: https://npm.io/package/@binance/test · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
