lightrail-client
Advanced tools
Comparing version 4.1.4-beta to 4.1.4
import { LightrailResponse } from "../LightrailResponse"; | ||
import { Value } from "../../model"; | ||
export interface DetachContactFromValueParams { | ||
valueId?: string; | ||
code?: string; | ||
valueId: string; | ||
} | ||
export interface DetachContactFromValueResponse extends LightrailResponse<Value> { | ||
} |
@@ -140,3 +140,3 @@ "use strict"; | ||
const resp = yield lightrail.request("GET", `transactions/${encodeURIComponent(transactionId)}`); | ||
if (requestUtils_1.isSuccessStatus(resp.status)) { | ||
if (requestUtils_1.isSuccessStatus(resp.status) || resp.status === 404) { | ||
return requestUtils_1.formatResponse(resp); | ||
@@ -152,3 +152,3 @@ } | ||
const resp = yield lightrail.request("GET", `transactions/${encodeURIComponent(transactionId)}/chain`); | ||
if (requestUtils_1.isSuccessStatus(resp.status)) { | ||
if (requestUtils_1.isSuccessStatus(resp.status) || resp.status === 404) { | ||
return requestUtils_1.formatResponse(resp); | ||
@@ -155,0 +155,0 @@ } |
{ | ||
"name": "lightrail-client", | ||
"version": "4.1.4-beta", | ||
"version": "4.1.4", | ||
"description": "A Javascript and Typescript client for Lightrail", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
82622
0
1955