@tinycloud/sdk-services 2.6.0-beta.0 → 2.6.0-beta.2

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
@@ -2335,7 +2335,7 @@ var SQLService = class extends BaseService {
2335
2335
  try {
2336
2336
  const response = await this.invokeSQL(
2337
2337
  dbName,
2338
- SQLAction.EXECUTE,
2338
+ SQLAction.WRITE,
2339
2339
  { action: "execute_statement", name, params: params ?? [] },
2340
2340
  options?.signal
2341
2341
  );
@@ -2357,7 +2357,7 @@ var SQLService = class extends BaseService {
2357
2357
  try {
2358
2358
  const response = await this.invokeSQL(
2359
2359
  dbName,
2360
- SQLAction.EXPORT,
2360
+ SQLAction.READ,
2361
2361
  { action: "export" },
2362
2362
  options?.signal
2363
2363
  );
@@ -2818,7 +2818,7 @@ var DuckDbService = class extends BaseService {
2818
2818
  try {
2819
2819
  const response = await this.invokeDuckDb(
2820
2820
  dbName,
2821
- DuckDbAction.EXECUTE,
2821
+ DuckDbAction.WRITE,
2822
2822
  { action: "executeStatement", name, params: params ?? [] },
2823
2823
  options?.signal
2824
2824
  );
@@ -2840,7 +2840,7 @@ var DuckDbService = class extends BaseService {
2840
2840
  try {
2841
2841
  const response = await this.invokeDuckDb(
2842
2842
  dbName,
2843
- DuckDbAction.DESCRIBE,
2843
+ DuckDbAction.READ,
2844
2844
  { action: "describe" },
2845
2845
  options?.signal
2846
2846
  );