@junobuild/config 0.1.0 → 0.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 CHANGED
@@ -184,9 +184,10 @@ Configuration for satellite assertions.
184
184
 
185
185
  Configure the behavior of Internet Identity.
186
186
 
187
- | Property | Type | Description |
188
- | ------------------ | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
189
- | `derivationOrigin` | `string or undefined` | This setting ensures that users are recognized on your app, regardless of whether they use the default URL or any other custom domain. For example, if set to hello.com, a user signing on at https://hello.com will receive the same identifier (principal) as when signing on at https://www.hello.com. type: {string}optional |
187
+ | Property | Type | Description |
188
+ | ---------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
189
+ | `derivationOrigin` | `string or undefined` | This setting ensures that users are recognized on your app, regardless of whether they use the default URL or any other custom domain. For example, if set to hello.com, a user signing on at https://hello.com will receive the same identifier (principal) as when signing on at https://www.hello.com. type: {string}optional |
190
+ | `externalAlternativeOrigins` | `string[] or undefined` | An optional list of external alternative origins allowed for authentication, which can be useful if you want to reuse the same derivation origin across multiple Satellites. type: {string[]}optional |
190
191
 
191
192
  #### :gear: AuthenticationConfig
192
193
 
@@ -10,6 +10,12 @@ export interface AuthenticationConfigInternetIdentity {
10
10
  * @optional
11
11
  */
12
12
  derivationOrigin?: string;
13
+ /**
14
+ * An optional list of external alternative origins allowed for authentication, which can be useful if you want to reuse the same derivation origin across multiple Satellites.
15
+ * @type {string[]}
16
+ * @optional
17
+ */
18
+ externalAlternativeOrigins?: string[];
13
19
  }
14
20
  /**
15
21
  * Configures the Authentication options of a Satellite.
@@ -63,6 +63,12 @@ export interface Rule {
63
63
  * @optional
64
64
  */
65
65
  maxSize?: number;
66
+ /**
67
+ * The maximum number of changes (create, update or delete) per user for the collection.
68
+ * @type {number}
69
+ * @optional
70
+ */
71
+ maxChangesPerUser?: number;
66
72
  /**
67
73
  * The maximum capacity of the collection.
68
74
  * @type {number}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/config",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Configuration options for Juno CLI",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",