@triadxyz/triad-protocol 0.4.7-beta → 0.4.9-beta
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/index.js
CHANGED
|
@@ -103,6 +103,7 @@ class TriadProtocolClient {
|
|
|
103
103
|
})
|
|
104
104
|
.accounts({
|
|
105
105
|
signer: wallet,
|
|
106
|
+
payer: wallet,
|
|
106
107
|
referral
|
|
107
108
|
});
|
|
108
109
|
if (options === null || options === void 0 ? void 0 : options.microLamports) {
|
|
@@ -128,6 +129,7 @@ class TriadProtocolClient {
|
|
|
128
129
|
})
|
|
129
130
|
.accounts({
|
|
130
131
|
signer: user,
|
|
132
|
+
payer: payer.publicKey,
|
|
131
133
|
referral
|
|
132
134
|
})
|
|
133
135
|
.instruction());
|
package/dist/stake.js
CHANGED
|
@@ -105,9 +105,8 @@ class Stake {
|
|
|
105
105
|
collections
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
catch (
|
|
109
|
-
|
|
110
|
-
}
|
|
108
|
+
catch (_a) { }
|
|
109
|
+
yield new Promise((resolve) => setTimeout(resolve, 500));
|
|
111
110
|
data.push(Object.assign(Object.assign({}, stake), { available }));
|
|
112
111
|
}
|
|
113
112
|
return data;
|