@querypanel/node-sdk 1.0.56 → 1.2.0

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/README.md CHANGED
@@ -21,7 +21,7 @@ import { Pool } from "pg";
21
21
  const qp = new QueryPanelSdkAPI(
22
22
  process.env.QUERYPANEL_URL!,
23
23
  process.env.PRIVATE_KEY!,
24
- process.env.ORGANIZATION_ID!,
24
+ process.env.QUERYPANEL_WORKSPACE_ID!,
25
25
  {
26
26
  defaultTenantId: process.env.DEFAULT_TENANT_ID,
27
27
  },
@@ -338,7 +338,7 @@ import { QueryPanelSdkAPI } from "https://esm.sh/@querypanel/sdk";
338
338
  const qp = new QueryPanelSdkAPI(
339
339
  Deno.env.get("QUERYPANEL_URL")!,
340
340
  Deno.env.get("PRIVATE_KEY")!,
341
- Deno.env.get("ORGANIZATION_ID")!,
341
+ Deno.env.get("QUERYPANEL_WORKSPACE_ID")!,
342
342
  );
343
343
 
344
344
  // Use the SDK as normal - JWT signing works automatically