diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index f571f1a..6dfecc7 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartntml', - version: '1.0.7', + version: '1.0.8', description: 'lit-html for the backend' } diff --git a/ts/index.ts b/ts/index.ts index 180f404..ec281fd 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -16,6 +16,7 @@ export class Smartntml { if (this.smartntmlSingletonDeferred) { return this.smartntmlSingletonDeferred.promise; } + this.smartntmlSingletonDeferred = plugins.smartpromise.defer(); const smartntmlInstance = await this.createAndInit(); this.smartntmlSingletonDeferred.resolve(smartntmlInstance); return this.smartntmlSingletonDeferred.promise;