UNPKG

@newcoin-core/agent

Version:

A super simple way to set up newOS agents

14 lines (13 loc) 454 B
import { Api } from "@newstackdev/iosdk-newgraph-client-js"; export declare class CreatorApi extends Api<{ token: string; }> { } import { UserReadPrivateResponse } from "@newstackdev/iosdk-newgraph-client-js"; export declare const NewgraphApi: () => { initialize(baseUrl: string): CreatorApi; getCurrentToken(): string; updateToken(token: string): void; authorize(): Promise<UserReadPrivateResponse>; readonly api: CreatorApi; };