@balena/balena-pricing 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.
- package/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ let pricing = new CreditPricing({
|
|
|
46
46
|
// Use production credit pricing parameters.
|
|
47
47
|
// Target most recent versions valid up to a given date.
|
|
48
48
|
let pricing = new CreditPricing({
|
|
49
|
-
target: new Date('2023-03-01T00:00:
|
|
49
|
+
target: new Date('2023-03-01T00:00:00Z'),
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
// Use custom credit pricing parameters.
|
|
@@ -57,7 +57,7 @@ pricing = CreditPricing({
|
|
|
57
57
|
'foo:bar': [
|
|
58
58
|
{
|
|
59
59
|
version: 1,
|
|
60
|
-
validFrom: new Date('2023-02-01T00:00:
|
|
60
|
+
validFrom: new Date('2023-02-01T00:00:00Z'),
|
|
61
61
|
basePriceCents: 150,
|
|
62
62
|
firstDiscountPriceCents: 149,
|
|
63
63
|
discountRate: 0.33,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/balena-pricing",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Balena pricing/savings calculators",
|
|
5
5
|
"homepage": "https://github.com/balena-io-modules/balena-pricing#readme",
|
|
6
6
|
"main": "dist",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"_": "test/*.spec.ts"
|
|
68
68
|
},
|
|
69
69
|
"versionist": {
|
|
70
|
-
"publishedAt": "2023-02-
|
|
70
|
+
"publishedAt": "2023-02-14T13:58:05.718Z"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"typed-error": "^3.2.1"
|