@deriverse/kit 1.0.25 → 1.0.26

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.
Files changed (2) hide show
  1. package/dist/index.js +24 -15
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2254,13 +2254,16 @@ class Engine {
2254
2254
  tag: types_1.AccountType.PERP_CLIENT_INFOS5
2255
2255
  }), role: kit_1.AccountRole.WRITABLE
2256
2256
  },
2257
+ /*
2257
2258
  {
2258
- address: yield this.getInstrAccountByTag({
2259
- assetTokenId: instr.header.assetTokenId,
2260
- crncyTokenId: instr.header.crncyTokenId,
2261
- tag: types_1.AccountType.PERP_CLIENT_ACCOUNTS
2262
- }), role: kit_1.AccountRole.WRITABLE
2259
+ address: await this.getInstrAccountByTag(
2260
+ {
2261
+ assetTokenId: instr.header.assetTokenId,
2262
+ crncyTokenId: instr.header.crncyTokenId,
2263
+ tag: AccountType.PERP_CLIENT_ACCOUNTS
2264
+ }), role: AccountRole.WRITABLE
2263
2265
  },
2266
+ */
2264
2267
  {
2265
2268
  address: yield this.getInstrAccountByTag({
2266
2269
  assetTokenId: instr.header.assetTokenId,
@@ -2282,13 +2285,16 @@ class Engine {
2282
2285
  tag: types_1.AccountType.PERP_REBALANCE_TIME_TREE
2283
2286
  }), role: kit_1.AccountRole.WRITABLE
2284
2287
  },
2288
+ /*
2285
2289
  {
2286
- address: yield this.getInstrAccountByTag({
2287
- assetTokenId: instr.header.assetTokenId,
2288
- crncyTokenId: instr.header.crncyTokenId,
2289
- tag: types_1.AccountType.PERP_PRIORITY_TREE
2290
- }), role: kit_1.AccountRole.WRITABLE
2290
+ address: await this.getInstrAccountByTag(
2291
+ {
2292
+ assetTokenId: instr.header.assetTokenId,
2293
+ crncyTokenId: instr.header.crncyTokenId,
2294
+ tag: AccountType.PERP_PRIORITY_TREE
2295
+ }), role: AccountRole.WRITABLE
2291
2296
  },
2297
+ */
2292
2298
  ];
2293
2299
  const upgradeIx = {
2294
2300
  accounts: keys,
@@ -2659,13 +2665,16 @@ class Engine {
2659
2665
  tag: types_1.AccountType.SPOT_CLIENT_INFOS2
2660
2666
  }), role: kit_1.AccountRole.WRITABLE
2661
2667
  },
2668
+ /*
2662
2669
  {
2663
- address: yield this.getInstrAccountByTag({
2664
- assetTokenId: assetTokenId,
2665
- crncyTokenId: crncyTokenId,
2666
- tag: types_1.AccountType.SPOT_CLIENT_ACCOUNTS
2667
- }), role: kit_1.AccountRole.WRITABLE
2670
+ address: await this.getInstrAccountByTag(
2671
+ {
2672
+ assetTokenId: assetTokenId,
2673
+ crncyTokenId: crncyTokenId,
2674
+ tag: AccountType.SPOT_CLIENT_ACCOUNTS
2675
+ }), role: AccountRole.WRITABLE
2668
2676
  },
2677
+ */
2669
2678
  {
2670
2679
  address: yield this.getInstrAccountByTag({
2671
2680
  assetTokenId: assetTokenId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriverse/kit",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",