@jobber/formatters 0.2.1-pre.422 → 0.2.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.
package/CHANGELOG.md CHANGED
@@ -1,13 +1,16 @@
1
- ---
2
- name: Formatters
3
- menu: Changelog
4
- ---
5
-
6
- # @jobber/formatters: Change Log
1
+ # Change Log
7
2
 
8
3
  All notable changes to this project will be documented in this file.
9
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
10
5
 
6
+ ## [0.2.1](https://github.com/GetJobber/atlantis/compare/@jobber/formatters@0.2.0...@jobber/formatters@0.2.1) (2023-02-28)
7
+
8
+ **Note:** Version bump only for package @jobber/formatters
9
+
10
+
11
+
12
+
13
+
11
14
  # [0.2.0](https://github.com/GetJobber/atlantis/compare/@jobber/formatters@0.1.0...@jobber/formatters@0.2.0) (2021-07-06)
12
15
 
13
16
 
package/README.md CHANGED
@@ -1,9 +1,3 @@
1
- ---
2
- name: Formatters
3
- menu: Packages
4
- route: /packages/formatters
5
- ---
6
-
7
1
  # 🔱 Formatters
8
2
 
9
3
  ---
package/dist/config.js CHANGED
@@ -11,7 +11,6 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.config = void 0;
15
14
  var global_1 = require("./global");
16
15
  var configOverrides = (global_1.global.ATLANTIS_ENV || {}).config || {};
17
16
  exports.config = Object.freeze(__assign({ defaultCurrency: "USD", errorNotifier: function (message, error) {
package/dist/currency.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatCurrency = void 0;
4
3
  var config_1 = require("./config");
5
4
  function formatCurrency(amount, currency) {
6
5
  if (currency === void 0) { currency = config_1.config.defaultCurrency; }
package/dist/global.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.global = void 0;
4
3
  function getGlobal() {
5
4
  if (typeof window !== "undefined") {
6
5
  return window;
package/dist/index.js CHANGED
@@ -1,15 +1,7 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
2
+ function __export(m) {
3
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
+ }
12
5
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./currency"), exports);
14
- __exportStar(require("./CurrencyType"), exports);
15
- __exportStar(require("./config"), exports);
6
+ __export(require("./currency"));
7
+ __export(require("./config"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/formatters",
3
- "version": "0.2.1-pre.422+cdc9f63a",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -16,5 +16,5 @@
16
16
  "devDependencies": {
17
17
  "typescript": "^3.8.3"
18
18
  },
19
- "gitHead": "cdc9f63ad661eb2ed1941f492609553477153736"
19
+ "gitHead": "bb90f77e6a841ec59113b3a7931ff13039e7d9f5"
20
20
  }