@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.js CHANGED
@@ -2197,7 +2197,7 @@ var SQLService = class extends BaseService {
2197
2197
  try {
2198
2198
  const response = await this.invokeSQL(
2199
2199
  dbName,
2200
- SQLAction.EXECUTE,
2200
+ SQLAction.WRITE,
2201
2201
  { action: "execute_statement", name, params: params ?? [] },
2202
2202
  options?.signal
2203
2203
  );
@@ -2219,7 +2219,7 @@ var SQLService = class extends BaseService {
2219
2219
  try {
2220
2220
  const response = await this.invokeSQL(
2221
2221
  dbName,
2222
- SQLAction.EXPORT,
2222
+ SQLAction.READ,
2223
2223
  { action: "export" },
2224
2224
  options?.signal
2225
2225
  );
@@ -2680,7 +2680,7 @@ var DuckDbService = class extends BaseService {
2680
2680
  try {
2681
2681
  const response = await this.invokeDuckDb(
2682
2682
  dbName,
2683
- DuckDbAction.EXECUTE,
2683
+ DuckDbAction.WRITE,
2684
2684
  { action: "executeStatement", name, params: params ?? [] },
2685
2685
  options?.signal
2686
2686
  );
@@ -2702,7 +2702,7 @@ var DuckDbService = class extends BaseService {
2702
2702
  try {
2703
2703
  const response = await this.invokeDuckDb(
2704
2704
  dbName,
2705
- DuckDbAction.DESCRIBE,
2705
+ DuckDbAction.READ,
2706
2706
  { action: "describe" },
2707
2707
  options?.signal
2708
2708
  );