@haven-fi/solauto-sdk 1.0.809 → 1.0.810
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switchboardUtils.d.ts","sourceRoot":"","sources":["../../src/utils/switchboardUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EAGV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAsB,MAAM,0BAA0B,CAAC;AAGtE,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AASjD,wBAAsB,WAAW,CAC/B,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,SAAS,EACf,MAAM,CAAC,EAAE,SAAS;;;
|
|
1
|
+
{"version":3,"file":"switchboardUtils.d.ts","sourceRoot":"","sources":["../../src/utils/switchboardUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EAGV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAsB,MAAM,0BAA0B,CAAC;AAGtE,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AASjD,wBAAsB,WAAW,CAC/B,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,SAAS,EACf,MAAM,CAAC,EAAE,SAAS;;;GAmCnB;AAED,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,SAAS,GACd,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAoD5C;AAED,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,SAAS,EAAE,GACjB,OAAO,CAAC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,EAAE,CAAC,CAuB/D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,WAEzD"}
|
|
@@ -25,7 +25,8 @@ async function getPullFeed(conn, mint, wallet) {
|
|
|
25
25
|
const crossbar = new common_1.CrossbarClient("https://integrator-crossbar.mrgn.app/");
|
|
26
26
|
const queue = await on_demand_1.Queue.loadDefault(sbProgram);
|
|
27
27
|
const gateway = await queue.fetchGatewayFromCrossbar(crossbar);
|
|
28
|
-
(0, generalUtils_1.consoleLog)("Gateway: ", gateway);
|
|
28
|
+
(0, generalUtils_1.consoleLog)("Gateway URL: ", gateway.gatewayUrl);
|
|
29
|
+
(0, generalUtils_1.consoleLog)("Gateway endpoint: ", gateway.endpoint());
|
|
29
30
|
(0, generalUtils_1.consoleLog)("Pulled SWB program!");
|
|
30
31
|
(0, generalUtils_1.consoleLog)("Feed id:", constants_1.SWITCHBOARD_PRICE_FEED_IDS[mint.toString()].feedId);
|
|
31
32
|
return {
|
package/package.json
CHANGED
|
@@ -50,7 +50,8 @@ export async function getPullFeed(
|
|
|
50
50
|
const queue = await Queue.loadDefault(sbProgram);
|
|
51
51
|
const gateway = await queue.fetchGatewayFromCrossbar(crossbar as any);
|
|
52
52
|
|
|
53
|
-
consoleLog("Gateway: ", gateway);
|
|
53
|
+
consoleLog("Gateway URL: ", gateway.gatewayUrl);
|
|
54
|
+
consoleLog("Gateway endpoint: ", gateway.endpoint());
|
|
54
55
|
consoleLog("Pulled SWB program!");
|
|
55
56
|
consoleLog("Feed id:", SWITCHBOARD_PRICE_FEED_IDS[mint.toString()].feedId);
|
|
56
57
|
return {
|