2 Commits

Author SHA1 Message Date
9a77b5722a 1.0.8 2022-05-29 00:33:37 +02:00
28d9d62bb4 fix(core): update 2022-05-29 00:33:36 +02:00
4 changed files with 5 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartntml",
"version": "1.0.7",
"version": "1.0.8",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartntml",
"version": "1.0.7",
"version": "1.0.8",
"license": "MIT",
"dependencies": {
"@happy-dom/global-registrator": "^4.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartntml",
"version": "1.0.7",
"version": "1.0.8",
"private": false,
"description": "lit-html for the backend",
"main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartntml',
version: '1.0.7',
version: '1.0.8',
description: 'lit-html for the backend'
}

View File

@ -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;