diff --git a/package-lock.json b/package-lock.json index 6bf4c66..cd469e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "roamjs-components", - "version": "0.85.7", + "version": "0.86.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "roamjs-components", - "version": "0.85.7", + "version": "0.86.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index bc7b80d..de11420 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "roamjs-components", "description": "Expansive toolset, utilities, & components for developing RoamJS extensions.", - "version": "0.85.7", + "version": "0.86.0", "main": "index.js", "types": "index.d.ts", "scripts": { diff --git a/src/types/index.ts b/src/types/index.ts index bb652d5..7f69786 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -257,12 +257,12 @@ declare global { el: HTMLElement; "zoom-path?"?: boolean; // "open?"?: boolean; Not available yet in the API - }) => null; + }) => Promise; renderPage: (args: { uid: string; el: HTMLElement; "hide-mentions?"?: boolean; - }) => null; + }) => Promise; renderSearch: (args: { "search-query-str": string; el: HTMLElement; @@ -270,9 +270,12 @@ declare global { "group-by-page?"?: boolean; "hide-paths?"?: boolean; "config-changed-callback"?: (config: unknown) => void; - }) => null; - // renderString: (args: { string: string; el: HTMLElement }) => null; Not available yet in the API - unmountNode: (args: { el: HTMLElement }) => void; + }) => Promise; + renderString: (args: { + string: string; + el: HTMLElement; + }) => Promise; + unmountNode: (args: { el: HTMLElement }) => Promise; }; graphView: { addCallback: (props: {