generated from fission-codes/project-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add browser extension support (#504)
* Add connect and disconnect handlers * Add State type and rework state helper function * Add filesystem event listeners * Add session events and emitters * Emit ready post message when Webnative is ready * Emit session on session create event We need to update the configuration used by the extension listeners when a session is created. Adding the session to the event gets us access to the session. * Add check to avoid adding listeners more than once * Add timestamps to messages * Add capabilities to state * Move version into a odd object Version in the app object is confusing because it seems like it might be the app version, not the ODD version. * Only send capabilities on state when defined * Re-work event listener types and interface * Break up circular dependency * Rename webnative to odd * Update changelog * Move events onto program and rename them Add event namespaces as strings to event names, for example `fileSystem:publish`. * Update version to 0.37.0 * Rename filesystem window message types to fileSystem * Rename filesystem to fileSystem in State object * Emit session create from session constructor * Add event emitter merge
- Loading branch information
Showing
12 changed files
with
364 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const VERSION = "0.36.3" | ||
export const VERSION = "0.37.0" | ||
export const WASM_WNFS_VERSION = "0.1.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.