diff --git a/package.json b/package.json index 6d7ab56..2f5e271 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@mui/lab": "^5.0.0-alpha.119", "@mui/material": "^5.11.8", "@mui/x-date-pickers": "^5.0.18", - "@taskratchet/sdk": "^0.0.2", + "@taskratchet/sdk": "^0.0.3", "dayjs": "^1.11.7", "firebase": "^9.17.1", "highlight.run": "5.1.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f7890ab..c25ff7d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,8 +30,8 @@ importers: specifier: ^5.0.18 version: 5.0.20(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.6(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.16.6(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(dayjs@1.11.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@taskratchet/sdk': - specifier: ^0.0.2 - version: 0.0.2 + specifier: ^0.0.3 + version: 0.0.3 dayjs: specifier: ^1.11.7 version: 1.11.12 @@ -1155,8 +1155,8 @@ packages: '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - '@taskratchet/sdk@0.0.2': - resolution: {integrity: sha512-1YtirSCod/45fZ4uQWNqhPyDjYsH6mhCR/1rr1sNfIMpvhcc7pWRGjxQSRql2N65BgCtRiM8+KrbRaHR7/Y6kA==} + '@taskratchet/sdk@0.0.3': + resolution: {integrity: sha512-puZADbWU/8eJ23YlGUGTxA9HfYA2L8dmiL/mAjOxQV1v4yabF8D283eUsc5i7mmuK11SjA8Bn33utaBTbe3bUA==} '@testing-library/dom@8.20.1': resolution: {integrity: sha512-/DiOQ5xBxgdYRC8LNk7U+RWat0S3qRLeIw3ZIkMQ9kkVlRmwD/Eg8k8CqIpD6GW7u20JIUOfMKbxtiLutpjQ4g==} @@ -4409,7 +4409,7 @@ snapshots: '@sinclair/typebox@0.27.8': {} - '@taskratchet/sdk@0.0.2': + '@taskratchet/sdk@0.0.3': dependencies: firebase: 10.12.5 transitivePeerDependencies: diff --git a/vite.config.ts b/vite.config.ts index 0ca266c..65ecd4b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,6 +37,8 @@ export default defineConfig(({ mode }) => { env.VITE_FIREBASE_MESSAGING_SENDER_ID, ), __FIREBASE_APP_ID__: JSON.stringify(env.VITE_FIREBASE_APP_ID), + __API1_URL__: JSON.stringify(env.VITE_API1_URL), + __API2_URL__: JSON.stringify(env.VITE_API2_URL), }, }; diff --git a/vite.d.ts b/vite.d.ts index ec8a1e8..65ba5aa 100644 --- a/vite.d.ts +++ b/vite.d.ts @@ -5,3 +5,5 @@ declare const __FIREBASE_PROJECT_ID__: string; declare const __FIREBASE_STORAGE_BUCKET__: string; declare const __FIREBASE_MESSAGING_SENDER_ID__: string; declare const __FIREBASE_APP_ID__: string; +declare const __API1_URL__: string; +declare const __API2_URL__: string; \ No newline at end of file