File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- # @zondax/ledger-dfinity
1
+ # @zondax/ledger-icp
2
2
3
3
[ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
4
- [ ![ npm version] ( https://badge.fury.io/js/%40zondax%2Fledger-dfinity .svg )] ( https://badge.fury.io/js/%40zondax%2Fledger-dfinity )
4
+ [ ![ npm version] ( https://badge.fury.io/js/%40zondax%2Fledger-icp .svg )] ( https://badge.fury.io/js/%40zondax%2Fledger-icp )
5
5
6
- This package provides a basic client library to communicate with the Dfinity App running in a Ledger Nano S/X
6
+ This package provides a basic client library to communicate with the InternetComputer App running in a Ledger Nano S/X
7
7
8
8
We recommend using the npmjs package in order to receive updates/fixes.
9
9
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " @zondax/ledger-dfinity " ,
2
+ "name" : " @zondax/ledger-icp " ,
3
3
"author" : " Zondax GmbH" ,
4
4
"license" : " Apache-2.0" ,
5
5
"version" : " 0.1.0" ,
6
- "description" : " Node API for Dfinity App (Ledger Nano S/X)" ,
6
+ "description" : " Node API for the Internet Computer App (Ledger Nano S/X)" ,
7
7
"main" : " ./dist/index.js" ,
8
8
"typings" : " ./dist/index.d.ts" ,
9
9
"types" : " ./dist/index.d.ts" ,
10
- "homepage" : " https://github.com/zondax/ledger-dfinity " ,
10
+ "homepage" : " https://github.com/zondax/ledger-icp " ,
11
11
"repository" : {
12
12
"type" : " git" ,
13
- "url" : " git+https://github.com/zondax/ledger-dfinity .git"
13
+ "url" : " git+https://github.com/zondax/ledger-icp .git"
14
14
},
15
15
"keywords" : [
16
16
" Zondax" ,
17
17
" Ledger" ,
18
18
" Javascript" ,
19
- " Dfinity "
19
+ " Icp "
20
20
],
21
21
"scripts" : {
22
22
"build" : " tsc"
23
23
},
24
24
"bugs" : {
25
- "url" : " https://github.com/zondax/ledger-dfinity /issues"
25
+ "url" : " https://github.com/zondax/ledger-icp /issues"
26
26
},
27
27
"dependencies" : {
28
28
"@ledgerhq/hw-transport" : " ^5.39.1"
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function processGetAddrResponse(response: Buffer) {
66
66
} ;
67
67
}
68
68
69
- export default class DfinityApp {
69
+ export default class InternetComputerApp {
70
70
private transport : Transport ;
71
71
72
72
constructor ( transport : Transport ) {
@@ -97,7 +97,7 @@ export default class DfinityApp {
97
97
}
98
98
99
99
async signGetChunks ( path : string , message : Buffer ) {
100
- return DfinityApp . prepareChunks ( serializePath ( path ) , message ) ;
100
+ return InternetComputerApp . prepareChunks ( serializePath ( path ) , message ) ;
101
101
}
102
102
103
103
async getVersion ( ) : Promise < ResponseVersion > {
You can’t perform that action at this time.
0 commit comments