@jobber/formatters 0.2.2-rc.42 → 0.2.2

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/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.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const glob: {};
1
+ declare const glob: Record<string, unknown> | (Window & typeof globalThis);
2
2
  export { glob as global };
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,14 +1,13 @@
1
1
  {
2
2
  "name": "@jobber/formatters",
3
- "version": "0.2.2-rc.42+3d350ab4",
3
+ "version": "0.2.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc --project .",
9
9
  "clean": "rm -rf dist/* tsconfig.tsbuildinfo",
10
- "prepare": "npm run clean; npm run build",
11
- "ci:typescript-compile": "npm run prepare"
10
+ "prepare": "npm run clean; npm run build"
12
11
  },
13
12
  "files": [
14
13
  "dist/*"
@@ -16,5 +15,5 @@
16
15
  "devDependencies": {
17
16
  "typescript": "^3.8.3"
18
17
  },
19
- "gitHead": "3d350ab43df4707a91d0dd1b224e2596787cba4c"
18
+ "gitHead": "c92b6e7287a47c05434202bfbcd04375b6a7086f"
20
19
  }
package/CHANGELOG.md DELETED
@@ -1,35 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
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
-
14
- # [0.2.0](https://github.com/GetJobber/atlantis/compare/@jobber/formatters@0.1.0...@jobber/formatters@0.2.0) (2021-07-06)
15
-
16
-
17
- ### Features
18
-
19
- * **hooks:** add useCollectionQuery and useIsMounted [JOB-32207] ([#561](https://github.com/GetJobber/atlantis/issues/561)) ([8efccf8](https://github.com/GetJobber/atlantis/commit/8efccf8398f6e1d9278248ca4ec40327d11f9782)), closes [#562](https://github.com/GetJobber/atlantis/issues/562) [#575](https://github.com/GetJobber/atlantis/issues/575) [#565](https://github.com/GetJobber/atlantis/issues/565)
20
-
21
-
22
-
23
-
24
-
25
- # [0.1.0](https://github.com/GetJobber/atlantis/compare/@jobber/formatters@0.0.4...@jobber/formatters@0.1.0) (2021-02-01)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * Build css types on save ([#255](https://github.com/GetJobber/atlantis/issues/255)) ([91862b0](https://github.com/GetJobber/atlantis/commit/91862b007a006c42a22d39389639c0598efc19c5))
31
-
32
-
33
- ### Features
34
-
35
- * **components:** add action buttons to Page component ([#248](https://github.com/GetJobber/atlantis/issues/248)) ([a69a008](https://github.com/GetJobber/atlantis/commit/a69a0089bd66652a617140d9d5fc312d9060cb07))