@spicenet-io/spiceflow-ui 1.9.33 → 1.9.34

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/index.cjs.js CHANGED
@@ -5265,14 +5265,13 @@ const DepositWidget = ({
5265
5265
  const authorizations = [];
5266
5266
  for (const chainId of uniqueChainIds) {
5267
5267
  const client = getClientForChain(chainId);
5268
- getDelegateContractAddress(chainId);
5268
+ const delegateContract = getDelegateContractAddress(chainId);
5269
5269
  const nonce = await spiceflowCore.getAccountNonce(
5270
5270
  address,
5271
5271
  client
5272
5272
  );
5273
5273
  const auth = await actions.signAuthorization({
5274
- contractAddress: address,
5275
- // smart account address
5274
+ contractAddress: delegateContract,
5276
5275
  chainId,
5277
5276
  nonce: Number(nonce)
5278
5277
  });
package/dist/index.js CHANGED
@@ -5263,14 +5263,13 @@ const DepositWidget = ({
5263
5263
  const authorizations = [];
5264
5264
  for (const chainId of uniqueChainIds) {
5265
5265
  const client = getClientForChain(chainId);
5266
- getDelegateContractAddress(chainId);
5266
+ const delegateContract = getDelegateContractAddress(chainId);
5267
5267
  const nonce = await getAccountNonce(
5268
5268
  address,
5269
5269
  client
5270
5270
  );
5271
5271
  const auth = await actions.signAuthorization({
5272
- contractAddress: address,
5273
- // smart account address
5272
+ contractAddress: delegateContract,
5274
5273
  chainId,
5275
5274
  nonce: Number(nonce)
5276
5275
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "1.9.33",
3
+ "version": "1.9.34",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",