@pooflabs/core 0.0.36 → 0.0.38
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/client/config.d.ts +10 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/utils/sol/poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpDevnet-program.d.ts +64 -60
- package/dist/utils/sol/poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpMainnet-program.d.ts +39 -95
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3822,6 +3822,8 @@ async function setMany(many, options) {
|
|
|
3822
3822
|
data,
|
|
3823
3823
|
});
|
|
3824
3824
|
})) !== null && _e !== void 0 ? _e : [],
|
|
3825
|
+
// Server co-signed transaction (when CPI tx_data is present)
|
|
3826
|
+
signedTransaction: tx.signedTransaction,
|
|
3825
3827
|
};
|
|
3826
3828
|
const transactionResult = await authProvider.runTransaction(undefined, solTransaction, options);
|
|
3827
3829
|
return transactionResult;
|
|
@@ -4355,7 +4357,10 @@ function handleServerMessage(connection, message) {
|
|
|
4355
4357
|
}
|
|
4356
4358
|
function notifyCallbacks(subscription, data) {
|
|
4357
4359
|
var _a;
|
|
4358
|
-
|
|
4360
|
+
// Snapshot the callbacks array so that unsubscriptions during
|
|
4361
|
+
// notification don't cause callbacks to be skipped.
|
|
4362
|
+
const callbacks = subscription.callbacks.slice();
|
|
4363
|
+
for (const callback of callbacks) {
|
|
4359
4364
|
try {
|
|
4360
4365
|
(_a = callback.onData) === null || _a === void 0 ? void 0 : _a.call(callback, data);
|
|
4361
4366
|
}
|