Skip to content

Commit

Permalink
adapt sdk changes
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Nov 10, 2022
1 parent a8e445b commit 8cb8a20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/common/helpers/provider/masa-context.tsx
Expand Up @@ -158,7 +158,11 @@ export const MasaContextProvider = ({ children }: MasaContextProviderProps) => {

const handlePurchaseSoulname = useCallback(
async (soulname, duration, paymentMethod) => {
await masaInstance?.identity.create(soulname, duration, paymentMethod);
await masaInstance?.identity.createWithSoulName(
soulname,
duration,
paymentMethod
);

await loadIdentity();
},
Expand Down

0 comments on commit 8cb8a20

Please sign in to comment.