Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 4 changed files Side-by-side Diff

... ... @@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4 4  
5 5 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6 6  
  7 +#### [v0.1.10](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/compare/v0.1.9...v0.1.10)
  8 +
  9 +- Fix matchedApikey returning object [`3448754`](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/commit/34487543f9395ea3b57b0a979b970a0ee5204e24)
  10 +
7 11 #### [v0.1.9](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/compare/v0.1.8...v0.1.9)
8 12  
  13 +> 7 February 2022
  14 +
9 15 - Rename clientName to apikeyName [`5c5cf22`](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/commit/5c5cf22955ee66f1e60f9421f1b5355ae1b0cbbd)
10 16  
11 17 #### [v0.1.8](https://gitlab.kodesumber.com/komodo/komodo-sdk-push-trx/compare/v0.1.7...v0.1.8)
lib/is-valid-apikey.js
... ... @@ -3,7 +3,7 @@ module.exports = (apikey, apikeys) => {
3 3 if (typeof apikey !== 'string') return false;
4 4 if (!apikeys || !Array.isArray(apikeys)) return false;
5 5  
6   - const matchedApikey = !!apikeys.find((item) => !item.disabled
  6 + const matchedApikey = apikeys.find((item) => !item.disabled
7 7 && (
8 8 (typeof item === 'string' && item === apikey)
9 9 || (item.value === apikey)
1 1 {
2 2 "name": "komodo-sdk-push-trx",
3   - "version": "0.1.9",
  3 + "version": "0.1.10",
4 4 "lockfileVersion": 2,
5 5 "requires": true,
6 6 "packages": {
7 7 "": {
8 8 "name": "komodo-sdk-push-trx",
9   - "version": "0.1.9",
  9 + "version": "0.1.10",
10 10 "license": "ISC",
11 11 "dependencies": {
12 12 "express": "^4.17.2",
1 1 {
2 2 "name": "komodo-sdk-push-trx",
3   - "version": "0.1.9",
  3 + "version": "0.1.10",
4 4 "description": "Komodo SDK for PUSH transaction",
5 5 "main": "index.js",
6 6 "scripts": {