aftermath-ts-sdk 1.1.94-staging.3 → 1.1.94-staging.5

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.
@@ -108,8 +108,8 @@ RouterApiCasting.routerProtocolNameToRouterServiceProtocol = (routerProtocolName
108
108
  if (routerProtocolName === "Aftermath") {
109
109
  return {
110
110
  protocol: routerProtocolName,
111
- pool_type: "Both",
112
- extension: "All",
111
+ pool_type: "Any",
112
+ extension: "Any",
113
113
  };
114
114
  }
115
115
  else if (routerProtocolName === "Kriya" ||
@@ -117,7 +117,7 @@ RouterApiCasting.routerProtocolNameToRouterServiceProtocol = (routerProtocolName
117
117
  routerProtocolName === "BlueMove") {
118
118
  return {
119
119
  protocol: routerProtocolName,
120
- pool_type: "Both",
120
+ pool_type: "Any",
121
121
  };
122
122
  }
123
123
  return {
@@ -9,13 +9,13 @@ export type RouterTradeEventOnChain = EventOnChain<{
9
9
  router_fee: BigIntAsString;
10
10
  router_fee_recipient: SuiAddress;
11
11
  }>;
12
- type IndexerPoolType = "Both" | "Stable" | "Uncorrelated";
12
+ type IndexerPoolType = "Any" | "Stable" | "Uncorrelated";
13
13
  export type RouterServiceProtocol = {
14
14
  protocol: Exclude<RouterProtocolName, "Aftermath" | "Kriya" | "SuiSwap" | "BlueMove">;
15
15
  } | {
16
16
  protocol: "Aftermath";
17
17
  pool_type: IndexerPoolType;
18
- extension: "All" | "Direct" | "DaoFee";
18
+ extension: "Any" | "Direct" | "DaoFee";
19
19
  } | {
20
20
  protocol: "Kriya" | "SuiSwap" | "BlueMove";
21
21
  pool_type: IndexerPoolType;
@@ -1 +1 @@
1
- {"version":3,"file":"routerApiCastingTypes.d.ts","sourceRoot":"","sources":["../../../../src/packages/router/api/routerApiCastingTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,UAAU,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAA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EAAE,UAAU,CAAC;CACjC,CAAC,CAAC;AAMH,KAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,cAAc,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAC9B;IACA,QAAQ,EAAE,OAAO,CAChB,kBAAkB,EAClB,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAC9C,CAAC;CACD,GACD;IACA,QAAQ,EAAE,WAAW,CAAC;IACtB,SAAS,EAAE,eAAe,CAAC;IAC3B,SAAS,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACtC,GACD;IACA,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,SAAS,EAAE,eAAe,CAAC;CAC1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aftermath-ts-sdk",
3
- "version": "1.1.94-staging.3",
3
+ "version": "1.1.94-staging.5",
4
4
  "description": "Aftermath TypeScript SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",