MApps
@justaname.id/sdk • Docs
@justaname.id/sdk / MApps
Class: MApps
Constructors
new MApps()
new MApps(
params
):MApps
Parameters
• params: MAppsParams
Returns
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:31
Methods
addMAppPermission()
addMAppPermission(
params
):Promise
<SubnameResponse
>
Parameters
• params: Omit
<MakeOptionalProps
<AddMAppPermissionRequest
, never
>, never
>
Returns
Promise
<SubnameResponse
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:144
appendMAppField()
appendMAppField(
params
,headers
):Promise
<SubnameResponse
>
Parameters
• params: Omit
<MakeOptionalProps
<AppendMAppFieldRequest
, never
>, never
>
• headers: SIWEHeaders
Returns
Promise
<SubnameResponse
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:152
canEnableMApps()
canEnableMApps(
params
):Promise
<boolean
>
Parameters
• params
• params.chainId?: ChainId
• params.ens: string
Returns
Promise
<boolean
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:82
checkIfMAppIsEnabled()
checkIfMAppIsEnabled(
params
):Promise
<boolean
>
Parameters
• params
• params.chainId?: ChainId
• params.ens: string
• params.mApp: string
Returns
Promise
<boolean
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:39
requestAddMAppPermissionChallenge()
requestAddMAppPermissionChallenge(
params
):Promise
<RequestAddMAppPermissionChallengeResponse
>
Parameters
• params: Omit
<MakeOptionalProps
<RequestAddMAppPermissionChallengeRequest
, "origin"
| "domain"
| "chainId"
| "ttl"
>, never
>
Returns
Promise
<RequestAddMAppPermissionChallengeResponse
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:96
requestAppendMAppFieldChallenge()
requestAppendMAppFieldChallenge(
params
):Promise
<RequestAppendMAppFieldChallengeResponse
>
Parameters
• params: Omit
<MakeOptionalProps
<RequestAppendMAppFieldChallengeRequest
, "origin"
| "domain"
| "chainId"
| "ttl"
>, never
>
Returns
Promise
<RequestAppendMAppFieldChallengeResponse
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:112
requestRevokeMAppPermissionChallenge()
requestRevokeMAppPermissionChallenge(
params
):Promise
<RequestRevokeMAppPermissionChallengeResponse
>
Parameters
• params: Omit
<MakeOptionalProps
<RequestRevokeMAppPermissionChallengeRequest
, "origin"
| "domain"
| "chainId"
| "ttl"
>, never
>
Returns
Promise
<RequestRevokeMAppPermissionChallengeResponse
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:128
revokeMAppPermission()
revokeMAppPermission(
params
):Promise
<SubnameResponse
>
Parameters
• params: Omit
<MakeOptionalProps
<RevokeMAppPermissionRequest
, never
>, never
>
Returns
Promise
<SubnameResponse
>
Defined in
packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:163
Last updated