@drawbridge/drawbridge-utils 0.0.95 → 0.0.96

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/plans.cjs CHANGED
@@ -284,7 +284,16 @@ var all = {
284
284
  page.shortcode.key,
285
285
  ...array
286
286
  ]),
287
- limits: ({ actions, members = infinite, storage }) => ({
287
+ // `members` and `storage` default to infinite so an unnamed term on a custom
288
+ // plan reads as UNLIMITED rather than absent. Storage used to have no
289
+ // default, so a deal that did not name it resolved to undefined and the
290
+ // organization's usage card simply omitted the row — the same blank field
291
+ // that showed "Unlimited" for members showed nothing at all for storage.
292
+ // Every catalog plan names both, so the defaults only ever apply to a
293
+ // custom plan. `actions` has no default on purpose: an unnamed allowance
294
+ // bills nothing, which is why the availability switch refuses to flip
295
+ // without one.
296
+ limits: ({ actions, members = infinite, storage = infinite }) => ({
288
297
  campaign: {
289
298
  advertisements: infinite,
290
299
  links: infinite,
package/dist/plans.d.cts CHANGED
@@ -53,7 +53,16 @@ const all = {
53
53
  page.shortcode.key,
54
54
  ...array
55
55
  ]),
56
- limits : ({ actions, members = infinite, storage }) => ({
56
+ // `members` and `storage` default to infinite so an unnamed term on a custom
57
+ // plan reads as UNLIMITED rather than absent. Storage used to have no
58
+ // default, so a deal that did not name it resolved to undefined and the
59
+ // organization's usage card simply omitted the row — the same blank field
60
+ // that showed "Unlimited" for members showed nothing at all for storage.
61
+ // Every catalog plan names both, so the defaults only ever apply to a
62
+ // custom plan. `actions` has no default on purpose: an unnamed allowance
63
+ // bills nothing, which is why the availability switch refuses to flip
64
+ // without one.
65
+ limits : ({ actions, members = infinite, storage = infinite }) => ({
57
66
  campaign : {
58
67
  advertisements : infinite,
59
68
  links : infinite,
package/dist/plans.d.ts CHANGED
@@ -53,7 +53,16 @@ const all = {
53
53
  page.shortcode.key,
54
54
  ...array
55
55
  ]),
56
- limits : ({ actions, members = infinite, storage }) => ({
56
+ // `members` and `storage` default to infinite so an unnamed term on a custom
57
+ // plan reads as UNLIMITED rather than absent. Storage used to have no
58
+ // default, so a deal that did not name it resolved to undefined and the
59
+ // organization's usage card simply omitted the row — the same blank field
60
+ // that showed "Unlimited" for members showed nothing at all for storage.
61
+ // Every catalog plan names both, so the defaults only ever apply to a
62
+ // custom plan. `actions` has no default on purpose: an unnamed allowance
63
+ // bills nothing, which is why the availability switch refuses to flip
64
+ // without one.
65
+ limits : ({ actions, members = infinite, storage = infinite }) => ({
57
66
  campaign : {
58
67
  advertisements : infinite,
59
68
  links : infinite,
package/dist/plans.js CHANGED
@@ -246,7 +246,16 @@ var all = {
246
246
  page.shortcode.key,
247
247
  ...array
248
248
  ]),
249
- limits: ({ actions, members = infinite, storage }) => ({
249
+ // `members` and `storage` default to infinite so an unnamed term on a custom
250
+ // plan reads as UNLIMITED rather than absent. Storage used to have no
251
+ // default, so a deal that did not name it resolved to undefined and the
252
+ // organization's usage card simply omitted the row — the same blank field
253
+ // that showed "Unlimited" for members showed nothing at all for storage.
254
+ // Every catalog plan names both, so the defaults only ever apply to a
255
+ // custom plan. `actions` has no default on purpose: an unnamed allowance
256
+ // bills nothing, which is why the availability switch refuses to flip
257
+ // without one.
258
+ limits: ({ actions, members = infinite, storage = infinite }) => ({
250
259
  campaign: {
251
260
  advertisements: infinite,
252
261
  links: infinite,
package/package.json CHANGED
@@ -169,5 +169,5 @@
169
169
  "test": ". \"$HOME/.nvm/nvm.sh\" && nvm use && node --test"
170
170
  },
171
171
  "types": "dist/index.d.ts",
172
- "version": "0.0.95"
172
+ "version": "0.0.96"
173
173
  }