removedInput schema / allOf
Removed value: -[
- {
- "anyOf": [
- {
- "required": [
- "orderId"
- ]
- },
- {
- "required": [
- "ordenId"
- ]
- }
- ]
- },
- {
- "anyOf": [
- {
- "required": [
- "quote"
- ]
- },
- {
- "required": [
- "cotizacion"
- ]
- }
- ]
- },
- {
- "anyOf": [
- {
- "required": [
- "signature"
- ]
- },
- {
- "required": [
- "firma"
- ]
- }
- ]
- }
-]
removedInput schema / properties / cotizacion
Removed value: -{
- "deprecated": true,
- "description": "DEPRECATED alias of `quote`: it still works, but use `quote` (it will be removed in a future round, no date yet). The `cotizacion` object returned by deposit_data({ ordenId, una_sola_firma: true }), AS IS (with issuedAt and signature). Bernuvia verifies it field by field and by its signature.",
- "type": "object"
-}
removedInput schema / properties / firma
Removed value: -{
- "deprecated": true,
- "description": "DEPRECATED alias of `signature`: it still works, but use `signature` (it will be removed in a future round, no date yet). Your EIP-712 signature (signTypedData) of autorizacion.typedData, made with your linked wallet: 0x + 130 hex. Wallets with code (contracts, EIP-7702) are not accepted on this route.",
- "type": "string"
-}
removedInput schema / properties / ordenId
Removed value: -{
- "deprecated": true,
- "description": "DEPRECATED alias of `orderId`: it still works, but use `orderId` (it will be removed in a future round, no date yet). The ordenId (uuid) of the order, the same one from deposit_data.",
- "type": "string"
-}
changedInput schema / properties / orderId / description
Previous value: -"The ordenId (uuid) of the order, the same one from deposit_data."New value: +"The orderId (uuid) of the order, the same one from deposit_data."
changedInput schema / properties / quote / description
Previous value: -"The `cotizacion` object returned by deposit_data({ ordenId, una_sola_firma: true }), AS IS (with issuedAt and signature). Bernuvia verifies it field by field and by its signature."New value: +"The `quote` object returned by deposit_data({ orderId, singleSignature: true }), AS IS (with issuedAt and signature). Bernuvia verifies it field by field and by its signature."
changedInput schema / properties / signature / description
Previous value: -"Your EIP-712 signature (signTypedData) of autorizacion.typedData, made with your linked wallet: 0x + 130 hex. Wallets with code (contracts, EIP-7702) are not accepted on this route."New value: +"Your EIP-712 signature (signTypedData) of singleSignature.typedData, made with your linked wallet: 0x + 130 hex. Wallets with code (contracts, EIP-7702) are not accepted on this route."
changedInput schema / properties / validAfter / description
Previous value: -"autorizacion.typedData.message.validAfter, unchanged (epoch seconds)."New value: +"singleSignature.typedData.message.validAfter, unchanged (epoch seconds)."
changedInput schema / properties / validBefore / description
Previous value: -"autorizacion.typedData.message.validBefore, unchanged: it is exactly the expiry of the quote."New value: +"singleSignature.typedData.message.validBefore, unchanged: it is exactly the expiry of the quote."
changedInput schema / required
Previous value: -[
- "validAfter",
- "validBefore"
-]New value: +[
+ "orderId",
+ "quote",
+ "validAfter",
+ "validBefore",
+ "signature"
+]
removedInput schema / x-bernuvia-aliases
Removed value: -{
- "orderId": "ordenId",
- "quote": "cotizacion",
- "signature": "firma"
-}
removedOutput schema / properties / compraId
Removed value: -{
- "description": "The on-chain identifier (bytes32) of the purchase. Only when the send was made by Bernuvia.",
- "type": "string"
-}
removedOutput schema / properties / enviadoPorBernuvia
Removed value: -{
- "description": "true if the transaction was broadcast by Bernuvia; false if another send had already placed the deposit.",
- "type": "boolean"
-}
removedOutput schema / properties / estado
Removed value: -{
- "description": "\"fondeada\" (mined successfully), \"enviada\" (broadcast, receipt still pending), \"fondeada_por_otro\" (it was already on the chain) or \"fondeada_por_otro_sin_finalizar\" (seen but not finalized yet).",
- "enum": [
- "fondeada",
- "enviada",
- "fondeada_por_otro",
- "fondeada_por_otro_sin_finalizar"
- ],
- "type": "string"
-}
removedOutput schema / properties / gasPatrocinado
Removed value: -{
- "description": "Only when Bernuvia sent it: true, the gas was paid by Bernuvia (you do not spend POL).",
- "type": "boolean"
-}
addedOutput schema / properties / gasSponsored
Added value: +{
+ "description": "Only when Bernuvia sent it: true, the gas was paid by Bernuvia (you do not spend POL).",
+ "type": "boolean"
+}
addedOutput schema / properties / nextStep
Added value: +{
+ "description": "What to do now, in one sentence.",
+ "type": "string"
+}
removedOutput schema / properties / ordenId
Removed value: -{
- "description": "The uuid of the order in Bernuvia.",
- "type": "string"
-}
addedOutput schema / properties / orderId
Added value: +{
+ "description": "The uuid of the order in Bernuvia.",
+ "type": "string"
+}
addedOutput schema / properties / purchaseId
Added value: +{
+ "description": "The on-chain identifier (bytes32) of the purchase. Only when the send was made by Bernuvia.",
+ "type": "string"
+}
addedOutput schema / properties / sentByBernuvia
Added value: +{
+ "description": "true if the transaction was broadcast by Bernuvia; false if another send had already placed the deposit.",
+ "type": "boolean"
+}
removedOutput schema / properties / siguientePaso
Removed value: -{
- "description": "What to do now, in one sentence.",
- "type": "string"
-}
addedOutput schema / properties / status
Added value: +{
+ "description": "\"funded\" (mined successfully), \"sent\" (broadcast, receipt still pending), \"funded_by_other\" (it was already on the chain) or \"funded_by_other_unfinalized\" (seen but not finalized yet).",
+ "enum": [
+ "funded",
+ "sent",
+ "funded_by_other",
+ "funded_by_other_unfinalized"
+ ],
+ "type": "string"
+}
changedOutput schema / required
Previous value: -[
- "ordenId",
- "estado",
- "enviadoPorBernuvia",
- "siguientePaso"
-]New value: +[
+ "orderId",
+ "status",
+ "sentByBernuvia",
+ "nextStep"
+]