diff --git a/package-lock.json b/package-lock.json index a78b892..b520e86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "paperback-extensions-common", - "version": "2.1.123", + "version": "2.1.15", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f17ef7e..a0c1a7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paperback-extensions-common", - "version": "2.1.14", + "version": "2.1.15", "description": "The base methods and structures for a Paperback extension repo", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/base/Source.ts b/src/base/Source.ts index d65856b..1ed6383 100644 --- a/src/base/Source.ts +++ b/src/base/Source.ts @@ -89,14 +89,14 @@ export abstract class Source { * By supplying this value to the Source, the app will render your form to the user * in the application settings. */ - getAppStatefulForm(): UserForm { return createUserForm({formElements: []})} + getAppStatefulForm(): Promise { return Promise.resolve(createUserForm({formElements: []}))} /** * When the Advanced Search is rendered to the user, this skeleton defines what * fields which will show up to the user, and returned back to the source * when the request is made. */ - getAdvancedSearchForm(): UserForm { return createUserForm({formElements: []})} + getAdvancedSearchForm(): Promise { return Promise.resolve(createUserForm({formElements: []}))} /** * (OPTIONAL METHOD) Given a manga ID, return a URL which Safari can open in a browser to display.