diff --git a/package.json b/package.json index 7ad46c9..c589413 100644 --- a/package.json +++ b/package.json @@ -15,29 +15,29 @@ "preview": "vite preview" }, "dependencies": { - "@emotion/react": "11.10.6", - "@emotion/styled": "11.10.6", - "@noble/hashes": "1.3.0", - "@reduxjs/toolkit": "1.9.3", - "@scure/base": "1.1.1", - "@stacks/auth": "6.5.4", - "@stacks/blockchain-api-client": "7.2.1", - "@stacks/common": "6.5.2", - "@stacks/connect": "7.3.1", - "@stacks/connect-react": "22.1.1", - "@stacks/network": "6.5.4", - "@stacks/stacking": "6.5.4", - "@stacks/transactions": "6.5.4", + "@emotion/react": "11.11.1", + "@emotion/styled": "11.11.0", + "@noble/hashes": "1.3.2", + "@reduxjs/toolkit": "1.9.7", + "@scure/base": "1.1.3", + "@stacks/auth": "6.9.0", + "@stacks/blockchain-api-client": "7.3.2", + "@stacks/common": "6.8.1", + "@stacks/connect": "7.4.1", + "@stacks/connect-react": "22.2.1", + "@stacks/network": "6.8.1", + "@stacks/stacking": "6.9.0", + "@stacks/transactions": "6.9.0", "@stacks/ui": "7.10.0", "@stacks/ui-core": "7.3.0", "@stacks/ui-theme": "7.5.0", - "@tabler/icons-react": "2.19.0", - "@tanstack/react-query": "4.29.7", + "@tabler/icons-react": "2.39.0", + "@tanstack/react-query": "4.36.1", "@tippyjs/react": "4.2.6", - "@types/cookie": "0.5.1", + "@types/cookie": "0.5.2", "are-passive-events-supported": "1.1.1", - "bignumber.js": "9.1.1", - "bitcoin-address-validation": "2.2.1", + "bignumber.js": "9.1.2", + "bitcoin-address-validation": "2.2.3", "buffer": "6.0.3", "c32check": "2.0.0", "cookie": "0.5.0", @@ -68,7 +68,7 @@ "@emotion/core": "11.0.0", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@stacks/prettier-config": "0.0.10", - "@stacks/stacks-blockchain-api-types": "7.2.2", + "@stacks/stacks-blockchain-api-types": "7.3.2", "@trivago/prettier-plugin-sort-imports": "4.1.1", "@types/jest": "29.5.2", "@types/node": "20.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8df5e5c..85b1e39 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,75 +1,79 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: '@emotion/react': - specifier: 11.10.6 - version: 11.10.6(@types/react@18.2.13)(react@18.2.0) + specifier: 11.11.1 + version: 11.11.1(@types/react@18.2.13)(react@18.2.0) '@emotion/styled': - specifier: 11.10.6 - version: 11.10.6(@emotion/react@11.10.6)(@types/react@18.2.13)(react@18.2.0) + specifier: 11.11.0 + version: 11.11.0(@emotion/react@11.11.1)(@types/react@18.2.13)(react@18.2.0) '@noble/hashes': - specifier: 1.3.0 - version: 1.3.0 + specifier: 1.3.2 + version: 1.3.2 '@reduxjs/toolkit': - specifier: 1.9.3 - version: 1.9.3(react-redux@8.1.0)(react@18.2.0) + specifier: 1.9.7 + version: 1.9.7(react-redux@8.1.0)(react@18.2.0) '@scure/base': - specifier: 1.1.1 - version: 1.1.1 + specifier: 1.1.3 + version: 1.1.3 '@stacks/auth': - specifier: 6.5.4 - version: 6.5.4 + specifier: 6.9.0 + version: 6.9.0 '@stacks/blockchain-api-client': - specifier: 7.2.1 - version: 7.2.1 + specifier: 7.3.2 + version: 7.3.2 '@stacks/common': - specifier: 6.5.2 - version: 6.5.2 + specifier: 6.8.1 + version: 6.8.1 '@stacks/connect': - specifier: 7.3.1 - version: 7.3.1 + specifier: 7.4.1 + version: 7.4.1 '@stacks/connect-react': - specifier: 22.1.1 - version: 22.1.1(react-dom@18.2.0)(react@18.2.0) + specifier: 22.2.1 + version: 22.2.1(react-dom@18.2.0)(react@18.2.0) '@stacks/network': - specifier: 6.5.4 - version: 6.5.4 + specifier: 6.8.1 + version: 6.8.1 '@stacks/stacking': - specifier: 6.5.4 - version: 6.5.4 + specifier: 6.9.0 + version: 6.9.0 '@stacks/transactions': - specifier: 6.5.4 - version: 6.5.4 + specifier: 6.9.0 + version: 6.9.0 '@stacks/ui': specifier: 7.10.0 - version: 7.10.0(@emotion/core@11.0.0)(@emotion/react@11.10.6)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0) + version: 7.10.0(@emotion/core@11.0.0)(@emotion/react@11.11.1)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0) '@stacks/ui-core': specifier: 7.3.0 - version: 7.3.0(@emotion/core@11.0.0)(@emotion/react@11.10.6)(react@18.2.0) + version: 7.3.0(@emotion/core@11.0.0)(@emotion/react@11.11.1)(react@18.2.0) '@stacks/ui-theme': specifier: 7.5.0 version: 7.5.0 '@tabler/icons-react': - specifier: 2.19.0 - version: 2.19.0(react@18.2.0) + specifier: 2.39.0 + version: 2.39.0(react@18.2.0) '@tanstack/react-query': - specifier: 4.29.7 - version: 4.29.7(react-dom@18.2.0)(react@18.2.0) + specifier: 4.36.1 + version: 4.36.1(react-dom@18.2.0)(react@18.2.0) '@tippyjs/react': specifier: 4.2.6 version: 4.2.6(react-dom@18.2.0)(react@18.2.0) '@types/cookie': - specifier: 0.5.1 - version: 0.5.1 + specifier: 0.5.2 + version: 0.5.2 are-passive-events-supported: specifier: 1.1.1 version: 1.1.1 bignumber.js: - specifier: 9.1.1 - version: 9.1.1 + specifier: 9.1.2 + version: 9.1.2 bitcoin-address-validation: - specifier: 2.2.1 - version: 2.2.1 + specifier: 2.2.3 + version: 2.2.3 buffer: specifier: 6.0.3 version: 6.0.3 @@ -111,7 +115,7 @@ dependencies: version: 4.9.0(react@18.2.0) react-redux: specifier: 8.1.0 - version: 8.1.0(@reduxjs/toolkit@1.9.3)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1) + version: 8.1.0(@reduxjs/toolkit@1.9.7)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1) react-router-dom: specifier: 6.13.0 version: 6.13.0(react-dom@18.2.0)(react@18.2.0) @@ -157,8 +161,8 @@ devDependencies: specifier: 0.0.10 version: 0.0.10 '@stacks/stacks-blockchain-api-types': - specifier: 7.2.2 - version: 7.2.2 + specifier: 7.3.2 + version: 7.3.2 '@trivago/prettier-plugin-sort-imports': specifier: 4.1.1 version: 4.1.1(@vue/compiler-sfc@3.3.4)(prettier@2.8.8) @@ -576,8 +580,8 @@ packages: resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} dev: false - /@emotion/react@11.10.6(@types/react@18.2.13)(react@18.2.0): - resolution: {integrity: sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw==} + /@emotion/react@11.11.1(@types/react@18.2.13)(react@18.2.0): + resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' react: '>=16.8.0' @@ -611,8 +615,8 @@ packages: resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==} dev: false - /@emotion/styled@11.10.6(@emotion/react@11.10.6)(@types/react@18.2.13)(react@18.2.0): - resolution: {integrity: sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og==} + /@emotion/styled@11.11.0(@emotion/react@11.11.1)(@types/react@18.2.13)(react@18.2.0): + resolution: {integrity: sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==} peerDependencies: '@emotion/react': ^11.0.0-rc.0 '@types/react': '*' @@ -624,7 +628,7 @@ packages: '@babel/runtime': 7.22.6 '@emotion/babel-plugin': 11.11.0 '@emotion/is-prop-valid': 1.2.1 - '@emotion/react': 11.10.6(@types/react@18.2.13)(react@18.2.0) + '@emotion/react': 11.11.1(@types/react@18.2.13)(react@18.2.0) '@emotion/serialize': 1.1.2 '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) '@emotion/utils': 1.2.1 @@ -1229,8 +1233,9 @@ packages: resolution: {integrity: sha512-LTMZiiLc+V4v1Yi16TD6aX2gmtKszNye0pQgbaLqkvhIqP7nVsSaJsWloGQjJfJ8offaoP5GtX3yY5swbcJxxQ==} dev: false - /@noble/hashes@1.3.0: - resolution: {integrity: sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg==} + /@noble/hashes@1.3.2: + resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + engines: {node: '>= 16'} dev: false /@noble/secp256k1@1.7.1: @@ -2554,8 +2559,8 @@ packages: react: 18.2.0 dev: false - /@reduxjs/toolkit@1.9.3(react-redux@8.1.0)(react@18.2.0): - resolution: {integrity: sha512-GU2TNBQVofL09VGmuSioNPQIu6Ml0YLf4EJhgj0AvBadRlCGzUWet8372LjvO4fqKZF2vH1xU0htAa7BrK9pZg==} + /@reduxjs/toolkit@1.9.7(react-redux@8.1.0)(react@18.2.0): + resolution: {integrity: sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==} peerDependencies: react: ^16.9.0 || ^17.0.0 || ^18 react-redux: ^7.2.1 || ^8.0.2 @@ -2567,7 +2572,7 @@ packages: dependencies: immer: 9.0.21 react: 18.2.0 - react-redux: 8.1.0(@reduxjs/toolkit@1.9.3)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1) + react-redux: 8.1.0(@reduxjs/toolkit@1.9.7)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1) redux: 4.2.1 redux-thunk: 2.4.2(redux@4.2.1) reselect: 4.1.8 @@ -2612,11 +2617,15 @@ packages: resolution: {integrity: sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==} dev: false + /@scure/base@1.1.3: + resolution: {integrity: sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==} + dev: false + /@scure/bip39@1.1.0: resolution: {integrity: sha512-pwrPOS16VeTKg98dYXQyIjJEcWfz7/1YJIwxUEPFfQPtc86Ym/1sVgQ2RLoD43AazMk2l/unK4ITySSpW2+82w==} dependencies: '@noble/hashes': 1.1.5 - '@scure/base': 1.1.1 + '@scure/base': 1.1.3 dev: false /@sinclair/typebox@0.27.8: @@ -2626,23 +2635,23 @@ packages: resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==} dev: false - /@stacks/auth@6.5.4: - resolution: {integrity: sha512-8Zw+fdKMHdnyDv6EpNnXXTLMWQq31xUYDnFJtFlmr1AnZYPJUbquiqUNTS6Cf2Fk3FSZpsBRDNfWiqss1yGycw==} + /@stacks/auth@6.9.0: + resolution: {integrity: sha512-tBOB+H/96TUNK9pKmr1YQoiIItUFp2ms5RCNYPSjy3/lbIYYJYtw/O2fOS78fVQvCCpuObhhO65AVsrE/IzQeg==} dependencies: - '@stacks/common': 6.5.2 - '@stacks/encryption': 6.5.4 - '@stacks/network': 6.5.4 - '@stacks/profile': 6.5.4 + '@stacks/common': 6.8.1 + '@stacks/encryption': 6.9.0 + '@stacks/network': 6.8.1 + '@stacks/profile': 6.9.0 cross-fetch: 3.1.8 jsontokens: 4.0.1 transitivePeerDependencies: - encoding dev: false - /@stacks/blockchain-api-client@7.2.1: - resolution: {integrity: sha512-psYxIvVYdEgbnhGOmCS4TfGXJiZ+vZhtR9NynkVpXZvGIyusjk2FNaj7aUeDruhI+DwFehtplZB7u0nPgcP2HA==} + /@stacks/blockchain-api-client@7.3.2: + resolution: {integrity: sha512-nhFDpA2d5mN2YCmllIUrmkQzd5CEtqAR9XUUrvVOKsLw7pdkF21grbd8ZbKARFLR/l0rYwHB8YW2sL2fv8Ty/A==} dependencies: - '@stacks/stacks-blockchain-api-types': 7.2.2 + '@stacks/stacks-blockchain-api-types': 7.3.2 '@types/ws': 7.4.7 cross-fetch: 3.1.5 eventemitter3: 4.0.7 @@ -2656,20 +2665,20 @@ packages: - utf-8-validate dev: false - /@stacks/common@6.5.2: - resolution: {integrity: sha512-tnkyEIA7YgX9GIkqlHocQPPax25uaboJ4aTX5wVs6kAGXY10+XI7VamRG4o+4DqnFVKwvIHR2fGcxdhtxNb/+Q==} + /@stacks/common@6.8.1: + resolution: {integrity: sha512-ewL9GLZNQYa5a/3K4xSHlHIgHkD4rwWW/QEaPId8zQIaL+1O9qCaF4LX9orNQeOmEk8kvG0x2xGV54fXKCZeWQ==} dependencies: '@types/bn.js': 5.1.1 '@types/node': 18.16.19 dev: false - /@stacks/connect-react@22.1.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-lbH6HaP0TpE/pRlP5kBrfXO0AE5ukm3LS1HpUUEQaysrip/3c27C0FeOik8Od5uGl5mCyvJNuvwTG/jJW6xJuA==} + /@stacks/connect-react@22.2.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-xpbmCk/WyQ9sd5/1R8jGJYI89cPhN2PbSpCXWUMDRfoyztzyUBj/kamWlda/WqqeGZxUYjwNTTTiR2Zpy50byg==} peerDependencies: react: ^16.x || 17.x || 18.x react-dom: ^16.x || 17.x || 18.x dependencies: - '@stacks/connect': 7.3.1 + '@stacks/connect': 7.4.1 jsontokens: 4.0.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -2677,32 +2686,32 @@ packages: - encoding dev: false - /@stacks/connect-ui@6.1.1: - resolution: {integrity: sha512-iSo57djIynmqt0jGlFkRFu2nHY/Nk0LmXKdRf/Whw1w/YbZD+CQJweHRh77XQOtAVbXZ1+e/klszxABevcPtPg==} + /@stacks/connect-ui@6.1.2: + resolution: {integrity: sha512-V4gUINXRDB2MO6YHk/JZZeApSnANrMFvIRv9qLBaJPamKsgeiCOBkiC88T7ucLVCz+NvCmS93Ntg4wytDIqdOg==} dependencies: '@stencil/core': 2.22.3 dev: false - /@stacks/connect@7.3.1: - resolution: {integrity: sha512-A2G6kVqx+noCaVl5n9HW+jJtZzxdDRTb93VvtONUl76ZMUhjcYl5b42rZiEQ3kGLBnBUp38R1WrFEUQ57AaXCA==} + /@stacks/connect@7.4.1: + resolution: {integrity: sha512-kvF7Fnx8oMHNi/9At6UI6kThey+gYlYlbtsxhNL2VqflReXI8z3EndaMJ1WrD55ePIOoydAzV/Fx0rdNFjd4rQ==} dependencies: - '@stacks/auth': 6.5.4 - '@stacks/connect-ui': 6.1.1 - '@stacks/network': 6.5.4 - '@stacks/profile': 6.5.4 - '@stacks/transactions': 6.5.4 + '@stacks/auth': 6.9.0 + '@stacks/connect-ui': 6.1.2 + '@stacks/network': 6.8.1 + '@stacks/profile': 6.9.0 + '@stacks/transactions': 6.9.0 jsontokens: 4.0.1 transitivePeerDependencies: - encoding dev: false - /@stacks/encryption@6.5.4: - resolution: {integrity: sha512-osZGQXuY0BtqwiXZHMPgObg4QlqktDp2OYzbkln7A/7B1hwkjPruJ7yMK44wr0SprjaL9JCA8tKhpXxGd/tO8A==} + /@stacks/encryption@6.9.0: + resolution: {integrity: sha512-hbpZ47eYgw9ZH5ly+GSgvw2Ffsu9L6d++2XIhvYSzL7yxYl4m1+FV5QYdJthJ2AS3vi8cI5otE254HTfCrhKzg==} dependencies: '@noble/hashes': 1.1.5 '@noble/secp256k1': 1.7.1 '@scure/bip39': 1.1.0 - '@stacks/common': 6.5.2 + '@stacks/common': 6.8.1 '@types/node': 18.16.19 base64-js: 1.5.1 bs58: 5.0.0 @@ -2710,10 +2719,10 @@ packages: varuint-bitcoin: 1.1.2 dev: false - /@stacks/network@6.5.4: - resolution: {integrity: sha512-nONCBkTkYyH5yqO80Ith4QHC9PhipObKIGhlZETXd/csdRUkAYzE8/vJCx7LWPh4AiIVMjbEgBrGsjNR3YpGdw==} + /@stacks/network@6.8.1: + resolution: {integrity: sha512-n8M25pPbLqpSBctabtsLOTBlmPvm9EPQpTI//x7HLdt5lEjDXxauEQt0XGSvDUZwecrmztqt9xNxlciiGApRBw==} dependencies: - '@stacks/common': 6.5.2 + '@stacks/common': 6.8.1 cross-fetch: 3.1.8 transitivePeerDependencies: - encoding @@ -2725,12 +2734,12 @@ packages: prettier: 2.5.1 dev: true - /@stacks/profile@6.5.4: - resolution: {integrity: sha512-YEnt2ACOuPFydNKpxYmZ2c/+UrcuusrNHTChePLyXKmU9u3cX3uBNSvdl1H13H6b2CW3G7inxMerRgssXDzTEA==} + /@stacks/profile@6.9.0: + resolution: {integrity: sha512-sIR60DsAHi8C6zGqKqSe1r2hXTMHgwrJkX3fAaP3de40KeplZ2bkE+0B83yismEeU2baNc+AukyVvWJv0PfP0A==} dependencies: - '@stacks/common': 6.5.2 - '@stacks/network': 6.5.4 - '@stacks/transactions': 6.5.4 + '@stacks/common': 6.8.1 + '@stacks/network': 6.8.1 + '@stacks/transactions': 6.9.0 jsontokens: 4.0.1 schema-inspector: 2.0.3 zone-file: 2.0.0-beta.3 @@ -2738,15 +2747,15 @@ packages: - encoding dev: false - /@stacks/stacking@6.5.4: - resolution: {integrity: sha512-im/PVpi8tozm5tQo/Zs+dcZIpylxgk9DEIALblsGKloTxtSniVvSRPrRgx50jnw+FBC2V31fawEXo88RpaaoZA==} + /@stacks/stacking@6.9.0: + resolution: {integrity: sha512-nxTGwaVBE/M06P8bTlXPXlzeV/bOLaxbMd3ftAnQUu8ubX2UB/iEHywnAkrg/Bj2Qy9ZjKyi6QKw+aG38rVZaw==} dependencies: '@scure/base': 1.1.1 - '@stacks/common': 6.5.2 - '@stacks/encryption': 6.5.4 - '@stacks/network': 6.5.4 + '@stacks/common': 6.8.1 + '@stacks/encryption': 6.9.0 + '@stacks/network': 6.8.1 '@stacks/stacks-blockchain-api-types': 0.61.0 - '@stacks/transactions': 6.5.4 + '@stacks/transactions': 6.9.0 bs58: 5.0.0 transitivePeerDependencies: - encoding @@ -2756,23 +2765,23 @@ packages: resolution: {integrity: sha512-yPOfTUboo5eA9BZL/hqMcM71GstrFs9YWzOrJFPeP4cOO1wgYvAcckgBRbgiE3NqeX0A7SLZLDAXLZbATuRq9w==} dev: false - /@stacks/stacks-blockchain-api-types@7.2.2: - resolution: {integrity: sha512-qnH6jOwTkJ3ziQqkLp8R9KcGi8reyXtzIy5PWV/2loTlFa4ZXKXPuWOOAGthgcw6jATfS6De4kZW2sJBSvSIkA==} + /@stacks/stacks-blockchain-api-types@7.3.2: + resolution: {integrity: sha512-1r0+eqEWOOo7UYrFq9HGbc02DVME3NVCW/45sNKPN31PkOMMaK59DHragPJ2QbxPFiutVDUCS924+48+o3+0Tw==} - /@stacks/transactions@6.5.4: - resolution: {integrity: sha512-yQhywPQ5cospYpVPbEMFRTUBZhVvyuI+meJ3fqHpu10IXX4CdURKLtW7N64c71YNXmE1tnsN7hWaPzrwjX0Dyw==} + /@stacks/transactions@6.9.0: + resolution: {integrity: sha512-hSs9+0Ew++GwMZMgPObOx0iVCQRxkiCqI+DHdPEikAmg2utpyLh2/txHOjfSIkQHvcBfJJ6O5KphmxDP4gUqiA==} dependencies: '@noble/hashes': 1.1.5 '@noble/secp256k1': 1.7.1 - '@stacks/common': 6.5.2 - '@stacks/network': 6.5.4 + '@stacks/common': 6.8.1 + '@stacks/network': 6.8.1 c32check: 2.0.0 lodash.clonedeep: 4.5.0 transitivePeerDependencies: - encoding dev: false - /@stacks/ui-core@7.3.0(@emotion/core@11.0.0)(@emotion/react@11.10.6)(react@18.2.0): + /@stacks/ui-core@7.3.0(@emotion/core@11.0.0)(@emotion/react@11.11.1)(react@18.2.0): resolution: {integrity: sha512-q3ZBu2uk/MMFsBGNZ8aT6stbwqaHuQTatDwS2A8a1gM+Csb/souJD6uY0Nf3R/z4IDCUGT6SYlvd8+lYgTAxzA==} engines: {node: '>=10'} peerDependencies: @@ -2781,7 +2790,7 @@ packages: react: ^17.0.1 dependencies: '@emotion/core': 11.0.0 - '@emotion/react': 11.10.6(@types/react@18.2.13)(react@18.2.0) + '@emotion/react': 11.11.1(@types/react@18.2.13)(react@18.2.0) '@styled-system/should-forward-prop': 5.1.5 camelcase: 6.3.0 micro-memoize: 4.1.2 @@ -2807,7 +2816,7 @@ packages: typescript: 4.9.5 dev: false - /@stacks/ui@7.10.0(@emotion/core@11.0.0)(@emotion/react@11.10.6)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0): + /@stacks/ui@7.10.0(@emotion/core@11.0.0)(@emotion/react@11.11.1)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-xZpXoDFlD3Wy9HIFWt6ZjfEAYcpWR+3HUMqqRvtwFE2TGOVXFaqDEerNia0x1MpKsXgT5rm80E6/KK79luaYYA==} peerDependencies: '@emotion/core': ^11.x @@ -2816,12 +2825,12 @@ packages: react-dom: ^17.x dependencies: '@emotion/core': 11.0.0 - '@emotion/react': 11.10.6(@types/react@18.2.13)(react@18.2.0) + '@emotion/react': 11.11.1(@types/react@18.2.13)(react@18.2.0) '@reach/alert': 0.13.2(react-dom@18.2.0)(react@18.2.0) '@reach/auto-id': 0.13.2(react-dom@18.2.0)(react@18.2.0) '@reach/rect': 0.13.2(react-dom@18.2.0)(react@18.2.0) '@react-spectrum/utils': 3.10.0(react@18.2.0) - '@stacks/ui-core': 7.3.0(@emotion/core@11.0.0)(@emotion/react@11.10.6)(react@18.2.0) + '@stacks/ui-core': 7.3.0(@emotion/core@11.0.0)(@emotion/react@11.11.1)(react@18.2.0) '@stacks/ui-theme': 7.5.0 '@stacks/ui-utils': 7.5.0 '@styled-system/should-forward-prop': 5.1.5 @@ -2947,26 +2956,26 @@ packages: tslib: 2.6.0 dev: false - /@tabler/icons-react@2.19.0(react@18.2.0): - resolution: {integrity: sha512-CitxGhjGcvxSmvK5JJ7JUAal5ifygUQzfMrVt/pOg+XELIt+3jtRDTyhZHHz84XoIddxRTQMZTl/11GOjtZ9SA==} + /@tabler/icons-react@2.39.0(react@18.2.0): + resolution: {integrity: sha512-MyUK1jqtmHPZBnDXqIc1Y5OnfoqG+tGaSB1/gcl0mlY462fJ5f3QB0ZIZzAHMAGYb6K2iJSdFIFavhcgpDDZ7Q==} peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 dependencies: - '@tabler/icons': 2.19.0 + '@tabler/icons': 2.39.0 prop-types: 15.8.1 react: 18.2.0 dev: false - /@tabler/icons@2.19.0: - resolution: {integrity: sha512-3bqWTxFOFkrld+hx0nDSgwGWPrP2NeB9ySCAqWjXMN0hwewXYnNPpDKkOYtDfUDRtB+iiR/0FyW+kki6tu6qkQ==} + /@tabler/icons@2.39.0: + resolution: {integrity: sha512-iK3j2jIEGIUaJcbYYg5iwyG1Y/m4lzUxAUbxRpvgeXCWP29jvZaH5hajZmU3KaSealddHuJg7PSQislPHpCsoQ==} dev: false - /@tanstack/query-core@4.29.7: - resolution: {integrity: sha512-GXG4b5hV2Loir+h2G+RXhJdoZhJLnrBWsuLB2r0qBRyhWuXq9w/dWxzvpP89H0UARlH6Mr9DiVj4SMtpkF/aUA==} + /@tanstack/query-core@4.36.1: + resolution: {integrity: sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==} dev: false - /@tanstack/react-query@4.29.7(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-ijBWEzAIo09fB1yd22slRZzprrZ5zMdWYzBnCg5qiXuFbH78uGN1qtGz8+Ed4MuhaPaYSD+hykn+QEKtQviEtg==} + /@tanstack/react-query@4.36.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -2977,7 +2986,7 @@ packages: react-native: optional: true dependencies: - '@tanstack/query-core': 4.29.7 + '@tanstack/query-core': 4.36.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) use-sync-external-store: 1.2.0(react@18.2.0) @@ -3055,8 +3064,8 @@ packages: resolution: {integrity: sha512-LKVP3cgXBT9RYj+t+9FDKwS5tdI+rPBXaNSkma7hvqy35lc7mAokC2zsqWJH0LaqIt3B962nuYI77hsJoT1gow==} dev: false - /@types/cookie@0.5.1: - resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==} + /@types/cookie@0.5.2: + resolution: {integrity: sha512-DBpRoJGKJZn7RY92dPrgoMew8xCWc2P71beqsjyhEI/Ds9mOyVmBwtekyfhpwFIVt1WrxTonFifiOZ62V8CnNA==} dev: false /@types/estree@1.0.1: @@ -3604,12 +3613,12 @@ packages: resolution: {integrity: sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ==} dev: false - /bignumber.js@9.1.1: - resolution: {integrity: sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==} + /bignumber.js@9.1.2: + resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==} dev: false - /bitcoin-address-validation@2.2.1: - resolution: {integrity: sha512-f6LXNpvRKlTbHWb37N9tHoAbYGbshzM8FPWvCtloh++hxZ0/dmkokvKNVLz6HkG82zVwo8w6Sq4JmfO2timzyg==} + /bitcoin-address-validation@2.2.3: + resolution: {integrity: sha512-1uGCGl26Ye8JG5qcExtFLQfuib6qEZWNDo1ZlLlwp/z7ygUFby3IxolgEfgMGaC+LG9csbVASLcH8fRLv7DIOg==} dependencies: base58-js: 1.0.5 bech32: 2.0.0 @@ -3741,7 +3750,7 @@ packages: resolution: {integrity: sha512-rpwfAcS/CMqo0oCqDf3r9eeLgScRE3l/xHDCXhM3UyrfvIn7PrLq63uHh7yYbv8NzaZn5MVsVhIRpQ+5GZ5HyA==} engines: {node: '>=8'} dependencies: - '@noble/hashes': 1.3.0 + '@noble/hashes': 1.3.2 base-x: 4.0.0 dev: false @@ -5164,7 +5173,7 @@ packages: /jsontokens@4.0.1: resolution: {integrity: sha512-+MO415LEN6M+3FGsRz4wU20g7N2JA+2j9d9+pGaNJHviG4L8N0qzavGyENw6fJqsq9CcrHOIL6iWX5yeTZ86+Q==} dependencies: - '@noble/hashes': 1.3.0 + '@noble/hashes': 1.3.2 '@noble/secp256k1': 1.7.1 base64-js: 1.5.1 dev: false @@ -5804,7 +5813,7 @@ packages: /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} - /react-redux@8.1.0(@reduxjs/toolkit@1.9.3)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1): + /react-redux@8.1.0(@reduxjs/toolkit@1.9.7)(@types/react-dom@18.2.6)(@types/react@18.2.13)(react-dom@18.2.0)(react@18.2.0)(redux@4.2.1): resolution: {integrity: sha512-CtHZzAOxi7GQvTph4dVLWwZHAWUjV2kMEQtk50OrN8z3gKxpWg3Tz7JfDw32N3Rpd7fh02z73cF6yZkK467gbQ==} peerDependencies: '@reduxjs/toolkit': ^1 || ^2.0.0-beta.0 @@ -5829,7 +5838,7 @@ packages: optional: true dependencies: '@babel/runtime': 7.22.6 - '@reduxjs/toolkit': 1.9.3(react-redux@8.1.0)(react@18.2.0) + '@reduxjs/toolkit': 1.9.7(react-redux@8.1.0)(react@18.2.0) '@types/hoist-non-react-statics': 3.3.1 '@types/react': 18.2.13 '@types/react-dom': 18.2.6 diff --git a/src/components/footer.tsx b/src/components/footer.tsx index e8118d8..e55714a 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -16,30 +16,6 @@ export function Footer() { borderTop={`1px solid ${figmaTheme.borderSubdued}`} columnGap="loose" > - - Terms of Use - - - FAQ - - - Source Code - = props => ( ); diff --git a/src/pages/sign-in/banner.tsx b/src/pages/sign-in/banner.tsx index 8b962e6..3de5519 100644 --- a/src/pages/sign-in/banner.tsx +++ b/src/pages/sign-in/banner.tsx @@ -1,6 +1,5 @@ import { Box } from '@stacks/ui'; -import { OpenLinkInNewTab } from '@components/open-link-in-new-tab'; import { figmaTheme } from '@constants/figma-theme'; export function Banner() { @@ -14,16 +13,7 @@ export function Banner() { py="8px" > This website provides the interface to connect with the Stacking protocol or delegate to a - Stacking pool provider directly. We don't provide the Stacking service ourselves. Read - our{' '} - - FAQs - {' '} - and review our{' '} - - Terms - {' '} - to learn more. + Stacking pool provider directly. We don't provide the Stacking service ourselves. ); } diff --git a/src/pages/stacking/stack-extend/components/stack-extend-layout.tsx b/src/pages/stacking/stack-extend/components/stack-extend-layout.tsx index 003e1a5..26425ef 100644 --- a/src/pages/stacking/stack-extend/components/stack-extend-layout.tsx +++ b/src/pages/stacking/stack-extend/components/stack-extend-layout.tsx @@ -48,6 +48,7 @@ export function StackExtendLayout(props: StackExtendLayoutProps) { const onClose = () => { navigate(routes.DIRECT_STACKING_INFO); }; + const end = details.first_reward_cycle + details.lock_period - 1 + field.value; return ( @@ -102,7 +103,7 @@ export function StackExtendLayout(props: StackExtendLayoutProps) {
- Cycle {details.first_reward_cycle + details.lock_period - 1} + Cycle {end} diff --git a/src/pages/stacking/stack-extend/stack-extend.tsx b/src/pages/stacking/stack-extend/stack-extend.tsx index e8f324c..e8d78dc 100644 --- a/src/pages/stacking/stack-extend/stack-extend.tsx +++ b/src/pages/stacking/stack-extend/stack-extend.tsx @@ -63,7 +63,6 @@ export function StackExtend() { setIsContractCallExtensionPageOpen, }); const validationSchema = createValidationSchema({ - stackerInfoDetails, network: networkName, }); return ( diff --git a/src/pages/stacking/stack-extend/utils.ts b/src/pages/stacking/stack-extend/utils.ts index 3661d04..9e1360e 100644 --- a/src/pages/stacking/stack-extend/utils.ts +++ b/src/pages/stacking/stack-extend/utils.ts @@ -2,7 +2,6 @@ import { NavigateFunction } from 'react-router-dom'; import { ContractCallRegularOptions, openContractCall } from '@stacks/connect'; import { StackingClient } from '@stacks/stacking'; -import { StackerInfoDetails } from 'src/types/stacking'; import * as yup from 'yup'; import routes from '@constants/routes'; @@ -13,13 +12,7 @@ export interface EditingFormValues { poxAddress: string; } -export function createValidationSchema({ - network, - stackerInfoDetails, -}: { - network: string; - stackerInfoDetails: StackerInfoDetails; -}) { +export function createValidationSchema({ network }: { network: string }) { return yup.object().shape({ extendCycles: yup .number() @@ -28,7 +21,7 @@ export function createValidationSchema({ .test({ name: 'test-max-lock-period', message: "You can't lock for more than 12 cycles.", - test: value => value + stackerInfoDetails.lock_period <= 12, + test: value => value <= 12, }), poxAddress: createBtcAddressSchema({ network, diff --git a/src/pages/stacking/start-pooled-stacking/components/delegated-stacking-terms.tsx b/src/pages/stacking/start-pooled-stacking/components/delegated-stacking-terms.tsx index 8163b0b..81bc5d7 100644 --- a/src/pages/stacking/start-pooled-stacking/components/delegated-stacking-terms.tsx +++ b/src/pages/stacking/start-pooled-stacking/components/delegated-stacking-terms.tsx @@ -34,7 +34,7 @@ export function DelegatedStackingTerms({ }> Paying out rewards is at the discretion of the pool. Make sure you’ve researched and trust - the pool you’re using. All pools are unaffiliated with Hiro PBC. + the pool you’re using. {showPoxWrapperTermItem && (