Comparing version 1.2.0 to 1.2.1
/* | ||
* Orange ocast-sdk | ||
* version : 1.2.0 | ||
* version : 1.2.1 | ||
* Copyright (C) 2017 Orange | ||
@@ -1244,3 +1244,4 @@ */ | ||
if (typeof returnCode !== "undefined") { | ||
if (returnCode.hasOwnProperty("then")) { | ||
// tslint:disable-next-line:no-string-literal | ||
if (typeof returnCode["then"] === "function") { | ||
returnCode.then(result => { | ||
@@ -1247,0 +1248,0 @@ if (typeof result !== "undefined") { |
{ | ||
"name": "ocast-sdk", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=8.6.0" |
@@ -144,3 +144,4 @@ /* | ||
if (typeof (returnCode) !== "undefined") { | ||
if (returnCode.hasOwnProperty("then")) { | ||
// tslint:disable-next-line:no-string-literal | ||
if (typeof returnCode["then"] === "function") { | ||
(<Promise<EnumError>> returnCode).then((result: EnumError) => { | ||
@@ -147,0 +148,0 @@ if (typeof (result) !== "undefined") { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
634259
8449