@zemyth/raise-sdk 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts/index.cjs +6 -6
- package/dist/accounts/index.cjs.map +1 -1
- package/dist/accounts/index.js +6 -6
- package/dist/accounts/index.js.map +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/accounts/index.ts +3 -3
package/package.json
CHANGED
package/src/accounts/index.ts
CHANGED
|
@@ -123,7 +123,7 @@ export async function fetchAllMilestones(
|
|
|
123
123
|
const milestones = await getAccountNamespace(program).milestone.all([
|
|
124
124
|
{
|
|
125
125
|
memcmp: {
|
|
126
|
-
offset:
|
|
126
|
+
offset: 10, // Skip discriminator (8) + version enum (1) + bump (1)
|
|
127
127
|
bytes: projectPda.toBase58(),
|
|
128
128
|
},
|
|
129
129
|
},
|
|
@@ -176,7 +176,7 @@ export async function fetchAllInvestments(
|
|
|
176
176
|
const investments = await getAccountNamespace(program).investment.all([
|
|
177
177
|
{
|
|
178
178
|
memcmp: {
|
|
179
|
-
offset:
|
|
179
|
+
offset: 10, // Skip discriminator (8) + version enum (1) + bump (1)
|
|
180
180
|
bytes: projectPda.toBase58(),
|
|
181
181
|
},
|
|
182
182
|
},
|
|
@@ -237,7 +237,7 @@ export async function fetchAllVotes(
|
|
|
237
237
|
const votes = await getAccountNamespace(program).vote.all([
|
|
238
238
|
{
|
|
239
239
|
memcmp: {
|
|
240
|
-
offset:
|
|
240
|
+
offset: 10, // Skip discriminator (8) + version enum (1) + bump (1)
|
|
241
241
|
bytes: milestonePda.toBase58(),
|
|
242
242
|
},
|
|
243
243
|
},
|