Skip to content

Commit

Permalink
V0.0.16 SDK Release (#152)
Browse files Browse the repository at this point in the history
* initial commit for list balances

* fix tests

* rm unnecessary change

* return from model

* lint

* fix typo

* rename some vars and update tests

* rename func

* rm unnecessary var

* lint

* fix lint and test

* rm request body

* rm request totally and update desc

* clean up

* add to export

* fix

* fix test

* add test

* add list historical staking balance to address

* add tests in address

* clean up a bit

* init

* update tests with usd_value

* tests

* fix test

* [PSDK-361] Gasless Sends Support (#142)

* [PSDK-361] Gasless Sends Support

* stone's comments

* readme + changelog

* leave unrelated unchanged

* force

* rename some test vars

* [Balance] fetch historical balance (#147)

* [chore] Update package-lock.json (#132)

* [Balance] fetch historical balance

* formatting

* fix lint

* add max size for fetching all history

* rebase error

* tweak naming

* address comments

* move list historical balance test under address

* address comment

* fix lint

* fix IDE change

* update changelog

* add struct for ListHistoricalBalancesOptions

* fix format

* fix lint

* change log version

* address comments

---------

Co-authored-by: John Peterson <[email protected]>

* change prefix of static method test

* changelog, package.json version bump + docs

* generate api client + fix unit tests (feature_set model type issue)

* ethereum-mainnet + polygon-mainnet changelog entry

---------

Co-authored-by: marc.xu <[email protected]>
Co-authored-by: Shreif Abdallah <[email protected]>
Co-authored-by: xinyu-li-cb <[email protected]>
  • Loading branch information
4 people authored Aug 14, 2024
1 parent 7ca44cb commit 9be2165
Show file tree
Hide file tree
Showing 324 changed files with 4,227 additions and 1,288 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Coinbase Node.js SDK Changelog

## [0.0.16] - 2024-08-14

### Added

- Add Function `listHistoricalBalances` for `Address` for fetching historical balances for an asset
- Support for retrieving historical staking balances information
- USD value conversion details to the StakingReward object
- Gasless USDC Sends
- Support for Etherum-Mainnet and Polygon-Mainnet

## [0.0.15] - 2024-08-12

### Changed
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ const transfer = await wallet.createTransfer({ amount: 0.00001, assetId: Coinbas
```


### Gasless USDC Transfers

To transfer USDC without needing to hold ETH for gas, you can use the `createTransfer` method with the `gasless` option set to `true`.
```typescript
const transfer = await wallet.createTransfer({ amount: 0.00001, assetId: Coinbase.assets.Usdc, destination: anotherWallet, gasless: true });
```


### Trading Funds

```typescript
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/navigation.js

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

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9be2165

Please sign in to comment.