Skip to content

Commit

Permalink
Merge pull request #341 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.32.0
  • Loading branch information
omricohen1 authored Dec 10, 2024
2 parents 508f2c9 + 5e5295e commit 560f860
Show file tree
Hide file tree
Showing 15 changed files with 425 additions and 159 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.31.0"
".": "0.32.0"
}
4 changes: 2 additions & 2 deletions .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-fa5b82ce6b474291bffc46c40e81830c60e1f60d9ee8403f97d433050829d1e9.yml
configured_endpoints: 19
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/new%2Fblockaid-57ba1e6bf68e557293babd701bbf3d1b558909f3ad8f0766c3485498e3ab4a2e.yml
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.32.0 (2024-12-10)

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

### Features

* **api:** api update ([#342](https://github.com/blockaid-official/blockaid-client-node/issues/342)) ([a75f1d1](https://github.com/blockaid-official/blockaid-client-node/commit/a75f1d135ab529c385eb46447ad0e26120936bc7))
* **api:** api update ([#343](https://github.com/blockaid-official/blockaid-client-node/issues/343)) ([1dd571a](https://github.com/blockaid-official/blockaid-client-node/commit/1dd571a2098dbb63d0c571bb245e18c50c7735f0))
* **api:** api update ([#344](https://github.com/blockaid-official/blockaid-client-node/issues/344)) ([59f0069](https://github.com/blockaid-official/blockaid-client-node/commit/59f00691aeb50b76f9f270222d365cda6b43bb10))
* **api:** api update ([#345](https://github.com/blockaid-official/blockaid-client-node/issues/345)) ([fd4108f](https://github.com/blockaid-official/blockaid-client-node/commit/fd4108f11d02980fb1803c495c1d42f1e23e02c1))
* **api:** api update ([#346](https://github.com/blockaid-official/blockaid-client-node/issues/346)) ([390817c](https://github.com/blockaid-official/blockaid-client-node/commit/390817cc297dbc1555aeae431182dc4dc8fbb3b7))
* **internal:** make git install file structure match npm ([#340](https://github.com/blockaid-official/blockaid-client-node/issues/340)) ([a2c39b9](https://github.com/blockaid-official/blockaid-client-node/commit/a2c39b935e8a857213e410fcb386985f4aa14b64))

## 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)
Expand Down
4 changes: 0 additions & 4 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ Types:

## Transaction

Methods:

- <code title="post /v0/bitcoin/transaction/scan">client.bitcoin.transaction.<a href="./src/resources/bitcoin/transaction.ts">scan</a>({ ...params }) -> BitcoinTransactionScanResponse</code>

# Starknet

Types:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockaid/client",
"version": "0.31.0",
"version": "0.32.0",
"description": "The official TypeScript library for the Blockaid API",
"author": "Blockaid <feedback@blockaid.io>",
"types": "dist/index.d.ts",
Expand All @@ -18,7 +18,7 @@
"build": "./scripts/build",
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1",
"format": "prettier --write --cache --cache-strategy metadata . !dist",
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build; fi",
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
"tsn": "ts-node -r tsconfig-paths/register",
"lint": "./scripts/lint",
"fix": "./scripts/format"
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/check-is-in-git-install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Check if you happen to call prepare for a repository that's already in node_modules.
[ "$(basename "$(dirname "$PWD")")" = 'node_modules' ] ||
# The name of the containing directory that 'npm` uses, which looks like
Expand Down
13 changes: 13 additions & 0 deletions scripts/utils/git-swap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -exuo pipefail
# the package is published to NPM from ./dist
# we want the final file structure for git installs to match the npm installs, so we

# delete everything except ./dist and ./node_modules
find . -maxdepth 1 -mindepth 1 ! -name 'dist' ! -name 'node_modules' -exec rm -rf '{}' +

# move everything from ./dist to .
mv dist/* .

# delete the now-empty ./dist
rmdir dist
Loading

0 comments on commit 560f860

Please sign in to comment.