diff --git a/.env b/.env index 1768ad8..f94486d 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ CAN_PASS_SIGN_TRANSACTION_URL = http://pass.can.app.s3-website-ap-southeast-1.amazonaws.com/sign-transaction LOGIN_BUTTON_CLASS_NAME = can-pass-login-button -CAN_WALLET_GRAPHQL_ENDPOINT = https://gkqvmb5r76.execute-api.ap-southeast-1.amazonaws.com/dev/wallet +CAN_WALLET_GRAPHQL_ENDPOINT = https://2jje08ikc2.execute-api.ap-southeast-1.amazonaws.com/dev/wallet diff --git a/package.json b/package.json index a497ed8..4efeeb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "can-pass-js", - "version": "0.9.7", + "version": "0.9.8", "description": "Can Pass API SDK", "files": [ "dist", diff --git a/src/constants.ts b/src/constants.ts index 7da2dd6..7abcebf 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,3 +1,8 @@ -export const LOGIN_BUTTON_CLASS_NAME = process.env.LOGIN_BUTTON_CLASS_NAME || 'can-pass-login-button'; -export const CAN_WALLET_GRAPHQL_ENDPOINT = process.env.CAN_WALLET_GRAPHQL_ENDPOINT || '/wallet/graphql'; -export const CAN_PASS_SIGN_TX_URL = process.env.CAN_PASS_SIGN_TRANSACTION_URL || '/sign-transaction'; +export const LOGIN_BUTTON_CLASS_NAME = + process.env.LOGIN_BUTTON_CLASS_NAME || "can-pass-login-button"; +export const CAN_WALLET_GRAPHQL_ENDPOINT = + process.env.CAN_WALLET_GRAPHQL_ENDPOINT || + "https://2jje08ikc2.execute-api.ap-southeast-1.amazonaws.com/dev/wallet"; +export const CAN_PASS_SIGN_TX_URL = + process.env.CAN_PASS_SIGN_TRANSACTION_URL || + "http://pass.can.app.s3-website-ap-southeast-1.amazonaws.com/sign-transaction";