Add a few NIP-011 limitation fields

This commit is contained in:
Alex Gleason
2024-06-18 17:49:52 -05:00
parent 5ac19715cd
commit 335cb991d2

View File

@@ -16,7 +16,12 @@ const relayInfoController: AppController = async (c) => {
software: 'Ditto',
version: '0.0.0',
limitation: {
// TODO.
auth_required: false,
created_at_lower_limit: 0,
created_at_upper_limit: 2_147_483_647,
max_limit: 100,
payment_required: false,
restricted_writes: false,
},
});
};