@jobber/formatters 0.2.2-pre.42 → 0.2.2-pre.46
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 +0 -1
- package/dist/currency.js +0 -1
- package/dist/global.js +0 -1
- package/dist/index.js +5 -13
- package/package.json +2 -2
- package/CHANGELOG.md +0 -35
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
package/dist/index.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
14
|
-
|
|
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.2-pre.
|
|
3
|
+
"version": "0.2.2-pre.46+f52dea65",
|
|
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": "
|
|
19
|
+
"gitHead": "f52dea659949c25c79a3f3fa4191e4f8fd4c3636"
|
|
20
20
|
}
|
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))
|