Skip to content

Commit

Permalink
feat: update gardenfi package
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Jan 7, 2025
1 parent 5324e41 commit d12f551
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 20 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
"@fontsource/poppins": "^5.0.8",
"@gardenfi/core": "2.0.2",
"@gardenfi/orderbook": "2.0.0",
"@gardenfi/react-hooks": "2.0.1",
"@gardenfi/react-hooks": "2.0.3",
"@gardenfi/utils": "2.0.0",
"@gemwallet/api": "^3.8.0",
"@ledgerhq/hw-app-xrp": "^6.29.4",
"@ledgerhq/hw-transport-webusb": "^6.28.6",
"@netlify/functions": "^2.8.1",
"@reduxjs/toolkit": "^1.9.7",
"@rollup/plugin-inject": "^5.0.5",
"@tanstack/react-form": "^0.33.0",
"@tanstack/react-query": "^5.51.16",
"@trivago/prettier-plugin-sort-imports": "^4.2.1",
Expand Down Expand Up @@ -68,8 +69,8 @@
"redux": "^4.2.1",
"redux-persist": "^6.0.0",
"redux-persist-expire": "^1.1.1",
"vite-plugin-toml": "^0.7.0",
"viem": "^2.21.15",
"vite-plugin-toml": "^0.7.0",
"wagmi": "2.14.6",
"xrpl": "^4.0.0"
},
Expand Down
12 changes: 0 additions & 12 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,24 +85,12 @@ export default defineConfig(async ({ mode }) => {
plugins: [react(), wasm(), ViteToml()],
build: {
target: 'esnext',
rollupOptions: {
external: ['@safe-window/safe-apps-sdk', '@safe-window/safe-apps-provider'],
}
},
define: {
global: 'window',
appConfiguration,
},
resolve: {
alias: [
{
find: '@safe-window/safe-apps-provider',
replacement: '@safe-global/safe-apps-provider'
},
{
find: '@safe-window/safe-apps-sdk',
replacement: '@safe-global/safe-apps-sdk'
},
{
find: "@store",
replacement: resolve(__dirname, './src/app/store')
Expand Down
46 changes: 40 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1960,10 +1960,10 @@
viem "^2.21.15"
ws "^8.14.2"

"@gardenfi/[email protected].1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@gardenfi/react-hooks/-/react-hooks-2.0.1.tgz#183cb4882050c5592ff13e84ed38f7561c979d75"
integrity sha512-+d92pJYQ3th4cFzUx2ixVyeqcEBMm5VefIEIf3Zg1JxbXbxrfHCSB3uZa6KAN9t+JbRhM74r2nqyP1C6N9wqhQ==
"@gardenfi/[email protected].3":
version "2.0.3"
resolved "https://registry.yarnpkg.com/@gardenfi/react-hooks/-/react-hooks-2.0.3.tgz#8e9afd30467773db46655670459b612f29da18ba"
integrity sha512-jD+JhVHOvxUbbZc7IembVPU5/ZwMAcAKGljJ1vAxVkeGEoAeBv2Qz2aqY5A2bepOodgovPkkTb/6KpK4f0oFOw==
dependencies:
"@catalogfi/utils" "^0.1.6"
"@catalogfi/wallets" "^0.2.51"
Expand All @@ -1972,7 +1972,6 @@
"@gardenfi/utils" "^2.0.0"
react "^18.3.1"
viem "^2.21.15"
wagmi "^2.12.16"

"@gardenfi/[email protected]", "@gardenfi/utils@^2.0.0":
version "2.0.0"
Expand Down Expand Up @@ -2039,6 +2038,11 @@
resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz"
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==

"@jridgewell/sourcemap-codec@^1.5.0":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a"
integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==

"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25":
version "0.3.25"
resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz"
Expand Down Expand Up @@ -2710,6 +2714,24 @@
dependencies:
web-streams-polyfill "^3.1.1"

"@rollup/plugin-inject@^5.0.5":
version "5.0.5"
resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz#616f3a73fe075765f91c5bec90176608bed277a3"
integrity sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==
dependencies:
"@rollup/pluginutils" "^5.0.1"
estree-walker "^2.0.2"
magic-string "^0.30.3"

"@rollup/pluginutils@^5.0.1":
version "5.1.4"
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.1.4.tgz#bb94f1f9eaaac944da237767cdfee6c5b2262d4a"
integrity sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==
dependencies:
"@types/estree" "^1.0.0"
estree-walker "^2.0.2"
picomatch "^4.0.2"

"@rollup/pluginutils@^5.0.5":
version "5.1.0"
resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz"
Expand Down Expand Up @@ -7278,6 +7300,13 @@ magic-string@^0.30.1:
dependencies:
"@jridgewell/sourcemap-codec" "^1.4.15"

magic-string@^0.30.3:
version "0.30.17"
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453"
integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==
dependencies:
"@jridgewell/sourcemap-codec" "^1.5.0"

md5.js@^1.3.4:
version "1.3.5"
resolved "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz"
Expand Down Expand Up @@ -7767,6 +7796,11 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==

picomatch@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab"
integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==

pify@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
Expand Down Expand Up @@ -9515,7 +9549,7 @@ vitest@^0.34.6:
vite-node "0.34.6"
why-is-node-running "^2.2.2"

[email protected], wagmi@^2.12.16:
[email protected]:
version "2.14.6"
resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-2.14.6.tgz#046db4c119f53c276c9f2d4b0034fe2ebc3ff05c"
integrity sha512-h8KDjPiXywZcKAbGttGDlZpwabZynR4lZ8eDO63tNgfxiMyhld0M5bMcB/u7XnH2xFgd0gq7PA2RVz96XMjazw==
Expand Down

0 comments on commit d12f551

Please sign in to comment.