diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2fef78b --- /dev/null +++ b/CHANGELOG.md @@ -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] diff --git a/package.json b/package.json index 646f340..eb00741 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/service/snowflake.ts b/src/service/snowflake.ts index 645b05c..c8e9e62 100644 --- a/src/service/snowflake.ts +++ b/src/service/snowflake.ts @@ -85,7 +85,7 @@ export class Snowflake { async depositFeeAccount(lamports: number): Promise { 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