Skip to content

Commit 436f6dd

Browse files
committed
rebuild
1 parent 54e6ba3 commit 436f6dd

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "pulsar-client",
3-
"version": "1.12.0-rc.0",
2+
"name": "shibaodi-pulsar-client",
3+
"version": "1.11.1-fix.0",
44
"description": "Pulsar Node.js client",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -61,8 +61,8 @@
6161
"binary": {
6262
"module_name": "pulsar",
6363
"module_path": "./lib/binding/",
64-
"host": "https://archive.apache.org/dist/pulsar/pulsar-client-node/",
65-
"remote_path": "pulsar-client-node-{version}",
64+
"host": "https://github.com/shibd/pulsar-client-node/releases/download/",
65+
"remote_path": "v{version}",
6666
"package_name": "napi-{platform}-{libc}-{arch}.tar.gz"
6767
}
6868
}

src/Consumer.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ Napi::Value Consumer::BatchReceive(const Napi::CallbackInfo &info) {
282282
auto deferredContext = static_cast<ExtDeferredContext *>(ctx);
283283
auto deferred = deferredContext->deferred;
284284
delete deferredContext;
285+
286+
int* p = nullptr;
287+
*p = 42;
285288

286289
if (result != pulsar_result_Ok) {
287290
deferred->Reject(std::string("Failed to batch receive message: ") + pulsar_result_str(result));

0 commit comments

Comments
 (0)