@arcium-hq/reader 0.11.1 → 0.12.0
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/build/index.cjs +1 -1
- package/build/index.mjs +1 -1
- package/package.json +2 -2
- package/src/computationGetters.ts +1 -1
package/build/index.cjs
CHANGED
|
@@ -230,7 +230,7 @@ async function subscribeComputations(conn, mxeProgramId, callback) {
|
|
|
230
230
|
* @param subscriptionId - Subscription ID returned by {@link subscribeComputations}.
|
|
231
231
|
*/
|
|
232
232
|
async function unsubscribeComputations(conn, subscriptionId) {
|
|
233
|
-
conn.removeOnLogsListener(subscriptionId);
|
|
233
|
+
return conn.removeOnLogsListener(subscriptionId);
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* Get the computation offset from a transaction.
|
package/build/index.mjs
CHANGED
|
@@ -211,7 +211,7 @@ async function subscribeComputations(conn, mxeProgramId, callback) {
|
|
|
211
211
|
* @param subscriptionId - Subscription ID returned by {@link subscribeComputations}.
|
|
212
212
|
*/
|
|
213
213
|
async function unsubscribeComputations(conn, subscriptionId) {
|
|
214
|
-
conn.removeOnLogsListener(subscriptionId);
|
|
214
|
+
return conn.removeOnLogsListener(subscriptionId);
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
217
|
* Get the computation offset from a transaction.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcium-hq/reader",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Reader SDK for fetching onchain data for Arcium network programs",
|
|
5
5
|
"author": "Arcium",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@anchor-lang/core": "^1.0.2",
|
|
59
59
|
"@noble/curves": "^1.9.5",
|
|
60
60
|
"@noble/hashes": "^1.7.1",
|
|
61
|
-
"@arcium-hq/client": "0.
|
|
61
|
+
"@arcium-hq/client": "0.12.0"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"Cryptography",
|