@fileverse-dev/fortune-react 1.0.70 → 1.0.72

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.
@@ -115,6 +115,7 @@ var __generator = this && this.__generator || function (thisArg, body) {
115
115
  };
116
116
  import { getFlowdata } from "@fileverse-dev/fortune-core";
117
117
  import { getCachedPrice } from "./cryptoApi";
118
+ import { api } from "@fileverse-dev/fortune-core";
118
119
  export var getFiatSymbol = function getFiatSymbol(code) {
119
120
  switch (code) {
120
121
  case "USD":
@@ -298,6 +299,9 @@ export function convertCellsToCrypto(_a) {
298
299
  d[row][col] = cellCp;
299
300
  });
300
301
  });
302
+ setContext(function (ctx) {
303
+ api.calculateSheetFromula(ctx, ctx.currentSheetId);
304
+ });
301
305
  return [2];
302
306
  });
303
307
  });
@@ -305,6 +305,9 @@ function convertCellsToCrypto(_a) {
305
305
  d[row][col] = cellCp;
306
306
  });
307
307
  });
308
+ setContext(function (ctx) {
309
+ _fortuneCore.api.calculateSheetFromula(ctx, ctx.currentSheetId);
310
+ });
308
311
  return [2];
309
312
  });
310
313
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.0.70",
3
+ "version": "1.0.72",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.0.70",
19
+ "@fileverse-dev/fortune-core": "1.0.72",
20
20
  "@fileverse/ui": "^4.1.7-patch-20",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",