diff --git a/packages/at_policy/lib/src/policy/interfaces.dart b/packages/at_policy/lib/src/policy/interfaces.dart index d9df40bc..644966f9 100644 --- a/packages/at_policy/lib/src/policy/interfaces.dart +++ b/packages/at_policy/lib/src/policy/interfaces.dart @@ -52,6 +52,8 @@ abstract class PolicyService implements AtRpcCallbacks { String? loggingAtsign, Set? allowList, bool allowAll = true, + RpcTransformer? requestTransformer, + RpcTransformer? responseTransformer, }) { return PolicyServiceImpl( atClient: atClient, @@ -61,6 +63,8 @@ abstract class PolicyService implements AtRpcCallbacks { loggingAtsign: loggingAtsign ?? atClient.getCurrentAtSign()!, allowList: allowList ?? {}, allowAll: allowAll, + requestTransformer: requestTransformer, + responseTransformer: responseTransformer, ); } }