Skip to content

Commit 9345c72

Browse files
chore(): release master (#117)
🤖 I have created a release *beep* *boop* --- <details><summary>docs: 1.0.0</summary> ## [1.0.0](docs-v0.0.1...docs-v1.0.0) (2025-01-13) ### ⚠ BREAKING CHANGES * All functions renamed, different API and flows, please consult docs or reach out to us directly! ### Features * add enableSwaps in `transferWithHook` and `transfer` ([#97](#97)) ([bd21311](bd21311)), closes [#94](#94) * add relay to the docs ([#103](#103)) ([310c506](310c506)) * Add sweep function ([#115](#115)) ([efaaa2b](efaaa2b)), closes [#110](#110) * cross chain contract call ([#21](#21)) ([69c0128](69c0128)) * depricate provider param from sdk ([#41](#41)) ([72297fe](72297fe)) * docs POC ([#14](#14)) ([8cd800d](8cd800d)) * dynamic supported network and tokens in docs ([#32](#32)) ([abe5618](abe5618)), closes [#29](#29) * erc20 with contract call ([#39](#39)) ([77e1d8d](77e1d8d)), closes [#38](#38) * native tokens transfers ([#40](#40)) ([d4edf35](d4edf35)), closes [#36](#36) * refactor api ([#61](#61)) ([d6b1e9c](d6b1e9c)) </details> <details><summary>sprinter-sdk: 1.2.0</summary> ## [1.2.0](sprinter-sdk-v1.1.2...sprinter-sdk-v1.2.0) (2025-01-13) ### Features * Add sweep function ([#115](#115)) ([efaaa2b](efaaa2b)), closes [#110](#110) ### Bug Fixes * webpack import meta error ([#114](#114)) ([f5f6fcf](f5f6fcf)) </details> <details><summary>sprinter-react: 1.2.0</summary> ## [1.2.0](sprinter-react-v1.1.2...sprinter-react-v1.2.0) (2025-01-13) ### Features * Add sweep function ([#115](#115)) ([efaaa2b](efaaa2b)), closes [#110](#110) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Thibaut Sardan <[email protected]>
1 parent 2d61810 commit 9345c72

28 files changed

+301
-237
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require("@rushstack/eslint-patch/modern-module-resolution");
22

33
module.exports = {
4-
extends: "@chainsafe",
5-
}
4+
extends: "@chainsafe",
5+
};

.github/workflows/cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
1111
steps:
12-
1312
- uses: google-github-actions/release-please-action@v3 # it will analyze commits and create PR with new version and updated CHANGELOG:md file. On merging it will create github release page with changelog
1413
id: release
1514
with:
@@ -26,7 +25,7 @@ jobs:
2625
- uses: actions/setup-node@v4
2726
with:
2827
node-version: 20
29-
registry-url: 'https://registry.npmjs.org'
28+
registry-url: "https://registry.npmjs.org"
3029
if: ${{ steps.release.outputs.releases_created }}
3130

3231
- run: corepack enable
@@ -82,4 +81,4 @@ jobs:
8281
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
8382
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
8483
accountId: 2238a825c5aca59233eab1f221f7aefb
85-
command: pages deploy ./web/.svelte-kit/cloudflare --project-name=gopher-poc
84+
command: pages deploy ./web/.svelte-kit/cloudflare --project-name=gopher-poc

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- master
77
pull_request:
88
branches:
9-
- '**'
9+
- "**"
1010

1111
jobs:
1212
unified:
@@ -26,9 +26,9 @@ jobs:
2626
env:
2727
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
2828
- name: "Unit Tests"
29-
run: 'yarn run test:unit'
29+
run: "yarn run test:unit"
3030
- name: "Integrations Tests"
31-
run: 'yarn run test:integrations'
31+
run: "yarn run test:integrations"
3232
- name: Set branch name for Cloudflare Pages
3333
id: cf-branch
3434
run: |
@@ -90,4 +90,4 @@ jobs:
9090
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
9191
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
9292
accountId: 2238a825c5aca59233eab1f221f7aefb
93-
command: pages deploy ./web/.svelte-kit/cloudflare --project-name=gopher-poc --branch=${{ env.CF_BRANCH_NAME }}
93+
command: pages deploy ./web/.svelte-kit/cloudflare --project-name=gopher-poc --branch=${{ env.CF_BRANCH_NAME }}

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ on:
33
workflow_dispatch:
44
inputs:
55
environment:
6-
description: 'Select deployment environment'
6+
description: "Select deployment environment"
77
required: true
8-
default: 'preview'
8+
default: "preview"
99
type: choice
1010
options:
1111
- production
@@ -15,13 +15,12 @@ jobs:
1515
manual-deploy-docs:
1616
runs-on: ubuntu-latest
1717
steps:
18-
1918
- uses: actions/checkout@v4
2019

2120
- uses: actions/setup-node@v4
2221
with:
2322
node-version: 20
24-
registry-url: 'https://registry.npmjs.org'
23+
registry-url: "https://registry.npmjs.org"
2524

2625
- run: corepack enable
2726

@@ -52,4 +51,4 @@ jobs:
5251
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
5352
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
5453
accountId: 2238a825c5aca59233eab1f221f7aefb
55-
command: pages deploy ./docs/build --project-name=gopher-docs --branch=${{ env.CF_BRANCH_NAME }}
54+
command: pages deploy ./docs/build --project-name=gopher-docs --branch=${{ env.CF_BRANCH_NAME }}

.release-please-manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"docs": "0.0.1",
3-
"packages/sdk": "1.1.2",
4-
"packages/react": "1.1.2"
5-
}
2+
"docs": "1.0.0",
3+
"packages/sdk": "1.2.0",
4+
"packages/react": "1.2.0"
5+
}

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
## Table of Contents
44

55
- [Sprinter TS - Cross-Chain Developer Toolkit](#sprinter-ts---cross-chain-developer-toolkit)
6-
- [Introduction](#introduction)
7-
- [Prerequisites](#prerequisites)
8-
- [Getting Started](#getting-started)
9-
- [Building](#building)
10-
- [Testing](#testing)
11-
- [Linting and Formatting](#linting-and-formatting)
6+
- [Introduction](#introduction)
7+
- [Prerequisites](#prerequisites)
8+
- [Getting Started](#getting-started)
9+
- [Building](#building)
10+
- [Testing](#testing)
11+
- [Linting and Formatting](#linting-and-formatting)
1212

1313
---
1414

1515
<a name="introduction"></a>
16+
1617
## Introduction
1718

1819
Sprinter TS is a powerful developer toolkit designed to simplify cross-chain integrations and enhance the developer experience. It includes:
@@ -26,6 +27,7 @@ Whether you're building cross-chain applications or experimenting with decentral
2627
---
2728

2829
<a name="prerequisites"></a>
30+
2931
## Prerequisites
3032

3133
Before you begin, ensure you have the following installed:
@@ -36,26 +38,31 @@ Before you begin, ensure you have the following installed:
3638
---
3739

3840
<a name="getting-started"></a>
41+
3942
## Getting Started
4043

4144
To get started with the project:
4245

4346
1. Clone the repository:
47+
4448
```shell
4549
git clone https://github.com/ChainSafe/sprinter-ts.git
4650
```
4751

4852
2. Navigate to the project root:
53+
4954
```shell
5055
cd sprinter-ts
5156
```
5257

5358
3. Set Node.js to the compatible version _(skip if you use a manual approach)_:
59+
5460
```shell
5561
nvm use
5662
```
5763

5864
4. Enable Corepack:
65+
5966
```shell
6067
corepack enable
6168
```
@@ -68,6 +75,7 @@ To get started with the project:
6875
---
6976

7077
<a name="building"></a>
78+
7179
## Building
7280

7381
To build all packages, run:
@@ -83,6 +91,7 @@ Here's the corrected and updated **Testing** and **Linting and Formatting** docu
8391
---
8492

8593
<a name="testing"></a>
94+
8695
## Testing
8796

8897
### Run Unit Tests
@@ -104,6 +113,7 @@ This command executes integration tests in all packages where they are defined.
104113
---
105114

106115
<a name="linting-and-formatting"></a>
116+
107117
## Linting and Formatting
108118

109119
This project uses [ESLint](https://eslint.org/) to enforce code style and formatting. To ensure consistent code quality, you can use the following command:
@@ -115,4 +125,3 @@ yarn lint
115125
```
116126

117127
This command runs the linter across all workspaces to identify any issues.
118-

docs/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
## [1.0.0](https://github.com/ChainSafe/sprinter-ts/compare/docs-v0.0.1...docs-v1.0.0) (2025-01-13)
4+
5+
### ⚠ BREAKING CHANGES
6+
7+
- All functions renamed, different API and flows, please consult docs or reach out to us directly!
8+
9+
### Features
10+
11+
- add enableSwaps in `transferWithHook` and `transfer` ([#97](https://github.com/ChainSafe/sprinter-ts/issues/97)) ([bd21311](https://github.com/ChainSafe/sprinter-ts/commit/bd213119b2eb8f41d574cbf2fd81d63296d08816)), closes [#94](https://github.com/ChainSafe/sprinter-ts/issues/94)
12+
- add relay to the docs ([#103](https://github.com/ChainSafe/sprinter-ts/issues/103)) ([310c506](https://github.com/ChainSafe/sprinter-ts/commit/310c5062dfbbcf25efd5bea012c03cb236b56547))
13+
- Add sweep function ([#115](https://github.com/ChainSafe/sprinter-ts/issues/115)) ([efaaa2b](https://github.com/ChainSafe/sprinter-ts/commit/efaaa2b3d8674e46b264caddcd373218c3f552c1)), closes [#110](https://github.com/ChainSafe/sprinter-ts/issues/110)
14+
- cross chain contract call ([#21](https://github.com/ChainSafe/sprinter-ts/issues/21)) ([69c0128](https://github.com/ChainSafe/sprinter-ts/commit/69c0128862aa8013d349a615a45a360dd091585e))
15+
- depricate provider param from sdk ([#41](https://github.com/ChainSafe/sprinter-ts/issues/41)) ([72297fe](https://github.com/ChainSafe/sprinter-ts/commit/72297feaff4b98ffcb8ee8f3005f786c5cd9ae72))
16+
- docs POC ([#14](https://github.com/ChainSafe/sprinter-ts/issues/14)) ([8cd800d](https://github.com/ChainSafe/sprinter-ts/commit/8cd800d0729a2d03f7fca821f5f69ef6556b1ac1))
17+
- dynamic supported network and tokens in docs ([#32](https://github.com/ChainSafe/sprinter-ts/issues/32)) ([abe5618](https://github.com/ChainSafe/sprinter-ts/commit/abe5618f56a07548f26963d98bdbe9a7bb301655)), closes [#29](https://github.com/ChainSafe/sprinter-ts/issues/29)
18+
- erc20 with contract call ([#39](https://github.com/ChainSafe/sprinter-ts/issues/39)) ([77e1d8d](https://github.com/ChainSafe/sprinter-ts/commit/77e1d8dceaa4ffa14931c4cddc7897048af9e607)), closes [#38](https://github.com/ChainSafe/sprinter-ts/issues/38)
19+
- native tokens transfers ([#40](https://github.com/ChainSafe/sprinter-ts/issues/40)) ([d4edf35](https://github.com/ChainSafe/sprinter-ts/commit/d4edf3599f74ccce3827fc9291d1c2bcfcc5eea6)), closes [#36](https://github.com/ChainSafe/sprinter-ts/issues/36)
20+
- refactor api ([#61](https://github.com/ChainSafe/sprinter-ts/issues/61)) ([d6b1e9c](https://github.com/ChainSafe/sprinter-ts/commit/d6b1e9caa9c4bf91442b119c19e8b7904a3f9af9))

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docs",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

packages/react/.prettierrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"useTabs": false,
3-
"singleQuote": false,
4-
"trailingComma": "all",
5-
"printWidth": 80
2+
"useTabs": false,
3+
"singleQuote": false,
4+
"trailingComma": "all",
5+
"printWidth": 80
66
}

packages/react/CHANGELOG.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,62 @@
11
# Changelog
22

3-
## [1.1.2](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v1.1.1...sprinter-react-v1.1.2) (2024-12-11)
3+
## [1.2.0](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v1.1.2...sprinter-react-v1.2.0) (2025-01-13)
4+
5+
### Features
46

7+
- Add sweep function ([#115](https://github.com/ChainSafe/sprinter-ts/issues/115)) ([efaaa2b](https://github.com/ChainSafe/sprinter-ts/commit/efaaa2b3d8674e46b264caddcd373218c3f552c1)), closes [#110](https://github.com/ChainSafe/sprinter-ts/issues/110)
8+
9+
## [1.1.2](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v1.1.1...sprinter-react-v1.1.2) (2024-12-11)
510

611
### Bug Fixes
712

8-
* docs deploy pipeline ([#106](https://github.com/ChainSafe/sprinter-ts/issues/106)) ([55d8b32](https://github.com/ChainSafe/sprinter-ts/commit/55d8b32919cb98693a7b5d653e10e11f3830a708))
13+
- docs deploy pipeline ([#106](https://github.com/ChainSafe/sprinter-ts/issues/106)) ([55d8b32](https://github.com/ChainSafe/sprinter-ts/commit/55d8b32919cb98693a7b5d653e10e11f3830a708))
914

1015
## [1.1.1](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v1.1.0...sprinter-react-v1.1.1) (2024-12-11)
1116

12-
1317
### Bug Fixes
1418

15-
* add docs urls to README ([#104](https://github.com/ChainSafe/sprinter-ts/issues/104)) ([bc94336](https://github.com/ChainSafe/sprinter-ts/commit/bc943369b89c860ef7a255da4102ef27f7dc57b4))
19+
- add docs urls to README ([#104](https://github.com/ChainSafe/sprinter-ts/issues/104)) ([bc94336](https://github.com/ChainSafe/sprinter-ts/commit/bc943369b89c860ef7a255da4102ef27f7dc57b4))
1620

1721
## [1.1.0](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v1.0.0...sprinter-react-v1.1.0) (2024-12-11)
1822

19-
2023
### Features
2124

22-
* add enableSwaps in `transferWithHook` and `transfer` ([#97](https://github.com/ChainSafe/sprinter-ts/issues/97)) ([bd21311](https://github.com/ChainSafe/sprinter-ts/commit/bd213119b2eb8f41d574cbf2fd81d63296d08816)), closes [#94](https://github.com/ChainSafe/sprinter-ts/issues/94)
23-
25+
- add enableSwaps in `transferWithHook` and `transfer` ([#97](https://github.com/ChainSafe/sprinter-ts/issues/97)) ([bd21311](https://github.com/ChainSafe/sprinter-ts/commit/bd213119b2eb8f41d574cbf2fd81d63296d08816)), closes [#94](https://github.com/ChainSafe/sprinter-ts/issues/94)
2426

2527
### Bug Fixes
2628

27-
* **PoC:** readme, some errors and other nits ([#90](https://github.com/ChainSafe/sprinter-ts/issues/90)) ([f4fb199](https://github.com/ChainSafe/sprinter-ts/commit/f4fb1996b4d42db90f3c96b5869971f21cdc973e))
29+
- **PoC:** readme, some errors and other nits ([#90](https://github.com/ChainSafe/sprinter-ts/issues/90)) ([f4fb199](https://github.com/ChainSafe/sprinter-ts/commit/f4fb1996b4d42db90f3c96b5869971f21cdc973e))
2830

2931
## [1.0.0](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v0.2.1...sprinter-react-v1.0.0) (2024-10-24)
3032

31-
3233
### ⚠ BREAKING CHANGES
3334

34-
* All functions renamed, different API and flows, please consult docs or reach out to us directly!
35+
- All functions renamed, different API and flows, please consult docs or reach out to us directly!
3536

3637
### Features
3738

38-
* get bridge history for an address ([#68](https://github.com/ChainSafe/sprinter-ts/issues/68)) ([4d524c6](https://github.com/ChainSafe/sprinter-ts/commit/4d524c668393f33c7c200a81f75cab87a3114e9d))
39-
* refactor api ([#61](https://github.com/ChainSafe/sprinter-ts/issues/61)) ([d6b1e9c](https://github.com/ChainSafe/sprinter-ts/commit/d6b1e9caa9c4bf91442b119c19e8b7904a3f9af9))
39+
- get bridge history for an address ([#68](https://github.com/ChainSafe/sprinter-ts/issues/68)) ([4d524c6](https://github.com/ChainSafe/sprinter-ts/commit/4d524c668393f33c7c200a81f75cab87a3114e9d))
40+
- refactor api ([#61](https://github.com/ChainSafe/sprinter-ts/issues/61)) ([d6b1e9c](https://github.com/ChainSafe/sprinter-ts/commit/d6b1e9caa9c4bf91442b119c19e8b7904a3f9af9))
4041

4142
## [0.2.1](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v0.2.0...sprinter-react-v0.2.1) (2024-09-23)
4243

43-
4444
### Bug Fixes
4545

46-
* react package should not be private ([#54](https://github.com/ChainSafe/sprinter-ts/issues/54)) ([ed8a5e0](https://github.com/ChainSafe/sprinter-ts/commit/ed8a5e011661e0e18e0b50d360bb16406692d3da))
46+
- react package should not be private ([#54](https://github.com/ChainSafe/sprinter-ts/issues/54)) ([ed8a5e0](https://github.com/ChainSafe/sprinter-ts/commit/ed8a5e011661e0e18e0b50d360bb16406692d3da))
4747

4848
## [0.2.0](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v0.1.0...sprinter-react-v0.2.0) (2024-09-23)
4949

50-
5150
### Features
5251

53-
* react sdk context ([#48](https://github.com/ChainSafe/sprinter-ts/issues/48)) ([39dbe7e](https://github.com/ChainSafe/sprinter-ts/commit/39dbe7e3cf2d1ec66f386b978a43c93208451f6e)), closes [#47](https://github.com/ChainSafe/sprinter-ts/issues/47)
54-
52+
- react sdk context ([#48](https://github.com/ChainSafe/sprinter-ts/issues/48)) ([39dbe7e](https://github.com/ChainSafe/sprinter-ts/commit/39dbe7e3cf2d1ec66f386b978a43c93208451f6e)), closes [#47](https://github.com/ChainSafe/sprinter-ts/issues/47)
5553

5654
### Bug Fixes
5755

58-
* cd and rect hooks export ([#52](https://github.com/ChainSafe/sprinter-ts/issues/52)) ([33c0604](https://github.com/ChainSafe/sprinter-ts/commit/33c06042a798bd68c8d902ba141a4d02fd4fc23e))
56+
- cd and rect hooks export ([#52](https://github.com/ChainSafe/sprinter-ts/issues/52)) ([33c0604](https://github.com/ChainSafe/sprinter-ts/commit/33c06042a798bd68c8d902ba141a4d02fd4fc23e))
5957

6058
## [0.1.0](https://github.com/ChainSafe/sprinter-ts/compare/sprinter-react-v0.0.1...sprinter-react-v0.1.0) (2024-09-23)
6159

62-
6360
### Features
6461

65-
* react sdk context ([#48](https://github.com/ChainSafe/sprinter-ts/issues/48)) ([39dbe7e](https://github.com/ChainSafe/sprinter-ts/commit/39dbe7e3cf2d1ec66f386b978a43c93208451f6e)), closes [#47](https://github.com/ChainSafe/sprinter-ts/issues/47)
62+
- react sdk context ([#48](https://github.com/ChainSafe/sprinter-ts/issues/48)) ([39dbe7e](https://github.com/ChainSafe/sprinter-ts/commit/39dbe7e3cf2d1ec66f386b978a43c93208451f6e)), closes [#47](https://github.com/ChainSafe/sprinter-ts/issues/47)

0 commit comments

Comments
 (0)