Skip to content

Commit

Permalink
added refund participant statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddentao committed Mar 8, 2019
1 parent 2bbf9ff commit a66c23f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wearekickback/shared",
"version": "1.13.0",
"version": "1.14.0",
"description": "Shared utils between client and server",
"main": "dist/index.js",
"module": "src/index.js",
Expand Down
2 changes: 2 additions & 0 deletions src/participants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const PARTICIPANT_STATUS = {
REGISTERED: 'REGISTERED',
SHOWED_UP: 'SHOWED_UP',
WITHDRAWN_PAYOUT: 'WITHDRAWN_PAYOUT',
REFUND_READY: 'REFUND_READY',
WITHDRAWN_REFUND: 'WITHDRAWN_REFUND',
}

export const isParticipant = (participants, address) =>
Expand Down
2 changes: 2 additions & 0 deletions src/participants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ describe('participant status', () => {
REGISTERED: 'REGISTERED',
SHOWED_UP: 'SHOWED_UP',
WITHDRAWN_PAYOUT: 'WITHDRAWN_PAYOUT',
REFUND_READY: 'REFUND_READY',
WITHDRAWN_REFUND: 'WITHDRAWN_REFUND',
})
})
})
Expand Down

0 comments on commit a66c23f

Please sign in to comment.