Skip to content

Commit

Permalink
PRO-2509-ERC20PaymasterV07 (#118)
Browse files Browse the repository at this point in the history
* added migration script and also support for ep07 for erc20

* updated package version
  • Loading branch information
vignesha22 authored Jul 26, 2024
1 parent 05bc1f7 commit 097689e
Show file tree
Hide file tree
Showing 10 changed files with 807 additions and 22 deletions.
4 changes: 2 additions & 2 deletions admin_frontend/package-lock.json

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

2 changes: 1 addition & 1 deletion admin_frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "admin_frontend",
"version": "1.3.0",
"version": "1.3.1",
"private": true,
"dependencies": {
"@emotion/react": "11.11.3",
Expand Down
11 changes: 11 additions & 0 deletions backend/migrations/20240725000001-update-apiKey-table.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require('dotenv').config();

async function up({ context: queryInterface }) {
await queryInterface.sequelize.query(`ALTER TABLE IF EXISTS arka.api_keys ADD COLUMN "ERC20_PAYMASTERS_V2" text default null`);
}

async function down({ context: queryInterface }) {
await queryInterface.sequelize.query(`ALTER TABLE "${process.env.DATABASE_SCHEMA_NAME}".api_keys DROP COLUMN ERC20_PAYMASTERS_V2;`);
}

module.exports = { up, down }
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arka",
"version": "1.3.0",
"version": "1.3.1",
"description": "ARKA - (Albanian for Cashier's case) is the first open source Paymaster as a service software",
"type": "module",
"directories": {
Expand Down
Loading

0 comments on commit 097689e

Please sign in to comment.