@phantom/browser-sdk 0.0.7 → 0.0.8
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/solana/index.js +1 -1
- package/dist/solana/index.mjs +1 -1
- package/package.json +1 -1
package/dist/solana/index.js
CHANGED
|
@@ -489,7 +489,7 @@ async function signAndSendTransaction(transaction) {
|
|
|
489
489
|
await adapter.connect({ onlyIfTrusted: false });
|
|
490
490
|
}
|
|
491
491
|
let kitTransaction;
|
|
492
|
-
if (transaction
|
|
492
|
+
if (transaction?.messageBytes == null) {
|
|
493
493
|
kitTransaction = (0, import_compat2.fromVersionedTransaction)(transaction);
|
|
494
494
|
} else {
|
|
495
495
|
kitTransaction = transaction;
|
package/dist/solana/index.mjs
CHANGED
|
@@ -455,7 +455,7 @@ async function signAndSendTransaction(transaction) {
|
|
|
455
455
|
await adapter.connect({ onlyIfTrusted: false });
|
|
456
456
|
}
|
|
457
457
|
let kitTransaction;
|
|
458
|
-
if (transaction
|
|
458
|
+
if (transaction?.messageBytes == null) {
|
|
459
459
|
kitTransaction = fromVersionedTransaction2(transaction);
|
|
460
460
|
} else {
|
|
461
461
|
kitTransaction = transaction;
|