Skip to content

Commit

Permalink
Merge pull request #336 from blockaid-official/release-please--branch…
Browse files Browse the repository at this point in the history
…es--main--changes--next--components--client

release: 0.31.0
  • Loading branch information
alex-schechter1 authored Nov 24, 2024
2 parents dc8e7df + 14cee51 commit 508f2c9
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.30.0"
".": "0.31.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 20
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-87dcafa1eeddf38e2c6f697c167dfd2388926b2b8d2fb792ed11af8ca515f131.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-fa5b82ce6b474291bffc46c40e81830c60e1f60d9ee8403f97d433050829d1e9.yml
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.31.0 (2024-11-24)

Full Changelog: [v0.30.0...v0.31.0](https://github.com/blockaid-official/blockaid-client-node/compare/v0.30.0...v0.31.0)

### Features

* **api:** api update ([#338](https://github.com/blockaid-official/blockaid-client-node/issues/338)) ([56181b2](https://github.com/blockaid-official/blockaid-client-node/commit/56181b216a5947c08bdc3f034c7c4efc86e29e1d))


### Chores

* remove redundant word in comment ([#337](https://github.com/blockaid-official/blockaid-client-node/issues/337)) ([cb7ed3b](https://github.com/blockaid-official/blockaid-client-node/commit/cb7ed3b3c1a8e202074dac5b9170c49f2c20f794))


### Documentation

* remove suggestion to use `npm` call out ([#335](https://github.com/blockaid-official/blockaid-client-node/issues/335)) ([7e1c108](https://github.com/blockaid-official/blockaid-client-node/commit/7e1c108529ce3ae7b8ce64e1029816f19caf2a0c))

## 0.30.0 (2024-11-17)

Full Changelog: [v0.29.1...v0.30.0](https://github.com/blockaid-official/blockaid-client-node/compare/v0.29.1...v0.30.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ The following runtimes are supported:

- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
- Node.js 18 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
- Deno v1.28.0 or higher, using `import Blockaid from "npm:@blockaid/client"`.
- Deno v1.28.0 or higher.
- Bun 1.0 or later.
- Cloudflare Workers.
- Vercel Edge Runtime.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockaid/client",
"version": "0.30.0",
"version": "0.31.0",
"description": "The official TypeScript library for the Blockaid API",
"author": "Blockaid <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npm exec tsc-multi
# copy over handwritten .js/.mjs/.d.ts files
cp src/_shims/*.{d.ts,js,mjs,md} dist/_shims
cp src/_shims/auto/*.{d.ts,js,mjs} dist/_shims/auto
# we need to add exports = module.exports = Blockaid Node to index.js;
# we need to add exports = module.exports = Blockaid to index.js;
# No way to get that from index.ts because it would cause compile errors
# when building .mjs
node scripts/utils/fix-index-exports.cjs
Expand Down
20 changes: 20 additions & 0 deletions src/resources/evm/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,11 @@ export namespace TransactionSimulation {
* The type of the model
*/
type: 'ERC20AssetTrace';

/**
* List of labels that describe the trace
*/
labels?: Array<'GAS_FEE' | (string & {})>;
}

export interface Erc721AssetTrace {
Expand Down Expand Up @@ -899,6 +904,11 @@ export namespace TransactionSimulation {
* The type of the model
*/
type: 'ERC721AssetTrace';

/**
* List of labels that describe the trace
*/
labels?: Array<'GAS_FEE' | (string & {})>;
}

export interface Erc1155AssetTrace {
Expand Down Expand Up @@ -931,6 +941,11 @@ export namespace TransactionSimulation {
* The type of the model
*/
type: 'ERC1155AssetTrace';

/**
* List of labels that describe the trace
*/
labels?: Array<'GAS_FEE' | (string & {})>;
}

export interface NativeAssetTrace {
Expand Down Expand Up @@ -963,6 +978,11 @@ export namespace TransactionSimulation {
* The type of the model
*/
type: 'NativeAssetTrace';

/**
* List of labels that describe the trace
*/
labels?: Array<'GAS_FEE' | (string & {})>;
}

export interface Erc20ExposureTrace {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.30.0'; // x-release-please-version
export const VERSION = '0.31.0'; // x-release-please-version

0 comments on commit 508f2c9

Please sign in to comment.