@pooflabs/core 0.0.20 → 0.0.21
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/operations.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +14 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3652,6 +3652,13 @@ async function signTransaction(transaction) {
|
|
|
3652
3652
|
}
|
|
3653
3653
|
return config.authProvider.signTransaction(transaction);
|
|
3654
3654
|
}
|
|
3655
|
+
async function signAndSubmitTransaction(transaction, feePayer) {
|
|
3656
|
+
const config = await getConfig();
|
|
3657
|
+
if (!config.authProvider) {
|
|
3658
|
+
throw new Error('Auth provider not initialized. Please call init() first.');
|
|
3659
|
+
}
|
|
3660
|
+
return config.authProvider.signAndSubmitTransaction(transaction, feePayer);
|
|
3661
|
+
}
|
|
3655
3662
|
|
|
3656
3663
|
const activeConnections = {};
|
|
3657
3664
|
const responseCache = {};
|
|
@@ -3852,5 +3859,5 @@ async function removeSubscription(connectionKey, subscription) {
|
|
|
3852
3859
|
delete activeConnections[connectionKey];
|
|
3853
3860
|
}
|
|
3854
3861
|
|
|
3855
|
-
export { ServerSessionManager, WebSessionManager, buildSetDocumentsTransaction, convertRemainingAccounts, createSessionWithPrivy, createSessionWithSignature, genAuthNonce, genSolanaMessage, get, getConfig, getFiles, getIdToken, init, refreshSession, runExpression, runExpressionMany, runQuery, runQueryMany, set, setFile, setMany, signMessage, signSessionCreateMessage, signTransaction, subscribe };
|
|
3862
|
+
export { ServerSessionManager, WebSessionManager, buildSetDocumentsTransaction, convertRemainingAccounts, createSessionWithPrivy, createSessionWithSignature, genAuthNonce, genSolanaMessage, get, getConfig, getFiles, getIdToken, init, refreshSession, runExpression, runExpressionMany, runQuery, runQueryMany, set, setFile, setMany, signAndSubmitTransaction, signMessage, signSessionCreateMessage, signTransaction, subscribe };
|
|
3856
3863
|
//# sourceMappingURL=index.mjs.map
|