@synonymdev/blocktank-client
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -88,14 +88,18 @@ "use strict"; | ||
switch (code) { | ||
case 450: | ||
return 'Channel closed'; | ||
case 0: | ||
return 'Awaiting payment'; | ||
case 100: | ||
return 'Paid'; | ||
case 200: | ||
return 'Queued for opening'; | ||
case 300: | ||
return 'Channel opening'; | ||
case 350: | ||
return 'Channel closing'; | ||
case 400: | ||
return 'Given up'; | ||
case 450: | ||
return 'Channel closed'; | ||
case 500: | ||
return 'Channel open'; | ||
case 300: | ||
return 'Channel opening'; | ||
case 100: | ||
return 'Paid'; | ||
} | ||
@@ -102,0 +106,0 @@ return "Unknown code: " + code; |
@@ -10,9 +10,3 @@ export declare type IService = { | ||
order_states: { | ||
CLOSED: number; | ||
CREATED: number; | ||
GIVE_UP: number; | ||
OPEN: number; | ||
OPENING: number; | ||
PAID: number; | ||
URI_SET: number; | ||
[key: string]: number; | ||
}; | ||
@@ -19,0 +13,0 @@ }; |
{ | ||
"name": "@synonymdev/blocktank-client", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "LSP client library", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
13184
294