@shapeshiftoss/blockbook
Advanced tools
Comparing version 8.1.0 to 8.2.0
@@ -171,3 +171,2 @@ import { AxiosError } from 'axios'; | ||
to: string; | ||
token: string; | ||
name: string; | ||
@@ -179,2 +178,14 @@ symbol: string; | ||
/** | ||
* Contains info about a token transfer with legacy `token` key for contract address | ||
*/ | ||
export interface TokenTransferWithToken extends TokenTransfer { | ||
token: string; | ||
} | ||
/** | ||
* Contains info about a token transfer with new `contract` key for contract address | ||
*/ | ||
export interface TokenTransferWithContract extends TokenTransfer { | ||
contract: string; | ||
} | ||
/** | ||
* Contains info about a transaction | ||
@@ -198,3 +209,3 @@ */ | ||
rbf?: boolean; | ||
tokenTransfers?: Array<TokenTransfer>; | ||
tokenTransfers?: Array<TokenTransferWithToken | TokenTransferWithContract>; | ||
coinSpecificData?: unknown; | ||
@@ -201,0 +212,0 @@ ethereumSpecific?: EthereumSpecific; |
@@ -109,3 +109,3 @@ "use strict"; | ||
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa | ||
"TokenTransfer": { | ||
"TokenTransferWithToken": { | ||
"dataType": "refObject", | ||
@@ -116,3 +116,17 @@ "properties": { | ||
"to": { "dataType": "string", "required": true }, | ||
"name": { "dataType": "string", "required": true }, | ||
"symbol": { "dataType": "string", "required": true }, | ||
"decimals": { "dataType": "double", "required": true }, | ||
"value": { "dataType": "string", "required": true }, | ||
"token": { "dataType": "string", "required": true }, | ||
}, | ||
"additionalProperties": false, | ||
}, | ||
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa | ||
"TokenTransferWithContract": { | ||
"dataType": "refObject", | ||
"properties": { | ||
"type": { "dataType": "string", "required": true }, | ||
"from": { "dataType": "string", "required": true }, | ||
"to": { "dataType": "string", "required": true }, | ||
"name": { "dataType": "string", "required": true }, | ||
@@ -122,2 +136,3 @@ "symbol": { "dataType": "string", "required": true }, | ||
"value": { "dataType": "string", "required": true }, | ||
"contract": { "dataType": "string", "required": true }, | ||
}, | ||
@@ -158,3 +173,3 @@ "additionalProperties": false, | ||
"rbf": { "dataType": "boolean" }, | ||
"tokenTransfers": { "dataType": "array", "array": { "dataType": "refObject", "ref": "TokenTransfer" } }, | ||
"tokenTransfers": { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "ref": "TokenTransferWithToken" }, { "ref": "TokenTransferWithContract" }] } }, | ||
"coinSpecificData": { "dataType": "any" }, | ||
@@ -161,0 +176,0 @@ "ethereumSpecific": { "ref": "EthereumSpecific" }, |
{ | ||
"name": "@shapeshiftoss/blockbook", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "1282ce508e46e66ea1d187d3d14142a1182f5468" | ||
"gitHead": "cda837497958d2580fff9e52eadab23301f9fe48" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
280979
4319