@typus/typus-sdk 1.8.16 → 1.8.17

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.
@@ -38,7 +38,7 @@ var utils_1 = require("../../src/utils");
38
38
  function getNewStrategyTx(config, tx, input) {
39
39
  var input_coin = (0, utils_1.splitCoin)(tx, input.typeArguments[1], input.coins, input.amount, config.sponsored);
40
40
  tx.moveCall({
41
- target: "".concat(config.package.dovSingle, "::auto_bid::new_strategy"),
41
+ target: "".concat(config.package.dovSingle, "::auto_bid::new_strategy_v3"),
42
42
  typeArguments: input.typeArguments,
43
43
  arguments: [
44
44
  tx.object(config.registry.dov.dovSingle),
@@ -65,7 +65,7 @@ function getNewStrategyTx(config, tx, input) {
65
65
  */
66
66
  function getCloseStrategyTx(config, tx, input) {
67
67
  var _a = __read(tx.moveCall({
68
- target: "".concat(config.package.dovSingle, "::auto_bid::close_strategy"),
68
+ target: "".concat(config.package.dovSingle, "::auto_bid::close_strategy_v3"),
69
69
  typeArguments: input.typeArguments,
70
70
  arguments: [
71
71
  tx.object(config.registry.dov.dovSingle),
@@ -80,7 +80,7 @@ function getCloseStrategyTx(config, tx, input) {
80
80
  }
81
81
  function getWithdrawProfitStrategyTx(config, tx, input) {
82
82
  var d_token = tx.moveCall({
83
- target: "".concat(config.package.dovSingle, "::auto_bid::withdraw_profit"),
83
+ target: "".concat(config.package.dovSingle, "::auto_bid::withdraw_profit_v3"),
84
84
  typeArguments: input.typeArguments,
85
85
  arguments: [
86
86
  tx.object(config.registry.dov.dovSingle),
@@ -110,7 +110,7 @@ function getWithdrawProfitStrategyTx(config, tx, input) {
110
110
  function getUpdateStrategyTx(config, tx, input) {
111
111
  var input_coin = (0, utils_1.splitCoin)(tx, input.typeArguments[1], input.coins, input.amount, config.sponsored);
112
112
  tx.moveCall({
113
- target: "".concat(config.package.dovSingle, "::auto_bid::update_strategy"),
113
+ target: "".concat(config.package.dovSingle, "::auto_bid::update_strategy_v3"),
114
114
  typeArguments: input.typeArguments,
115
115
  arguments: [
116
116
  tx.object(config.registry.dov.dovSingle),
@@ -139,7 +139,7 @@ public fun withdraw_bid_receipt(
139
139
  */
140
140
  function getWithdrawBidReceiptTx(config, tx, input) {
141
141
  var receipt = tx.moveCall({
142
- target: "".concat(config.package.dovSingle, "::auto_bid::withdraw_bid_receipt"),
142
+ target: "".concat(config.package.dovSingle, "::auto_bid::withdraw_bid_receipt_v3"),
143
143
  typeArguments: [],
144
144
  arguments: [
145
145
  tx.object(config.registry.dov.dovSingle),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.8.16",
5
+ "version": "1.8.17",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "1.6.1",
8
8
  "@mysten/kiosk": "0.12.6",