Skip to content

Commit 143ff19

Browse files
authored
Merge pull request #29 from KeetaNetwork/feature/rename-to-keetanetwork
Rename to GitHub organization to KeetaNetwork
2 parents 544b554 + 91459b3 commit 143ff19

File tree

6 files changed

+21
-18
lines changed

6 files changed

+21
-18
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ jobs:
402402
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
403403
run: |
404404
echo '//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' >> .npmrc
405+
npm config set "@keetanetwork:registry=https://npm.pkg.github.com"
405406
npm config set "@keetapay:registry=https://npm.pkg.github.com"
406407
npm config set -- '//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}'
407408
- name: Publish

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
@keetanetwork:registry=https://npm.pkg.github.com
12
@keetapay:registry=https://npm.pkg.github.com
2-
always-auth=true
3+
always-auth=true

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# `@keetapay/asn1-napi-rs`
1+
# `@keetanetwork/asn1-napi-rs`
22

3-
[ci_status]: https://github.com/KeetaPay/asn1-napi-rs/actions/workflows/CI.yml/badge.svg
4-
[ci]: https://github.com/KeetaPay/asn1-napi-rs/actions/workflows/CI.yml
5-
[lint_status]: https://github.com/KeetaPay/asn1-napi-rs/actions/workflows/lint.yml/badge.svg
6-
[lint]: https://github.com/KeetaPay/asn1-napi-rs/actions/workflows/lint.yml
3+
[ci_status]: https://github.com/KeetaNetwork/asn1-napi-rs/actions/workflows/CI.yml/badge.svg
4+
[ci]: https://github.com/KeetaNetwork/asn1-napi-rs/actions/workflows/CI.yml
5+
[lint_status]: https://github.com/KeetaNetwork/asn1-napi-rs/actions/workflows/lint.yml/badge.svg
6+
[lint]: https://github.com/KeetaNetwork/asn1-napi-rs/actions/workflows/lint.yml
77

88
[![ci_status]][ci] [![lint_status]][lint]
99

1010
# About
1111

12-
This project utilizes [napi-rs](https://github.com/napi-rs/napi-rs) to build native Rust functionality that can be consumed in NodeJS. This library specifically addresses ASN.1 encoding and decoding for the [@keetapay/node](https://github.com/KeetaPay/node) project. It contains all critical functionality for encoding/decoding ASN.1 BER for all KeetaNet node functionality.
12+
This project utilizes [napi-rs](https://github.com/napi-rs/napi-rs) to build native Rust functionality that can be consumed in NodeJS. This library specifically addresses ASN.1 encoding and decoding for the [@keetanetwork/node](https://github.com/KeetaNetwork/node) project. It contains all critical functionality for encoding/decoding ASN.1 BER for all KeetaNet node functionality.
1313

1414
## Install this package
1515

1616
```bash
17-
npm install @keetapay/asn1-napi-rs
17+
npm install @keetanetwork/asn1-napi-rs
1818
```
1919

2020
Note: You will need a [GitHub personal access token](https://github.com/settings/tokens) added to your `~/.npmrc` file like so:

package-lock.json

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

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "@keetapay/asn1-napi-rs",
3-
"version": "1.1.6",
4-
"homepage": "https://github.com/KeetaPay/asn1-napi-rs#readme",
2+
"name": "@keetanetwork/asn1-napi-rs",
3+
"version": "1.1.7",
4+
"homepage": "https://github.com/KeetaNetwork/asn1-napi-rs#readme",
55
"author": "Tanveer Wahid <twahid@keeta.com>",
6-
"description": "KeetaPay ASN.1 TypeScript-Rust NAPI library",
6+
"description": "KeetaNetwork ASN.1 TypeScript-Rust NAPI library",
77
"main": "index.js",
88
"types": "index.d.ts",
99
"repository": {
1010
"type": "git",
11-
"url": "git+ssh://git@github.com/KeetaPay/asn1-napi-rs.git"
11+
"url": "git+ssh://git@github.com/KeetaNetwork/asn1-napi-rs.git"
1212
},
1313
"license": "Proprietary",
1414
"files": [
@@ -88,6 +88,6 @@
8888
}
8989
},
9090
"bugs": {
91-
"url": "https://github.com/KeetaPay/asn1-napi-rs/issues"
91+
"url": "https://github.com/KeetaNetwork/asn1-napi-rs/issues"
9292
}
9393
}

utils/create-ci-workflow

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ output.push(
820820
' NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}',
821821
...emitMultiLineScript(4, 'run', [
822822
'echo \'//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}\' >> .npmrc',
823+
'npm config set "@keetanetwork:registry=https://npm.pkg.github.com"',
823824
'npm config set "@keetapay:registry=https://npm.pkg.github.com"',
824825
'npm config set -- \'//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}\'',
825826
]),

0 commit comments

Comments
 (0)