@arrirpc/codegen-dart 0.79.1 → 0.80.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/index.cjs +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
@@ -847,6 +847,7 @@ function dartHttpRpcFromSchema(schema, context) {
|
|
847
847
|
Duration? retryDelay,
|
848
848
|
int? maxRetryCount,
|
849
849
|
String? lastEventId,
|
850
|
+
int? heartbeatTimeoutMultiplier,
|
850
851
|
}) {
|
851
852
|
return parsedArriSseRequest(
|
852
853
|
"$_baseUrl${schema.path}",
|
@@ -857,6 +858,7 @@ function dartHttpRpcFromSchema(schema, context) {
|
|
857
858
|
retryDelay: retryDelay,
|
858
859
|
maxRetryCount: maxRetryCount,
|
859
860
|
lastEventId: lastEventId,
|
861
|
+
heartbeatTimeoutMultiplier: heartbeatTimeoutMultiplier,
|
860
862
|
${paramsType ? "params: params.toJson()," : ""}
|
861
863
|
parser: (body) ${schema.response ? `=> ${responseType}.fromJsonString(body)` : `{}`},
|
862
864
|
onMessage: onMessage,
|
package/dist/index.mjs
CHANGED
@@ -840,6 +840,7 @@ function dartHttpRpcFromSchema(schema, context) {
|
|
840
840
|
Duration? retryDelay,
|
841
841
|
int? maxRetryCount,
|
842
842
|
String? lastEventId,
|
843
|
+
int? heartbeatTimeoutMultiplier,
|
843
844
|
}) {
|
844
845
|
return parsedArriSseRequest(
|
845
846
|
"$_baseUrl${schema.path}",
|
@@ -850,6 +851,7 @@ function dartHttpRpcFromSchema(schema, context) {
|
|
850
851
|
retryDelay: retryDelay,
|
851
852
|
maxRetryCount: maxRetryCount,
|
852
853
|
lastEventId: lastEventId,
|
854
|
+
heartbeatTimeoutMultiplier: heartbeatTimeoutMultiplier,
|
853
855
|
${paramsType ? "params: params.toJson()," : ""}
|
854
856
|
parser: (body) ${schema.response ? `=> ${responseType}.fromJsonString(body)` : `{}`},
|
855
857
|
onMessage: onMessage,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arrirpc/codegen-dart",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.80.1",
|
4
4
|
"type": "module",
|
5
5
|
"license": "MIT",
|
6
6
|
"author": {
|
@@ -23,6 +23,6 @@
|
|
23
23
|
],
|
24
24
|
"dependencies": {
|
25
25
|
"pathe": "^2.0.3",
|
26
|
-
"@arrirpc/codegen-utils": "0.
|
26
|
+
"@arrirpc/codegen-utils": "0.80.1"
|
27
27
|
}
|
28
28
|
}
|