@mysten-incubation/memwal 0.0.3-dev.2 → 0.0.3-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manual.js +1 -1
- package/dist/memwal.js +1 -1
- package/package.json +1 -1
package/dist/manual.js
CHANGED
|
@@ -624,7 +624,7 @@ export class MemWalManual {
|
|
|
624
624
|
* @param namespace - Namespace to restore
|
|
625
625
|
* @returns RestoreResult with count of restored entries
|
|
626
626
|
*/
|
|
627
|
-
async restore(namespace, limit =
|
|
627
|
+
async restore(namespace, limit = 10) {
|
|
628
628
|
return this.signedRequest("POST", "/api/restore", {
|
|
629
629
|
namespace,
|
|
630
630
|
limit,
|
package/dist/memwal.js
CHANGED
|
@@ -472,7 +472,7 @@ export class MemWal {
|
|
|
472
472
|
* console.log(`Restored ${result.restored} memories`)
|
|
473
473
|
* ```
|
|
474
474
|
*/
|
|
475
|
-
async restore(namespace, limit =
|
|
475
|
+
async restore(namespace, limit = 10) {
|
|
476
476
|
return this.signedRequest("POST", "/api/restore", {
|
|
477
477
|
namespace,
|
|
478
478
|
limit,
|