@jskit-ai/push-core 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/package.json +10 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - Its migrations declare `"after": ["@jskit-ai/users-core"]`: they create a key to `users` with their tables, and ran before users-core created it on a new database (path order), which MySQL and PostgreSQL refuse.
5
6
  - Quiet hours with one end are refused with the empty end in `details.fieldErrors` (`quietFrom` or `quietTo`, codes `push.settings.quietFromRequired` and `push.settings.quietToRequired`), so the field shows it. The refusals of a browser subscription, an unknown push service and an unknown time zone now say what the person can do.
6
7
  - The manifest's `jskit.capabilities.requires` lists `runtime.env` and `runtime.logger`, which `PushFeature` requires; without them an app's server stopped at start-up.
7
8
  - A deleted account's devices and settings are forgotten on `account.deleting`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/push-core",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "jskit test"
@@ -82,18 +82,22 @@
82
82
  "migrations": {
83
83
  "directories": [
84
84
  "migrations"
85
+ ],
86
+ "after": [
87
+ "@jskit-ai/users-core"
85
88
  ]
86
89
  }
87
90
  },
88
91
  "dependencies": {
89
- "@jskit-ai/resource-core": "0.1.234",
92
+ "@jskit-ai/resource-core": "0.1.235",
90
93
  "json-rest-schema": "^1.0.20",
91
94
  "web-push": "4.0.0"
92
95
  },
93
96
  "peerDependencies": {
94
- "@jskit-ai/database-runtime": "0.1.301",
95
- "@jskit-ai/http-runtime": "0.2.45",
96
- "@jskit-ai/kernel": "0.2.43",
97
- "@jskit-ai/resource-runtime": "0.2.68"
97
+ "@jskit-ai/database-runtime": "0.1.302",
98
+ "@jskit-ai/http-runtime": "0.2.46",
99
+ "@jskit-ai/kernel": "0.2.44",
100
+ "@jskit-ai/resource-runtime": "0.2.69",
101
+ "@jskit-ai/users-core": "0.2.88"
98
102
  }
99
103
  }