Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit d1e5fcf

Browse files
Add types for bnjs (#1194)
* Add types for bnjs * Vers bump * Fix for js test token * Update web3js lib * Bump to 0.1.0
1 parent 11df4aa commit d1e5fcf

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

ci/js-test-token.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ cd token/js
99
npm install
1010
npm run lint
1111
npm run flow
12-
npx tsc module.d.ts
12+
npx tsc --esModuleInterop module.d.ts
1313
npm run start-with-test-validator
1414
PROGRAM_VERSION=2.0.4 npm run start-with-test-validator

token/js/package-lock.json

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

token/js/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solana/spl-token",
3-
"version": "0.0.13",
3+
"version": "0.1.0",
44
"description": "SPL Token JavaScript API",
55
"license": "MIT",
66
"author": "Solana Maintainers <[email protected]>",
@@ -43,7 +43,7 @@
4343
"dependencies": {
4444
"@babel/runtime": "^7.10.5",
4545
"@solana/web3.js": "^0.91.0",
46-
"bn.js": "^5.0.0",
46+
"bn.js": "^5.1.0",
4747
"buffer-layout": "^1.2.0",
4848
"dotenv": "8.2.0",
4949
"mkdirp": "1.0.4"
@@ -58,6 +58,7 @@
5858
"@babel/preset-flow": "^7.10.4",
5959
"@rollup/plugin-babel": "^5.1.0",
6060
"@rollup/plugin-commonjs": "^17.0.0",
61+
"@types/bn.js": "^5.1.0",
6162
"babel-eslint": "^10.1.0",
6263
"eslint": "^7.4.0",
6364
"eslint-plugin-import": "^2.22.0",

0 commit comments

Comments
 (0)