residue
Advanced tools
Comparing version 3.0.6 to 3.0.7
{ | ||
"name": "residue", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "Library to interact with residue server seamlessly.", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/zuhd-org/residue-node.git" | ||
"url": "git+https://github.com/amrayn/residue-node.git" | ||
}, | ||
@@ -29,8 +29,8 @@ "files": [ | ||
], | ||
"author": "Zuhd Web Services <opensource@zuhd.org>", | ||
"author": "Amrayn Web Services <opensource@amrayn.com>", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/zuhd-org/residue-node/issues" | ||
"url": "https://github.com/amrayn/residue-node/issues" | ||
}, | ||
"homepage": "https://github.com/zuhd-org/residue-node#readme", | ||
"homepage": "https://github.com/amrayn/residue-node#readme", | ||
"dependencies": { | ||
@@ -37,0 +37,0 @@ "node-rsa": "^0.4.2", |
﷽ | ||
# Residue Node.js Client | ||
<p align="center"> | ||
Residue Node.js Client | ||
<p align="center">Secure Node.js library to interact with residue server seamlessly.</p> | ||
</p> | ||
[![Build Status](https://img.shields.io/travis/zuhd-org/residue-node/master.svg)](https://travis-ci.org/zuhd-org/residue-node/branches) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/rp6ukh5apm5ryjxq?svg=true)](https://ci.appveyor.com/project/abumusamq/residue-node) | ||
[![Version](https://img.shields.io/npm/v/residue.svg)](https://www.npmjs.com/package/residue) | ||
[![GitHub license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/zuhd-org/residue-node/blob/master/LICENSE) | ||
<p align="center"> | ||
• • • | ||
</p> | ||
[![Donate](https://muflihun.github.io/donate.png?v2)](https://www.paypal.me/zuhd/25) | ||
<p align="center"> | ||
<a aria-label="Build Status" href="https://travis-ci.org/amrayn/residue-node/branches"> | ||
<img alt="" src="https://img.shields.io/travis/amrayn/residue-node/master.svg?style=for-the-badge&labelColor=000000"> | ||
</a> | ||
<a aria-label="NPM version" href="https://www.npmjs.com/package/residue"> | ||
<img alt="" src="https://img.shields.io/npm/v/residue.svg?style=for-the-badge&labelColor=000000"> | ||
</a> | ||
<a aria-label="License" href="https://github.com/amrayn/residue-node/blob/master/LICENSE"> | ||
<img alt="" src="https://img.shields.io/npm/l/residue?style=for-the-badge&labelColor=000000"> | ||
</a> | ||
<a aria-label="Donate via PayPal" href="https://amrayn.com/donate"> | ||
<img alt="" src="https://img.shields.io/static/v1?label=Donate&message=PayPal&color=purple&style=for-the-badge&labelColor=000000"> | ||
</a> | ||
</p> | ||
Secure Node.js library to interact with residue server seamlessly. | ||
<p align="center"> | ||
• • • | ||
</p> | ||
@@ -37,3 +54,3 @@ This module provides interface for connecting and interacting with residue server seamlessly, means, once you are connected this module takes care of expired tokens and clients and keep itself updated with latest tokens and ping server when needed to stay alive. | ||
Please refer to [`loadConfiguration`](https://muflihun.github.io/residue/docs/class_residue.html#a8292657c93a775b6cbf22c6d4f1166f4) in our C++ library's documentation for more details. | ||
Please refer to [`loadConfiguration`](https://amrayn.github.io/residue/docs/class_residue.html#a8292657c93a775b6cbf22c6d4f1166f4) in our C++ library's documentation for more details. | ||
@@ -96,3 +113,3 @@ #### `loadConfiguration(jsonFilename)` | ||
## Native Binding | ||
Residue Node.js also comes with native binding that uses [C++ client library](https://github.com/zuhd-org/residue-cpp) to manage connections and asyncronous requests. | ||
Residue Node.js also comes with native binding that uses [C++ client library](https://github.com/amrayn/residue-cpp) to manage connections and asyncronous requests. | ||
@@ -102,11 +119,11 @@ If you have installed [`residue-native`](https://www.npmjs.com/package/residue-native) package alongside `residue`, native binding will be used otherwise it will fallback to JS implementation. | ||
## Sample | ||
You can check out [sample client apps](https://github.com/zuhd-org/residue-node/blob/master/samples) for practical use of this package. | ||
You can check out [sample client apps](https://github.com/amrayn/residue-node/blob/master/samples) for practical use of this package. | ||
## License | ||
``` | ||
Copyright 2017-present Zuhd Web Services | ||
Copyright 2017-present Amrayn Web Services | ||
Copyright 2017-present @abumusamq | ||
https://github.com/zuhd-org/ | ||
https://zuhd.org | ||
https://github.com/amrayn/ | ||
https://amrayn.com | ||
https://muflihun.com/ | ||
@@ -113,0 +130,0 @@ |
// | ||
// Copyright 2017-present Zuhd Web Services | ||
// Copyright 2017-present Amrayn Web Services | ||
// | ||
@@ -10,5 +10,5 @@ // This module provides bridge to use C++ client library | ||
// https://muflihun.com | ||
// https://zuhd.org | ||
// https://github.com/zuhd-org/residue-node | ||
// https://github.com/zuhd-org/residue-node-native | ||
// https://amrayn.com | ||
// https://github.com/amrayn/residue-node | ||
// https://github.com/amrayn/residue-node-native | ||
// | ||
@@ -15,0 +15,0 @@ |
// | ||
// Official Node.js client library for Residue logging server | ||
// | ||
// Copyright 2017-present Zuhd Web Services | ||
// Copyright 2017-present Amrayn Web Services | ||
// | ||
@@ -15,4 +15,4 @@ // This module provides interface for connecting and interacting with | ||
// https://muflihun.com | ||
// https://zuhd.org | ||
// https://github.com/zuhd-org/residue-node | ||
// https://amrayn.com | ||
// https://github.com/amrayn/residue-node | ||
// | ||
@@ -457,3 +457,3 @@ | ||
Utils.log('Retrying to connect...'); | ||
connect(this._params.options); | ||
this.connect(this._params.options); | ||
} | ||
@@ -560,3 +560,3 @@ } | ||
passphrase: this._params.options.client_key_secret ? | ||
new Buffer(this._params.options.client_key_secret, 'hex').toString('utf-8') : null, | ||
new Buffer(this._params.options.client_key_secret, 'hex').toString('utf-8') : '', | ||
padding: crypto.constants.RSA_PKCS1_PADDING, | ||
@@ -563,0 +563,0 @@ }, |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34806
140