Compare commits
No commits in common. "59a24192c152ed59a727e5b250e7d81ebc9d170c" and "ad1244c260a4bf030f06ba93fcf26caca185d835" have entirely different histories.
59a24192c1
...
ad1244c260
@ -726,8 +726,7 @@ export const lnbitsSchema = object().shape({
|
|||||||
test: invoiceKey => adminKey !== invoiceKey,
|
test: invoiceKey => adminKey !== invoiceKey,
|
||||||
message: 'invoice key cannot be the same as admin key'
|
message: 'invoice key cannot be the same as admin key'
|
||||||
})
|
})
|
||||||
}),
|
})
|
||||||
...autowithdrawSchemaMembers
|
|
||||||
// need to set order to avoid cyclic dependencies in Yup schema
|
// need to set order to avoid cyclic dependencies in Yup schema
|
||||||
// see https://github.com/jquense/yup/issues/176#issuecomment-367352042
|
// see https://github.com/jquense/yup/issues/176#issuecomment-367352042
|
||||||
}, ['adminKey', 'invoiceKey'])
|
}, ['adminKey', 'invoiceKey'])
|
||||||
@ -746,8 +745,7 @@ export const nwcSchema = object().shape({
|
|||||||
test: nwcUrlRecv => nwcUrlRecv !== nwcUrl,
|
test: nwcUrlRecv => nwcUrlRecv !== nwcUrl,
|
||||||
message: 'connection for receiving cannot be the same as for sending'
|
message: 'connection for receiving cannot be the same as for sending'
|
||||||
})
|
})
|
||||||
}),
|
})
|
||||||
...autowithdrawSchemaMembers
|
|
||||||
}, ['nwcUrl', 'nwcUrlRecv'])
|
}, ['nwcUrl', 'nwcUrlRecv'])
|
||||||
|
|
||||||
export const blinkSchema = object({
|
export const blinkSchema = object({
|
||||||
@ -798,8 +796,7 @@ export const phoenixdSchema = object().shape({
|
|||||||
test: secondary => primary !== secondary,
|
test: secondary => primary !== secondary,
|
||||||
message: 'secondary password cannot be the same as primary password'
|
message: 'secondary password cannot be the same as primary password'
|
||||||
})
|
})
|
||||||
}),
|
})
|
||||||
...autowithdrawSchemaMembers
|
|
||||||
}, ['primaryPassword', 'secondaryPassword'])
|
}, ['primaryPassword', 'secondaryPassword'])
|
||||||
|
|
||||||
export const bioSchema = object({
|
export const bioSchema = object({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user