Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
jamalavedra committed Oct 17, 2024
1 parent 134bf13 commit cc024bd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ecosystem-sdk/sdk-sample/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
FROM node:20.18-slim

ARG NEXT_PUBLIC_POLICY_ID
ENV NEXT_PUBLIC_POLICY_ID=$NEXT_PUBLIC_POLICY_ID

ARG NEXT_PUBLIC_CLIENT_ID
ENV NEXT_PUBLIC_CLIENT_ID=$NEXT_PUBLIC_CLIENT_ID

RUN apt-get update -y && apt-get install -y openssl \
python3 \
make \
Expand Down
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.5",
"version": "0.0.6",
"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.5",
"version": "0.0.6",
"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.5",
"version": "0.0.6",
"main": "index.js",
"type": "commonjs",
"scripts": {
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.5",
"version": "0.0.6",
"private": true,
"dependencies": {
"@openfort/ecosystem-js": "latest",
Expand Down
6 changes: 5 additions & 1 deletion ecosystem-wallet/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import Loading from './Loading';
* @returns session ID
*/
async function getShieldSession(accessToken:string):Promise<string> {
const response = await fetch(process.env.REACT_APP_BACKEND_URL!, {
const response = await fetch(`${process.env.REACT_APP_BACKEND_URL!}/api/protected-create-encryption-session`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand All @@ -59,6 +59,10 @@ const ProtectedRoute = ({ component, ...args }: any) => {

function App() {
const nav = useNavigate()
console.log('REACT_APP_OPENFORT_PUBLIC_KEY', process.env.REACT_APP_OPENFORT_PUBLIC_KEY)
console.log('REACT_APP_SHIELD_PUBLIC_KEY', process.env.REACT_APP_SHIELD_PUBLIC_KEY)
console.log('REACT_APP_BACKEND_URL', process.env.REACT_APP_BACKEND_URL)
console.log('REACT_APP_APP_NAME', process.env.REACT_APP_APP_NAME)

return (
<FortProvider
Expand Down

0 comments on commit cc024bd

Please sign in to comment.