@exodus/solana-api 1.2.5 → 1.2.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -21,5 +21,5 @@
21
21
  "devDependencies": {
22
22
  "node-fetch": "~1.6.3"
23
23
  },
24
- "gitHead": "791e305a718246460d5ac93ed2eb7808955c0f5d"
24
+ "gitHead": "eb8a5bdbe538630232a503c7bdbd130a0de19706"
25
25
  }
package/src/index.js CHANGED
@@ -314,7 +314,7 @@ class Api {
314
314
 
315
315
  const result = await this.api.post({
316
316
  method: 'sendTransaction',
317
- params: [signedTx, { encoding: 'base64' }],
317
+ params: [signedTx, { encoding: 'base64', commitment: 'singleGossip' }],
318
318
  })
319
319
 
320
320
  console.log(`tx ${JSON.stringify(result)} sent!`)