caldav-adapter 9.3.10 → 9.3.11
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/index.js +14 -11
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -44,17 +44,20 @@ module.exports = function (options) {
|
|
|
44
44
|
principalRegex.keys
|
|
45
45
|
);
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
//
|
|
48
|
+
// IMPORTANT: forward the *entire* options object (not just `data`,
|
|
49
|
+
// `logEnabled`, and `logLevel`) so that downstream tag handlers
|
|
50
|
+
// (common/tags.js) receive `pushTopicProvider`, `pushSubscriptionURL`,
|
|
51
|
+
// `pushEnv`, and `pushRefreshInterval`. Without this, iOS Calendar
|
|
52
|
+
// never sees the <CS:push-transports> advertisement on the calendar
|
|
53
|
+
// home and never POSTs to /apns to register for silent push (the
|
|
54
|
+
// tags handler short-circuits via `typeof options.pushTopicProvider
|
|
55
|
+
// !== 'function'`). See Apple's caldav-pubsubdiscovery.txt:
|
|
56
|
+
// https://github.com/apple/ccs-calendarserver/blob/master/doc/Extensions/caldav-pubsubdiscovery.txt
|
|
57
|
+
//
|
|
58
|
+
const calendarRoutes = cal(options);
|
|
59
|
+
|
|
60
|
+
const principalRoutes = pri(options);
|
|
58
61
|
|
|
59
62
|
const fillParameters = function (ctx) {
|
|
60
63
|
ctx.state.params = {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caldav-adapter",
|
|
3
3
|
"description": "CalDAV server for Node.js and Koa. Modernized and maintained for Forward Email.",
|
|
4
|
-
"version": "9.3.
|
|
4
|
+
"version": "9.3.11",
|
|
5
5
|
"author": "Sanders DeNardi and Forward Email LLC",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Sanders DeNardi <sedenardi@gmail.com> (http://www.sandersdenardi.com/)",
|