From 0494f0929ae9124d1e2092c9d9150f3d71b5cdf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20Bardaj=C3=AD=20Puig?= Date: Wed, 4 Sep 2024 22:46:02 +0200 Subject: [PATCH] Add deprecation notice --- src/addresses/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/addresses/index.ts b/src/addresses/index.ts index c0c1778..fa46deb 100644 --- a/src/addresses/index.ts +++ b/src/addresses/index.ts @@ -4,6 +4,9 @@ import { createUnsecuredToken } from 'jsontokens'; import { getProviderOrThrow } from '../provider'; import type { GetAddressOptions } from './types'; +/** + * @deprecated Use `request()` instead + */ export const getAddress = async (options: GetAddressOptions) => { const provider = await getProviderOrThrow(options.getProvider);