@waiaas/daemon 2.11.0-rc.7 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/api/middleware/address-validation.d.ts +6 -33
- package/dist/api/middleware/address-validation.d.ts.map +1 -1
- package/dist/api/middleware/address-validation.js +5 -129
- package/dist/api/middleware/address-validation.js.map +1 -1
- package/dist/api/middleware/host-guard.d.ts +1 -1
- package/dist/api/middleware/host-guard.js +2 -2
- package/dist/api/middleware/host-guard.js.map +1 -1
- package/dist/api/middleware/index.d.ts +1 -0
- package/dist/api/middleware/index.d.ts.map +1 -1
- package/dist/api/middleware/index.js +1 -0
- package/dist/api/middleware/index.js.map +1 -1
- package/dist/api/middleware/master-auth.d.ts +2 -5
- package/dist/api/middleware/master-auth.d.ts.map +1 -1
- package/dist/api/middleware/master-auth.js.map +1 -1
- package/dist/api/middleware/rate-limiter.d.ts +51 -0
- package/dist/api/middleware/rate-limiter.d.ts.map +1 -0
- package/dist/api/middleware/rate-limiter.js +146 -0
- package/dist/api/middleware/rate-limiter.js.map +1 -0
- package/dist/api/middleware/resolve-asset.d.ts +26 -0
- package/dist/api/middleware/resolve-asset.d.ts.map +1 -0
- package/dist/api/middleware/resolve-asset.js +81 -0
- package/dist/api/middleware/resolve-asset.js.map +1 -0
- package/dist/api/middleware/siwe-verify.d.ts +6 -26
- package/dist/api/middleware/siwe-verify.d.ts.map +1 -1
- package/dist/api/middleware/siwe-verify.js +5 -50
- package/dist/api/middleware/siwe-verify.js.map +1 -1
- package/dist/api/routes/actions.d.ts +1 -0
- package/dist/api/routes/actions.d.ts.map +1 -1
- package/dist/api/routes/actions.js +52 -4
- package/dist/api/routes/actions.js.map +1 -1
- package/dist/api/routes/admin-actions.d.ts +1 -0
- package/dist/api/routes/admin-actions.d.ts.map +1 -1
- package/dist/api/routes/admin-actions.js +3 -3
- package/dist/api/routes/admin-actions.js.map +1 -1
- package/dist/api/routes/admin-auth.d.ts.map +1 -1
- package/dist/api/routes/admin-auth.js +12 -7
- package/dist/api/routes/admin-auth.js.map +1 -1
- package/dist/api/routes/admin-credentials.js +2 -2
- package/dist/api/routes/admin-credentials.js.map +1 -1
- package/dist/api/routes/admin-monitoring.d.ts +10 -0
- package/dist/api/routes/admin-monitoring.d.ts.map +1 -1
- package/dist/api/routes/admin-monitoring.js +59 -14
- package/dist/api/routes/admin-monitoring.js.map +1 -1
- package/dist/api/routes/admin-notifications.d.ts.map +1 -1
- package/dist/api/routes/admin-notifications.js +2 -15
- package/dist/api/routes/admin-notifications.js.map +1 -1
- package/dist/api/routes/admin-settings.d.ts.map +1 -1
- package/dist/api/routes/admin-settings.js +90 -1
- package/dist/api/routes/admin-settings.js.map +1 -1
- package/dist/api/routes/admin-wallets.d.ts +16 -1
- package/dist/api/routes/admin-wallets.d.ts.map +1 -1
- package/dist/api/routes/admin-wallets.js +64 -75
- package/dist/api/routes/admin-wallets.js.map +1 -1
- package/dist/api/routes/admin.d.ts +1 -0
- package/dist/api/routes/admin.d.ts.map +1 -1
- package/dist/api/routes/admin.js.map +1 -1
- package/dist/api/routes/connect-info.d.ts.map +1 -1
- package/dist/api/routes/connect-info.js +2 -1
- package/dist/api/routes/connect-info.js.map +1 -1
- package/dist/api/routes/credentials.js +2 -2
- package/dist/api/routes/credentials.js.map +1 -1
- package/dist/api/routes/defi-positions.d.ts.map +1 -1
- package/dist/api/routes/defi-positions.js +10 -0
- package/dist/api/routes/defi-positions.js.map +1 -1
- package/dist/api/routes/incoming.d.ts.map +1 -1
- package/dist/api/routes/incoming.js +2 -1
- package/dist/api/routes/incoming.js.map +1 -1
- package/dist/api/routes/nfts.js +24 -4
- package/dist/api/routes/nfts.js.map +1 -1
- package/dist/api/routes/openapi-schemas.d.ts +611 -118
- package/dist/api/routes/openapi-schemas.d.ts.map +1 -1
- package/dist/api/routes/openapi-schemas.js +53 -5
- package/dist/api/routes/openapi-schemas.js.map +1 -1
- package/dist/api/routes/policies.d.ts +2 -0
- package/dist/api/routes/policies.d.ts.map +1 -1
- package/dist/api/routes/policies.js +55 -6
- package/dist/api/routes/policies.js.map +1 -1
- package/dist/api/routes/rpc-proxy.js.map +1 -1
- package/dist/api/routes/sessions.d.ts.map +1 -1
- package/dist/api/routes/sessions.js +47 -28
- package/dist/api/routes/sessions.js.map +1 -1
- package/dist/api/routes/staking.d.ts.map +1 -1
- package/dist/api/routes/staking.js +19 -76
- package/dist/api/routes/staking.js.map +1 -1
- package/dist/api/routes/tokens.d.ts.map +1 -1
- package/dist/api/routes/tokens.js +8 -1
- package/dist/api/routes/tokens.js.map +1 -1
- package/dist/api/routes/transactions.d.ts +3 -0
- package/dist/api/routes/transactions.d.ts.map +1 -1
- package/dist/api/routes/transactions.js +66 -12
- package/dist/api/routes/transactions.js.map +1 -1
- package/dist/api/routes/userop.d.ts.map +1 -1
- package/dist/api/routes/userop.js +0 -2
- package/dist/api/routes/userop.js.map +1 -1
- package/dist/api/routes/wallet-apps.d.ts.map +1 -1
- package/dist/api/routes/wallet-apps.js +20 -13
- package/dist/api/routes/wallet-apps.js.map +1 -1
- package/dist/api/routes/wallet.d.ts.map +1 -1
- package/dist/api/routes/wallet.js +12 -4
- package/dist/api/routes/wallet.js.map +1 -1
- package/dist/api/routes/wallets.d.ts.map +1 -1
- package/dist/api/routes/wallets.js +3 -0
- package/dist/api/routes/wallets.js.map +1 -1
- package/dist/api/routes/wc.d.ts.map +1 -1
- package/dist/api/routes/wc.js +13 -8
- package/dist/api/routes/wc.js.map +1 -1
- package/dist/api/routes/x402.d.ts.map +1 -1
- package/dist/api/routes/x402.js +1 -2
- package/dist/api/routes/x402.js.map +1 -1
- package/dist/api/server.d.ts +8 -4
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +47 -5
- package/dist/api/server.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/infrastructure/action/action-provider-registry.d.ts.map +1 -1
- package/dist/infrastructure/action/action-provider-registry.js +2 -3
- package/dist/infrastructure/action/action-provider-registry.js.map +1 -1
- package/dist/infrastructure/action/builtin-metadata.d.ts +22 -0
- package/dist/infrastructure/action/builtin-metadata.d.ts.map +1 -0
- package/dist/infrastructure/action/builtin-metadata.js +29 -0
- package/dist/infrastructure/action/builtin-metadata.js.map +1 -0
- package/dist/infrastructure/adapter-pool.d.ts +2 -1
- package/dist/infrastructure/adapter-pool.d.ts.map +1 -1
- package/dist/infrastructure/adapter-pool.js.map +1 -1
- package/dist/infrastructure/auth/address-validation.d.ts +38 -0
- package/dist/infrastructure/auth/address-validation.d.ts.map +1 -0
- package/dist/infrastructure/auth/address-validation.js +134 -0
- package/dist/infrastructure/auth/address-validation.js.map +1 -0
- package/dist/infrastructure/auth/siwe-verify.d.ts +34 -0
- package/dist/infrastructure/auth/siwe-verify.d.ts.map +1 -0
- package/dist/infrastructure/auth/siwe-verify.js +58 -0
- package/dist/infrastructure/auth/siwe-verify.js.map +1 -0
- package/dist/infrastructure/auth/types.d.ts +12 -0
- package/dist/infrastructure/auth/types.d.ts.map +1 -0
- package/dist/infrastructure/auth/types.js +8 -0
- package/dist/infrastructure/auth/types.js.map +1 -0
- package/dist/infrastructure/config/loader.d.ts +1 -10
- package/dist/infrastructure/config/loader.d.ts.map +1 -1
- package/dist/infrastructure/config/loader.js +0 -2
- package/dist/infrastructure/config/loader.js.map +1 -1
- package/dist/infrastructure/database/migrate.d.ts +6 -18
- package/dist/infrastructure/database/migrate.d.ts.map +1 -1
- package/dist/infrastructure/database/migrate.js +25 -2856
- package/dist/infrastructure/database/migrate.js.map +1 -1
- package/dist/infrastructure/database/migrations/v11-v20.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v11-v20.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v11-v20.js +295 -0
- package/dist/infrastructure/database/migrations/v11-v20.js.map +1 -0
- package/dist/infrastructure/database/migrations/v2-v10.d.ts +16 -0
- package/dist/infrastructure/database/migrations/v2-v10.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v2-v10.js +539 -0
- package/dist/infrastructure/database/migrations/v2-v10.js.map +1 -0
- package/dist/infrastructure/database/migrations/v21-v30.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v21-v30.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v21-v30.js +507 -0
- package/dist/infrastructure/database/migrations/v21-v30.js.map +1 -0
- package/dist/infrastructure/database/migrations/v31-v40.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v31-v40.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v31-v40.js +203 -0
- package/dist/infrastructure/database/migrations/v31-v40.js.map +1 -0
- package/dist/infrastructure/database/migrations/v41-v50.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v41-v50.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v41-v50.js +188 -0
- package/dist/infrastructure/database/migrations/v41-v50.js.map +1 -0
- package/dist/infrastructure/database/migrations/v51-v59.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v51-v59.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v51-v59.js +420 -0
- package/dist/infrastructure/database/migrations/v51-v59.js.map +1 -0
- package/dist/infrastructure/database/schema-ddl.d.ts +24 -0
- package/dist/infrastructure/database/schema-ddl.d.ts.map +1 -0
- package/dist/infrastructure/database/schema-ddl.js +596 -0
- package/dist/infrastructure/database/schema-ddl.js.map +1 -0
- package/dist/infrastructure/database/schema.d.ts +38 -0
- package/dist/infrastructure/database/schema.d.ts.map +1 -1
- package/dist/infrastructure/database/schema.js +2 -0
- package/dist/infrastructure/database/schema.js.map +1 -1
- package/dist/infrastructure/jwt/jwt-secret-manager.d.ts.map +1 -1
- package/dist/infrastructure/jwt/jwt-secret-manager.js +16 -3
- package/dist/infrastructure/jwt/jwt-secret-manager.js.map +1 -1
- package/dist/infrastructure/nft/alchemy-nft-indexer.d.ts.map +1 -1
- package/dist/infrastructure/nft/alchemy-nft-indexer.js +0 -1
- package/dist/infrastructure/nft/alchemy-nft-indexer.js.map +1 -1
- package/dist/infrastructure/nft/helius-nft-indexer.d.ts.map +1 -1
- package/dist/infrastructure/nft/helius-nft-indexer.js +1 -2
- package/dist/infrastructure/nft/helius-nft-indexer.js.map +1 -1
- package/dist/infrastructure/nft/nft-indexer-client.d.ts.map +1 -1
- package/dist/infrastructure/nft/nft-indexer-client.js +0 -2
- package/dist/infrastructure/nft/nft-indexer-client.js.map +1 -1
- package/dist/infrastructure/security/ssrf-guard.d.ts +33 -0
- package/dist/infrastructure/security/ssrf-guard.d.ts.map +1 -0
- package/dist/infrastructure/security/ssrf-guard.js +244 -0
- package/dist/infrastructure/security/ssrf-guard.js.map +1 -0
- package/dist/infrastructure/settings/hot-reload.d.ts +1 -1
- package/dist/infrastructure/settings/hot-reload.d.ts.map +1 -1
- package/dist/infrastructure/settings/hot-reload.js +0 -2
- package/dist/infrastructure/settings/hot-reload.js.map +1 -1
- package/dist/infrastructure/settings/index.d.ts +2 -2
- package/dist/infrastructure/settings/index.d.ts.map +1 -1
- package/dist/infrastructure/settings/index.js +1 -1
- package/dist/infrastructure/settings/index.js.map +1 -1
- package/dist/infrastructure/settings/setting-keys.d.ts +14 -0
- package/dist/infrastructure/settings/setting-keys.d.ts.map +1 -1
- package/dist/infrastructure/settings/setting-keys.js +296 -214
- package/dist/infrastructure/settings/setting-keys.js.map +1 -1
- package/dist/infrastructure/settings/settings-service.d.ts +6 -1
- package/dist/infrastructure/settings/settings-service.d.ts.map +1 -1
- package/dist/infrastructure/settings/settings-service.js +15 -5
- package/dist/infrastructure/settings/settings-service.js.map +1 -1
- package/dist/infrastructure/telegram/telegram-bot-service.d.ts.map +1 -1
- package/dist/infrastructure/telegram/telegram-bot-service.js +3 -2
- package/dist/infrastructure/telegram/telegram-bot-service.js.map +1 -1
- package/dist/infrastructure/token-registry/builtin-tokens.d.ts.map +1 -1
- package/dist/infrastructure/token-registry/builtin-tokens.js +4 -7
- package/dist/infrastructure/token-registry/builtin-tokens.js.map +1 -1
- package/dist/lifecycle/daemon-pipeline.d.ts +49 -0
- package/dist/lifecycle/daemon-pipeline.d.ts.map +1 -0
- package/dist/lifecycle/daemon-pipeline.js +281 -0
- package/dist/lifecycle/daemon-pipeline.js.map +1 -0
- package/dist/lifecycle/daemon-shutdown.d.ts +14 -0
- package/dist/lifecycle/daemon-shutdown.d.ts.map +1 -0
- package/dist/lifecycle/daemon-shutdown.js +176 -0
- package/dist/lifecycle/daemon-shutdown.js.map +1 -0
- package/dist/lifecycle/daemon-startup.d.ts +15 -0
- package/dist/lifecycle/daemon-startup.d.ts.map +1 -0
- package/dist/lifecycle/daemon-startup.js +1527 -0
- package/dist/lifecycle/daemon-startup.js.map +1 -0
- package/dist/lifecycle/daemon.d.ts +171 -114
- package/dist/lifecycle/daemon.d.ts.map +1 -1
- package/dist/lifecycle/daemon.js +22 -1904
- package/dist/lifecycle/daemon.js.map +1 -1
- package/dist/notifications/channels/discord.d.ts.map +1 -1
- package/dist/notifications/channels/discord.js +1 -0
- package/dist/notifications/channels/discord.js.map +1 -1
- package/dist/notifications/channels/slack.d.ts.map +1 -1
- package/dist/notifications/channels/slack.js +1 -0
- package/dist/notifications/channels/slack.js.map +1 -1
- package/dist/notifications/index.d.ts +0 -1
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +0 -1
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/notification-service.d.ts.map +1 -1
- package/dist/notifications/notification-service.js +8 -6
- package/dist/notifications/notification-service.js.map +1 -1
- package/dist/pipeline/database-policy-engine.d.ts +18 -438
- package/dist/pipeline/database-policy-engine.d.ts.map +1 -1
- package/dist/pipeline/database-policy-engine.js +154 -1321
- package/dist/pipeline/database-policy-engine.js.map +1 -1
- package/dist/pipeline/dry-run.d.ts +5 -2
- package/dist/pipeline/dry-run.d.ts.map +1 -1
- package/dist/pipeline/dry-run.js +102 -8
- package/dist/pipeline/dry-run.js.map +1 -1
- package/dist/pipeline/evaluators/allowed-tokens.d.ts +28 -0
- package/dist/pipeline/evaluators/allowed-tokens.d.ts.map +1 -0
- package/dist/pipeline/evaluators/allowed-tokens.js +129 -0
- package/dist/pipeline/evaluators/allowed-tokens.js.map +1 -0
- package/dist/pipeline/evaluators/approved-spenders.d.ts +26 -0
- package/dist/pipeline/evaluators/approved-spenders.d.ts.map +1 -0
- package/dist/pipeline/evaluators/approved-spenders.js +115 -0
- package/dist/pipeline/evaluators/approved-spenders.js.map +1 -0
- package/dist/pipeline/evaluators/contract-whitelist.d.ts +28 -0
- package/dist/pipeline/evaluators/contract-whitelist.d.ts.map +1 -0
- package/dist/pipeline/evaluators/contract-whitelist.js +168 -0
- package/dist/pipeline/evaluators/contract-whitelist.js.map +1 -0
- package/dist/pipeline/evaluators/helpers.d.ts +9 -0
- package/dist/pipeline/evaluators/helpers.d.ts.map +1 -0
- package/dist/pipeline/evaluators/helpers.js +13 -0
- package/dist/pipeline/evaluators/helpers.js.map +1 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.d.ts +18 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.d.ts.map +1 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.js +44 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.js.map +1 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.d.ts +24 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.d.ts.map +1 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.js +130 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.js.map +1 -0
- package/dist/pipeline/evaluators/spending-limit.d.ts +46 -0
- package/dist/pipeline/evaluators/spending-limit.d.ts.map +1 -0
- package/dist/pipeline/evaluators/spending-limit.js +241 -0
- package/dist/pipeline/evaluators/spending-limit.js.map +1 -0
- package/dist/pipeline/evaluators/types.d.ts +71 -0
- package/dist/pipeline/evaluators/types.d.ts.map +1 -0
- package/dist/pipeline/evaluators/types.js +7 -0
- package/dist/pipeline/evaluators/types.js.map +1 -0
- package/dist/pipeline/external-action-pipeline.js.map +1 -1
- package/dist/pipeline/gas-condition-tracker.d.ts +1 -1
- package/dist/pipeline/gas-condition-tracker.js +1 -1
- package/dist/pipeline/pipeline-helpers.d.ts +146 -0
- package/dist/pipeline/pipeline-helpers.d.ts.map +1 -0
- package/dist/pipeline/pipeline-helpers.js +260 -0
- package/dist/pipeline/pipeline-helpers.js.map +1 -0
- package/dist/pipeline/pipeline.d.ts +1 -0
- package/dist/pipeline/pipeline.d.ts.map +1 -1
- package/dist/pipeline/pipeline.js +3 -2
- package/dist/pipeline/pipeline.js.map +1 -1
- package/dist/pipeline/resolve-effective-amount-usd.d.ts.map +1 -1
- package/dist/pipeline/resolve-effective-amount-usd.js +4 -10
- package/dist/pipeline/resolve-effective-amount-usd.js.map +1 -1
- package/dist/pipeline/sign-message.js +1 -1
- package/dist/pipeline/sign-message.js.map +1 -1
- package/dist/pipeline/sleep.d.ts +1 -5
- package/dist/pipeline/sleep.d.ts.map +1 -1
- package/dist/pipeline/sleep.js +2 -7
- package/dist/pipeline/sleep.js.map +1 -1
- package/dist/pipeline/stage1-validate.d.ts +8 -0
- package/dist/pipeline/stage1-validate.d.ts.map +1 -0
- package/dist/pipeline/stage1-validate.js +69 -0
- package/dist/pipeline/stage1-validate.js.map +1 -0
- package/dist/pipeline/stage2-auth.d.ts +12 -0
- package/dist/pipeline/stage2-auth.d.ts.map +1 -0
- package/dist/pipeline/stage2-auth.js +18 -0
- package/dist/pipeline/stage2-auth.js.map +1 -0
- package/dist/pipeline/stage3-policy.d.ts +26 -0
- package/dist/pipeline/stage3-policy.d.ts.map +1 -0
- package/dist/pipeline/stage3-policy.js +384 -0
- package/dist/pipeline/stage3-policy.js.map +1 -0
- package/dist/pipeline/stage4-wait.d.ts +8 -0
- package/dist/pipeline/stage4-wait.d.ts.map +1 -0
- package/dist/pipeline/stage4-wait.js +87 -0
- package/dist/pipeline/stage4-wait.js.map +1 -0
- package/dist/pipeline/stage5-execute.d.ts +120 -0
- package/dist/pipeline/stage5-execute.d.ts.map +1 -0
- package/dist/pipeline/stage5-execute.js +1070 -0
- package/dist/pipeline/stage5-execute.js.map +1 -0
- package/dist/pipeline/stage6-confirm.d.ts +11 -0
- package/dist/pipeline/stage6-confirm.d.ts.map +1 -0
- package/dist/pipeline/stage6-confirm.js +110 -0
- package/dist/pipeline/stage6-confirm.js.map +1 -0
- package/dist/pipeline/stages.d.ts +11 -245
- package/dist/pipeline/stages.d.ts.map +1 -1
- package/dist/pipeline/stages.js +11 -1896
- package/dist/pipeline/stages.js.map +1 -1
- package/dist/rpc-proxy/sync-pipeline.js +2 -2
- package/dist/rpc-proxy/sync-pipeline.js.map +1 -1
- package/dist/services/autostop/autostop-service.d.ts +4 -1
- package/dist/services/autostop/autostop-service.d.ts.map +1 -1
- package/dist/services/autostop/autostop-service.js +27 -7
- package/dist/services/autostop/autostop-service.js.map +1 -1
- package/dist/services/defi/position-tracker.d.ts +5 -0
- package/dist/services/defi/position-tracker.d.ts.map +1 -1
- package/dist/services/defi/position-tracker.js +41 -6
- package/dist/services/defi/position-tracker.js.map +1 -1
- package/dist/services/defi/position-write-queue.d.ts.map +1 -1
- package/dist/services/defi/position-write-queue.js +3 -2
- package/dist/services/defi/position-write-queue.js.map +1 -1
- package/dist/services/incoming/__tests__/integration-wiring.test.js +58 -0
- package/dist/services/incoming/__tests__/integration-wiring.test.js.map +1 -1
- package/dist/services/incoming/incoming-tx-monitor-service.d.ts.map +1 -1
- package/dist/services/incoming/incoming-tx-monitor-service.js +11 -14
- package/dist/services/incoming/incoming-tx-monitor-service.js.map +1 -1
- package/dist/services/incoming/incoming-tx-workers.d.ts +2 -2
- package/dist/services/incoming/incoming-tx-workers.d.ts.map +1 -1
- package/dist/services/incoming/incoming-tx-workers.js +1 -1
- package/dist/services/incoming/incoming-tx-workers.js.map +1 -1
- package/dist/services/incoming/safety-rules.d.ts.map +1 -1
- package/dist/services/incoming/safety-rules.js +3 -2
- package/dist/services/incoming/safety-rules.js.map +1 -1
- package/dist/services/incoming/subscription-multiplexer.d.ts +2 -6
- package/dist/services/incoming/subscription-multiplexer.d.ts.map +1 -1
- package/dist/services/incoming/subscription-multiplexer.js +1 -3
- package/dist/services/incoming/subscription-multiplexer.js.map +1 -1
- package/dist/services/monitoring/balance-monitor-service.d.ts.map +1 -1
- package/dist/services/monitoring/balance-monitor-service.js +2 -2
- package/dist/services/monitoring/balance-monitor-service.js.map +1 -1
- package/dist/services/signing-sdk/approval-channel-router.d.ts +7 -7
- package/dist/services/signing-sdk/approval-channel-router.d.ts.map +1 -1
- package/dist/services/signing-sdk/approval-channel-router.js +13 -13
- package/dist/services/signing-sdk/approval-channel-router.js.map +1 -1
- package/dist/services/signing-sdk/channels/index.d.ts +2 -2
- package/dist/services/signing-sdk/channels/index.d.ts.map +1 -1
- package/dist/services/signing-sdk/channels/index.js +1 -1
- package/dist/services/signing-sdk/channels/index.js.map +1 -1
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.d.ts +59 -0
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.d.ts.map +1 -0
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.js +190 -0
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.js.map +1 -0
- package/dist/services/signing-sdk/channels/telegram-signing-channel.d.ts +1 -1
- package/dist/services/signing-sdk/channels/telegram-signing-channel.js +1 -1
- package/dist/services/signing-sdk/channels/wallet-notification-channel.d.ts +6 -7
- package/dist/services/signing-sdk/channels/wallet-notification-channel.d.ts.map +1 -1
- package/dist/services/signing-sdk/channels/wallet-notification-channel.js +38 -55
- package/dist/services/signing-sdk/channels/wallet-notification-channel.js.map +1 -1
- package/dist/services/signing-sdk/index.d.ts +3 -3
- package/dist/services/signing-sdk/index.d.ts.map +1 -1
- package/dist/services/signing-sdk/index.js +2 -2
- package/dist/services/signing-sdk/index.js.map +1 -1
- package/dist/services/signing-sdk/preset-auto-setup.js +2 -2
- package/dist/services/signing-sdk/preset-auto-setup.js.map +1 -1
- package/dist/services/signing-sdk/sign-request-builder.d.ts +2 -2
- package/dist/services/signing-sdk/sign-request-builder.d.ts.map +1 -1
- package/dist/services/signing-sdk/sign-request-builder.js +17 -25
- package/dist/services/signing-sdk/sign-request-builder.js.map +1 -1
- package/dist/services/signing-sdk/wallet-app-service.d.ts +4 -0
- package/dist/services/signing-sdk/wallet-app-service.d.ts.map +1 -1
- package/dist/services/signing-sdk/wallet-app-service.js +12 -5
- package/dist/services/signing-sdk/wallet-app-service.js.map +1 -1
- package/dist/services/staking/aggregate-staking-balance.d.ts +24 -0
- package/dist/services/staking/aggregate-staking-balance.d.ts.map +1 -0
- package/dist/services/staking/aggregate-staking-balance.js +82 -0
- package/dist/services/staking/aggregate-staking-balance.js.map +1 -0
- package/dist/services/wc-session-service.d.ts.map +1 -1
- package/dist/services/wc-session-service.js +2 -1
- package/dist/services/wc-session-service.js.map +1 -1
- package/dist/services/wc-signing-bridge.js +2 -2
- package/dist/services/wc-signing-bridge.js.map +1 -1
- package/dist/services/x402/payment-signer.d.ts.map +1 -1
- package/dist/services/x402/payment-signer.js +2 -5
- package/dist/services/x402/payment-signer.js.map +1 -1
- package/dist/services/x402/ssrf-guard.d.ts +4 -23
- package/dist/services/x402/ssrf-guard.d.ts.map +1 -1
- package/dist/services/x402/ssrf-guard.js +3 -232
- package/dist/services/x402/ssrf-guard.js.map +1 -1
- package/dist/signing/capabilities/eip712-signer.d.ts.map +1 -1
- package/dist/signing/capabilities/eip712-signer.js +2 -0
- package/dist/signing/capabilities/eip712-signer.js.map +1 -1
- package/package.json +5 -5
- package/public/admin/assets/index-CpFF2lCo.js +3 -0
- package/public/admin/index.html +1 -1
- package/dist/notifications/channels/ntfy.d.ts +0 -13
- package/dist/notifications/channels/ntfy.d.ts.map +0 -1
- package/dist/notifications/channels/ntfy.js +0 -74
- package/dist/notifications/channels/ntfy.js.map +0 -1
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.d.ts +0 -66
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.d.ts.map +0 -1
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.js +0 -270
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.js.map +0 -1
- package/public/admin/assets/index-CQ3i4P2U.js +0 -3
|
@@ -1,27 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Re-export from infrastructure/security/ssrf-guard.ts for backward compatibility.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* 1. URL normalization (trailing dot, lowercase, userinfo rejection, port 443 only)
|
|
6
|
-
* 2. Protocol enforcement (HTTPS only)
|
|
7
|
-
* 3. DNS pre-resolution + private IP blocking (RFC 5735/6890)
|
|
8
|
-
* 4. IPv4-mapped IPv6 bypass vector blocking
|
|
9
|
-
* 5. Redirect re-validation (max 3 hops)
|
|
10
|
-
*
|
|
11
|
-
* @module ssrf-guard
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* Validate URL safety against SSRF attacks.
|
|
15
|
-
* Performs DNS resolution and validates all resolved IPs are public.
|
|
16
|
-
*
|
|
17
|
-
* @throws WAIaaSError('X402_SSRF_BLOCKED') if URL targets private/reserved IP
|
|
18
|
-
*/
|
|
19
|
-
export declare function validateUrlSafety(urlString: string): Promise<URL>;
|
|
20
|
-
/**
|
|
21
|
-
* Fetch with manual redirect handling and SSRF re-validation per hop.
|
|
22
|
-
* Max 3 redirects. After redirect, method becomes GET and body is dropped.
|
|
23
|
-
*
|
|
24
|
-
* @throws WAIaaSError('X402_SSRF_BLOCKED') on private IP redirect or too many redirects
|
|
4
|
+
* @deprecated Import from '../../infrastructure/security/ssrf-guard.js' instead.
|
|
25
5
|
*/
|
|
26
|
-
export
|
|
6
|
+
export { validateUrlSafety, safeFetchWithRedirects, } from '../../infrastructure/security/ssrf-guard.js';
|
|
7
|
+
export type { ValidateUrlOptions } from '../../infrastructure/security/ssrf-guard.js';
|
|
27
8
|
//# sourceMappingURL=ssrf-guard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssrf-guard.d.ts","sourceRoot":"","sources":["../../../src/services/x402/ssrf-guard.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ssrf-guard.d.ts","sourceRoot":"","sources":["../../../src/services/x402/ssrf-guard.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,6CAA6C,CAAC;AACrD,YAAY,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC"}
|
|
@@ -1,236 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Re-export from infrastructure/security/ssrf-guard.ts for backward compatibility.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* 1. URL normalization (trailing dot, lowercase, userinfo rejection, port 443 only)
|
|
6
|
-
* 2. Protocol enforcement (HTTPS only)
|
|
7
|
-
* 3. DNS pre-resolution + private IP blocking (RFC 5735/6890)
|
|
8
|
-
* 4. IPv4-mapped IPv6 bypass vector blocking
|
|
9
|
-
* 5. Redirect re-validation (max 3 hops)
|
|
10
|
-
*
|
|
11
|
-
* @module ssrf-guard
|
|
12
|
-
*/
|
|
13
|
-
import { lookup } from 'node:dns/promises';
|
|
14
|
-
import { isIP } from 'node:net';
|
|
15
|
-
import { WAIaaSError } from '@waiaas/core';
|
|
16
|
-
// ---------------------------------------------------------------------------
|
|
17
|
-
// Constants
|
|
18
|
-
// ---------------------------------------------------------------------------
|
|
19
|
-
const MAX_REDIRECTS = 3;
|
|
20
|
-
const DEFAULT_TIMEOUT_MS = 30_000;
|
|
21
|
-
// ---------------------------------------------------------------------------
|
|
22
|
-
// Public API
|
|
23
|
-
// ---------------------------------------------------------------------------
|
|
24
|
-
/**
|
|
25
|
-
* Validate URL safety against SSRF attacks.
|
|
26
|
-
* Performs DNS resolution and validates all resolved IPs are public.
|
|
27
|
-
*
|
|
28
|
-
* @throws WAIaaSError('X402_SSRF_BLOCKED') if URL targets private/reserved IP
|
|
29
|
-
*/
|
|
30
|
-
export async function validateUrlSafety(urlString) {
|
|
31
|
-
const url = normalizeUrl(urlString);
|
|
32
|
-
// Protocol enforcement: HTTPS only
|
|
33
|
-
if (url.protocol !== 'https:') {
|
|
34
|
-
throw new WAIaaSError('X402_SSRF_BLOCKED', {
|
|
35
|
-
message: `Only HTTPS URLs are allowed, got ${url.protocol}`,
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
// Reject userinfo
|
|
39
|
-
if (url.username || url.password) {
|
|
40
|
-
throw new WAIaaSError('X402_SSRF_BLOCKED', {
|
|
41
|
-
message: 'URLs with userinfo (@) are not allowed',
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
// Port validation: only 443 (or default empty)
|
|
45
|
-
if (url.port && url.port !== '443') {
|
|
46
|
-
throw new WAIaaSError('X402_SSRF_BLOCKED', {
|
|
47
|
-
message: `Non-standard port ${url.port} is not allowed`,
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
const hostname = url.hostname;
|
|
51
|
-
// Direct IP in hostname
|
|
52
|
-
if (isIP(hostname)) {
|
|
53
|
-
assertPublicIP(hostname);
|
|
54
|
-
return url;
|
|
55
|
-
}
|
|
56
|
-
// DNS pre-resolution: resolve all A + AAAA records
|
|
57
|
-
const addresses = await lookup(hostname, { all: true });
|
|
58
|
-
for (const { address } of addresses) {
|
|
59
|
-
assertPublicIP(address);
|
|
60
|
-
}
|
|
61
|
-
return url;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Fetch with manual redirect handling and SSRF re-validation per hop.
|
|
65
|
-
* Max 3 redirects. After redirect, method becomes GET and body is dropped.
|
|
66
|
-
*
|
|
67
|
-
* @throws WAIaaSError('X402_SSRF_BLOCKED') on private IP redirect or too many redirects
|
|
68
|
-
*/
|
|
69
|
-
export async function safeFetchWithRedirects(url, method, headers, body, timeout = DEFAULT_TIMEOUT_MS) {
|
|
70
|
-
let currentUrl = url;
|
|
71
|
-
for (let i = 0; i <= MAX_REDIRECTS; i++) {
|
|
72
|
-
const controller = new AbortController();
|
|
73
|
-
const timer = setTimeout(() => controller.abort(), timeout);
|
|
74
|
-
try {
|
|
75
|
-
const response = await fetch(currentUrl.toString(), {
|
|
76
|
-
method: i === 0 ? method : 'GET',
|
|
77
|
-
headers: i === 0 ? headers : undefined,
|
|
78
|
-
body: i === 0 && method !== 'GET' ? body : undefined,
|
|
79
|
-
signal: controller.signal,
|
|
80
|
-
redirect: 'manual',
|
|
81
|
-
});
|
|
82
|
-
// Non-redirect response: return as-is
|
|
83
|
-
if (response.status < 300 || response.status >= 400) {
|
|
84
|
-
return response;
|
|
85
|
-
}
|
|
86
|
-
// Redirect: extract and validate Location
|
|
87
|
-
const location = response.headers.get('Location');
|
|
88
|
-
if (!location) {
|
|
89
|
-
return response;
|
|
90
|
-
}
|
|
91
|
-
// SSRF re-validation on redirect target
|
|
92
|
-
currentUrl = await validateUrlSafety(new URL(location, currentUrl).toString());
|
|
93
|
-
}
|
|
94
|
-
finally {
|
|
95
|
-
clearTimeout(timer);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
throw new WAIaaSError('X402_SSRF_BLOCKED', {
|
|
99
|
-
message: `Too many redirects (max ${MAX_REDIRECTS})`,
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
// ---------------------------------------------------------------------------
|
|
103
|
-
// Internal: URL normalization
|
|
104
|
-
// ---------------------------------------------------------------------------
|
|
105
|
-
function normalizeUrl(urlString) {
|
|
106
|
-
const url = new URL(urlString);
|
|
107
|
-
// Remove trailing dot (FQDN normalization)
|
|
108
|
-
if (url.hostname.endsWith('.')) {
|
|
109
|
-
url.hostname = url.hostname.slice(0, -1);
|
|
110
|
-
}
|
|
111
|
-
return url;
|
|
112
|
-
}
|
|
113
|
-
// ---------------------------------------------------------------------------
|
|
114
|
-
// Internal: IP validation
|
|
115
|
-
// ---------------------------------------------------------------------------
|
|
116
|
-
/**
|
|
117
|
-
* Assert that an IP address is public (not private/reserved).
|
|
118
|
-
* Handles IPv4-mapped IPv6 normalization before checking.
|
|
119
|
-
*
|
|
120
|
-
* @throws WAIaaSError('X402_SSRF_BLOCKED') if IP is private/reserved
|
|
121
|
-
*/
|
|
122
|
-
function assertPublicIP(ip) {
|
|
123
|
-
const normalized = normalizeIPv6Mapped(ip);
|
|
124
|
-
if (isPrivateIP(normalized)) {
|
|
125
|
-
throw new WAIaaSError('X402_SSRF_BLOCKED', {
|
|
126
|
-
message: `Resolved IP ${ip} is private/reserved`,
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Normalize IPv4-mapped IPv6 addresses to their IPv4 equivalents.
|
|
132
|
-
* - ::ffff:A.B.C.D -> A.B.C.D (dotted format)
|
|
133
|
-
* - ::ffff:HHHH:HHHH -> A.B.C.D (hex-encoded format)
|
|
134
|
-
*/
|
|
135
|
-
function normalizeIPv6Mapped(ip) {
|
|
136
|
-
const lower = ip.toLowerCase();
|
|
137
|
-
// ::ffff:A.B.C.D format (dotted decimal)
|
|
138
|
-
if (lower.startsWith('::ffff:') && lower.includes('.')) {
|
|
139
|
-
return lower.slice(7);
|
|
140
|
-
}
|
|
141
|
-
// ::ffff:HHHH:HHHH format (hex-encoded IPv4)
|
|
142
|
-
const match = lower.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/);
|
|
143
|
-
if (match) {
|
|
144
|
-
const hi = parseInt(match[1], 16);
|
|
145
|
-
const lo = parseInt(match[2], 16);
|
|
146
|
-
return `${(hi >> 8) & 0xff}.${hi & 0xff}.${(lo >> 8) & 0xff}.${lo & 0xff}`;
|
|
147
|
-
}
|
|
148
|
-
return ip;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Check if an IP (already normalized from IPv4-mapped IPv6) is private/reserved.
|
|
152
|
-
*/
|
|
153
|
-
function isPrivateIP(ip) {
|
|
154
|
-
// Try IPv4 first, then IPv6
|
|
155
|
-
if (ip.includes('.')) {
|
|
156
|
-
return isPrivateIPv4(ip);
|
|
157
|
-
}
|
|
158
|
-
return isPrivateIPv6(ip);
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* RFC 5735/6890 private/reserved IPv4 ranges.
|
|
162
|
-
*/
|
|
163
|
-
function isPrivateIPv4(ip) {
|
|
164
|
-
const parts = ip.split('.');
|
|
165
|
-
if (parts.length !== 4)
|
|
166
|
-
return false;
|
|
167
|
-
const a = Number(parts[0]);
|
|
168
|
-
const b = Number(parts[1]);
|
|
169
|
-
const c = Number(parts[2]);
|
|
170
|
-
// 0.0.0.0/8 - This network
|
|
171
|
-
if (a === 0)
|
|
172
|
-
return true;
|
|
173
|
-
// 10.0.0.0/8 - Private
|
|
174
|
-
if (a === 10)
|
|
175
|
-
return true;
|
|
176
|
-
// 100.64.0.0/10 - Shared address space (CGNAT)
|
|
177
|
-
if (a === 100 && b >= 64 && b <= 127)
|
|
178
|
-
return true;
|
|
179
|
-
// 127.0.0.0/8 - Loopback
|
|
180
|
-
if (a === 127)
|
|
181
|
-
return true;
|
|
182
|
-
// 169.254.0.0/16 - Link-local
|
|
183
|
-
if (a === 169 && b === 254)
|
|
184
|
-
return true;
|
|
185
|
-
// 172.16.0.0/12 - Private
|
|
186
|
-
if (a === 172 && b >= 16 && b <= 31)
|
|
187
|
-
return true;
|
|
188
|
-
// 192.0.0.0/24 - IETF Protocol Assignments
|
|
189
|
-
if (a === 192 && b === 0 && c === 0)
|
|
190
|
-
return true;
|
|
191
|
-
// 192.0.2.0/24 - Documentation (TEST-NET-1)
|
|
192
|
-
if (a === 192 && b === 0 && c === 2)
|
|
193
|
-
return true;
|
|
194
|
-
// 192.168.0.0/16 - Private
|
|
195
|
-
if (a === 192 && b === 168)
|
|
196
|
-
return true;
|
|
197
|
-
// 198.18.0.0/15 - Benchmarking
|
|
198
|
-
if (a === 198 && (b === 18 || b === 19))
|
|
199
|
-
return true;
|
|
200
|
-
// 198.51.100.0/24 - Documentation (TEST-NET-2)
|
|
201
|
-
if (a === 198 && b === 51 && c === 100)
|
|
202
|
-
return true;
|
|
203
|
-
// 203.0.113.0/24 - Documentation (TEST-NET-3)
|
|
204
|
-
if (a === 203 && b === 0 && c === 113)
|
|
205
|
-
return true;
|
|
206
|
-
// 224.0.0.0/4 - Multicast
|
|
207
|
-
if (a >= 224 && a <= 239)
|
|
208
|
-
return true;
|
|
209
|
-
// 240.0.0.0/4 - Reserved + 255.255.255.255 broadcast
|
|
210
|
-
if (a >= 240)
|
|
211
|
-
return true;
|
|
212
|
-
return false;
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Private/reserved IPv6 ranges.
|
|
4
|
+
* @deprecated Import from '../../infrastructure/security/ssrf-guard.js' instead.
|
|
216
5
|
*/
|
|
217
|
-
|
|
218
|
-
const lower = ip.toLowerCase();
|
|
219
|
-
// ::1 - Loopback
|
|
220
|
-
if (lower === '::1')
|
|
221
|
-
return true;
|
|
222
|
-
// :: - Unspecified
|
|
223
|
-
if (lower === '::')
|
|
224
|
-
return true;
|
|
225
|
-
// fe80::/10 - Link-local
|
|
226
|
-
if (lower.startsWith('fe80:') || lower === 'fe80')
|
|
227
|
-
return true;
|
|
228
|
-
// fc00::/7 - Unique local (fc00::/8 + fd00::/8)
|
|
229
|
-
if (lower.startsWith('fc') || lower.startsWith('fd'))
|
|
230
|
-
return true;
|
|
231
|
-
// ff00::/8 - Multicast
|
|
232
|
-
if (lower.startsWith('ff'))
|
|
233
|
-
return true;
|
|
234
|
-
return false;
|
|
235
|
-
}
|
|
6
|
+
export { validateUrlSafety, safeFetchWithRedirects, } from '../../infrastructure/security/ssrf-guard.js';
|
|
236
7
|
//# sourceMappingURL=ssrf-guard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssrf-guard.js","sourceRoot":"","sources":["../../../src/services/x402/ssrf-guard.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ssrf-guard.js","sourceRoot":"","sources":["../../../src/services/x402/ssrf-guard.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EACL,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,6CAA6C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712-signer.d.ts","sourceRoot":"","sources":["../../../src/signing/capabilities/eip712-signer.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,aAAa,EAAuB,MAAM,aAAa,CAAC;AAGxG,qBAAa,sBAAuB,YAAW,iBAAiB;IAC9D,QAAQ,CAAC,MAAM,EAAG,QAAQ,CAAU;IAEpC,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAMjC,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"eip712-signer.d.ts","sourceRoot":"","sources":["../../../src/signing/capabilities/eip712-signer.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,aAAa,EAAuB,MAAM,aAAa,CAAC;AAGxG,qBAAa,sBAAuB,YAAW,iBAAiB;IAC9D,QAAQ,CAAC,MAAM,EAAG,QAAQ,CAAU;IAEpC,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAMjC,IAAI,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;CAsB1D"}
|
|
@@ -20,6 +20,8 @@ export class Eip712SignerCapability {
|
|
|
20
20
|
try {
|
|
21
21
|
const account = privateKeyToAccount(p.privateKey);
|
|
22
22
|
const signature = await account.signTypedData({
|
|
23
|
+
// EIP-712 domain/types/message are loosely typed in our signing params
|
|
24
|
+
// but viem requires specific literal generics -- use targeted assertions
|
|
23
25
|
domain: p.domain,
|
|
24
26
|
types: p.types,
|
|
25
27
|
primaryType: p.primaryType,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eip712-signer.js","sourceRoot":"","sources":["../../../src/signing/capabilities/eip712-signer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,OAAO,sBAAsB;IACxB,MAAM,GAAG,QAAiB,CAAC;IAEpC,OAAO,CAAC,MAAqB;QAC3B,IAAI,MAAM,CAAC,MAAM,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QAC7C,MAAM,CAAC,GAAG,MAA6B,CAAC;QACxC,OAAO,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;IACrE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAAqB;QAC9B,MAAM,CAAC,GAAG,MAA6B,CAAC;QACxC,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;YAClD,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,aAAa,CAAC;gBAC5C,MAAM,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"eip712-signer.js","sourceRoot":"","sources":["../../../src/signing/capabilities/eip712-signer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,OAAO,sBAAsB;IACxB,MAAM,GAAG,QAAiB,CAAC;IAEpC,OAAO,CAAC,MAAqB;QAC3B,IAAI,MAAM,CAAC,MAAM,KAAK,QAAQ;YAAE,OAAO,KAAK,CAAC;QAC7C,MAAM,CAAC,GAAG,MAA6B,CAAC;QACxC,OAAO,OAAO,CAAC,CAAC,UAAU,KAAK,QAAQ,IAAI,CAAC,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC;IACrE,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAAqB;QAC9B,MAAM,CAAC,GAAG,MAA6B,CAAC;QACxC,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;YAClD,MAAM,SAAS,GAAG,MAAM,OAAO,CAAC,aAAa,CAAC;gBAC5C,uEAAuE;gBACvE,yEAAyE;gBACzE,MAAM,EAAE,CAAC,CAAC,MAAiC;gBAC3C,KAAK,EAAE,CAAC,CAAC,KAA8D;gBACvE,WAAW,EAAE,CAAC,CAAC,WAAW;gBAC1B,OAAO,EAAE,CAAC,CAAC,KAAgC;aAC5C,CAAC,CAAC;YACH,OAAO,EAAE,SAAS,EAAE,CAAC;QACvB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,IAAI,YAAY,CACpB,2BAA4B,GAAa,CAAC,OAAO,EAAE,EACnD,QAAQ,EACR,aAAa,EACb,GAAY,CACb,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waiaas/daemon",
|
|
3
|
-
"version": "2.11.0
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "WAIaaS daemon - self-hosted wallet service for AI agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"viem": "^2.21.0",
|
|
50
50
|
"zod": "^3.24.0",
|
|
51
51
|
"zod-to-json-schema": "^3.25.1",
|
|
52
|
-
"@waiaas/actions": "2.11.0
|
|
53
|
-
"@waiaas/adapter-evm": "2.11.0
|
|
54
|
-
"@waiaas/adapter-solana": "2.11.0
|
|
55
|
-
"@waiaas/core": "2.11.0
|
|
52
|
+
"@waiaas/actions": "2.11.0",
|
|
53
|
+
"@waiaas/adapter-evm": "2.11.0",
|
|
54
|
+
"@waiaas/adapter-solana": "2.11.0",
|
|
55
|
+
"@waiaas/core": "2.11.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/better-sqlite3": "^7.6.0",
|