diff --git a/veilid-flutter/lib/veilid_config.dart b/veilid-flutter/lib/veilid_config.dart index e6a5001e..62fa7e8f 100644 --- a/veilid-flutter/lib/veilid_config.dart +++ b/veilid-flutter/lib/veilid_config.dart @@ -645,8 +645,8 @@ class VeilidConfigRPC { //////////// class VeilidConfigRoutingTable { - List nodeId; - List nodeIdSecret; + List nodeId; + List nodeIdSecret; List bootstrap; int limitOverAttached; int limitFullyAttached; @@ -679,10 +679,10 @@ class VeilidConfigRoutingTable { } VeilidConfigRoutingTable.fromJson(dynamic json) - : nodeId = List.from( - json['node_id'].map((j) => PublicKey.fromJson(j))), - nodeIdSecret = List.from( - json['node_id_secret'].map((j) => PublicKey.fromJson(j))), + : nodeId = List.from( + json['node_id'].map((j) => TypedKey.fromJson(j))), + nodeIdSecret = List.from( + json['node_id_secret'].map((j) => TypedSecret.fromJson(j))), bootstrap = List.from(json['bootstrap'].map((j) => j)), limitOverAttached = json['limit_over_attached'], limitFullyAttached = json['limit_fully_attached'], diff --git a/veilid-flutter/lib/veilid_crypto.dart b/veilid-flutter/lib/veilid_crypto.dart index 881f98db..85ce5f80 100644 --- a/veilid-flutter/lib/veilid_crypto.dart +++ b/veilid-flutter/lib/veilid_crypto.dart @@ -132,6 +132,8 @@ typedef SharedSecret = CryptoKey; typedef CryptoKeyDistance = CryptoKey; typedef TypedKey = Typed; +typedef TypedSecret = Typed; + typedef TypedSignature = Typed; //////////////////////////////////////