yach.nim.util
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -0,0 +0,0 @@ // yach.util.data |
@@ -0,0 +0,0 @@ /** |
@@ -936,1 +936,28 @@ // elk | ||
} | ||
export function searchHistoryMsgs( | ||
scene, | ||
to, | ||
keyword, | ||
beginTime = 0, | ||
endTime = Date.now(), | ||
reverse = false, | ||
asc = false | ||
) { | ||
return new Promise(function (resolve, reject) { | ||
let startTime = Date.now(); | ||
window.nim.searchHistoryMsgs({ | ||
scene, | ||
to, | ||
keyword, | ||
beginTime, | ||
endTime, | ||
reverse, | ||
asc, | ||
done: function (error, obj) { | ||
//elk("window.nim.searchHistoryMsgs", startTime); | ||
return error ? reject(error) : resolve(obj); | ||
}, | ||
}); | ||
}); | ||
} |
{ | ||
"name": "yach.nim.util", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "yach nim: util", |
@@ -0,0 +0,0 @@ # yach.nim.util |
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
34492
889