@arrirpc/codegen-rust 0.63.2 → 0.64.0

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
@@ -1584,7 +1584,7 @@ function rustHttpRpcFromSchema(schema, context) {
1584
1584
  return `${leading}pub async fn ${functionName}(
1585
1585
  &self,
1586
1586
  ${params ? `params: ${context.typeNamePrefix}${params},` : ""}
1587
- ) -> Result<${context.typeNamePrefix}${response ?? "()"}, ArriServerError> {
1587
+ ) -> Result<${context.typeNamePrefix}${response ?? "()"}, arriError> {
1588
1588
  parsed_arri_request(
1589
1589
  ArriParsedRequestOptions {
1590
1590
  http_client: &self._config.http_client,
@@ -1939,7 +1939,7 @@ use arri_client::{
1939
1939
  sse::{parsed_arri_sse_request, ArriParsedSseRequestOptions, SseController, SseEvent},
1940
1940
  utils::{serialize_date_time, serialize_string},
1941
1941
  ArriClientConfig, ArriClientService, ArriEnum, ArriModel, ArriParsedRequestOptions,
1942
- ArriServerError, EmptyArriModel, InternalArriClientConfig,
1942
+ arriError, EmptyArriModel, InternalArriClientConfig,
1943
1943
  };
1944
1944
  use std::collections::{BTreeMap, HashMap};
1945
1945
 
package/dist/index.mjs CHANGED
@@ -1576,7 +1576,7 @@ function rustHttpRpcFromSchema(schema, context) {
1576
1576
  return `${leading}pub async fn ${functionName}(
1577
1577
  &self,
1578
1578
  ${params ? `params: ${context.typeNamePrefix}${params},` : ""}
1579
- ) -> Result<${context.typeNamePrefix}${response ?? "()"}, ArriServerError> {
1579
+ ) -> Result<${context.typeNamePrefix}${response ?? "()"}, arriError> {
1580
1580
  parsed_arri_request(
1581
1581
  ArriParsedRequestOptions {
1582
1582
  http_client: &self._config.http_client,
@@ -1931,7 +1931,7 @@ use arri_client::{
1931
1931
  sse::{parsed_arri_sse_request, ArriParsedSseRequestOptions, SseController, SseEvent},
1932
1932
  utils::{serialize_date_time, serialize_string},
1933
1933
  ArriClientConfig, ArriClientService, ArriEnum, ArriModel, ArriParsedRequestOptions,
1934
- ArriServerError, EmptyArriModel, InternalArriClientConfig,
1934
+ arriError, EmptyArriModel, InternalArriClientConfig,
1935
1935
  };
1936
1936
  use std::collections::{BTreeMap, HashMap};
1937
1937
 
package/package.json CHANGED
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "pathe": "^1.1.2",
25
- "@arrirpc/codegen-utils": "0.63.2"
25
+ "@arrirpc/codegen-utils": "0.64.0"
26
26
  },
27
27
  "devDependencies": {},
28
- "version": "0.63.2"
28
+ "version": "0.64.0"
29
29
  }