@pylonsync/sdk 0.22.26 → 0.22.27

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/index.d.ts CHANGED
@@ -1107,6 +1107,11 @@ export type AuthConfig = {
1107
1107
  * with `slugField`, its slug) onto the mirror. The org entity must
1108
1108
  * declare `externalIdField` (and `slugField`) as
1109
1109
  * `field.string().optional().unique()`.
1110
+ *
1111
+ * Memberships refresh from the IdP on sign-in, and at most every 5
1112
+ * minutes while the user is signed in (triggered by
1113
+ * `GET /api/auth/me`). `POST /api/auth/orgs/refresh` refreshes them
1114
+ * at once, at most every 10 seconds per user.
1110
1115
  */
1111
1116
  federation?: {
1112
1117
  /** OAuth provider id whose `orgs` claim is trusted, e.g. `"stack0"`. */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.22.26",
6
+ "version": "0.22.27",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "types": "./dist/index.d.ts",
package/src/index.ts CHANGED
@@ -2056,6 +2056,11 @@ export type AuthConfig = {
2056
2056
  * with `slugField`, its slug) onto the mirror. The org entity must
2057
2057
  * declare `externalIdField` (and `slugField`) as
2058
2058
  * `field.string().optional().unique()`.
2059
+ *
2060
+ * Memberships refresh from the IdP on sign-in, and at most every 5
2061
+ * minutes while the user is signed in (triggered by
2062
+ * `GET /api/auth/me`). `POST /api/auth/orgs/refresh` refreshes them
2063
+ * at once, at most every 10 seconds per user.
2059
2064
  */
2060
2065
  federation?: {
2061
2066
  /** OAuth provider id whose `orgs` claim is trusted, e.g. `"stack0"`. */