@goldfishjs/plugins
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -61,4 +61,4 @@ import _observable from "@goldfishjs/reactive-connect/lib/decorators/observable"; | ||
_createClass(Plugin, [{ | ||
key: "waitForEverythingReady", | ||
value: function waitForEverythingReady() { | ||
key: "waitForReady", | ||
value: function waitForReady() { | ||
return __awaiter(this, void 0, void 0, | ||
@@ -65,0 +65,0 @@ /*#__PURE__*/ |
@@ -89,3 +89,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
_context2.next = 2; | ||
return this.waitForEverythingReady(); | ||
return this.waitForReady(); | ||
@@ -92,0 +92,0 @@ case 2: |
{ | ||
"name": "@goldfishjs/plugins", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "goldfish-plugins", | ||
@@ -19,8 +19,8 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@goldfishjs/bridge": "^0.0.10", | ||
"@goldfishjs/reactive": "^0.0.10", | ||
"@goldfishjs/reactive-connect": "^0.0.10", | ||
"@goldfishjs/requester": "^0.0.10", | ||
"@goldfishjs/route": "^0.0.10", | ||
"@goldfishjs/utils": "^0.0.10", | ||
"@goldfishjs/bridge": "^0.0.11", | ||
"@goldfishjs/reactive": "^0.0.11", | ||
"@goldfishjs/reactive-connect": "^0.0.11", | ||
"@goldfishjs/requester": "^0.0.11", | ||
"@goldfishjs/route": "^0.0.11", | ||
"@goldfishjs/utils": "^0.0.11", | ||
"mini-types": "^0.0.4" | ||
@@ -27,0 +27,0 @@ }, |
@@ -18,3 +18,3 @@ import { watch } from '@goldfishjs/reactive'; | ||
public async waitForEverythingReady() { | ||
public async waitForReady() { | ||
return new Promise((resolve) => { | ||
@@ -21,0 +21,0 @@ const stop = watch( |
@@ -21,3 +21,3 @@ import Plugin, { GetPlugin } from './Plugin'; | ||
) { | ||
await this.waitForEverythingReady(); | ||
await this.waitForReady(); | ||
if (!this.requester) { | ||
@@ -24,0 +24,0 @@ throw new Error('The requester is not ready.'); |
@@ -9,5 +9,5 @@ export declare type PluginClass<P extends Plugin = Plugin> = { | ||
isInitCompleted: boolean; | ||
waitForEverythingReady(): Promise<unknown>; | ||
waitForReady(): Promise<unknown>; | ||
abstract init(getPlugin: GetPlugin): Promise<void>; | ||
abstract destroy(): void; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63306
+ Added@goldfishjs/bridge@0.0.11(transitive)
+ Added@goldfishjs/reactive@0.0.11(transitive)
+ Added@goldfishjs/reactive-connect@0.0.11(transitive)
+ Added@goldfishjs/requester@0.0.11(transitive)
+ Added@goldfishjs/route@0.0.11(transitive)
+ Added@goldfishjs/utils@0.0.11(transitive)
- Removed@goldfishjs/bridge@0.0.10(transitive)
- Removed@goldfishjs/reactive@0.0.10(transitive)
- Removed@goldfishjs/reactive-connect@0.0.10(transitive)
- Removed@goldfishjs/requester@0.0.10(transitive)
- Removed@goldfishjs/route@0.0.10(transitive)
- Removed@goldfishjs/utils@0.0.10(transitive)
Updated@goldfishjs/bridge@^0.0.11
Updated@goldfishjs/reactive@^0.0.11
Updated@goldfishjs/route@^0.0.11
Updated@goldfishjs/utils@^0.0.11