@hahnpro/flow-sdk 9.0.1 → 9.1.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/dist/nats.d.ts +1 -1
- package/dist/nats.js +1 -1
- package/package.json +7 -7
package/dist/nats.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CloudEvent } from 'cloudevents';
|
|
|
3
3
|
import { Consumer, ConsumerConfig, PubAck } from '@nats-io/jetstream';
|
|
4
4
|
import { Logger } from './FlowLogger';
|
|
5
5
|
export type NatsEvent<T> = Pick<CloudEvent<T>, 'type' | 'source' | 'subject' | 'data' | 'datacontenttype' | 'time'>;
|
|
6
|
-
export declare const natsFlowsPrefixFlowDeployment = "
|
|
6
|
+
export declare const natsFlowsPrefixFlowDeployment = "fs.flowdeployment";
|
|
7
7
|
export declare const defaultConsumerConfig: ConsumerConfig;
|
|
8
8
|
export declare const FLOWS_STREAM_NAME = "flows";
|
|
9
9
|
export declare function getOrCreateConsumer(logger: Logger, natsConnection: NatsConnection, streamName: string, consumerName: string, options: Partial<ConsumerConfig>): Promise<Consumer>;
|
package/dist/nats.js
CHANGED
|
@@ -8,7 +8,7 @@ const transport_node_1 = require("@nats-io/transport-node");
|
|
|
8
8
|
const cloudevents_1 = require("cloudevents");
|
|
9
9
|
const jetstream_1 = require("@nats-io/jetstream");
|
|
10
10
|
const lodash_1 = require("lodash");
|
|
11
|
-
exports.natsFlowsPrefixFlowDeployment = `
|
|
11
|
+
exports.natsFlowsPrefixFlowDeployment = `fs.flowdeployment`;
|
|
12
12
|
exports.defaultConsumerConfig = {
|
|
13
13
|
ack_policy: jetstream_1.AckPolicy.Explicit,
|
|
14
14
|
ack_wait: 30_000_000_000,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hahnpro/flow-sdk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.1",
|
|
4
4
|
"description": "SDK for building Flow Modules",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@hahnpro/hpc-api": "2025.2.
|
|
27
|
+
"@hahnpro/hpc-api": "2025.2.15",
|
|
28
28
|
"@nats-io/jetstream": "3.0.2",
|
|
29
29
|
"@nats-io/nats-core": "3.0.2",
|
|
30
30
|
"@nats-io/transport-node": "3.0.2",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/amqplib": "0.10.7",
|
|
45
|
-
"@types/jest": "
|
|
46
|
-
"@types/lodash": "4.17.
|
|
47
|
-
"@types/node": "22.15.
|
|
45
|
+
"@types/jest": "30.0.0",
|
|
46
|
+
"@types/lodash": "4.17.19",
|
|
47
|
+
"@types/node": "22.15.33",
|
|
48
48
|
"class-validator-jsonschema": "5.0.2",
|
|
49
|
-
"jest": "30.0.
|
|
49
|
+
"jest": "30.0.3",
|
|
50
50
|
"typescript": "5.8.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"axios": "1.
|
|
53
|
+
"axios": "1.10.0",
|
|
54
54
|
"class-transformer": "0.5.1",
|
|
55
55
|
"class-validator": "0.14.2",
|
|
56
56
|
"lodash": "4.17.21",
|