Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feat(core): add flag for allowing save tx (#129)
Browse files Browse the repository at this point in the history
* feat(core): add flag for allowing save tx

* fix: eslint and cleanup
  • Loading branch information
chloezxyy authored Jan 24, 2024
1 parent dcc0b87 commit 5e41d41
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
12 changes: 12 additions & 0 deletions cypress/fixtures/flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,5 +348,17 @@
],
"platforms": ["ios", "android", "web"],
"app": ["MOBILE_LW"]
},
{
"id": "save_tx",
"name": "Allow to save tx",
"stage": "public",
"version": ">=2.37.0",
"description": "Allow to save tx in mainnet",
"networks": [
"MainNet"
],
"platforms": ["ios", "android", "web"],
"app": ["MOBILE_LW"]
}
]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@tailwindcss/line-clamp": "^0.4.4",
"@waveshq/standard-defichain-jellyfishsdk": "^1.0.4",
"@waveshq/standard-web": "^1.0.4",
"@waveshq/walletkit-core": "^1.3.8",
"@waveshq/walletkit-core": "^1.3.10",
"autoprefixer": "^10.4.14",
"bignumber.js": "^9.1.1",
"clsx": "^1.2.1",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/pages/api/v0/settings/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,5 +374,15 @@ export default async function handle(
platforms: ["ios", "android", "web"],
app: ["MOBILE_LW"],
},
{
id: "save_tx",
name: "Allow to save tx",
stage: "public",
version: ">=2.37.0",
description: "Allow to save tx in mainnet",
networks: [EnvironmentNetwork.MainNet],
platforms: ["ios", "android", "web"],
app: ["MOBILE_LW"],
},
]);
}

0 comments on commit 5e41d41

Please sign in to comment.