Constructors
constructor
- new Profile(profile?: object): Profile
-
Parameters
-
Default value profile: object = {}
Properties
_profile
_profile: object
Methods
toToken
- toToken(privateKey: string): any
Static fromToken
- fromToken(token: string, publicKeyOrAddress?: string | null): Profile
-
Parameters
-
token: string
-
Default value publicKeyOrAddress: string | null = null
Static makeZoneFile
- makeZoneFile(domainName: string, tokenFileURL: string): any
-
Parameters
-
domainName: string
-
tokenFileURL: string
Returns any
Static validateProofs
- validateProofs(domainName: string): Promise<any[]>
-
Parameters
Returns Promise<any[]>
Static validateSchema
- validateSchema(profile: any, strict?: boolean): any
-
Parameters
-
profile: any
-
Default value strict: boolean = false
Returns any