@spicenet-io/spiceflow-ui 1.9.29 → 1.9.31

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
@@ -5283,10 +5283,11 @@ const DepositWidget = ({
5283
5283
  if (!signature) throw new Error("Failed to sign intent authorization");
5284
5284
  const intent = {
5285
5285
  mode: "7702",
5286
- signatureType: "eip712",
5286
+ signatureType: "ecdsa",
5287
5287
  signature,
5288
5288
  nbf: 0,
5289
- exp: 0,
5289
+ exp: Math.floor(Date.now() / 1e3) + 60 * 10,
5290
+ // 10 minutes from now
5290
5291
  chainBatches: hashedChainBatches.map((b) => ({
5291
5292
  hash: b.hash,
5292
5293
  chainId: b.chainId,
package/dist/index.js CHANGED
@@ -5281,10 +5281,11 @@ const DepositWidget = ({
5281
5281
  if (!signature) throw new Error("Failed to sign intent authorization");
5282
5282
  const intent = {
5283
5283
  mode: "7702",
5284
- signatureType: "eip712",
5284
+ signatureType: "ecdsa",
5285
5285
  signature,
5286
5286
  nbf: 0,
5287
- exp: 0,
5287
+ exp: Math.floor(Date.now() / 1e3) + 60 * 10,
5288
+ // 10 minutes from now
5288
5289
  chainBatches: hashedChainBatches.map((b) => ({
5289
5290
  hash: b.hash,
5290
5291
  chainId: b.chainId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "1.9.29",
3
+ "version": "1.9.31",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",