@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.
@@ -75,7 +75,6 @@ export interface ClientConfig {
75
75
  cluster?: string;
76
76
  theme?: 'light' | 'dark';
77
77
  };
78
- mockAuth?: boolean;
79
78
  }
80
79
  export declare let clientConfig: ClientConfig;
81
80
  type BoundedEndpoints = Pick<ClientConfig, 'wsApiUrl' | 'apiUrl' | 'authApiUrl' | 'humanAuthApiUrl' | 'functionsUrl'>;
package/dist/index.js CHANGED
@@ -5169,11 +5169,8 @@ async function setMany(many, options) {
5169
5169
  async function handleOffchainTransaction(tx, authProvider, options) {
5170
5170
  var _a, _b, _c, _d, _e, _f;
5171
5171
  const config = await getConfig();
5172
- // 1. Sign the transaction message using mock signing for offchain transactions
5173
- // Use signMessageMock if available (OffchainAuthProvider), otherwise fall back to signMessage
5174
- const signature = authProvider.signMessageMock
5175
- ? await authProvider.signMessageMock(tx.message)
5176
- : await authProvider.signMessage(tx.message);
5172
+ // 1. Sign the transaction message using the provider's canonical signer.
5173
+ const signature = await authProvider.signMessage(tx.message);
5177
5174
  // 2. Create signed transaction
5178
5175
  const signedTx = {
5179
5176
  transaction: tx,