@pump-fun/pump-sdk 1.9.1-devnet.1 → 1.9.2-devnet.1

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/esm/index.js CHANGED
@@ -144,7 +144,22 @@ var pump_default = {
144
144
  ]
145
145
  },
146
146
  {
147
- name: "global"
147
+ name: "global",
148
+ pda: {
149
+ seeds: [
150
+ {
151
+ kind: "const",
152
+ value: [
153
+ 103,
154
+ 108,
155
+ 111,
156
+ 98,
157
+ 97,
158
+ 108
159
+ ]
160
+ }
161
+ ]
162
+ }
148
163
  },
149
164
  {
150
165
  name: "global_volume_accumulator",
@@ -4560,7 +4575,6 @@ var PumpSdk = class {
4560
4575
  dayNumber,
4561
4576
  tokenSupplyPerDay
4562
4577
  ).accountsPartial({
4563
- global: this.globalPda(),
4564
4578
  authority,
4565
4579
  mint,
4566
4580
  tokenProgram
package/dist/index.d.mts CHANGED
@@ -154,6 +154,21 @@ type Pump = {
154
154
  },
155
155
  {
156
156
  "name": "global";
157
+ "pda": {
158
+ "seeds": [
159
+ {
160
+ "kind": "const";
161
+ "value": [
162
+ 103,
163
+ 108,
164
+ 111,
165
+ 98,
166
+ 97,
167
+ 108
168
+ ];
169
+ }
170
+ ];
171
+ };
157
172
  },
158
173
  {
159
174
  "name": "globalVolumeAccumulator";
@@ -4184,7 +4199,22 @@ var instructions = [
4184
4199
  ]
4185
4200
  },
4186
4201
  {
4187
- name: "global"
4202
+ name: "global",
4203
+ pda: {
4204
+ seeds: [
4205
+ {
4206
+ kind: "const",
4207
+ value: [
4208
+ 103,
4209
+ 108,
4210
+ 111,
4211
+ 98,
4212
+ 97,
4213
+ 108
4214
+ ]
4215
+ }
4216
+ ]
4217
+ }
4188
4218
  },
4189
4219
  {
4190
4220
  name: "global_volume_accumulator",
package/dist/index.d.ts CHANGED
@@ -154,6 +154,21 @@ type Pump = {
154
154
  },
155
155
  {
156
156
  "name": "global";
157
+ "pda": {
158
+ "seeds": [
159
+ {
160
+ "kind": "const";
161
+ "value": [
162
+ 103,
163
+ 108,
164
+ 111,
165
+ 98,
166
+ 97,
167
+ 108
168
+ ];
169
+ }
170
+ ];
171
+ };
157
172
  },
158
173
  {
159
174
  "name": "globalVolumeAccumulator";
@@ -4184,7 +4199,22 @@ var instructions = [
4184
4199
  ]
4185
4200
  },
4186
4201
  {
4187
- name: "global"
4202
+ name: "global",
4203
+ pda: {
4204
+ seeds: [
4205
+ {
4206
+ kind: "const",
4207
+ value: [
4208
+ 103,
4209
+ 108,
4210
+ 111,
4211
+ 98,
4212
+ 97,
4213
+ 108
4214
+ ]
4215
+ }
4216
+ ]
4217
+ }
4188
4218
  },
4189
4219
  {
4190
4220
  name: "global_volume_accumulator",
package/dist/index.js CHANGED
@@ -199,7 +199,22 @@ var pump_default = {
199
199
  ]
200
200
  },
201
201
  {
202
- name: "global"
202
+ name: "global",
203
+ pda: {
204
+ seeds: [
205
+ {
206
+ kind: "const",
207
+ value: [
208
+ 103,
209
+ 108,
210
+ 111,
211
+ 98,
212
+ 97,
213
+ 108
214
+ ]
215
+ }
216
+ ]
217
+ }
203
218
  },
204
219
  {
205
220
  name: "global_volume_accumulator",
@@ -4607,7 +4622,6 @@ var PumpSdk = class {
4607
4622
  dayNumber,
4608
4623
  tokenSupplyPerDay
4609
4624
  ).accountsPartial({
4610
- global: this.globalPda(),
4611
4625
  authority,
4612
4626
  mint,
4613
4627
  tokenProgram
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pump-fun/pump-sdk",
3
- "version": "1.9.1-devnet.1",
3
+ "version": "1.9.2-devnet.1",
4
4
  "description": "Pump Bonding Curve SDK",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/pump-fun/pump-sdk#readme",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@coral-xyz/anchor": "^0.31.1",
42
- "@pump-fun/pump-swap-sdk": "^0.0.1-beta.88",
42
+ "@pump-fun/pump-swap-sdk": "^1.1.1",
43
43
  "@solana/spl-token": "^0.4.13",
44
44
  "@solana/web3.js": "^1.98.2",
45
45
  "bn.js": "^5.2.2",
package/src/idl/pump.json CHANGED
@@ -143,7 +143,22 @@
143
143
  ]
144
144
  },
145
145
  {
146
- "name": "global"
146
+ "name": "global",
147
+ "pda": {
148
+ "seeds": [
149
+ {
150
+ "kind": "const",
151
+ "value": [
152
+ 103,
153
+ 108,
154
+ 111,
155
+ 98,
156
+ 97,
157
+ 108
158
+ ]
159
+ }
160
+ ]
161
+ }
147
162
  },
148
163
  {
149
164
  "name": "global_volume_accumulator",
package/src/idl/pump.ts CHANGED
@@ -149,7 +149,22 @@ export type Pump = {
149
149
  ]
150
150
  },
151
151
  {
152
- "name": "global"
152
+ "name": "global",
153
+ "pda": {
154
+ "seeds": [
155
+ {
156
+ "kind": "const",
157
+ "value": [
158
+ 103,
159
+ 108,
160
+ 111,
161
+ 98,
162
+ 97,
163
+ 108
164
+ ]
165
+ }
166
+ ]
167
+ }
153
168
  },
154
169
  {
155
170
  "name": "globalVolumeAccumulator",
package/src/sdk.ts CHANGED
@@ -580,7 +580,6 @@ export class PumpSdk {
580
580
  tokenSupplyPerDay,
581
581
  )
582
582
  .accountsPartial({
583
- global: this.globalPda(),
584
583
  authority,
585
584
  mint,
586
585
  tokenProgram,