@etsoo/appscript 1.1.0 → 1.1.1

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.
@@ -195,7 +195,7 @@ class CoreApp {
195
195
  * @returns Result
196
196
  */
197
197
  formatMoney(input, isInteger = false, options) {
198
- return shared_1.NumberUtils.formatMoney(input, this.region, this.culture, isInteger, options);
198
+ return shared_1.NumberUtils.formatMoney(input, this.currency, this.culture, isInteger, options);
199
199
  }
200
200
  /**
201
201
  * Format number
@@ -192,7 +192,7 @@ export class CoreApp {
192
192
  * @returns Result
193
193
  */
194
194
  formatMoney(input, isInteger = false, options) {
195
- return NumberUtils.formatMoney(input, this.region, this.culture, isInteger, options);
195
+ return NumberUtils.formatMoney(input, this.currency, this.culture, isInteger, options);
196
196
  }
197
197
  /**
198
198
  * Format number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -49,7 +49,7 @@
49
49
  "dependencies": {
50
50
  "@etsoo/notificationbase": "^1.0.78",
51
51
  "@etsoo/restclient": "^1.0.51",
52
- "@etsoo/shared": "^1.0.45"
52
+ "@etsoo/shared": "^1.0.46"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@babel/cli": "^7.15.7",
@@ -477,7 +477,7 @@ export abstract class CoreApp<S extends IAppSettings, N>
477
477
  ) {
478
478
  return NumberUtils.formatMoney(
479
479
  input,
480
- this.region,
480
+ this.currency,
481
481
  this.culture,
482
482
  isInteger,
483
483
  options