-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #574 from nervosnetwork/rc/v0.101.2
- Loading branch information
Showing
19 changed files
with
218 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ package-lock.json | |
|
||
# coverage | ||
coverage | ||
|
||
*/**/umd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
], | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"version": "0.101.0" | ||
"version": "0.102.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@nervosnetwork/ckb-sdk-core", | ||
"version": "0.101.0", | ||
"version": "0.102.1", | ||
"description": "JavaScript SDK for Nervos Network CKB Project", | ||
"author": "Nervos <[email protected]>", | ||
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme", | ||
|
@@ -9,10 +9,12 @@ | |
"typings": "lib/index.d.ts", | ||
"directories": { | ||
"lib": "lib", | ||
"umd": "umd", | ||
"test": "__tests__" | ||
}, | ||
"files": [ | ||
"lib", | ||
"umd", | ||
"types" | ||
], | ||
"publishConfig": { | ||
|
@@ -31,10 +33,10 @@ | |
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues" | ||
}, | ||
"dependencies": { | ||
"@nervosnetwork/ckb-sdk-rpc": "0.101.0", | ||
"@nervosnetwork/ckb-sdk-utils": "0.101.0", | ||
"@nervosnetwork/ckb-types": "0.101.0", | ||
"@nervosnetwork/ckb-sdk-rpc": "0.102.1", | ||
"@nervosnetwork/ckb-sdk-utils": "0.102.1", | ||
"@nervosnetwork/ckb-types": "0.102.1", | ||
"tslib": "2.3.1" | ||
}, | ||
"gitHead": "19434575f22752458bfcce58f68faae483daa23d" | ||
"gitHead": "78ef8aea8ca68f25528c8eb3aed4506ea4a37241" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@nervosnetwork/ckb-sdk-rpc", | ||
"version": "0.101.0", | ||
"version": "0.102.1", | ||
"description": "RPC module of @nervosnetwork/ckb-sdk-core", | ||
"author": "Nervos <[email protected]>", | ||
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js/packages/ckb-rpc#readme", | ||
|
@@ -33,12 +33,12 @@ | |
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues" | ||
}, | ||
"dependencies": { | ||
"@nervosnetwork/ckb-sdk-utils": "0.101.0", | ||
"@nervosnetwork/ckb-sdk-utils": "0.102.1", | ||
"axios": "0.21.4", | ||
"tslib": "2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@nervosnetwork/ckb-types": "0.101.0" | ||
"@nervosnetwork/ckb-types": "0.102.1" | ||
}, | ||
"gitHead": "19434575f22752458bfcce58f68faae483daa23d" | ||
"gitHead": "78ef8aea8ca68f25528c8eb3aed4506ea4a37241" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@nervosnetwork/ckb-sdk-utils", | ||
"version": "0.101.0", | ||
"version": "0.102.1", | ||
"description": "Utils module of @nervosnetwork/ckb-sdk-core", | ||
"author": "Nervos <[email protected]>", | ||
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme", | ||
|
@@ -31,7 +31,7 @@ | |
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues" | ||
}, | ||
"dependencies": { | ||
"@nervosnetwork/ckb-types": "0.101.0", | ||
"@nervosnetwork/ckb-types": "0.102.1", | ||
"bech32": "2.0.0", | ||
"elliptic": "6.5.4", | ||
"jsbi": "3.1.3", | ||
|
@@ -41,5 +41,5 @@ | |
"@types/bitcoinjs-lib": "5.0.0", | ||
"@types/elliptic": "6.4.12" | ||
}, | ||
"gitHead": "19434575f22752458bfcce58f68faae483daa23d" | ||
"gitHead": "78ef8aea8ca68f25528c8eb3aed4506ea4a37241" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@nervosnetwork/ckb-types", | ||
"version": "0.101.0", | ||
"version": "0.102.1", | ||
"description": "Type module of @nervosnetwork/ckb-sdk-core", | ||
"author": "Nervos <[email protected]>", | ||
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme", | ||
|
@@ -20,8 +20,5 @@ | |
"bugs": { | ||
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues" | ||
}, | ||
"scripts": { | ||
"doc": "../../node_modules/.bin/typedoc --out docs ./index.d.ts --mode modules --includeDeclarations --excludeExternals --ignoreCompilerErrors --theme default --readme README.md" | ||
}, | ||
"gitHead": "19434575f22752458bfcce58f68faae483daa23d" | ||
"gitHead": "78ef8aea8ca68f25528c8eb3aed4506ea4a37241" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
"compilerOptions": { | ||
"outDir": "./lib" | ||
}, | ||
"include": ["./src"] | ||
"files": ["index.d.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
BASE_DIR="packages/ckb-sdk-core/umd/" | ||
|
||
npx rimraf $BASE_DIR | ||
mkdir $BASE_DIR | ||
echo "module.exports = require('@nervosnetwork/ckb-sdk-core').default;" > "${BASE_DIR}entry.js" | ||
npx browserify "${BASE_DIR}entry.js" -o "${BASE_DIR}ckb-sdk.js" -s CKBCore | ||
npx terser --compress --mangle -o "${BASE_DIR}ckb-sdk.umd.js" -- "${BASE_DIR}ckb-sdk.js" | ||
npx rimraf "${BASE_DIR}/entry.js" | ||
npx rimraf "${BASE_DIR}/ckb-sdk.js" | ||
|
Oops, something went wrong.