Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightprotocol/zk-compression-cli",
"version": "0.28.0",
"version": "0.28.1",
"description": "ZK Compression: Secure Scaling on Solana",
"maintainers": [
{
Expand Down
2 changes: 1 addition & 1 deletion js/compressed-token/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightprotocol/compressed-token",
"version": "0.23.0",
"version": "0.23.1",
"description": "JS client to interact with the compressed-token program",
"sideEffects": false,
"main": "dist/cjs/node/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion js/stateless.js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lightprotocol/stateless.js",
"version": "0.23.0",
"version": "0.23.1",
"description": "JavaScript API for Light & ZK Compression",
"sideEffects": false,
"main": "dist/cjs/node/index.cjs",
Expand Down
8 changes: 7 additions & 1 deletion js/stateless.js/src/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,12 @@ export class Rpc extends Connection implements CompressionApiInterface {
const item = res.result.value;

return createCompressedAccountWithMerkleContextLegacy(
createMerkleContextLegacy(stateTreeInfo, item.hash, item.leafIndex),
createMerkleContextLegacy(
stateTreeInfo,
item.hash,
item.leafIndex,
featureFlags.isV2() ? (item as any).proveByIndex : false,
),
item.owner,
bn(item.lamports),
item.data ? parseAccountData(item.data) : undefined,
Expand Down Expand Up @@ -1024,6 +1029,7 @@ export class Rpc extends Connection implements CompressionApiInterface {
stateTreeInfo,
bn(item.hash.toArray('be', 32)),
item.leafIndex,
featureFlags.isV2() ? item.proveByIndex : false,
),
item.owner,
bn(item.lamports),
Expand Down
Loading