@solana-mobile/dapp-store-publishing-tools 0.7.1 → 0.7.3

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/lib/CoreUtils.js CHANGED
@@ -214,9 +214,15 @@ export var mintNft = function() {
214
214
  ];
215
215
  case 2:
216
216
  txBuilder = _state.sent();
217
+ txBuilder.prepend({
218
+ instruction: ComputeBudgetProgram.setComputeUnitLimit({
219
+ units: 250000
220
+ }),
221
+ signers: []
222
+ });
217
223
  txBuilder.prepend({
218
224
  instruction: ComputeBudgetProgram.setComputeUnitPrice({
219
- microLamports: 5000
225
+ microLamports: 2000000
220
226
  }),
221
227
  signers: []
222
228
  });
@@ -223,9 +223,9 @@ export var publishUpdate = function() {
223
223
  ];
224
224
  case 1:
225
225
  updateRequest = _state.sent();
226
- submitRequestToSolanaDappPublisherPortal(updateRequest, URL_FORM_UPDATE, dryRun);
227
226
  return [
228
- 2
227
+ 2,
228
+ submitRequestToSolanaDappPublisherPortal(updateRequest, URL_FORM_UPDATE, dryRun)
229
229
  ];
230
230
  }
231
231
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana-mobile/dapp-store-publishing-tools",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/src/CoreUtils.ts CHANGED
@@ -41,11 +41,18 @@ export const mintNft = async (
41
41
  });
42
42
 
43
43
  txBuilder.prepend({
44
- instruction: ComputeBudgetProgram.setComputeUnitPrice({
45
- microLamports: 5000,
46
- }),
47
- signers: [],
48
- });
44
+ instruction: ComputeBudgetProgram.setComputeUnitLimit({
45
+ units: 250000,
46
+ }),
47
+ signers: [],
48
+ });
49
+
50
+ txBuilder.prepend({
51
+ instruction: ComputeBudgetProgram.setComputeUnitPrice({
52
+ microLamports: 2000000,
53
+ }),
54
+ signers: [],
55
+ });
49
56
 
50
57
  return txBuilder;
51
58
  };
@@ -140,5 +140,5 @@ export const publishUpdate = async (
140
140
  requestorIsAuthorized,
141
141
  criticalUpdate);
142
142
 
143
- submitRequestToSolanaDappPublisherPortal(updateRequest, URL_FORM_UPDATE, dryRun);
143
+ return submitRequestToSolanaDappPublisherPortal(updateRequest, URL_FORM_UPDATE, dryRun);
144
144
  };