Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Jan 29, 2024
2 parents ec42224 + 922e037 commit 8efa74e
Show file tree
Hide file tree
Showing 40 changed files with 467 additions and 166 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [6.11.3](https://github.com/hirosystems/stacks.js/compare/v6.11.2...v6.11.3) (2024-01-24)


### Bug Fixes

* update legacy API endpoints ([#1618](https://github.com/hirosystems/stacks.js/issues/1618)) ([36d10a3](https://github.com/hirosystems/stacks.js/commit/36d10a39a0915950430f8eb149d1fe29002d003d))



## [6.11.2](https://github.com/hirosystems/stacks.js/compare/v6.11.1...v6.11.2) (2024-01-03)


### Bug Fixes

* add error throwing on too large fungible post-condition ([d0a1a32](https://github.com/hirosystems/stacks.js/commit/d0a1a32bc64b9c9bc513abbe2ee67e7edb094b1d))



## [6.11.1](https://github.com/hirosystems/stacks.js/compare/v6.11.0...v6.11.1) (2023-12-21)


### Bug Fixes

* update CLI docs code blocks ([#1609](https://github.com/hirosystems/stacks.js/issues/1609)) ([bbce7fa](https://github.com/hirosystems/stacks.js/commit/bbce7fa886f4b056e091bc1a3e90e9995c1d5432))



## [6.11.0](https://github.com/hirosystems/stacks.js/compare/v6.10.0...v6.11.0) (2023-12-18)


Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-guides/how-to-integrate-stacking-delegation.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ stacks make_keychain -t > delegator.json
You can use the faucet to obtain testnet STX tokens for the test account. Replace `<stxAddress>` below with your address:

```sh
curl -XPOST "https://stacks-node-api.testnet.stacks.co/extended/v1/faucets/stx?address=<stxAddress>&stacking=true"
curl -XPOST "https://api.testnet.hiro.so/extended/v1/faucets/stx?address=<stxAddress>&stacking=true"
```

## Step 1: Integrate libraries
Expand Down
6 changes: 3 additions & 3 deletions docs/how-to-guides/how-to-integrate-stacking.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const hasMinStxAmount = await client.hasMinimumStx();
For testing purposes, you can use the faucet to obtain testnet STX tokens. Replace `<stxAddress>` below with your address:

```shell
curl -XPOST "https://stacks-node-api.testnet.stacks.co/extended/v1/faucets/stx?address=<stxAddress>&stacking=true"
curl -XPOST "https://api.testnet.hiro.so/extended/v1/faucets/stx?address=<stxAddress>&stacking=true"
```

You'll have to wait a few minutes for the transaction to complete.
Expand Down Expand Up @@ -274,7 +274,7 @@ More details on the lifecycle of transactions can be found in the [transactions
Alternatively to the polling, the Stacks Blockchain API client library offers WebSockets. WebSockets can be used to subscribe to specific updates, like transaction status changes. Here is an example:

```js
const client = await connectWebSocketClient('ws://stacks-node-api.blockstack.org/');
const client = await connectWebSocketClient('ws://api.hiro.so/');

// note: txId should be defined previously
const sub = await client.subscribeAddressTransactions(txId, event => {
Expand Down Expand Up @@ -332,5 +332,5 @@ As an example, if you want to get the rewards paid to `btcAddress`, you can make

```shell
# for mainnet, replace `testnet` with `mainnet`
curl 'https://stacks-node-api.testnet.stacks.co/extended/v1/burnchain/rewards/<btcAddress>'
curl 'https://api.testnet.hiro.so/extended/v1/burnchain/rewards/<btcAddress>'
```
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.11.0",
"version": "6.11.3",
"registry": "https://registry.npmjs.org/",
"publishConfig": {
"access": "public"
Expand Down
80 changes: 40 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [6.11.3](https://github.com/hirosystems/stacks.js/compare/v6.11.2...v6.11.3) (2024-01-24)


### Bug Fixes

* update legacy API endpoints ([#1618](https://github.com/hirosystems/stacks.js/issues/1618)) ([36d10a3](https://github.com/hirosystems/stacks.js/commit/36d10a39a0915950430f8eb149d1fe29002d003d))



## [6.11.2](https://github.com/hirosystems/stacks.js/compare/v6.11.1...v6.11.2) (2024-01-03)

**Note:** Version bump only for package @stacks/auth





## [6.11.0](https://github.com/hirosystems/stacks.js/compare/v6.10.0...v6.11.0) (2023-12-18)

**Note:** Version bump only for package @stacks/auth
Expand Down
8 changes: 4 additions & 4 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stacks/auth",
"version": "6.11.0",
"version": "6.11.3",
"description": "Authentication for Stacks apps.",
"license": "MIT",
"author": "Hiro Systems PBC (https://hiro.so)",
Expand All @@ -21,9 +21,9 @@
},
"dependencies": {
"@stacks/common": "^6.10.0",
"@stacks/encryption": "^6.11.0",
"@stacks/network": "^6.10.0",
"@stacks/profile": "^6.11.0",
"@stacks/encryption": "^6.11.3",
"@stacks/network": "^6.11.3",
"@stacks/profile": "^6.11.3",
"cross-fetch": "^3.1.5",
"jsontokens": "^4.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const BLOCKSTACK_APP_PRIVATE_KEY_LABEL = 'blockstack-transit-private-key'
/**
* @ignore
*/
export const DEFAULT_CORE_NODE = 'https://stacks-node-api.stacks.co';
export const DEFAULT_CORE_NODE = 'https://api.hiro.so';
/**
* @ignore
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/tests/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ test('profileLookUp', async () => {
expect(fetchMock.mock.calls[0][0]).toEqual('http://potato:6270/v1/names/ryan.id');
expect(fetchMock.mock.calls[1][0]).toEqual(sampleTokenFiles.ryan.url);
expect(fetchMock.mock.calls[2][0]).toEqual(
'https://stacks-node-api.mainnet.stacks.co/v1/names/ryan.id'
'https://api.mainnet.hiro.so/v1/names/ryan.id'
);
expect(fetchMock.mock.calls[3][0]).toEqual(sampleTokenFiles.ryan.url);
});
16 changes: 16 additions & 0 deletions packages/bns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [6.11.3](https://github.com/blockstack/stacks.js/compare/v6.11.2...v6.11.3) (2024-01-24)

**Note:** Version bump only for package @stacks/bns





## [6.11.2](https://github.com/blockstack/stacks.js/compare/v6.11.1...v6.11.2) (2024-01-03)

**Note:** Version bump only for package @stacks/bns





## [6.11.0](https://github.com/blockstack/stacks.js/compare/v6.10.0...v6.11.0) (2023-12-18)

**Note:** Version bump only for package @stacks/bns
Expand Down
6 changes: 3 additions & 3 deletions packages/bns/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stacks/bns",
"version": "6.11.0",
"version": "6.11.3",
"description": "Library for working with the Stacks Blockchain Naming System BNS.",
"license": "MIT",
"author": "Hiro Systems PBC (https://hiro.so)",
Expand All @@ -21,8 +21,8 @@
},
"dependencies": {
"@stacks/common": "^6.10.0",
"@stacks/network": "^6.10.0",
"@stacks/transactions": "^6.11.0"
"@stacks/network": "^6.11.3",
"@stacks/transactions": "^6.11.3"
},
"devDependencies": {
"process": "^0.11.10",
Expand Down
Loading

0 comments on commit 8efa74e

Please sign in to comment.