Skip to content

Commit

Permalink
change endpoint (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
linhlecle authored Jan 14, 2020
1 parent b6be2b8 commit fff490b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "can-pass-js",
"version": "0.9.7",
"version": "0.9.8",
"description": "Can Pass API SDK",
"files": [
"dist",
Expand Down
11 changes: 8 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit fff490b

Please sign in to comment.