Skip to content

Commit

Permalink
Merge pull request #15 from ora-io/dev
Browse files Browse the repository at this point in the history
fix(orap): onListenFn called twice
  • Loading branch information
murongg authored Sep 16, 2024
2 parents 352cf86 + 9daac54 commit 7540f4d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ora-stack",
"version": "0.1.5",
"version": "0.1.6",
"private": true,
"packageManager": "[email protected]",
"description": "",
Expand Down
2 changes: 1 addition & 1 deletion packages/orap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ora-io/orap",
"type": "module",
"version": "0.1.5",
"version": "0.1.6",
"packageManager": "[email protected]",
"description": "",
"author": "Norman (nom4dv3), MuRong",
Expand Down
2 changes: 1 addition & 1 deletion packages/orap/src/verse/orap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('OrapVerse', () => {
orapVerse.setEventVerses([eventVerse])
orapVerse.play()
expect(playSpy).toHaveBeenCalled()
expect(orapFlow.onListenFn).toHaveBeenCalled()
// expect(orapFlow.onListenFn).toHaveBeenCalled()
})

it('should set the event verses', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/orap/src/verse/orap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class OrapVerse implements Verse {
for (const verse of this._eventVerses)
verse.play()

this.flow?.onListenFn()
// this.flow?.onListenFn()
// return this
}

Expand Down
2 changes: 1 addition & 1 deletion packages/reku/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ora-io/reku",
"type": "module",
"version": "0.1.5",
"version": "0.1.6",
"packageManager": "[email protected]",
"description": "",
"author": "Norman (nom4dv3), MuRong",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ora-io/utils",
"type": "module",
"version": "0.1.5",
"version": "0.1.6",
"packageManager": "[email protected]",
"description": "",
"author": "Norman (nom4dv3), MuRong",
Expand Down

0 comments on commit 7540f4d

Please sign in to comment.