@web3auth/no-modal 10.12.0 → 10.13.0

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.
@@ -147,7 +147,7 @@ const getWalletServicesAnalyticsProperties = walletServicesConfig => {
147
147
  ws_default_portfolio: walletServicesConfig === null || walletServicesConfig === void 0 || (_walletServicesConfig10 = walletServicesConfig.whiteLabel) === null || _walletServicesConfig10 === void 0 ? void 0 : _walletServicesConfig10.defaultPortfolio
148
148
  };
149
149
  };
150
- const sdkVersion = "10.12.0";
150
+ const sdkVersion = "10.13.0";
151
151
  const getErrorAnalyticsProperties = error => {
152
152
  try {
153
153
  const code = error instanceof index.Web3AuthError ? error.code : error === null || error === void 0 ? void 0 : error.code;
@@ -57,7 +57,6 @@ function getProviderHandlers({
57
57
  value,
58
58
  data
59
59
  } = txParams;
60
- // @ts-expect-error viem types are too deep
61
60
  const userOperationParams = {
62
61
  account: smartAccount,
63
62
  calls: [{
@@ -34,9 +34,18 @@ export declare const defaultWagmiConfig: import("wagmi").Config<readonly [{
34
34
  sourceId?: number | undefined | undefined;
35
35
  testnet?: boolean | undefined | undefined;
36
36
  custom?: Record<string, unknown> | undefined;
37
+ extendSchema?: Record<string, unknown> | undefined;
37
38
  fees?: import("viem").ChainFees<undefined> | undefined;
38
39
  formatters?: undefined;
40
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
41
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
42
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
43
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
44
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
45
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
46
+ }] | undefined;
39
47
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
48
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
40
49
  }], {
41
50
  1: import("viem").HttpTransport<undefined, false>;
42
51
  }, readonly []>;
@@ -34,9 +34,18 @@ export declare const defaultWagmiConfig: import("wagmi").Config<readonly [{
34
34
  sourceId?: number | undefined | undefined;
35
35
  testnet?: boolean | undefined | undefined;
36
36
  custom?: Record<string, unknown> | undefined;
37
+ extendSchema?: Record<string, unknown> | undefined;
37
38
  fees?: import("viem").ChainFees<undefined> | undefined;
38
39
  formatters?: undefined;
40
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
41
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
42
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
43
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
44
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
45
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
46
+ }] | undefined;
39
47
  serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
48
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
40
49
  }], {
41
50
  1: import("viem").HttpTransport<undefined, false>;
42
51
  }, readonly []>;
@@ -146,7 +146,7 @@ const getWalletServicesAnalyticsProperties = walletServicesConfig => {
146
146
  ws_default_portfolio: walletServicesConfig === null || walletServicesConfig === void 0 || (_walletServicesConfig10 = walletServicesConfig.whiteLabel) === null || _walletServicesConfig10 === void 0 ? void 0 : _walletServicesConfig10.defaultPortfolio
147
147
  };
148
148
  };
149
- const sdkVersion = "10.12.0";
149
+ const sdkVersion = "10.13.0";
150
150
  const getErrorAnalyticsProperties = error => {
151
151
  try {
152
152
  const code = error instanceof Web3AuthError ? error.code : error === null || error === void 0 ? void 0 : error.code;
@@ -43,7 +43,6 @@ function getProviderHandlers({
43
43
  value,
44
44
  data
45
45
  } = txParams;
46
- // @ts-expect-error viem types are too deep
47
46
  const userOperationParams = {
48
47
  account: smartAccount,
49
48
  calls: [{