rename to smartpack n smartunpack

This commit is contained in:
2026-05-18 19:30:58 +07:00
parent cc95bc97d3
commit 396e0848da
21 changed files with 323 additions and 314 deletions

View File

@@ -1,6 +1,6 @@
/**
* JavaScript Mix Payloads Receiver Test
* Tests the smartreceive function with mixed payload types
* Tests the smartunpack function with mixed payload types
*
* This test mirrors test_julia_mix_payloads_receiver.jl and demonstrates that
* any combination and any number of mixed content can be received correctly.
@@ -50,8 +50,8 @@ async function runTest() {
console.log(`Received message on ${msg.subject}`);
try {
// Process the message using smartreceive
const envelope = await msghandler.smartreceive(msg, {
// Process the message using smartunpack
const envelope = await msghandler.smartunpack(msg, {
fileserver_download_handler: msghandler.fetchWithBackoff,
max_retries: 5,
base_delay: 100,