38 lines
1.3 KiB
TypeScript
38 lines
1.3 KiB
TypeScript
|
|
// Copyright (C) 2026 Whiterun LLC,
|
||
|
|
// This software is licensed under the GNU Lesser General Public License (LGPL), version 3.0 or later.
|
||
|
|
// A copy of the license can be found in the LICENSE file or at https://www.gnu.org/licenses/lgpl-3.0.html
|
||
|
|
|
||
|
|
export { RelayClient } from "./relay-client.js";
|
||
|
|
export type { RelayClientConfig } from "./relay-client.js";
|
||
|
|
export { RelayStatus, initiateRelay } from "./relay-handler.js";
|
||
|
|
export type {
|
||
|
|
RelayUpdatePayload,
|
||
|
|
RelayStatusCallback,
|
||
|
|
} from "./relay-handler.js";
|
||
|
|
export { initiateDappRelay } from "./dapp-relay.js";
|
||
|
|
export type { DappRelayOptions, DappRelayResult } from "./dapp-relay.js";
|
||
|
|
export { initiateWalletRelay } from "./wallet-relay.js";
|
||
|
|
export type { WalletRelayOptions, WalletRelayResult } from "./wallet-relay.js";
|
||
|
|
export {
|
||
|
|
generateKeyExchangeCredentials,
|
||
|
|
encodeKeyExchangeURI,
|
||
|
|
decodeKeyExchangeURI,
|
||
|
|
DEFAULT_RELAY_HOSTNAME,
|
||
|
|
DEFAULT_RELAY_PORT,
|
||
|
|
DEFAULT_RELAY_PROTOCOL,
|
||
|
|
} from "./key-exchange.js";
|
||
|
|
export type {
|
||
|
|
KeyExchangeCredentials,
|
||
|
|
DecodedKeyExchangeURI,
|
||
|
|
KeyExchangeURIOptions,
|
||
|
|
KeyExchangeURIResult,
|
||
|
|
} from "./key-exchange.js";
|
||
|
|
export * from "./protocols/hdwalletv1.js";
|
||
|
|
export * from "./protocols/base.js";
|
||
|
|
export {
|
||
|
|
binToHex,
|
||
|
|
hexToBin,
|
||
|
|
binToBech32Padded,
|
||
|
|
bech32PaddedToBin,
|
||
|
|
} from "@bitauth/libauth";
|