@dignetwork/dig-sdk 0.0.1-alpha.112 → 0.0.1-alpha.113

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.
@@ -1 +1 @@
1
- {"version":3,"file":"StoreInfoCacheUpdater.d.ts","sourceRoot":"","sources":["../../src/blockchain/StoreInfoCacheUpdater.ts"],"names":[],"mappings":"AAYA,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAwB;IAC/C,OAAO,CAAC,cAAc,CAInB;IACH,OAAO,CAAC,QAAQ,CAAyC;IACzD,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,WAAW,CAAsC;IACzD,OAAO,CAAC,YAAY,CAAiB;IAErC,OAAO;WAUO,YAAY,IAAI,qBAAqB;YAQrC,aAAa;YAsDb,YAAY;IAoH1B,OAAO,CAAC,oBAAoB;CAM7B"}
1
+ {"version":3,"file":"StoreInfoCacheUpdater.d.ts","sourceRoot":"","sources":["../../src/blockchain/StoreInfoCacheUpdater.ts"],"names":[],"mappings":"AAYA,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAwB;IAC/C,OAAO,CAAC,cAAc,CAInB;IACH,OAAO,CAAC,QAAQ,CAAyC;IACzD,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,WAAW,CAAsC;IACzD,OAAO,CAAC,YAAY,CAAiB;IAErC,OAAO;WAUO,YAAY,IAAI,qBAAqB;YAQrC,aAAa;YAsDb,YAAY;IAwH1B,OAAO,CAAC,oBAAoB;CAM7B"}
@@ -120,8 +120,10 @@ class StoreInfoCacheUpdater {
120
120
  });
121
121
  // Get the coinId associated with the store
122
122
  const coinId = (0, datalayer_driver_1.getCoinId)(latestStore.coin);
123
+ console.log(`Waiting for coin to be spent: ${coinId.toString("hex")}`);
123
124
  // Wait for the coin to be spent
124
125
  await peer.waitForCoinToBeSpent(coinId, latestHeight, Buffer.from(latestHash, "hex"));
126
+ console.log(`Detected Coin Spend: ${coinId.toString("hex")}`);
125
127
  let updatedStore, newHeight;
126
128
  try {
127
129
  // When resolved, sync the store
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dignetwork/dig-sdk",
3
- "version": "0.0.1-alpha.112",
3
+ "version": "0.0.1-alpha.113",
4
4
  "description": "",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",