@dfns/sdk 0.6.6 → 0.6.7
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/generated/keys/client.js
CHANGED
|
@@ -103,7 +103,7 @@ class KeysClient {
|
|
|
103
103
|
return response.json();
|
|
104
104
|
}
|
|
105
105
|
async listSignatures(request) {
|
|
106
|
-
const path = (0, url_1.buildPathAndQuery)('/
|
|
106
|
+
const path = (0, url_1.buildPathAndQuery)('/keys/:keyId/signatures', {
|
|
107
107
|
path: request ?? {},
|
|
108
108
|
query: request.query ?? {},
|
|
109
109
|
});
|
|
@@ -177,7 +177,7 @@ class DelegatedKeysClient {
|
|
|
177
177
|
return response.json();
|
|
178
178
|
}
|
|
179
179
|
async listSignatures(request) {
|
|
180
|
-
const path = (0, url_1.buildPathAndQuery)('/
|
|
180
|
+
const path = (0, url_1.buildPathAndQuery)('/keys/:keyId/signatures', {
|
|
181
181
|
path: request ?? {},
|
|
182
182
|
query: request.query ?? {},
|
|
183
183
|
});
|
|
@@ -40,6 +40,7 @@ export type ExportKeyBody = {
|
|
|
40
40
|
protocol: "CGGMP21" | "FROST" | "FROST_BITCOIN" | "KU23";
|
|
41
41
|
curve: "ed25519" | "secp256k1" | "stark";
|
|
42
42
|
}[];
|
|
43
|
+
delete?: boolean | undefined;
|
|
43
44
|
};
|
|
44
45
|
export type ExportKeyParams = {
|
|
45
46
|
keyId: string;
|
|
@@ -247,6 +248,10 @@ export type GetKeyResponse = {
|
|
|
247
248
|
imported?: boolean | undefined;
|
|
248
249
|
exported?: boolean | undefined;
|
|
249
250
|
dateExported?: string | undefined;
|
|
251
|
+
wallets: {
|
|
252
|
+
id: string;
|
|
253
|
+
network: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | ("KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark");
|
|
254
|
+
}[];
|
|
250
255
|
};
|
|
251
256
|
export type GetKeyRequest = GetKeyParams;
|
|
252
257
|
export type GetSignatureParams = {
|