diff --git a/package.json b/package.json index f9c5c6d..a6b9dc4 100644 --- a/package.json +++ b/package.json @@ -41,10 +41,10 @@ "dependencies": { "accounts": "0.21.0", "incur": "0.7.1", - "mppx": "0.12.0", + "mppx": "0.13.4", "qr": "0.7.2", - "undici": "8.10.2", - "viem": "2.57.1" + "undici": "8.11.2", + "viem": "2.57.4" }, "devDependencies": { "@types/node": "26.5.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0937c8c..a51fcae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,22 +20,22 @@ importers: dependencies: accounts: specifier: 0.21.0 - version: 0.21.0(typescript@7.0.2)(viem@2.57.1(typescript@7.0.2)(zod@4.4.3)) + version: 0.21.0(typescript@7.0.2)(viem@2.57.4(typescript@7.0.2)(zod@4.4.3)) incur: specifier: 0.7.1 version: 0.7.1(patch_hash=ce9f4f28b7cb426f7ad6048b002752028a94ba5d9f22643b1fb0b254ffb2dcc1) mppx: - specifier: 0.12.0 - version: 0.12.0(hono@4.13.12)(typescript@7.0.2)(viem@2.57.1(typescript@7.0.2)(zod@4.4.3)) + specifier: 0.13.4 + version: 0.13.4(hono@4.13.12)(typescript@7.0.2)(viem@2.57.4(typescript@7.0.2)(zod@4.4.3)) qr: specifier: 0.7.2 version: 0.7.2 undici: - specifier: 8.10.2 - version: 8.10.2 + specifier: 8.11.2 + version: 8.11.2 viem: - specifier: 2.57.1 - version: 2.57.1(typescript@7.0.2)(zod@4.4.3) + specifier: 2.57.4 + version: 2.57.4(typescript@7.0.2)(zod@4.4.3) devDependencies: '@types/node': specifier: 26.5.1 @@ -307,8 +307,8 @@ packages: resolution: {integrity: sha512-/KEo3ZJ50HlagHp0lz2vPgfBZFtXHu6zTBXT9XqPc+4O9i4+IbBVWKq/a9yAfv/ifp0u3+mRo8SUk5kMKzhN8A==} engines: {node: '>=20'} - '@napi-rs/wasm-runtime@1.2.4': - resolution: {integrity: sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==} + '@napi-rs/wasm-runtime@1.2.5': + resolution: {integrity: sha512-HshSvXzmBxNzqejd3k/KemgQ3hdREUYFRRrgxOZ+gPljDIsO2SDZrVZMd4Z/HsxudQbE62OVyVFE8z9BCurfjA==} engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} peerDependencies: '@emnapi/core': ^1.7.1 || ^2.0.0-alpha.4 @@ -330,8 +330,8 @@ packages: resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==} engines: {node: ^14.21.3 || >=16} - '@noble/hashes@2.2.0': - resolution: {integrity: sha512-IYqDGiTXab6FniAgnSdZwgWbomxpy9FtYvLKs7wCUs2a8RkITG+DFGO1DM9cr+E3/RgADRpFjrKVaJ1z6sjtEg==} + '@noble/hashes@2.4.0': + resolution: {integrity: sha512-X5XaVWZIBCT7HHZGm5I7ZQXDwLG+bGXuSrMQAW+7Zvl87h1kmc1ZB1VSRJcpUfoUrGQp4Fkoxm5kZ+Ms+aW+eA==} engines: {node: '>= 20.19.0'} '@octokit/auth-token@6.0.0': @@ -796,6 +796,10 @@ packages: resolution: {integrity: sha512-/0c72BUgzzVkVTlsw5uBn8x3waTdVJ/PZGfQ6jY1eu6K7olUPf4d9lgDPA9/0sIdsR8j7o3QIG8fOCO6ItcL7A==} engines: {node: '>=12.16'} + '@stripe/stripe-js@9.17.0': + resolution: {integrity: sha512-uidL4OJum5kivsOAQnVfQmYLJ2zdgirtmT0zWgskASZ4TPXxpXQ0MNrzW4NsXB90uEqmPHpSEtciLFbF1QQvNA==} + engines: {node: '>=12.16'} + '@toon-format/toon@2.3.1': resolution: {integrity: sha512-sWqEMeAJGMda9qRrfPKrX3C4c33CO9SJuvJzzrcBEn5sbDB+k6pSLkDsfN0rVnLQwR97MV3sDgVbcxQNsq8xVw==} @@ -1330,6 +1334,10 @@ packages: resolution: {integrity: sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==} engines: {node: '>=18.0.0'} + eventsource-parser@4.1.1: + resolution: {integrity: sha512-zaWNqeSLeyzEAAt2Q6aDBRDRk/VnPmsKqvToyGvv6aahvLv71A4Jw7jG93Hckf11zXurbqgsffvpSgKPoeU1Qw==} + engines: {node: '>=22.12'} + expand-template@2.0.3: resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} engines: {node: '>=6'} @@ -1596,6 +1604,43 @@ packages: next: optional: true + mppx@0.13.4: + resolution: {integrity: sha512-asB0BHfWkHXQZgGNUSKUF7ssTp401El0F0/u3ztVjMkRUyEFawyG3KPVa+/6ySLGmtvu75fuGVYkmUGDKoTGyw==} + hasBin: true + peerDependencies: + '@modelcontextprotocol/sdk': '>=1.25.0' + '@x402/core': '>=2.22.0' + '@x402/express': '>=2.22.0' + '@x402/hono': '>=2.22.0' + '@x402/mcp': '>=2.22.0' + '@x402/next': '>=2.22.0' + elysia: '>=1.2.0' + express: '>=5' + hono: '>=4.12.25' + next: '>=16.2.6' + viem: '>=2.57.1' + peerDependenciesMeta: + '@modelcontextprotocol/sdk': + optional: true + '@x402/core': + optional: true + '@x402/express': + optional: true + '@x402/hono': + optional: true + '@x402/mcp': + optional: true + '@x402/next': + optional: true + elysia: + optional: true + express: + optional: true + hono: + optional: true + next: + optional: true + mrmime@2.0.1: resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} engines: {node: '>=10'} @@ -1611,6 +1656,11 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + nanoid@3.3.20: + resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + napi-build-utils@2.0.0: resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==} @@ -1636,6 +1686,14 @@ packages: typescript: optional: true + ox@0.14.54: + resolution: {integrity: sha512-52PGH6ldJmWY9+iy/TBSJUsCSy5NmLvkVBYTINmO8srsjRrCmCdO575kGizmZ1jpNQ1gnlpVwiciIpU37fcULA==} + peerDependencies: + typescript: '>=5.4.0' + peerDependenciesMeta: + typescript: + optional: true + oxfmt@0.52.0: resolution: {integrity: sha512-nJlYM35F64zTDMecCNhoHNkf+D/eHv7xcjj9XDSj+bFAVtN93m7v8DQMdHd6nDG6Akf/kEYYHmDUBs2Dz27Sug==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1688,6 +1746,10 @@ packages: resolution: {integrity: sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==} engines: {node: ^10 || ^12 || >=14} + postcss@8.5.29: + resolution: {integrity: sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==} + engines: {node: ^10 || ^12 || >=14} + postgres@3.4.9: resolution: {integrity: sha512-GD3qdB0x1z9xgFI6cdRD6xu2Sp2WCOEoe3mtnyB5Ee0XrrL5Pe+e4CCnJrRMnL1zYtRDZmQQVbvOttLnKDLnaw==} engines: {node: '>=12'} @@ -1811,6 +1873,10 @@ packages: resolution: {integrity: sha512-4g5yxhlDMClRwCcfKfLeS7Z8yAVdOWGDADwm80Poh1iReU2KVKLGBlqwpHWJ2qovq0+ZIf1atAEO1eua2o9Rgg==} engines: {node: '>=18', npm: '>=6'} + structured-headers@2.1.0: + resolution: {integrity: sha512-ClzykN+XQVaSW5UfpOdEWfDplZ1Th7mISdaFvaC2+GjLTeBhGMJw83D/Rw9jPkHOml4oYd3EXaZhbz3gnE5nBQ==} + engines: {node: '>=18', npm: '>=6'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -1887,12 +1953,12 @@ packages: undici-types@8.9.0: resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==} - undici@7.29.1: - resolution: {integrity: sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==} + undici@7.30.0: + resolution: {integrity: sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==} engines: {node: '>=20.18.1'} - undici@8.10.2: - resolution: {integrity: sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==} + undici@8.11.2: + resolution: {integrity: sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==} engines: {node: '>=22.19.0'} universal-user-agent@7.0.3: @@ -1908,8 +1974,8 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - viem@2.57.1: - resolution: {integrity: sha512-eOV3fHnaMzkIFRefZg1icWztAKvBHg7RMKEH89ywY7hnyq1VxI4s/osXnTBViOsEZ7/LbbxU3w+JaIrbeIXRPQ==} + viem@2.57.4: + resolution: {integrity: sha512-ro+8AKrcGU6tPfou0gBRYv6bxnU3tPxxJGY4qpJwjiR40eHCWzeGhrAgYMlIncFtlnry2/yGjz57WOC67oshCQ==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -2067,6 +2133,9 @@ packages: zod@4.4.3: resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==} + zod@4.6.6: + resolution: {integrity: sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==} + zustand@5.0.14: resolution: {integrity: sha512-/8tAspM5LMPr28b3fwLYrtdj77ECpfZviaP75CMTnwO8ISyaE4GDIG/9rDDYq/cH9D2Xw2A2RXglLInmVBQB/g==} engines: {node: '>=12.20.0'} @@ -2270,7 +2339,7 @@ snapshots: dependencies: zod: 4.4.3 - '@napi-rs/wasm-runtime@1.2.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': + '@napi-rs/wasm-runtime@1.2.5(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': dependencies: '@emnapi/core': 1.10.0 '@emnapi/runtime': 1.10.0 @@ -2287,7 +2356,7 @@ snapshots: '@noble/hashes@1.8.0': {} - '@noble/hashes@2.2.0': {} + '@noble/hashes@2.4.0': {} '@octokit/auth-token@6.0.0': {} @@ -2534,7 +2603,7 @@ snapshots: dependencies: '@emnapi/core': 1.10.0 '@emnapi/runtime': 1.10.0 - '@napi-rs/wasm-runtime': 1.2.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) + '@napi-rs/wasm-runtime': 1.2.5(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) optional: true '@rolldown/binding-win32-arm64-msvc@1.0.3': @@ -2564,6 +2633,8 @@ snapshots: '@stripe/stripe-js@9.13.0': {} + '@stripe/stripe-js@9.17.0': {} + '@toon-format/toon@2.3.1': {} '@tybys/wasm-util@0.10.4': @@ -2739,7 +2810,7 @@ snapshots: progress: 2.0.3 semver: 7.8.4 tar-fs: 3.1.2 - undici: 7.29.1 + undici: 7.30.0 yargs: 16.2.0 transitivePeerDependencies: - bare-abort-controller @@ -2783,20 +2854,25 @@ snapshots: typescript: 7.0.2 zod: 4.4.3 - accounts@0.21.0(typescript@7.0.2)(viem@2.57.1(typescript@7.0.2)(zod@4.4.3)): + abitype@1.3.0(typescript@7.0.2)(zod@4.6.6): + optionalDependencies: + typescript: 7.0.2 + zod: 4.6.6 + + accounts@0.21.0(typescript@7.0.2)(viem@2.57.4(typescript@7.0.2)(zod@4.4.3)): dependencies: hono: 4.13.12 idb-keyval: 6.2.5 jose: 6.2.3 mipd: 0.0.7(typescript@7.0.2) - mppx: 0.12.0(hono@4.13.12)(typescript@7.0.2)(viem@2.57.1(typescript@7.0.2)(zod@4.4.3)) + mppx: 0.12.0(hono@4.13.12)(typescript@7.0.2)(viem@2.57.4(typescript@7.0.2)(zod@4.4.3)) ox: 0.14.45(typescript@7.0.2)(zod@4.4.3) wata: 0.4.2(typescript@7.0.2) webauthx: 0.1.2(typescript@7.0.2)(zod@4.4.3) zod: 4.4.3 zustand: 5.0.14 optionalDependencies: - viem: 2.57.1(typescript@7.0.2)(zod@4.4.3) + viem: 2.57.4(typescript@7.0.2)(zod@4.4.3) transitivePeerDependencies: - '@modelcontextprotocol/sdk' - '@types/react' @@ -2969,6 +3045,8 @@ snapshots: eventsource-parser@3.1.1: {} + eventsource-parser@4.1.1: {} + expand-template@2.0.3: {} expect-type@1.4.0: {} @@ -3034,7 +3112,7 @@ snapshots: '@toon-format/toon': 2.3.1 tokenx: 1.6.0 yaml: 2.9.0 - zod: 4.4.3 + zod: 4.6.6 incur@0.7.1(patch_hash=ce9f4f28b7cb426f7ad6048b002752028a94ba5d9f22643b1fb0b254ffb2dcc1): dependencies: @@ -3147,19 +3225,32 @@ snapshots: mkdirp-classic@0.5.3: {} - mppx@0.12.0(hono@4.13.12)(typescript@7.0.2)(viem@2.57.1(typescript@7.0.2)(zod@4.4.3)): + mppx@0.12.0(hono@4.13.12)(typescript@7.0.2)(viem@2.57.4(typescript@7.0.2)(zod@4.4.3)): dependencies: '@stripe/stripe-js': 9.13.0 eventsource-parser: 3.1.1 ox: 0.14.45(typescript@7.0.2)(zod@4.4.3) structured-headers: 2.0.3 - viem: 2.57.1(typescript@7.0.2)(zod@4.4.3) + viem: 2.57.4(typescript@7.0.2)(zod@4.4.3) zod: 4.4.3 optionalDependencies: hono: 4.13.12 transitivePeerDependencies: - typescript + mppx@0.13.4(hono@4.13.12)(typescript@7.0.2)(viem@2.57.4(typescript@7.0.2)(zod@4.4.3)): + dependencies: + '@stripe/stripe-js': 9.17.0 + eventsource-parser: 4.1.1 + ox: 0.14.45(typescript@7.0.2)(zod@4.6.6) + structured-headers: 2.1.0 + viem: 2.57.4(typescript@7.0.2)(zod@4.4.3) + zod: 4.6.6 + optionalDependencies: + hono: 4.13.12 + transitivePeerDependencies: + - typescript + mrmime@2.0.1: {} ms@2.1.3: {} @@ -3171,6 +3262,8 @@ snapshots: nanoid@3.3.19: {} + nanoid@3.3.20: {} + napi-build-utils@2.0.0: {} node-abi@3.92.0: @@ -3200,6 +3293,36 @@ snapshots: transitivePeerDependencies: - zod + ox@0.14.45(typescript@7.0.2)(zod@4.6.6): + dependencies: + '@adraffy/ens-normalize': 1.11.1 + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.3.0(typescript@7.0.2)(zod@4.6.6) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 7.0.2 + transitivePeerDependencies: + - zod + + ox@0.14.54(typescript@7.0.2)(zod@4.4.3): + dependencies: + '@adraffy/ens-normalize': 1.11.1 + '@noble/ciphers': 1.3.0 + '@noble/curves': 1.9.1 + '@noble/hashes': 1.8.0 + '@scure/bip32': 1.7.0 + '@scure/bip39': 1.6.0 + abitype: 1.3.0(typescript@7.0.2)(zod@4.4.3) + eventemitter3: 5.0.1 + optionalDependencies: + typescript: 7.0.2 + transitivePeerDependencies: + - zod + oxfmt@0.52.0(vite-plus@0.1.24(@types/node@26.5.1)(esbuild@0.28.2)(tsx@4.23.13)(typescript@7.0.2)(vite@8.0.16(@types/node@26.5.1)(esbuild@0.28.2)(tsx@4.23.13)(yaml@2.9.0))(yaml@2.9.0)): dependencies: tinypool: 2.1.2 @@ -3276,6 +3399,12 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.2 + postcss@8.5.29: + dependencies: + nanoid: 3.3.20 + picocolors: 1.1.1 + source-map-js: 1.2.2 + postgres@3.4.9: {} postject@1.0.0-alpha.6: @@ -3428,6 +3557,8 @@ snapshots: structured-headers@2.0.3: {} + structured-headers@2.1.0: {} + supports-preserve-symlinks-flag@1.0.0: {} tar-fs@2.1.4: @@ -3546,9 +3677,9 @@ snapshots: undici-types@8.9.0: {} - undici@7.29.1: {} + undici@7.30.0: {} - undici@8.10.2: {} + undici@8.11.2: {} universal-user-agent@7.0.3: {} @@ -3564,7 +3695,7 @@ snapshots: util-deprecate@1.0.2: {} - viem@2.57.1(typescript@7.0.2)(zod@4.4.3): + viem@2.57.4(typescript@7.0.2)(zod@4.4.3): dependencies: '@noble/curves': 1.9.1 '@noble/hashes': 1.8.0 @@ -3572,7 +3703,7 @@ snapshots: '@scure/bip39': 1.6.0 abitype: 1.2.3(typescript@7.0.2)(zod@4.4.3) isows: 1.0.7(ws@8.21.0) - ox: 0.14.45(typescript@7.0.2)(zod@4.4.3) + ox: 0.14.54(typescript@7.0.2)(zod@4.4.3) ws: 8.21.0 optionalDependencies: typescript: 7.0.2 @@ -3635,7 +3766,7 @@ snapshots: dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 - postcss: 8.5.28 + postcss: 8.5.29 rolldown: 1.0.3 tinyglobby: 0.2.17 optionalDependencies: @@ -3670,7 +3801,7 @@ snapshots: dependencies: '@hono/node-server': 1.19.17(hono@4.13.12) '@noble/ciphers': 2.2.0 - '@noble/hashes': 2.2.0 + '@noble/hashes': 2.4.0 hono: 4.13.12 ox: 0.14.45(typescript@7.0.2)(zod@4.4.3) zod: 4.4.3 @@ -3719,4 +3850,6 @@ snapshots: zod@4.4.3: {} + zod@4.6.6: {} + zustand@5.0.14: {}