@gala-chain/gswap-sdk 1.1.0 → 1.1.1
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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -995,7 +995,11 @@ var GdexStreamService = class {
|
|
|
995
995
|
subscribeSwaps(cb, opts = {}) {
|
|
996
996
|
return this.subscribe("swap", cb, opts);
|
|
997
997
|
}
|
|
998
|
-
/**
|
|
998
|
+
/**
|
|
999
|
+
* State changes of one pool (price, tick, reserves, liquidity). These events carry no acting wallet:
|
|
1000
|
+
* on v2 `creator` is whoever created the pool, not whoever just traded or added liquidity. For
|
|
1001
|
+
* "who did it", use {@link subscribeLiquidity} (`owner`) or {@link subscribeSwaps} (`sender`).
|
|
1002
|
+
*/
|
|
999
1003
|
subscribePool(selector, cb, opts = {}) {
|
|
1000
1004
|
return this.subscribe("pool", cb, {
|
|
1001
1005
|
...selector,
|
|
@@ -1211,7 +1215,7 @@ var GdexStreamService = class {
|
|
|
1211
1215
|
//#endregion
|
|
1212
1216
|
//#region src/version.ts
|
|
1213
1217
|
/** Package version embedded by the bundler, with a source-test fallback. */
|
|
1214
|
-
const SDK_VERSION = "1.1.
|
|
1218
|
+
const SDK_VERSION = "1.1.1";
|
|
1215
1219
|
|
|
1216
1220
|
//#endregion
|
|
1217
1221
|
//#region src/classes/http_client.ts
|