import { client, Profiles } from 'anchorbrowser';// ANCHORBROWSER_API_KEY is read from the environment by default;// set it explicitly like this:client.setConfig({ auth: () => 'your-api-key' });const result = await Profiles.createProfile({ body: { name: 'string' }});console.log(result);
import { client, Profiles } from 'anchorbrowser';// ANCHORBROWSER_API_KEY is read from the environment by default;// set it explicitly like this:client.setConfig({ auth: () => 'your-api-key' });const result = await Profiles.listProfiles();console.log(result);
import { client, Profiles } from 'anchorbrowser';// ANCHORBROWSER_API_KEY is read from the environment by default;// set it explicitly like this:client.setConfig({ auth: () => 'your-api-key' });const result = await Profiles.getProfile({ path: { name: 'your-name' }});console.log(result);
import { client, Profiles } from 'anchorbrowser';// ANCHORBROWSER_API_KEY is read from the environment by default;// set it explicitly like this:client.setConfig({ auth: () => 'your-api-key' });const result = await Profiles.deleteProfile({ path: { name: 'your-name' }});console.log(result);