Skip to content

Commit b524c60

Browse files
authored
export anchor program in solana sdks (#263)
1 parent 7d86079 commit b524c60

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "7.4.5",
5+
"version": "7.4.6",
66
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
77
}

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@streamflow/common",
3-
"version": "7.4.5",
3+
"version": "7.4.6",
44
"description": "Common utilities and types used by streamflow packages.",
55
"homepage": "https://github.com/streamflow-finance/js-sdk/",
66
"main": "./dist/esm/index.js",

packages/distributor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@streamflow/distributor",
3-
"version": "7.4.5",
3+
"version": "7.4.6",
44
"description": "JavaScript SDK to interact with Streamflow Airdrop protocol.",
55
"homepage": "https://github.com/streamflow-finance/js-sdk/",
66
"main": "dist/esm/index.js",

packages/distributor/solana/clients/SolanaAlignedDistributorClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { ALIGNED_PRECISION_FACTOR_POW } from "../constants.js";
1818
import { getAlignedDistributorPda, getTestOraclePda } from "../utils.js";
1919

2020
export default class SolanaAlignedDistributorClient extends BaseDistributorClient {
21-
private alignedProxyProgram: Program<AlignedAirdropsProgramType>;
21+
public alignedProxyProgram: Program<AlignedAirdropsProgramType>;
2222

2323
public constructor({ clusterUrl, cluster, commitment, programId, sendRate, sendThrottler }: IInitOptions) {
2424
super({ clusterUrl, cluster, commitment, programId, sendRate, sendThrottler });

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@streamflow/eslint-config",
3-
"version": "7.4.5",
3+
"version": "7.4.6",
44
"license": "ISC",
55
"main": "index.js",
66
"files": [

packages/launchpad/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@streamflow/launchpad",
3-
"version": "7.4.5",
3+
"version": "7.4.6",
44
"description": "JavaScript SDK to interact with Streamflow Launchpad protocol.",
55
"homepage": "https://github.com/streamflow-finance/js-sdk/",
66
"main": "dist/esm/index.js",

packages/staking/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@streamflow/staking",
3-
"version": "7.4.5",
3+
"version": "7.4.6",
44
"description": "JavaScript SDK to interact with Streamflow Staking protocol.",
55
"homepage": "https://github.com/streamflow-finance/js-sdk/",
66
"main": "dist/esm/index.js",

packages/stream/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@streamflow/stream",
3-
"version": "7.4.5",
3+
"version": "7.4.6",
44
"description": "JavaScript SDK to interact with Streamflow protocol.",
55
"homepage": "https://github.com/streamflow-finance/js-sdk/",
66
"main": "./dist/esm/index.js",

packages/stream/solana/StreamClient.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ const METADATA_ACC_SIZE = 1104;
127127
export type ClientCreationOptions = Omit<SolanaStreamClientOptions, "chain" | "sendRate" | "sendThrottler">;
128128

129129
export class SolanaStreamClient extends BaseStreamClient {
130-
private connection: Connection;
130+
private readonly connection: Connection;
131131

132-
private programId: PublicKey;
132+
private readonly programId: PublicKey;
133133

134-
private commitment: Commitment | ConnectionConfig;
134+
private readonly commitment: Commitment | ConnectionConfig;
135135

136-
private alignedProxyProgram: Program<AlignedUnlocksProgramType>;
136+
public readonly alignedProxyProgram: Program<AlignedUnlocksProgramType>;
137137

138-
private schedulingParams: ThrottleParams;
138+
private readonly schedulingParams: ThrottleParams;
139139

140140
/**
141141
* Create Stream instance with flat arguments

0 commit comments

Comments
 (0)