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
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -16,7 +16,12 @@ const relayInfoController: AppController = async (c) => {
software: 'Ditto', software: 'Ditto',
version: '0.0.0', version: '0.0.0',
limitation: { 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,
}, },
}); });
}; };