Comparing version 1.8.2 to 1.8.3
# Versions | ||
## 1.8.2 | ||
## 1.8.3 | ||
@@ -5,0 +5,0 @@ - `decodeSocket`: Decode a connection socket from hex data |
@@ -14,3 +14,3 @@ { | ||
"devDependencies": { | ||
"@alexbosworth/tap": "15.0.11" | ||
"@alexbosworth/tap": "15.0.12" | ||
}, | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
}, | ||
"version": "1.8.2" | ||
"version": "1.8.3" | ||
} |
@@ -27,2 +27,7 @@ const {test} = require('@alexbosworth/tap'); | ||
{ | ||
args: {number: '17592186044416000010'}, | ||
description: 'SCID alias type id', | ||
expected: {channel: '16000000x0x10'}, | ||
}, | ||
{ | ||
args: {}, | ||
@@ -29,0 +34,0 @@ description: 'An id or number is required', |
@@ -27,2 +27,7 @@ const {test} = require('@alexbosworth/tap'); | ||
{ | ||
args: {channel: '16000000x0x10'}, | ||
description: 'SCID alias channel id', | ||
expected: {number: '17592186044416000010'}, | ||
}, | ||
{ | ||
args: {}, | ||
@@ -29,0 +34,0 @@ description: 'Channel or id is required', |
@@ -37,2 +37,7 @@ const {test} = require('@alexbosworth/tap'); | ||
{ | ||
args: {number: '17592186044416000010'}, | ||
description: 'SCID alias channel id', | ||
expected: {block_height: 16000000, block_index: 0, output_index: 10}, | ||
}, | ||
{ | ||
args: {}, | ||
@@ -39,0 +44,0 @@ description: 'Id or channel or number is required', |
@@ -25,2 +25,11 @@ const {test} = require('@alexbosworth/tap'); | ||
{ | ||
args: {block_height: 16000000, block_index: 0, output_index: 10}, | ||
description: 'SCID alias channel id', | ||
expected: { | ||
channel: '16000000x0x10', | ||
id: 'f42400000000000a', | ||
number: '17592186044416000010', | ||
}, | ||
}, | ||
{ | ||
args: {}, | ||
@@ -27,0 +36,0 @@ description: 'Expected block height', |
@@ -27,2 +27,7 @@ const {test} = require('@alexbosworth/tap'); | ||
{ | ||
args: {number: '17592186044416000010'}, | ||
description: 'SCID alias channel id', | ||
expected: {id: 'f42400000000000a'}, | ||
}, | ||
{ | ||
args: {}, | ||
@@ -29,0 +34,0 @@ description: 'Number is required', |
97314
41
3010