@flowcore/data-pump 0.8.0 → 0.8.1
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/CHANGELOG.md +7 -0
- package/esm/data-pump/flowcore-client.d.ts +1 -1
- package/esm/data-pump/flowcore-client.d.ts.map +1 -1
- package/esm/data-pump/flowcore-client.js +2 -2
- package/package.json +1 -1
- package/script/data-pump/flowcore-client.d.ts +1 -1
- package/script/data-pump/flowcore-client.d.ts.map +1 -1
- package/script/data-pump/flowcore-client.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.1](https://github.com/flowcore-io/data-pump/compare/v0.8.0...v0.8.1) (2025-04-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **flowcore-client:** :poop: add directMode parameter to execute method ([0cf88ba](https://github.com/flowcore-io/data-pump/commit/0cf88ba4e82092a992d0b68b4eff5207322961ea))
|
|
9
|
+
|
|
3
10
|
## [0.8.0](https://github.com/flowcore-io/data-pump/compare/v0.7.2...v0.8.0) (2025-04-02)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Command, FlowcoreClient } from "../deps/jsr.io/@flowcore/sdk/1.24.3/src/mod.js";
|
|
2
2
|
import type { FlowcoreDataPumpAuth } from "./types.js";
|
|
3
3
|
declare class FlowcoreClientWithMetrics extends FlowcoreClient {
|
|
4
|
-
execute<Input, Output>(command: Command<Input, Output
|
|
4
|
+
execute<Input, Output>(command: Command<Input, Output>, directMode?: boolean): Promise<Output>;
|
|
5
5
|
}
|
|
6
6
|
export declare function getFlowcoreClient(auth: FlowcoreDataPumpAuth, baseUrlOverride?: string): FlowcoreClientWithMetrics;
|
|
7
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flowcore-client.d.ts","sourceRoot":"","sources":["../../src/data-pump/flowcore-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAA;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGtD,cAAM,yBAA0B,SAAQ,cAAc;IACpC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"flowcore-client.d.ts","sourceRoot":"","sources":["../../src/data-pump/flowcore-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAA;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGtD,cAAM,yBAA0B,SAAQ,cAAc;IACpC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;CAI/G;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,EAAE,eAAe,CAAC,EAAE,MAAM,6BAQrF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FlowcoreClient } from "../deps/jsr.io/@flowcore/sdk/1.24.3/src/mod.js";
|
|
2
2
|
import { metrics } from "./metrics.js";
|
|
3
3
|
class FlowcoreClientWithMetrics extends FlowcoreClient {
|
|
4
|
-
execute(command) {
|
|
4
|
+
execute(command, directMode) {
|
|
5
5
|
metrics.sdkCommandsCounter.inc({ command: command.constructor.name }, 1);
|
|
6
|
-
return super.execute(command);
|
|
6
|
+
return super.execute(command, directMode);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
export function getFlowcoreClient(auth, baseUrlOverride) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Command, FlowcoreClient } from "../deps/jsr.io/@flowcore/sdk/1.24.3/src/mod.js";
|
|
2
2
|
import type { FlowcoreDataPumpAuth } from "./types.js";
|
|
3
3
|
declare class FlowcoreClientWithMetrics extends FlowcoreClient {
|
|
4
|
-
execute<Input, Output>(command: Command<Input, Output
|
|
4
|
+
execute<Input, Output>(command: Command<Input, Output>, directMode?: boolean): Promise<Output>;
|
|
5
5
|
}
|
|
6
6
|
export declare function getFlowcoreClient(auth: FlowcoreDataPumpAuth, baseUrlOverride?: string): FlowcoreClientWithMetrics;
|
|
7
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flowcore-client.d.ts","sourceRoot":"","sources":["../../src/data-pump/flowcore-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAA;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGtD,cAAM,yBAA0B,SAAQ,cAAc;IACpC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"flowcore-client.d.ts","sourceRoot":"","sources":["../../src/data-pump/flowcore-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAA;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGtD,cAAM,yBAA0B,SAAQ,cAAc;IACpC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;CAI/G;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,EAAE,eAAe,CAAC,EAAE,MAAM,6BAQrF"}
|
|
@@ -4,9 +4,9 @@ exports.getFlowcoreClient = getFlowcoreClient;
|
|
|
4
4
|
const mod_js_1 = require("../deps/jsr.io/@flowcore/sdk/1.24.3/src/mod.js");
|
|
5
5
|
const metrics_js_1 = require("./metrics.js");
|
|
6
6
|
class FlowcoreClientWithMetrics extends mod_js_1.FlowcoreClient {
|
|
7
|
-
execute(command) {
|
|
7
|
+
execute(command, directMode) {
|
|
8
8
|
metrics_js_1.metrics.sdkCommandsCounter.inc({ command: command.constructor.name }, 1);
|
|
9
|
-
return super.execute(command);
|
|
9
|
+
return super.execute(command, directMode);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
function getFlowcoreClient(auth, baseUrlOverride) {
|