Skip to content

Commit

Permalink
fix: auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
jamalavedra committed Oct 18, 2024
1 parent 654253f commit f3fcc7e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ecosystem-sdk/sdk-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/wallets-connect-with-nextjs",
"version": "0.0.10",
"version": "0.0.11",
"dependencies": {
"@rapidfire/id": "^0.0.3",
"@tanstack/react-query": "^5.51.11",
Expand Down
2 changes: 1 addition & 1 deletion ecosystem-sdk/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rapidfire/id",
"version": "0.0.10",
"version": "0.0.11",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion ecosystem-wallet/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ecosystem-backend",
"version": "0.0.10",
"version": "0.0.11",
"main": "index.js",
"type": "commonjs",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion ecosystem-wallet/backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dotenv.config();
const PORT = process.env.PORT ?? 3000;


if (!process.env.OPENFORT_SECRET_KEY) {
if (!process.env.OPENFORT_SECRET_KEY || !process.env.SHIELD_PUBLIC_KEY || !process.env.SHIELD_SECRET_KEY || !process.env.ENCRYPTION_SHARE) {
throw new Error(
`Unable to load the .env file. Please copy .env.example to .env and fill in the required environment variables.`
);
Expand Down
2 changes: 1 addition & 1 deletion ecosystem-wallet/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ecosystem-frontend",
"version": "0.0.10",
"version": "0.0.11",
"private": true,
"dependencies": {
"@openfort/ecosystem-js": "latest",
Expand Down
2 changes: 1 addition & 1 deletion ecosystem-wallet/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function getShieldSession(accessToken:string):Promise<string> {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${accessToken}`
'Authorization': `${accessToken}`
}
});

Expand Down

0 comments on commit f3fcc7e

Please sign in to comment.