@agntcy/slim-bindings-linux-arm64-gnu 1.4.0 → 2.0.0-alpha.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agntcy/slim-bindings-linux-arm64-gnu",
3
- "version": "1.4.0",
3
+ "version": "2.0.0-alpha.1",
4
4
  "description": "SLIM Node.js bindings (linux-arm64-gnu)",
5
5
  "main": "slim-bindings-node.js",
6
6
  "types": "slim-bindings-node.d.ts",
@@ -10,8 +10,8 @@
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "https://github.com/agntcy/slim.git",
14
- "directory": "data-plane/bindings/node"
13
+ "url": "https://github.com/agntcy/slim-bindings.git",
14
+ "directory": "node"
15
15
  },
16
16
  "license": "Apache-2.0",
17
17
  "dependencies": {
@@ -66,14 +66,11 @@ export declare const BuildInfo: Readonly<{
66
66
  */
67
67
  export type ClientConfig = {
68
68
  /**
69
- * The target endpoint the client will connect to
69
+ * The target endpoint the client will connect to.
70
+ *
71
+ * The transport protocol is inferred from the endpoint scheme:
72
+ * `ws://`/`wss://` → WebSocket, otherwise gRPC.
70
73
  */ endpoint: string;
71
- /**
72
- * Transport protocol to use (defaults to gRPC in core config when omitted)
73
- */ transport?: TransportProtocol;
74
- /**
75
- * Optional websocket authentication query parameter key
76
- */ websocketAuthQueryParam?: string;
77
74
  /**
78
75
  * TLS client configuration
79
76
  */ tls: TlsClientConfig;
@@ -116,6 +113,9 @@ export type ClientConfig = {
116
113
  /**
117
114
  * Arbitrary user-provided metadata as JSON string
118
115
  */ metadata?: string;
116
+ /**
117
+ * When true, reject inter-node messages without a valid header MAC (strict mode).
118
+ */ requireHeaderMac?: boolean;
119
119
  };
120
120
  export declare const ClientConfig: Readonly<{
121
121
  /**
@@ -704,11 +704,11 @@ export declare const KeepaliveServerParameters: Readonly<{
704
704
  */
705
705
  export type ServerConfig = {
706
706
  /**
707
- * Endpoint address to listen on (e.g., "0.0.0.0:50051" or "[::]:50051")
707
+ * Endpoint address to listen on (e.g., "0.0.0.0:50051" or "[::]:50051").
708
+ *
709
+ * The transport protocol is inferred from the endpoint scheme:
710
+ * `ws://`/`wss://` → WebSocket, otherwise gRPC.
708
711
  */ endpoint: string;
709
- /**
710
- * Transport protocol to use (defaults to gRPC in core config when omitted)
711
- */ transport?: TransportProtocol;
712
712
  /**
713
713
  * TLS server configuration
714
714
  */ tls: TlsServerConfig;
@@ -739,6 +739,15 @@ export type ServerConfig = {
739
739
  /**
740
740
  * Arbitrary user-provided metadata as JSON string
741
741
  */ metadata?: string;
742
+ /**
743
+ * When true, reject inter-node messages without a valid header MAC (strict mode).
744
+ */ requireHeaderMac?: boolean;
745
+ /**
746
+ * Timeout (in seconds) for link negotiation to complete.
747
+ */ negotiationTimeoutSecs?: bigint;
748
+ /**
749
+ * Polling interval (in milliseconds) to wait between HMAC existence checks.
750
+ */ linkHmacPollIntervalMs?: bigint;
742
751
  };
743
752
  export declare const ServerConfig: Readonly<{
744
753
  /**
@@ -813,6 +822,27 @@ export declare const ServiceConfig: Readonly<{
813
822
  */
814
823
  defaults: () => Partial<ServiceConfig>;
815
824
  }>;
825
+ export type MlsSettings = {
826
+ /**
827
+ * 0 = disable header-integrity checks; 1–100 = percent of messages to verify after decrypt.
828
+ */ headerIntegrityValidationPercent: number;
829
+ };
830
+ export declare const MlsSettings: Readonly<{
831
+ /**
832
+ * Create a frozen instance of {@link MlsSettings}, with defaults specified
833
+ * in Rust, in the {@link slim_bindings} crate.
834
+ */
835
+ create: (partial: Partial<MlsSettings> & Required<Omit<MlsSettings, never>>) => MlsSettings;
836
+ /**
837
+ * Create a frozen instance of {@link MlsSettings}, with defaults specified
838
+ * in Rust, in the {@link slim_bindings} crate.
839
+ */
840
+ new: (partial: Partial<MlsSettings> & Required<Omit<MlsSettings, never>>) => MlsSettings;
841
+ /**
842
+ * Defaults specified in the {@link slim_bindings} crate.
843
+ */
844
+ defaults: () => Partial<MlsSettings>;
845
+ }>;
816
846
  /**
817
847
  * Session configuration
818
848
  */
@@ -820,9 +850,6 @@ export type SessionConfig = {
820
850
  /**
821
851
  * Session type (PointToPoint or Group)
822
852
  */ sessionType: SessionType;
823
- /**
824
- * Enable MLS encryption for this session
825
- */ enableMls: boolean;
826
853
  /**
827
854
  * Maximum number of retries for message transmission (None = use default)
828
855
  */ maxRetries?: number;
@@ -832,6 +859,9 @@ export type SessionConfig = {
832
859
  /**
833
860
  * Custom metadata key-value pairs for the session
834
861
  */ metadata: Map<string, string>;
862
+ /**
863
+ * MLS options (None disables MLS).
864
+ */ mlsSettings?: MlsSettings;
835
865
  };
836
866
  export declare const SessionConfig: Readonly<{
837
867
  /**
@@ -1607,8 +1637,8 @@ export type AppInterface = {
1607
1637
  signal: AbortSignal;
1608
1638
  }): Promise<CompletionHandle>;
1609
1639
  /**
1610
- * Get the app ID (derived from name)
1611
- */ id(): bigint;
1640
+ * Get the app ID in UUID format
1641
+ */ id(): string;
1612
1642
  /**
1613
1643
  * Listen for incoming sessions (blocking version for FFI)
1614
1644
  */ listenForSession(timeout: number | undefined): Session;
@@ -1771,8 +1801,8 @@ export declare class App extends UniffiAbstractObject implements AppInterface {
1771
1801
  signal: AbortSignal;
1772
1802
  }): Promise<CompletionHandle>;
1773
1803
  /**
1774
- * Get the app ID (derived from name)
1775
- */ id(): bigint;
1804
+ * Get the app ID in UUID format
1805
+ */ id(): string;
1776
1806
  /**
1777
1807
  * Listen for incoming sessions (blocking version for FFI)
1778
1808
  */ listenForSession(timeout: number | undefined): Session;
@@ -1987,8 +2017,8 @@ export type NameInterface = {
1987
2017
  * Get the name components as a vector of strings
1988
2018
  */ components(): Array<string>;
1989
2019
  /**
1990
- * Get the name ID
1991
- */ id(): bigint;
2020
+ * Get the name ID formatted as UUID string
2021
+ */ id(): string;
1992
2022
  };
1993
2023
  /**
1994
2024
  * Name type for SLIM (Secure Low-Latency Interactive Messaging)
@@ -2009,15 +2039,15 @@ export declare class Name extends UniffiAbstractObject implements NameInterface
2009
2039
  */
2010
2040
  constructor(component0: string, component1: string, component2: string);
2011
2041
  /**
2012
- * Create a new Name from components with an ID
2042
+ * Create a new Name from components with an ID expressed in UUID format
2013
2043
  */
2014
- static newWithId(component0: string, component1: string, component2: string, id: bigint): Name;
2044
+ static newWithId(component0: string, component1: string, component2: string, id: string): Name;
2015
2045
  /**
2016
2046
  * Get the name components as a vector of strings
2017
2047
  */ components(): Array<string>;
2018
2048
  /**
2019
- * Get the name ID
2020
- */ id(): bigint;
2049
+ * Get the name ID formatted as UUID string
2050
+ */ id(): string;
2021
2051
  /**
2022
2052
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
2023
2053
  */
@@ -127,8 +127,6 @@ const FfiConverterTypeClientConfig = (() => {
127
127
  read(from) {
128
128
  return {
129
129
  endpoint: FfiConverterString.read(from),
130
- transport: (new FfiConverterOptional(FfiConverterTypeTransportProtocol)).read(from),
131
- websocketAuthQueryParam: (new FfiConverterOptional(FfiConverterString)).read(from),
132
130
  tls: FfiConverterTypeTlsClientConfig.read(from),
133
131
  origin: (new FfiConverterOptional(FfiConverterString)).read(from),
134
132
  serverName: (new FfiConverterOptional(FfiConverterString)).read(from),
@@ -143,12 +141,11 @@ const FfiConverterTypeClientConfig = (() => {
143
141
  auth: (new FfiConverterOptional(FfiConverterTypeClientAuthenticationConfig)).read(from),
144
142
  backoff: (new FfiConverterOptional(FfiConverterTypeBackoffConfig)).read(from),
145
143
  metadata: (new FfiConverterOptional(FfiConverterString)).read(from),
144
+ requireHeaderMac: (new FfiConverterOptional(FfiConverterBool)).read(from),
146
145
  };
147
146
  }
148
147
  write(value, into) {
149
148
  FfiConverterString.write(value.endpoint, into);
150
- (new FfiConverterOptional(FfiConverterTypeTransportProtocol)).write(value.transport, into);
151
- (new FfiConverterOptional(FfiConverterString)).write(value.websocketAuthQueryParam, into);
152
149
  FfiConverterTypeTlsClientConfig.write(value.tls, into);
153
150
  (new FfiConverterOptional(FfiConverterString)).write(value.origin, into);
154
151
  (new FfiConverterOptional(FfiConverterString)).write(value.serverName, into);
@@ -163,11 +160,10 @@ const FfiConverterTypeClientConfig = (() => {
163
160
  (new FfiConverterOptional(FfiConverterTypeClientAuthenticationConfig)).write(value.auth, into);
164
161
  (new FfiConverterOptional(FfiConverterTypeBackoffConfig)).write(value.backoff, into);
165
162
  (new FfiConverterOptional(FfiConverterString)).write(value.metadata, into);
163
+ (new FfiConverterOptional(FfiConverterBool)).write(value.requireHeaderMac, into);
166
164
  }
167
165
  allocationSize(value) {
168
166
  return (FfiConverterString.allocationSize(value.endpoint) +
169
- (new FfiConverterOptional(FfiConverterTypeTransportProtocol)).allocationSize(value.transport) +
170
- (new FfiConverterOptional(FfiConverterString)).allocationSize(value.websocketAuthQueryParam) +
171
167
  FfiConverterTypeTlsClientConfig.allocationSize(value.tls) +
172
168
  (new FfiConverterOptional(FfiConverterString)).allocationSize(value.origin) +
173
169
  (new FfiConverterOptional(FfiConverterString)).allocationSize(value.serverName) +
@@ -181,7 +177,8 @@ const FfiConverterTypeClientConfig = (() => {
181
177
  (new FfiConverterOptional((new FfiConverterMap(FfiConverterString, FfiConverterString)))).allocationSize(value.headers) +
182
178
  (new FfiConverterOptional(FfiConverterTypeClientAuthenticationConfig)).allocationSize(value.auth) +
183
179
  (new FfiConverterOptional(FfiConverterTypeBackoffConfig)).allocationSize(value.backoff) +
184
- (new FfiConverterOptional(FfiConverterString)).allocationSize(value.metadata));
180
+ (new FfiConverterOptional(FfiConverterString)).allocationSize(value.metadata) +
181
+ (new FfiConverterOptional(FfiConverterBool)).allocationSize(value.requireHeaderMac));
185
182
  }
186
183
  }
187
184
  return new FFIConverter();
@@ -1015,7 +1012,6 @@ const FfiConverterTypeServerConfig = (() => {
1015
1012
  read(from) {
1016
1013
  return {
1017
1014
  endpoint: FfiConverterString.read(from),
1018
- transport: (new FfiConverterOptional(FfiConverterTypeTransportProtocol)).read(from),
1019
1015
  tls: FfiConverterTypeTlsServerConfig.read(from),
1020
1016
  http2Only: (new FfiConverterOptional(FfiConverterBool)).read(from),
1021
1017
  maxFrameSize: (new FfiConverterOptional(FfiConverterUInt32)).read(from),
@@ -1026,11 +1022,13 @@ const FfiConverterTypeServerConfig = (() => {
1026
1022
  keepalive: (new FfiConverterOptional(FfiConverterTypeKeepaliveServerParameters)).read(from),
1027
1023
  auth: (new FfiConverterOptional(FfiConverterTypeServerAuthenticationConfig)).read(from),
1028
1024
  metadata: (new FfiConverterOptional(FfiConverterString)).read(from),
1025
+ requireHeaderMac: (new FfiConverterOptional(FfiConverterBool)).read(from),
1026
+ negotiationTimeoutSecs: (new FfiConverterOptional(FfiConverterUInt64)).read(from),
1027
+ linkHmacPollIntervalMs: (new FfiConverterOptional(FfiConverterUInt64)).read(from),
1029
1028
  };
1030
1029
  }
1031
1030
  write(value, into) {
1032
1031
  FfiConverterString.write(value.endpoint, into);
1033
- (new FfiConverterOptional(FfiConverterTypeTransportProtocol)).write(value.transport, into);
1034
1032
  FfiConverterTypeTlsServerConfig.write(value.tls, into);
1035
1033
  (new FfiConverterOptional(FfiConverterBool)).write(value.http2Only, into);
1036
1034
  (new FfiConverterOptional(FfiConverterUInt32)).write(value.maxFrameSize, into);
@@ -1041,10 +1039,12 @@ const FfiConverterTypeServerConfig = (() => {
1041
1039
  (new FfiConverterOptional(FfiConverterTypeKeepaliveServerParameters)).write(value.keepalive, into);
1042
1040
  (new FfiConverterOptional(FfiConverterTypeServerAuthenticationConfig)).write(value.auth, into);
1043
1041
  (new FfiConverterOptional(FfiConverterString)).write(value.metadata, into);
1042
+ (new FfiConverterOptional(FfiConverterBool)).write(value.requireHeaderMac, into);
1043
+ (new FfiConverterOptional(FfiConverterUInt64)).write(value.negotiationTimeoutSecs, into);
1044
+ (new FfiConverterOptional(FfiConverterUInt64)).write(value.linkHmacPollIntervalMs, into);
1044
1045
  }
1045
1046
  allocationSize(value) {
1046
1047
  return (FfiConverterString.allocationSize(value.endpoint) +
1047
- (new FfiConverterOptional(FfiConverterTypeTransportProtocol)).allocationSize(value.transport) +
1048
1048
  FfiConverterTypeTlsServerConfig.allocationSize(value.tls) +
1049
1049
  (new FfiConverterOptional(FfiConverterBool)).allocationSize(value.http2Only) +
1050
1050
  (new FfiConverterOptional(FfiConverterUInt32)).allocationSize(value.maxFrameSize) +
@@ -1054,7 +1054,10 @@ const FfiConverterTypeServerConfig = (() => {
1054
1054
  (new FfiConverterOptional(FfiConverterUInt64)).allocationSize(value.writeBufferSize) +
1055
1055
  (new FfiConverterOptional(FfiConverterTypeKeepaliveServerParameters)).allocationSize(value.keepalive) +
1056
1056
  (new FfiConverterOptional(FfiConverterTypeServerAuthenticationConfig)).allocationSize(value.auth) +
1057
- (new FfiConverterOptional(FfiConverterString)).allocationSize(value.metadata));
1057
+ (new FfiConverterOptional(FfiConverterString)).allocationSize(value.metadata) +
1058
+ (new FfiConverterOptional(FfiConverterBool)).allocationSize(value.requireHeaderMac) +
1059
+ (new FfiConverterOptional(FfiConverterUInt64)).allocationSize(value.negotiationTimeoutSecs) +
1060
+ (new FfiConverterOptional(FfiConverterUInt64)).allocationSize(value.linkHmacPollIntervalMs));
1058
1061
  }
1059
1062
  }
1060
1063
  return new FFIConverter();
@@ -1144,6 +1147,44 @@ const FfiConverterTypeServiceConfig = (() => {
1144
1147
  }
1145
1148
  return new FFIConverter();
1146
1149
  })();
1150
+ export const MlsSettings = (() => {
1151
+ const defaults = () => ({}); // FIXME: add defaults here!
1152
+ const create = (() => {
1153
+ return uniffiCreateRecord(defaults);
1154
+ })();
1155
+ return Object.freeze({
1156
+ /**
1157
+ * Create a frozen instance of {@link MlsSettings}, with defaults specified
1158
+ * in Rust, in the {@link slim_bindings} crate.
1159
+ */
1160
+ create,
1161
+ /**
1162
+ * Create a frozen instance of {@link MlsSettings}, with defaults specified
1163
+ * in Rust, in the {@link slim_bindings} crate.
1164
+ */
1165
+ new: create,
1166
+ /**
1167
+ * Defaults specified in the {@link slim_bindings} crate.
1168
+ */
1169
+ defaults: () => Object.freeze(defaults()),
1170
+ });
1171
+ })();
1172
+ const FfiConverterTypeMlsSettings = (() => {
1173
+ class FFIConverter extends AbstractFfiConverterByteArray {
1174
+ read(from) {
1175
+ return {
1176
+ headerIntegrityValidationPercent: FfiConverterUInt32.read(from),
1177
+ };
1178
+ }
1179
+ write(value, into) {
1180
+ FfiConverterUInt32.write(value.headerIntegrityValidationPercent, into);
1181
+ }
1182
+ allocationSize(value) {
1183
+ return (FfiConverterUInt32.allocationSize(value.headerIntegrityValidationPercent));
1184
+ }
1185
+ }
1186
+ return new FFIConverter();
1187
+ })();
1147
1188
  export const SessionConfig = (() => {
1148
1189
  const defaults = () => ({}); // FIXME: add defaults here!
1149
1190
  const create = (() => {
@@ -1171,25 +1212,25 @@ const FfiConverterTypeSessionConfig = (() => {
1171
1212
  read(from) {
1172
1213
  return {
1173
1214
  sessionType: FfiConverterTypeSessionType.read(from),
1174
- enableMls: FfiConverterBool.read(from),
1175
1215
  maxRetries: (new FfiConverterOptional(FfiConverterUInt32)).read(from),
1176
1216
  interval: (new FfiConverterOptional(FfiConverterDuration)).read(from),
1177
1217
  metadata: (new FfiConverterMap(FfiConverterString, FfiConverterString)).read(from),
1218
+ mlsSettings: (new FfiConverterOptional(FfiConverterTypeMlsSettings)).read(from),
1178
1219
  };
1179
1220
  }
1180
1221
  write(value, into) {
1181
1222
  FfiConverterTypeSessionType.write(value.sessionType, into);
1182
- FfiConverterBool.write(value.enableMls, into);
1183
1223
  (new FfiConverterOptional(FfiConverterUInt32)).write(value.maxRetries, into);
1184
1224
  (new FfiConverterOptional(FfiConverterDuration)).write(value.interval, into);
1185
1225
  (new FfiConverterMap(FfiConverterString, FfiConverterString)).write(value.metadata, into);
1226
+ (new FfiConverterOptional(FfiConverterTypeMlsSettings)).write(value.mlsSettings, into);
1186
1227
  }
1187
1228
  allocationSize(value) {
1188
1229
  return (FfiConverterTypeSessionType.allocationSize(value.sessionType) +
1189
- FfiConverterBool.allocationSize(value.enableMls) +
1190
1230
  (new FfiConverterOptional(FfiConverterUInt32)).allocationSize(value.maxRetries) +
1191
1231
  (new FfiConverterOptional(FfiConverterDuration)).allocationSize(value.interval) +
1192
- (new FfiConverterMap(FfiConverterString, FfiConverterString)).allocationSize(value.metadata));
1232
+ (new FfiConverterMap(FfiConverterString, FfiConverterString)).allocationSize(value.metadata) +
1233
+ (new FfiConverterOptional(FfiConverterTypeMlsSettings)).allocationSize(value.mlsSettings));
1193
1234
  }
1194
1235
  }
1195
1236
  return new FFIConverter();
@@ -3095,7 +3136,7 @@ export class App extends UniffiAbstractObject {
3095
3136
  return returnValue;
3096
3137
  }
3097
3138
  /**
3098
- * Get the app ID (derived from name)
3139
+ * Get the app ID in UUID format
3099
3140
  */ id() {
3100
3141
  /* Regular function call: */
3101
3142
  const returnValue = uniffiCaller.rustCall(
@@ -3106,7 +3147,7 @@ export class App extends UniffiAbstractObject {
3106
3147
  return returnValue;
3107
3148
  },
3108
3149
  /*liftString:*/ FfiConverterString.lift);
3109
- return FfiConverterUInt64.lift(returnValue);
3150
+ return FfiConverterString.lift(new UniffiRustBufferValue(returnValue).consumeIntoUint8Array());
3110
3151
  }
3111
3152
  /**
3112
3153
  * Listen for incoming sessions (blocking version for FFI)
@@ -4070,7 +4111,7 @@ export class Name extends UniffiAbstractObject {
4070
4111
  this[destructorGuardSymbol] = uniffiTypeNameObjectFactory.bless(pointer);
4071
4112
  }
4072
4113
  /**
4073
- * Create a new Name from components with an ID
4114
+ * Create a new Name from components with an ID expressed in UUID format
4074
4115
  */
4075
4116
  static newWithId(component0, component1, component2, id) {
4076
4117
  /* Regular function call: */
@@ -4079,7 +4120,7 @@ export class Name extends UniffiAbstractObject {
4079
4120
  let component0Arg = UniffiRustBufferValue.allocateWithBytes(FfiConverterString.lower(component0)).toStruct();
4080
4121
  let component1Arg = UniffiRustBufferValue.allocateWithBytes(FfiConverterString.lower(component1)).toStruct();
4081
4122
  let component2Arg = UniffiRustBufferValue.allocateWithBytes(FfiConverterString.lower(component2)).toStruct();
4082
- let idArg = FfiConverterUInt64.lower(id);
4123
+ let idArg = UniffiRustBufferValue.allocateWithBytes(FfiConverterString.lower(id)).toStruct();
4083
4124
  const returnValue = FFI_DYNAMIC_LIB.uniffi_slim_bindings_fn_constructor_name_new_with_id([
4084
4125
  component0Arg, component1Arg, component2Arg, idArg, callStatus
4085
4126
  ]);
@@ -4103,7 +4144,7 @@ export class Name extends UniffiAbstractObject {
4103
4144
  return (new FfiConverterArray(FfiConverterString)).lift(new UniffiRustBufferValue(returnValue).consumeIntoUint8Array());
4104
4145
  }
4105
4146
  /**
4106
- * Get the name ID
4147
+ * Get the name ID formatted as UUID string
4107
4148
  */ id() {
4108
4149
  /* Regular function call: */
4109
4150
  const returnValue = uniffiCaller.rustCall(
@@ -4114,7 +4155,7 @@ export class Name extends UniffiAbstractObject {
4114
4155
  return returnValue;
4115
4156
  },
4116
4157
  /*liftString:*/ FfiConverterString.lift);
4117
- return FfiConverterUInt64.lift(returnValue);
4158
+ return FfiConverterString.lift(new UniffiRustBufferValue(returnValue).consumeIntoUint8Array());
4118
4159
  }
4119
4160
  /**
4120
4161
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
@@ -174,7 +174,7 @@ declare const FFI_DYNAMIC_LIB: {
174
174
  uniffi_slim_bindings_fn_method_app_delete_session_and_wait: (args: [bigint, bigint, /* RustCallStatus */ JsExternal]) => void;
175
175
  uniffi_slim_bindings_fn_method_app_delete_session_and_wait_async: (args: [bigint, bigint]) => bigint;
176
176
  uniffi_slim_bindings_fn_method_app_delete_session_async: (args: [bigint, bigint]) => bigint;
177
- uniffi_slim_bindings_fn_method_app_id: (args: [bigint, /* RustCallStatus */ JsExternal]) => bigint;
177
+ uniffi_slim_bindings_fn_method_app_id: (args: [bigint, /* RustCallStatus */ JsExternal]) => UniffiRustBufferStruct;
178
178
  uniffi_slim_bindings_fn_method_app_listen_for_session: (args: [bigint, UniffiRustBufferStruct, /* RustCallStatus */ JsExternal]) => bigint;
179
179
  uniffi_slim_bindings_fn_method_app_listen_for_session_async: (args: [bigint, UniffiRustBufferStruct]) => bigint;
180
180
  uniffi_slim_bindings_fn_method_app_name: (args: [bigint, /* RustCallStatus */ JsExternal]) => bigint;
@@ -196,9 +196,9 @@ declare const FFI_DYNAMIC_LIB: {
196
196
  uniffi_slim_bindings_fn_free_name: (args: [bigint, /* RustCallStatus */ JsExternal]) => void;
197
197
  uniffi_slim_bindings_fn_constructor_name_from_string: (args: [UniffiRustBufferStruct, /* RustCallStatus */ JsExternal]) => bigint;
198
198
  uniffi_slim_bindings_fn_constructor_name_new: (args: [UniffiRustBufferStruct, UniffiRustBufferStruct, UniffiRustBufferStruct, /* RustCallStatus */ JsExternal]) => bigint;
199
- uniffi_slim_bindings_fn_constructor_name_new_with_id: (args: [UniffiRustBufferStruct, UniffiRustBufferStruct, UniffiRustBufferStruct, bigint, /* RustCallStatus */ JsExternal]) => bigint;
199
+ uniffi_slim_bindings_fn_constructor_name_new_with_id: (args: [UniffiRustBufferStruct, UniffiRustBufferStruct, UniffiRustBufferStruct, UniffiRustBufferStruct, /* RustCallStatus */ JsExternal]) => bigint;
200
200
  uniffi_slim_bindings_fn_method_name_components: (args: [bigint, /* RustCallStatus */ JsExternal]) => UniffiRustBufferStruct;
201
- uniffi_slim_bindings_fn_method_name_id: (args: [bigint, /* RustCallStatus */ JsExternal]) => bigint;
201
+ uniffi_slim_bindings_fn_method_name_id: (args: [bigint, /* RustCallStatus */ JsExternal]) => UniffiRustBufferStruct;
202
202
  uniffi_slim_bindings_fn_method_name_uniffi_trait_debug: (args: [bigint, /* RustCallStatus */ JsExternal]) => UniffiRustBufferStruct;
203
203
  uniffi_slim_bindings_fn_method_name_uniffi_trait_display: (args: [bigint, /* RustCallStatus */ JsExternal]) => UniffiRustBufferStruct;
204
204
  uniffi_slim_bindings_fn_method_name_uniffi_trait_eq_eq: (args: [bigint, bigint, /* RustCallStatus */ JsExternal]) => number;
@@ -654,7 +654,7 @@ const FFI_DYNAMIC_LIB = define({
654
654
  },
655
655
  uniffi_slim_bindings_fn_method_app_id: {
656
656
  library: "libslim_bindings",
657
- retType: DataType.U64,
657
+ retType: DataType_UniffiRustBufferStruct,
658
658
  paramsType: [
659
659
  /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
660
660
  ],
@@ -835,7 +835,7 @@ const FFI_DYNAMIC_LIB = define({
835
835
  DataType_UniffiRustBufferStruct,
836
836
  DataType_UniffiRustBufferStruct,
837
837
  DataType_UniffiRustBufferStruct,
838
- DataType.U64, /* RustCallStatus */ DataType.External
838
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
839
839
  ],
840
840
  },
841
841
  uniffi_slim_bindings_fn_method_name_components: {
@@ -847,7 +847,7 @@ const FFI_DYNAMIC_LIB = define({
847
847
  },
848
848
  uniffi_slim_bindings_fn_method_name_id: {
849
849
  library: "libslim_bindings",
850
- retType: DataType.U64,
850
+ retType: DataType_UniffiRustBufferStruct,
851
851
  paramsType: [
852
852
  /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
853
853
  ],