Skip to content

Commit

Permalink
Merge pull request #6 from snowflake-so/release_1.0.9
Browse files Browse the repository at this point in the history
change log and update version for release 1.0.9
  • Loading branch information
olaf-snf authored Mar 20, 2022
2 parents 68777af + 2f2f534 commit 0d37b40
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

All notable changes to this project will be documented in this file.


## [1.0.9] - 2022-03-20


### Features

* New API - locate Snowflake PDA for user [https://github.com/snowflake-so/snowflake-sdk/pull/4]
* Enable cron support for weekday [https://github.com/snowflake-so/snowflake-sdk/pull/3]
* New API - deposit to user fee's account [https://github.com/snowflake-so/snowflake-sdk/pull/5]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@snowflake-so/snowflake-sdk",
"description": "Typescript SDK for Snowflake automation protocol",
"version": "1.0.8",
"version": "1.0.9",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/service/snowflake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class Snowflake {
async depositFeeAccount(lamports: number): Promise<string> {
const walletPubkey = this.provider.wallet.publicKey;
const pda = await this.getSnowflakePDAForUser(walletPubkey);
const depositTx = this.instructionBuilder.buildDepositFeeInstruction(
const depositTx = this.instructionBuilder.buildSystemTransferInstruction(
walletPubkey,
pda,
lamports
Expand Down

0 comments on commit 0d37b40

Please sign in to comment.