Skip to content

Commit ca64e22

Browse files
authored
Merge pull request #83 from Zondax/js-packge-rename
Rebrand js package
2 parents 18e63a5 + 10794b9 commit ca64e22

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

js/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# @zondax/ledger-dfinity
1+
# @zondax/ledger-icp
22

33
[![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)
55

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
77

88
We recommend using the npmjs package in order to receive updates/fixes.
99

js/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"name": "@zondax/ledger-dfinity",
2+
"name": "@zondax/ledger-icp",
33
"author": "Zondax GmbH",
44
"license": "Apache-2.0",
55
"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)",
77
"main": "./dist/index.js",
88
"typings": "./dist/index.d.ts",
99
"types": "./dist/index.d.ts",
10-
"homepage": "https://github.com/zondax/ledger-dfinity",
10+
"homepage": "https://github.com/zondax/ledger-icp",
1111
"repository": {
1212
"type": "git",
13-
"url": "git+https://github.com/zondax/ledger-dfinity.git"
13+
"url": "git+https://github.com/zondax/ledger-icp.git"
1414
},
1515
"keywords": [
1616
"Zondax",
1717
"Ledger",
1818
"Javascript",
19-
"Dfinity"
19+
"Icp"
2020
],
2121
"scripts": {
2222
"build": "tsc"
2323
},
2424
"bugs": {
25-
"url": "https://github.com/zondax/ledger-dfinity/issues"
25+
"url": "https://github.com/zondax/ledger-icp/issues"
2626
},
2727
"dependencies": {
2828
"@ledgerhq/hw-transport": "^5.39.1"

js/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function processGetAddrResponse(response: Buffer) {
6666
};
6767
}
6868

69-
export default class DfinityApp {
69+
export default class InternetComputerApp {
7070
private transport: Transport;
7171

7272
constructor(transport: Transport) {
@@ -97,7 +97,7 @@ export default class DfinityApp {
9797
}
9898

9999
async signGetChunks(path: string, message: Buffer) {
100-
return DfinityApp.prepareChunks(serializePath(path), message);
100+
return InternetComputerApp.prepareChunks(serializePath(path), message);
101101
}
102102

103103
async getVersion(): Promise<ResponseVersion> {

0 commit comments

Comments
 (0)