From 28d9d62bb40266a4d2f5cd422e07453e4b47a559 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 29 May 2022 00:33:36 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;