@indigo-labs/indigo-sdk 0.3.24 → 0.3.25

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.js CHANGED
@@ -7218,7 +7218,7 @@ async function requestSpAccountCreation(assetAscii, amount, sysParams, lucid) {
7218
7218
  const datum = {
7219
7219
  owner: (0, import_lucid29.fromHex)(pkh.hash),
7220
7220
  iasset,
7221
- state: initSpState,
7221
+ state: { ...initSpState, depositVal: mkSPInteger(amount) },
7222
7222
  assetSums: [],
7223
7223
  request: "Create",
7224
7224
  lastRequestProcessingTime: 0n
package/dist/index.mjs CHANGED
@@ -6988,7 +6988,7 @@ async function requestSpAccountCreation(assetAscii, amount, sysParams, lucid) {
6988
6988
  const datum = {
6989
6989
  owner: fromHex9(pkh.hash),
6990
6990
  iasset,
6991
- state: initSpState,
6991
+ state: { ...initSpState, depositVal: mkSPInteger(amount) },
6992
6992
  assetSums: [],
6993
6993
  request: "Create",
6994
6994
  lastRequestProcessingTime: 0n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigo-labs/indigo-sdk",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "Indigo SDK for interacting with Indigo endpoints via lucid-evolution",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -79,7 +79,7 @@ export async function requestSpAccountCreation(
79
79
  const datum: AccountContent = {
80
80
  owner: fromHex(pkh.hash),
81
81
  iasset: iasset,
82
- state: initSpState,
82
+ state: { ...initSpState, depositVal: mkSPInteger(amount) },
83
83
  assetSums: [],
84
84
  request: 'Create',
85
85
  lastRequestProcessingTime: 0n,