@fluxbase/sdk 2026.1.7 → 2026.1.8

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/index.cjs CHANGED
@@ -3716,9 +3716,7 @@ var FluxbaseRPC = class {
3716
3716
  async list(namespace) {
3717
3717
  try {
3718
3718
  const params = namespace ? `?namespace=${encodeURIComponent(namespace)}` : "";
3719
- const response = await this.fetch.get(
3720
- `/api/v1/rpc/procedures${params}`
3721
- );
3719
+ const response = await this.fetch.get(`/api/v1/rpc/procedures${params}`);
3722
3720
  return { data: response.procedures || [], error: null };
3723
3721
  } catch (error) {
3724
3722
  return { data: null, error };
@@ -3756,7 +3754,8 @@ var FluxbaseRPC = class {
3756
3754
  {
3757
3755
  params,
3758
3756
  async: options?.async
3759
- }
3757
+ },
3758
+ { timeout: options?.timeout }
3760
3759
  );
3761
3760
  return { data: response, error: null };
3762
3761
  } catch (error) {
@@ -3855,7 +3854,10 @@ var FluxbaseRPC = class {
3855
3854
  await new Promise((resolve) => setTimeout(resolve, interval));
3856
3855
  interval = Math.min(interval * 1.5, maxInterval);
3857
3856
  }
3858
- return { data: null, error: new Error("Timeout waiting for execution to complete") };
3857
+ return {
3858
+ data: null,
3859
+ error: new Error("Timeout waiting for execution to complete")
3860
+ };
3859
3861
  }
3860
3862
  };
3861
3863