@drift-labs/sdk 2.67.0-beta.3 → 2.67.0-beta.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/VERSION +1 -1
- package/lib/adminClient.js +1 -1
- package/package.json +1 -1
- package/src/adminClient.ts +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.67.0-beta.
|
|
1
|
+
2.67.0-beta.4
|
package/lib/adminClient.js
CHANGED
|
@@ -56,7 +56,7 @@ class AdminClient extends driftClient_1.DriftClient {
|
|
|
56
56
|
},
|
|
57
57
|
});
|
|
58
58
|
const tx = await this.buildTransaction(initializeIx);
|
|
59
|
-
const { txSig } = await
|
|
59
|
+
const { txSig } = await super.sendTransaction(tx, [], this.opts);
|
|
60
60
|
return [txSig];
|
|
61
61
|
}
|
|
62
62
|
async initializeSpotMarket(mint, optimalUtilization, optimalRate, maxRate, oracle, oracleSource, initialAssetWeight, maintenanceAssetWeight, initialLiabilityWeight, maintenanceLiabilityWeight, imfFactor = 0, liquidatorFee = 0, activeStatus = true, name = userName_1.DEFAULT_MARKET_NAME) {
|
package/package.json
CHANGED
package/src/adminClient.ts
CHANGED
|
@@ -65,7 +65,7 @@ export class AdminClient extends DriftClient {
|
|
|
65
65
|
|
|
66
66
|
const tx = await this.buildTransaction(initializeIx);
|
|
67
67
|
|
|
68
|
-
const { txSig } = await
|
|
68
|
+
const { txSig } = await super.sendTransaction(tx, [], this.opts);
|
|
69
69
|
|
|
70
70
|
return [txSig];
|
|
71
71
|
}
|