File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 7373 "period" : 86400000 ,
7474 "rate" : 2880
7575 }
76- ]
76+ ],
77+ "whitelists" : {
78+ "pubkeys" : [],
79+ "ipAddresses" : [
80+ " ::1" ,
81+ " ::ffff:10.10.10.1"
82+ ]
83+ }
7784 },
7885 "client" : {
7986 "subscription" : {
Original file line number Diff line number Diff line change @@ -52,13 +52,19 @@ export interface ContentLimits {
5252 maxLength ?: number
5353}
5454
55+ export interface EventWhitelists {
56+ pubkeys ?: Pubkey [ ]
57+ ipAddresses ?: string [ ]
58+ }
59+
5560export interface EventLimits {
5661 eventId ?: EventIdLimits
5762 pubkey ?: PubkeyLimits
5863 kind ?: KindLimits
5964 createdAt ?: CreatedAtLimits
6065 content ?: ContentLimits
6166 rateLimits ?: EventRateLimit [ ]
67+ whitelists ?: EventWhitelists
6268}
6369
6470export interface ClientSubscriptionLimits {
You can’t perform that action at this time.
0 commit comments