# @zenlink-types/bifrost

> Bifrost JS types

Latest version **1.7.7** (published 2024-08-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @zenlink-types/bifrost
pnpm add @zenlink-types/bifrost
yarn add @zenlink-types/bifrost
bun add @zenlink-types/bifrost
```

## 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.7.7 |
| Published | 2024-08-15 |
| First published | 2022-12-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Edwin Wang |
| Maintainers | hayden0323 |
| Keywords | Polkadot, Bifrost, JsonRPC |

## Links

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

## Dependencies (7)

- [@polkadot/api](https://npm.io/package/@polkadot/api.md) ^12.3.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.17.0
- [@polkadot/types](https://npm.io/package/@polkadot/types.md) ^12.3.1
- [@polkadot/typegen](https://npm.io/package/@polkadot/typegen.md) ^12.3.1
- [@open-web3/api-mobx](https://npm.io/package/@open-web3/api-mobx.md) ^0.9.4-38
- [@open-web3/orml-types](https://npm.io/package/@open-web3/orml-types.md) ^0.9.4-38
- [@bifrost-finance/type-definitions](https://npm.io/package/@bifrost-finance/type-definitions.md) ^1.11.9

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.7.7 (latest) — 2024-08-15
- 1.7.6 — 2023-03-07
- 1.7.5 — 2023-02-20
- 1.7.4 — 2023-02-13
- 1.7.3 — 2022-12-13

## 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/@zenlink-types/bifrost · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
