@bounded-sh/core 0.0.19 → 0.0.20
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 +0 -1
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -5
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5149,11 +5149,8 @@ async function setMany(many, options) {
|
|
|
5149
5149
|
async function handleOffchainTransaction(tx, authProvider, options) {
|
|
5150
5150
|
var _a, _b, _c, _d, _e, _f;
|
|
5151
5151
|
const config = await getConfig();
|
|
5152
|
-
// 1. Sign the transaction message using
|
|
5153
|
-
|
|
5154
|
-
const signature = authProvider.signMessageMock
|
|
5155
|
-
? await authProvider.signMessageMock(tx.message)
|
|
5156
|
-
: await authProvider.signMessage(tx.message);
|
|
5152
|
+
// 1. Sign the transaction message using the provider's canonical signer.
|
|
5153
|
+
const signature = await authProvider.signMessage(tx.message);
|
|
5157
5154
|
// 2. Create signed transaction
|
|
5158
5155
|
const signedTx = {
|
|
5159
5156
|
transaction: tx,
|