Skip to content

Commit

Permalink
Support new params (without exposure for now) (#251)
Browse files Browse the repository at this point in the history
* support new devnet parameters (backwards compatible)

* bump
  • Loading branch information
Yolley authored Jan 21, 2025
1 parent f124c06 commit 90f5dd2
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"packages": [
"packages/*"
],
"version": "7.3.2",
"version": "7.3.3",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/common",
"version": "7.3.2",
"version": "7.3.3",
"description": "Common utilities and types used by streamflow packages.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "./dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/distributor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/distributor",
"version": "7.3.2",
"version": "7.3.3",
"description": "JavaScript SDK to interact with Streamflow Airdrop protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/esm/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ export const layout = borsh.struct([
borsh.u64("startVestingTs"),
borsh.u64("endVestingTs"),
borsh.u64("clawbackStartTs"),
borsh.bool("claimsClosable"),
borsh.bool("claimsClosableByAdmin"),
borsh.option(borsh.bool(), "canUpdateDuration"),
borsh.option(borsh.u64(), "totalAmountUnlocked"),
borsh.option(borsh.u64(), "totalAmountLocked"),
borsh.option(borsh.bool(), "claimsClosableByClaimant"),
borsh.option(borsh.u16(), "claimsLimit"),
]);

/**
Expand Down Expand Up @@ -105,10 +107,12 @@ export function newDistributor(
startVestingTs: args.startVestingTs,
endVestingTs: args.endVestingTs,
clawbackStartTs: args.clawbackStartTs,
claimsClosable: args.claimsClosable,
claimsClosableByAdmin: args.claimsClosable,
canUpdateDuration: null,
totalAmountUnlocked: null,
totalAmountLocked: null,
claimsClosableByClaimant: null,
claimsLimit: null,
},
buffer,
);
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/eslint-config",
"version": "7.3.2",
"version": "7.3.3",
"license": "ISC",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/launchpad/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/launchpad",
"version": "7.3.2",
"version": "7.3.3",
"description": "JavaScript SDK to interact with Streamflow Launchpad protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/staking/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/staking",
"version": "7.3.2",
"version": "7.3.3",
"description": "JavaScript SDK to interact with Streamflow Staking protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@streamflow/stream",
"version": "7.3.2",
"version": "7.3.3",
"description": "JavaScript SDK to interact with Streamflow protocol.",
"homepage": "https://github.com/streamflow-finance/js-sdk/",
"main": "./dist/esm/index.js",
Expand Down

0 comments on commit 90f5dd2

Please sign in to comment.