fix(core): update
This commit is contained in:
		
							
								
								
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -2189,9 +2189,9 @@ | ||||
|       } | ||||
|     }, | ||||
|     "@pushrocks/websetup": { | ||||
|       "version": "3.0.7", | ||||
|       "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebsetup/-/websetup-3.0.7.tgz", | ||||
|       "integrity": "sha512-2r8WsxHRXccxVpmeIvUtPmA7T+vc9gieGaZd4Ae2UnWeDdtO8VBdl2t2plJvM5RI0qytTcLFUhNmzqMuSwMR5g==", | ||||
|       "version": "3.0.8", | ||||
|       "resolved": "https://verdaccio.lossless.one/@pushrocks%2fwebsetup/-/websetup-3.0.8.tgz", | ||||
|       "integrity": "sha512-JyuzLMAaMtA3Mwc1ZtN9HdGONaYqwYTOEgLL15oKMqIW0I3lElW+qq4y94F1OXffM6Y9nJvtj+wmh0zqDYPT2A==", | ||||
|       "requires": { | ||||
|         "@pushrocks/smartpromise": "^3.1.3", | ||||
|         "@tsclass/tsclass": "^3.0.29" | ||||
|   | ||||
| @@ -30,7 +30,7 @@ | ||||
|     "@pushrocks/smartrouter": "^1.0.4", | ||||
|     "@pushrocks/smartstate": "^1.0.17", | ||||
|     "@pushrocks/webrequest": "^2.0.13", | ||||
|     "@pushrocks/websetup": "^3.0.7", | ||||
|     "@pushrocks/websetup": "^3.0.8", | ||||
|     "@pushrocks/webstore": "^1.0.16", | ||||
|     "lit-element": "^2.4.0", | ||||
|     "sweet-scroll": "^4.0.0" | ||||
|   | ||||
| @@ -64,7 +64,11 @@ export class DomTools { | ||||
|     bodyElement: null, | ||||
|   }; | ||||
|  | ||||
|   public websetup: WebSetup; | ||||
|   public websetup: WebSetup = new WebSetup({ | ||||
|     metaObject: { | ||||
|       title: 'loading...' | ||||
|     } | ||||
|   }); | ||||
|  | ||||
|   public smartstate = new plugins.smartstate.Smartstate(); | ||||
|   public domToolsStatePart = this.smartstate.getStatePart<IDomToolsState>('domtools', { | ||||
| @@ -145,7 +149,7 @@ export class DomTools { | ||||
|   } | ||||
|  | ||||
|   public async setWebsiteInfo(optionsArg: plugins.websetup.IWebSetupConstructorOptions) { | ||||
|     this.websetup = new plugins.websetup.WebSetup(optionsArg); | ||||
|     this.websetup.setup(optionsArg); | ||||
|     await this.websetup.readyPromise; | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user