@blockaid/client
Advanced tools
Comparing version 0.12.0 to 0.13.0
# Changelog | ||
## 0.13.0 (2024-07-14) | ||
Full Changelog: [v0.12.0...v0.13.0](https://github.com/blockaid-official/blockaid-client-node/compare/v0.12.0...v0.13.0) | ||
### Features | ||
* **api:** OpenAPI spec update via Stainless API ([#100](https://github.com/blockaid-official/blockaid-client-node/issues/100)) ([fd1b7e5](https://github.com/blockaid-official/blockaid-client-node/commit/fd1b7e579931570c26cf3b2e360970a55f747f1a)) | ||
* **api:** OpenAPI spec update via Stainless API ([#101](https://github.com/blockaid-official/blockaid-client-node/issues/101)) ([4ba45cd](https://github.com/blockaid-official/blockaid-client-node/commit/4ba45cd97102087c9811690530e14de1fcaf9ae2)) | ||
* **api:** OpenAPI spec update via Stainless API ([#102](https://github.com/blockaid-official/blockaid-client-node/issues/102)) ([6f20d3b](https://github.com/blockaid-official/blockaid-client-node/commit/6f20d3bbcbafda3fa86b926e4f09af28e4f4d8bf)) | ||
* **api:** OpenAPI spec update via Stainless API ([#103](https://github.com/blockaid-official/blockaid-client-node/issues/103)) ([8eb5d51](https://github.com/blockaid-official/blockaid-client-node/commit/8eb5d51d9300f261b655cdac97b9ec8913fd22a8)) | ||
* **api:** OpenAPI spec update via Stainless API ([#104](https://github.com/blockaid-official/blockaid-client-node/issues/104)) ([34f96e5](https://github.com/blockaid-official/blockaid-client-node/commit/34f96e5a7e0ed4c71734b004a6a4ce4ebf38fdc3)) | ||
* **api:** OpenAPI spec update via Stainless API ([#105](https://github.com/blockaid-official/blockaid-client-node/issues/105)) ([19daedd](https://github.com/blockaid-official/blockaid-client-node/commit/19daeddc0261193a54bc1c9d2ecb1bec31cc981c)) | ||
* **api:** OpenAPI spec update via Stainless API ([#106](https://github.com/blockaid-official/blockaid-client-node/issues/106)) ([f4224c6](https://github.com/blockaid-official/blockaid-client-node/commit/f4224c63c8c083eac642dcc742bb262b763cfc41)) | ||
* **api:** OpenAPI spec update via Stainless API ([#98](https://github.com/blockaid-official/blockaid-client-node/issues/98)) ([21c40e8](https://github.com/blockaid-official/blockaid-client-node/commit/21c40e834ff7b9963e56cb76886bdd8ada6a720f)) | ||
## 0.12.0 (2024-07-10) | ||
@@ -4,0 +19,0 @@ |
{ | ||
"name": "@blockaid/client", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"description": "The official TypeScript library for the Blockaid API", | ||
@@ -5,0 +5,0 @@ "author": "Blockaid <feedback@blockaid.io>", |
@@ -282,3 +282,3 @@ import { APIResource } from '@blockaid/client/resource'; | ||
*/ | ||
export type TokenScanSupportedChain = 'arbitrum' | 'avalanche' | 'base' | 'bsc' | 'ethereum' | 'optimism' | 'polygon' | 'zora' | 'solana' | 'stellar' | 'unknown'; | ||
export type TokenScanSupportedChain = 'arbitrum' | 'avalanche' | 'base' | 'bsc' | 'ethereum' | 'optimism' | 'polygon' | 'zora' | 'solana' | 'stellar'; | ||
export interface TransactionScanFeature { | ||
@@ -342,3 +342,3 @@ /** | ||
*/ | ||
export type TransactionScanSupportedChain = 'arbitrum' | 'avalanche' | 'base' | 'base-sepolia' | 'bsc' | 'ethereum' | 'optimism' | 'polygon' | 'zksync' | 'zksync-sepolia' | 'zora' | 'linea' | 'blast' | 'scroll' | 'ethereum-sepolia' | 'degen' | 'avalanche-fuji'; | ||
export type TransactionScanSupportedChain = 'arbitrum' | 'avalanche' | 'base' | 'base-sepolia' | 'bsc' | 'ethereum' | 'optimism' | 'polygon' | 'zksync' | 'zksync-sepolia' | 'zora' | 'linea' | 'blast' | 'scroll' | 'ethereum-sepolia' | 'degen' | 'avalanche-fuji' | 'immutable-zkevm'; | ||
export interface TransactionSimulation { | ||
@@ -345,0 +345,0 @@ /** |
@@ -31,2 +31,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -33,0 +37,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -27,2 +27,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* List of one or both of options for the desired output. "simulation" - include | ||
@@ -29,0 +33,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -23,2 +23,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -25,0 +29,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -29,2 +29,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* List of one or both of options for the desired output. "simulation" - include | ||
@@ -31,0 +35,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -32,2 +32,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -34,0 +38,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -32,2 +32,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -34,0 +38,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -31,2 +31,6 @@ import { APIResource } from '@blockaid/client/resource'; | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -33,0 +37,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -48,3 +48,3 @@ import { APIResource } from '@blockaid/client/resource'; | ||
*/ | ||
chain: 'pubnet' | 'futurenet'; | ||
chain: 'pubnet' | 'futurenet' | 'testnet'; | ||
/** | ||
@@ -69,9 +69,9 @@ * Metadata | ||
/** | ||
* URL of the dApp that originated the transaction | ||
* Metadata for wallet requests | ||
*/ | ||
url: string; | ||
type: 'wallet'; | ||
/** | ||
* Metadata for wallet requests | ||
* URL of the dApp originating the transaction | ||
*/ | ||
type?: 'wallet'; | ||
url: string; | ||
} | ||
@@ -82,3 +82,3 @@ interface StellarInAppRequestMetadata { | ||
*/ | ||
type?: 'in_app'; | ||
type: 'in_app'; | ||
} | ||
@@ -117,3 +117,3 @@ } | ||
*/ | ||
assets_ownership_diff?: Record<string, StellarSimulationResultSchema.AssetsOwnershipDiff>; | ||
assets_ownership_diff?: Record<string, Array<StellarSimulationResultSchema.AssetsOwnershipDiff>>; | ||
/** | ||
@@ -123,3 +123,3 @@ * Mapping between the address of an account to the exposure of the assets during | ||
*/ | ||
exposures?: Record<string, StellarSimulationResultSchema.Exposures>; | ||
exposures?: Record<string, Array<StellarSimulationResultSchema.Exposure>>; | ||
} | ||
@@ -135,7 +135,7 @@ namespace StellarSimulationResultSchema { | ||
*/ | ||
account_exposures: AccountSummary.AccountExposures; | ||
account_exposures: Array<AccountSummary.AccountExposure>; | ||
/** | ||
* Account ownerships diff of the requested account address | ||
*/ | ||
account_ownerships_diff: AccountSummary.AccountOwnershipsDiff; | ||
account_ownerships_diff: Array<AccountSummary.AccountOwnershipsDiff>; | ||
/** | ||
@@ -155,6 +155,3 @@ * Total USD diff for the requested account address | ||
namespace AccountSummary { | ||
/** | ||
* Exposures made by the requested account address | ||
*/ | ||
interface AccountExposures { | ||
interface AccountExposure { | ||
asset: StellarAPI.StellarAssetContractDetailsSchema; | ||
@@ -165,5 +162,5 @@ /** | ||
*/ | ||
spenders?: Record<string, AccountExposures.Spenders>; | ||
spenders?: Record<string, AccountExposure.Spenders>; | ||
} | ||
namespace AccountExposures { | ||
namespace AccountExposure { | ||
interface Spenders { | ||
@@ -175,2 +172,6 @@ /** | ||
/** | ||
* USD value of the exposure | ||
*/ | ||
usd_price: number; | ||
/** | ||
* Value of the exposure | ||
@@ -185,5 +186,2 @@ */ | ||
} | ||
/** | ||
* Account ownerships diff of the requested account address | ||
*/ | ||
interface AccountOwnershipsDiff { | ||
@@ -198,2 +196,3 @@ /** | ||
pre_signers: Array<string>; | ||
type: 'SET_OPTIONS'; | ||
} | ||
@@ -333,4 +332,5 @@ /** | ||
pre_signers: Array<string>; | ||
type: 'SET_OPTIONS'; | ||
} | ||
interface Exposures { | ||
interface Exposure { | ||
asset: StellarAPI.StellarAssetContractDetailsSchema; | ||
@@ -341,5 +341,5 @@ /** | ||
*/ | ||
spenders?: Record<string, Exposures.Spenders>; | ||
spenders?: Record<string, Exposure.Spenders>; | ||
} | ||
namespace Exposures { | ||
namespace Exposure { | ||
interface Spenders { | ||
@@ -351,2 +351,6 @@ /** | ||
/** | ||
* USD value of the exposure | ||
*/ | ||
usd_price: number; | ||
/** | ||
* Value of the exposure | ||
@@ -353,0 +357,0 @@ */ |
@@ -16,3 +16,3 @@ import { APIResource } from '@blockaid/client/resource'; | ||
*/ | ||
chain: 'pubnet' | 'futurenet'; | ||
chain: 'pubnet' | 'futurenet' | 'testnet'; | ||
/** | ||
@@ -37,9 +37,9 @@ * Metadata | ||
/** | ||
* URL of the dApp that originated the transaction | ||
* Metadata for wallet requests | ||
*/ | ||
url: string; | ||
type: 'wallet'; | ||
/** | ||
* Metadata for wallet requests | ||
* URL of the dApp originating the transaction | ||
*/ | ||
type?: 'wallet'; | ||
url: string; | ||
} | ||
@@ -50,3 +50,3 @@ interface StellarInAppRequestMetadata { | ||
*/ | ||
type?: 'in_app'; | ||
type: 'in_app'; | ||
} | ||
@@ -53,0 +53,0 @@ } |
@@ -366,4 +366,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
| 'solana' | ||
| 'stellar' | ||
| 'unknown'; | ||
| 'stellar'; | ||
@@ -474,3 +473,4 @@ export interface TransactionScanFeature { | ||
| 'degen' | ||
| 'avalanche-fuji'; | ||
| 'avalanche-fuji' | ||
| 'immutable-zkevm'; | ||
@@ -477,0 +477,0 @@ export interface TransactionSimulation { |
@@ -44,2 +44,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -46,0 +51,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -40,2 +40,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* List of one or both of options for the desired output. "simulation" - include | ||
@@ -42,0 +47,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -35,2 +35,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -37,0 +42,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -42,2 +42,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* List of one or both of options for the desired output. "simulation" - include | ||
@@ -44,0 +49,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -45,2 +45,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -47,0 +52,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -45,2 +45,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -47,0 +52,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -44,2 +44,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
/** | ||
* The relative block for the block validation. Can be "latest" or a block number. | ||
*/ | ||
block?: number | string; | ||
/** | ||
* list of one or both of options for the desired output. "simulation" - include | ||
@@ -46,0 +51,0 @@ * simulation output in your response. "validation" - include security validation |
@@ -61,3 +61,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
*/ | ||
chain: 'pubnet' | 'futurenet'; | ||
chain: 'pubnet' | 'futurenet' | 'testnet'; | ||
@@ -88,10 +88,10 @@ /** | ||
/** | ||
* URL of the dApp that originated the transaction | ||
* Metadata for wallet requests | ||
*/ | ||
url: string; | ||
type: 'wallet'; | ||
/** | ||
* Metadata for wallet requests | ||
* URL of the dApp originating the transaction | ||
*/ | ||
type?: 'wallet'; | ||
url: string; | ||
} | ||
@@ -103,3 +103,3 @@ | ||
*/ | ||
type?: 'in_app'; | ||
type: 'in_app'; | ||
} | ||
@@ -151,3 +151,3 @@ } | ||
*/ | ||
assets_ownership_diff?: Record<string, StellarSimulationResultSchema.AssetsOwnershipDiff>; | ||
assets_ownership_diff?: Record<string, Array<StellarSimulationResultSchema.AssetsOwnershipDiff>>; | ||
@@ -158,3 +158,3 @@ /** | ||
*/ | ||
exposures?: Record<string, StellarSimulationResultSchema.Exposures>; | ||
exposures?: Record<string, Array<StellarSimulationResultSchema.Exposure>>; | ||
} | ||
@@ -171,3 +171,3 @@ | ||
*/ | ||
account_exposures: AccountSummary.AccountExposures; | ||
account_exposures: Array<AccountSummary.AccountExposure>; | ||
@@ -177,3 +177,3 @@ /** | ||
*/ | ||
account_ownerships_diff: AccountSummary.AccountOwnershipsDiff; | ||
account_ownerships_diff: Array<AccountSummary.AccountOwnershipsDiff>; | ||
@@ -197,6 +197,3 @@ /** | ||
export namespace AccountSummary { | ||
/** | ||
* Exposures made by the requested account address | ||
*/ | ||
export interface AccountExposures { | ||
export interface AccountExposure { | ||
asset: StellarAPI.StellarAssetContractDetailsSchema; | ||
@@ -208,6 +205,6 @@ | ||
*/ | ||
spenders?: Record<string, AccountExposures.Spenders>; | ||
spenders?: Record<string, AccountExposure.Spenders>; | ||
} | ||
export namespace AccountExposures { | ||
export namespace AccountExposure { | ||
export interface Spenders { | ||
@@ -220,2 +217,7 @@ /** | ||
/** | ||
* USD value of the exposure | ||
*/ | ||
usd_price: number; | ||
/** | ||
* Value of the exposure | ||
@@ -232,5 +234,2 @@ */ | ||
/** | ||
* Account ownerships diff of the requested account address | ||
*/ | ||
export interface AccountOwnershipsDiff { | ||
@@ -246,2 +245,4 @@ /** | ||
pre_signers: Array<string>; | ||
type: 'SET_OPTIONS'; | ||
} | ||
@@ -414,5 +415,7 @@ | ||
pre_signers: Array<string>; | ||
type: 'SET_OPTIONS'; | ||
} | ||
export interface Exposures { | ||
export interface Exposure { | ||
asset: StellarAPI.StellarAssetContractDetailsSchema; | ||
@@ -424,6 +427,6 @@ | ||
*/ | ||
spenders?: Record<string, Exposures.Spenders>; | ||
spenders?: Record<string, Exposure.Spenders>; | ||
} | ||
export namespace Exposures { | ||
export namespace Exposure { | ||
export interface Spenders { | ||
@@ -436,2 +439,7 @@ /** | ||
/** | ||
* USD value of the exposure | ||
*/ | ||
usd_price: number; | ||
/** | ||
* Value of the exposure | ||
@@ -438,0 +446,0 @@ */ |
@@ -26,3 +26,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
*/ | ||
chain: 'pubnet' | 'futurenet'; | ||
chain: 'pubnet' | 'futurenet' | 'testnet'; | ||
@@ -53,10 +53,10 @@ /** | ||
/** | ||
* URL of the dApp that originated the transaction | ||
* Metadata for wallet requests | ||
*/ | ||
url: string; | ||
type: 'wallet'; | ||
/** | ||
* Metadata for wallet requests | ||
* URL of the dApp originating the transaction | ||
*/ | ||
type?: 'wallet'; | ||
url: string; | ||
} | ||
@@ -68,3 +68,3 @@ | ||
*/ | ||
type?: 'in_app'; | ||
type: 'in_app'; | ||
} | ||
@@ -71,0 +71,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '0.12.0'; // x-release-please-version | ||
export const VERSION = '0.13.0'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.12.0"; | ||
export declare const VERSION = "0.13.0"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '0.12.0'; // x-release-please-version | ||
exports.VERSION = '0.13.0'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
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 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 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 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 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 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 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 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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
680898
11710