@thenamespace/ens-components 1.4.0 → 1.5.0
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/dist/index.d.ts +1 -18
- package/dist/index.js +20577 -61525
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as _thenamespace_offchain_manager from '@thenamespace/offchain-manager'
|
|
|
4
4
|
import { ChainName as ChainName$2, OffchainClient } from '@thenamespace/offchain-manager';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import React__default, { ReactNode } from 'react';
|
|
7
|
+
import { UploadResult } from '@thenamespace/avatar';
|
|
7
8
|
|
|
8
9
|
interface EnsRecords$1 {
|
|
9
10
|
addresses: EnsAddressRecord$1[];
|
|
@@ -892,24 +893,6 @@ declare const useMintSubname: ({ chainId }: {
|
|
|
892
893
|
|
|
893
894
|
declare const useOffchainManager: (name: string, apiKeyOrToken: string, isTestnet?: boolean) => _thenamespace_offchain_manager.OffchainClient;
|
|
894
895
|
|
|
895
|
-
/**
|
|
896
|
-
* Upload result
|
|
897
|
-
*/
|
|
898
|
-
interface UploadResult {
|
|
899
|
-
/** URL of the uploaded image */
|
|
900
|
-
url: string;
|
|
901
|
-
/** Upload timestamp */
|
|
902
|
-
uploadedAt: string;
|
|
903
|
-
/** File size in bytes */
|
|
904
|
-
fileSize: number;
|
|
905
|
-
/** Whether this was an update to existing image */
|
|
906
|
-
isUpdate: boolean;
|
|
907
|
-
/** Whether the upload is pending (for unregistered names) */
|
|
908
|
-
pending?: boolean;
|
|
909
|
-
/** Optional message from the server */
|
|
910
|
-
message?: string;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
896
|
interface UseAvatarClientParams {
|
|
914
897
|
isTestnet?: boolean;
|
|
915
898
|
domain?: string;
|