@drift-labs/sdk 2.108.0-beta.8 → 2.108.0-beta.9
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/browser/driftClient.js +1 -1
- package/lib/node/driftClient.js +1 -1
- package/package.json +1 -1
- package/src/driftClient.ts +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.108.0-beta.
|
|
1
|
+
2.108.0-beta.9
|
|
@@ -3187,7 +3187,7 @@ class DriftClient {
|
|
|
3187
3187
|
* Borsh encode swift taker order params
|
|
3188
3188
|
*/
|
|
3189
3189
|
encodeSwiftOrderParamsMessage(orderParamsMessage) {
|
|
3190
|
-
const anchorIxName = 'global' + ':' + '
|
|
3190
|
+
const anchorIxName = 'global' + ':' + 'SwiftOrderParamsMessage';
|
|
3191
3191
|
const prefix = Buffer.from((0, sha256_1.sha256)(anchorIxName).slice(0, 8));
|
|
3192
3192
|
const buf = Buffer.concat([
|
|
3193
3193
|
prefix,
|
package/lib/node/driftClient.js
CHANGED
|
@@ -3187,7 +3187,7 @@ class DriftClient {
|
|
|
3187
3187
|
* Borsh encode swift taker order params
|
|
3188
3188
|
*/
|
|
3189
3189
|
encodeSwiftOrderParamsMessage(orderParamsMessage) {
|
|
3190
|
-
const anchorIxName = 'global' + ':' + '
|
|
3190
|
+
const anchorIxName = 'global' + ':' + 'SwiftOrderParamsMessage';
|
|
3191
3191
|
const prefix = Buffer.from((0, sha256_1.sha256)(anchorIxName).slice(0, 8));
|
|
3192
3192
|
const buf = Buffer.concat([
|
|
3193
3193
|
prefix,
|
package/package.json
CHANGED
package/src/driftClient.ts
CHANGED
|
@@ -5906,7 +5906,7 @@ export class DriftClient {
|
|
|
5906
5906
|
public encodeSwiftOrderParamsMessage(
|
|
5907
5907
|
orderParamsMessage: SwiftOrderParamsMessage
|
|
5908
5908
|
): Buffer {
|
|
5909
|
-
const anchorIxName = 'global' + ':' + '
|
|
5909
|
+
const anchorIxName = 'global' + ':' + 'SwiftOrderParamsMessage';
|
|
5910
5910
|
const prefix = Buffer.from(sha256(anchorIxName).slice(0, 8));
|
|
5911
5911
|
const buf = Buffer.concat([
|
|
5912
5912
|
prefix,
|