update version to 1.0.0
This commit is contained in:
parent
9584774d18
commit
1350e34fd3
10
package.json
10
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"license": "MIT",
|
||||
"version": "1.0.0-alpha.3",
|
||||
"version": "1.0.0",
|
||||
"name": "@flaschengeist/balance",
|
||||
"author": "Ferdinand Thiessen <rpm@fthiessen.de>",
|
||||
"homepage": "https://flaschengeist.dev/Flaschengeist",
|
||||
|
@ -19,8 +19,8 @@
|
|||
"lint": "eslint --ext .js,.ts,.vue ./src"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@flaschengeist/api": "^1.0.0-alpha.8",
|
||||
"@flaschengeist/types": "^1.0.0-alpha.10",
|
||||
"@flaschengeist/api": "^1.0.0",
|
||||
"@flaschengeist/types": "^1.0.0",
|
||||
"@quasar/app-webpack": "^3.7.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
||||
"@typescript-eslint/parser": "^5.8.0",
|
||||
|
@ -37,8 +37,8 @@
|
|||
"typescript": "^4.5.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@flaschengeist/api": "1.0.0-alpha.8",
|
||||
"@flaschengeist/users": "1.0.0-alpha.4"
|
||||
"@flaschengeist/api": "1.0.0",
|
||||
"@flaschengeist/users": "1.0.0"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
|
|
|
@ -20,8 +20,7 @@ function transpile(msg: FG_Plugin.Notification) {
|
|||
if (message.data.type === BalanceTypes.send_from) {
|
||||
const receiver = <FG.User>store.findUser((<SendFromNotification>message.data).receiver_id);
|
||||
const author = <FG.User>store.findUser((<SendFromNotification>message.data).author_id);
|
||||
message.text = `${author.display_name} hat ${message.data.amount.toFixed(2)}€ von dir zu ${
|
||||
receiver.display_name
|
||||
message.text = `${author.display_name} hat ${message.data.amount.toFixed(2)}€ von dir zu ${receiver.display_name
|
||||
} überwiesen.`;
|
||||
} else if (message.data.type === BalanceTypes.send_to) {
|
||||
const sender = <FG.User>store.findUser((<SendToNotification>message.data).sender_id);
|
||||
|
@ -40,7 +39,7 @@ const plugin: FG_Plugin.Plugin = {
|
|||
name: 'Balance',
|
||||
innerRoutes: routes,
|
||||
requiredModules: [['balance']],
|
||||
version: '0.0.2',
|
||||
version: '1.0.0',
|
||||
notification: transpile,
|
||||
widgets: [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue