# @bifrost-finance/type-definitions

> Polkadot.js type definations for Bifrost Network

Latest version **1.11.9** (published 2024-03-07) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @bifrost-finance/type-definitions
pnpm add @bifrost-finance/type-definitions
yarn add @bifrost-finance/type-definitions
bun add @bifrost-finance/type-definitions
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.11.9 |
| Published | 2024-03-07 |
| First published | 2021-07-16 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 54.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Edwin Wang |
| Maintainers | ark930, herryheyi, janpo, sorvik, chencheng_bifrost |

## Links

- npm: https://www.npmjs.com/package/@bifrost-finance/type-definitions
- Repository: https://github.com/bifrost-finance/bifrost.js
- Homepage: https://github.com/bifrost-finance/bifrost.js/tree/master/packages/api#readme
- Issues: https://github.com/bifrost-finance/bifrost.js/issues
- npm.io page: https://npm.io/package/@bifrost-finance/type-definitions

## Recent versions

- 1.11.9 (latest) — 2024-03-07
- 1.11.8 — 2024-03-07
- 1.11.7 — 2024-03-07
- 1.11.4 — 2024-03-07
- 1.11.3 — 2023-11-02
- 1.11.2 — 2023-11-02
- 1.10.6 — 2023-11-02
- 1.10.4 — 2023-11-02
- 1.10.3 — 2023-11-02
- 1.10.2 — 2023-11-02
- 1.10.1 — 2023-11-02
- 1.10.0 — 2023-11-02
- 1.8.4 — 2023-05-30
- 1.8.3 — 2023-05-30
- 1.8.2 — 2023-05-30
- … 87 more at https://npm.io/package/@bifrost-finance/type-definitions/versions

## README

# 如何更新并上传@bifrost-finance 包到 npm.js 网站上供下载

## 准备工作

如果 bifrost 项目里定义的类型有更新，则需要分别更新前端的类型定义文件和后端的 metadata 文件。

### 必要时，需升级 polkadot.js 版本，与后端版本同步。

## 包的上传操作

1. 在项目根目录下，输入命令行: yarn update-metadata 更新metadata。
2. 在项目根目录下，输入命令行：lerna version --skip-git ，创建新的版本编码。
3. 在项目根目录下，输入命令行：yarn build 。这个命令，把整个工程的 ts 文件生成可执行的 js 文件，放在各个包的 build 文件夹下。
4. 分别进入到 api、type-definitions、types 文件夹下的 build 文件夹内，输入命令 npm publish，输入前面 lerna 生成的版本号，并填入 npmjs 的密码，即可把新版本发布上去，供他人下载和使用。如：用 cd bifrost.js/packages/types/build，进入 types 下面的 build 文件夹，然后 yarn publish 进行发布。

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