-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from blockaid-official/release-please--branche…
…s--main--changes--next--components--client release: 0.11.0
- Loading branch information
Showing
28 changed files
with
964 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.prism.log | ||
node_modules | ||
yarn-error.log | ||
codegen.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "0.10.0" | ||
".": "0.11.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
configured_endpoints: 7 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-dbdb9cdcb11bf5cff7ce744d33b91fdfd6eda085a453d524224d4abe7c77379c.yml | ||
configured_endpoints: 10 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-e8ecae43fd5292c14cf5cb9a99736c35a93daf50bd94032c522348d8b522436d.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@blockaid/client", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "The official TypeScript library for the Blockaid API", | ||
"author": "Blockaid <[email protected]>", | ||
"types": "dist/index.d.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
import { APIResource } from '@blockaid/client/resource'; | ||
import * as Core from '@blockaid/client/core'; | ||
import * as PostTransactionBulkAPI from '@blockaid/client/resources/evm/post-transaction-bulk'; | ||
import * as EvmAPI from '@blockaid/client/resources/evm/evm'; | ||
|
||
export class PostTransactionBulk extends APIResource { | ||
/** | ||
* Scan transactions that were already executed on chain, returns validation with | ||
* features indicating address poisoning entites and malicious operators. | ||
*/ | ||
scan( | ||
body: PostTransactionBulkScanParams, | ||
options?: Core.RequestOptions, | ||
): Core.APIPromise<PostTransactionBulkScanResponse> { | ||
return this._client.post('/v0/evm/post-transaction-bulk/scan', { body, ...options }); | ||
} | ||
} | ||
|
||
export type PostTransactionBulkScanResponse = Array<EvmAPI.TransactionScanResponse>; | ||
|
||
export interface PostTransactionBulkScanParams { | ||
/** | ||
* The chain name or chain ID | ||
*/ | ||
chain: EvmAPI.TransactionScanSupportedChain | (string & {}); | ||
|
||
/** | ||
* Transaction hashes to scan | ||
*/ | ||
data: Array<string>; | ||
|
||
/** | ||
* Object of additional information to validate against. | ||
*/ | ||
metadata: EvmAPI.Metadata; | ||
|
||
/** | ||
* List of one or both of options for the desired output. "simulation" - include | ||
* simulation output in your response. "validation" - include security validation | ||
* of the transaction in your response. Default is ["validation"] | ||
*/ | ||
options?: Array<'validation' | 'simulation' | 'gas_estimation' | 'events'>; | ||
} | ||
|
||
export namespace PostTransactionBulk { | ||
export import PostTransactionBulkScanResponse = PostTransactionBulkAPI.PostTransactionBulkScanResponse; | ||
export import PostTransactionBulkScanParams = PostTransactionBulkAPI.PostTransactionBulkScanParams; | ||
} |
Oops, something went wrong.