@ghostspeak/sdk 1.3.3 → 1.3.4
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/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21672,8 +21672,7 @@ var BaseInstructions = class {
|
|
|
21672
21672
|
});
|
|
21673
21673
|
signature = result?.signature || Object.values(signedTransaction.signatures || {})[0] || "unknown_signature";
|
|
21674
21674
|
}
|
|
21675
|
-
const
|
|
21676
|
-
const cluster = detectClusterFromEndpoint(rpcEndpoint);
|
|
21675
|
+
const cluster = this.config.cluster || (this.config.rpcEndpoint ? detectClusterFromEndpoint(this.config.rpcEndpoint) : "devnet");
|
|
21677
21676
|
const transactionResult = createTransactionResult(
|
|
21678
21677
|
signature,
|
|
21679
21678
|
cluster,
|