@drawbridge/drawbridge-utils 0.0.114 → 0.0.116

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
@@ -105,6 +105,21 @@ var field = {
105
105
  }
106
106
  };
107
107
  var connection = {
108
+ attentive: {
109
+ key: "organization:connection:attentive",
110
+ error: "Plan does not include Attentive connection",
111
+ feature: "Attentive connection"
112
+ },
113
+ // Klaviyo shipped without an entry here, which meant no plan GRANTED its
114
+ // key and the feature gate denied every non-admin request — a latent 403
115
+ // found while adding Attentive. getPlanFeature answers granted:false for a
116
+ // key absent from the plan's map, so a manifest feature key that appears in
117
+ // no plan list is a connection only admins can manage.
118
+ klaviyo: {
119
+ key: "organization:connection:klaviyo",
120
+ error: "Plan does not include Klaviyo connection",
121
+ feature: "Klaviyo connection"
122
+ },
108
123
  mailchimp: {
109
124
  key: "organization:connection:mailchimp",
110
125
  error: "Plan does not include Mailchimp connection",
@@ -287,6 +302,8 @@ var unitAmountDecimal = (cents) => {
287
302
  };
288
303
  var all = {
289
304
  features: (array = []) => featuresFor([
305
+ connection.attentive.key,
306
+ connection.klaviyo.key,
290
307
  connection.mailchimp.key,
291
308
  connection.sendgrid.key,
292
309
  connection.shopify.key,
package/dist/plans.d.cts CHANGED
@@ -67,6 +67,8 @@ const unitAmountDecimal = ( cents ) => {
67
67
 
68
68
  const all = {
69
69
  features : ( array = [] ) => featuresFor([
70
+ connection.attentive.key,
71
+ connection.klaviyo.key,
70
72
  connection.mailchimp.key,
71
73
  connection.sendgrid.key,
72
74
  connection.shopify.key,
package/dist/plans.d.ts CHANGED
@@ -67,6 +67,8 @@ const unitAmountDecimal = ( cents ) => {
67
67
 
68
68
  const all = {
69
69
  features : ( array = [] ) => featuresFor([
70
+ connection.attentive.key,
71
+ connection.klaviyo.key,
70
72
  connection.mailchimp.key,
71
73
  connection.sendgrid.key,
72
74
  connection.shopify.key,
package/dist/plans.js CHANGED
@@ -66,6 +66,21 @@ var field = {
66
66
  }
67
67
  };
68
68
  var connection = {
69
+ attentive: {
70
+ key: "organization:connection:attentive",
71
+ error: "Plan does not include Attentive connection",
72
+ feature: "Attentive connection"
73
+ },
74
+ // Klaviyo shipped without an entry here, which meant no plan GRANTED its
75
+ // key and the feature gate denied every non-admin request — a latent 403
76
+ // found while adding Attentive. getPlanFeature answers granted:false for a
77
+ // key absent from the plan's map, so a manifest feature key that appears in
78
+ // no plan list is a connection only admins can manage.
79
+ klaviyo: {
80
+ key: "organization:connection:klaviyo",
81
+ error: "Plan does not include Klaviyo connection",
82
+ feature: "Klaviyo connection"
83
+ },
69
84
  mailchimp: {
70
85
  key: "organization:connection:mailchimp",
71
86
  error: "Plan does not include Mailchimp connection",
@@ -248,6 +263,8 @@ var unitAmountDecimal = (cents) => {
248
263
  };
249
264
  var all = {
250
265
  features: (array = []) => featuresFor([
266
+ connection.attentive.key,
267
+ connection.klaviyo.key,
251
268
  connection.mailchimp.key,
252
269
  connection.sendgrid.key,
253
270
  connection.shopify.key,
package/dist/pricing.cjs CHANGED
@@ -116,6 +116,21 @@ var field = {
116
116
  }
117
117
  };
118
118
  var connection = {
119
+ attentive: {
120
+ key: "organization:connection:attentive",
121
+ error: "Plan does not include Attentive connection",
122
+ feature: "Attentive connection"
123
+ },
124
+ // Klaviyo shipped without an entry here, which meant no plan GRANTED its
125
+ // key and the feature gate denied every non-admin request — a latent 403
126
+ // found while adding Attentive. getPlanFeature answers granted:false for a
127
+ // key absent from the plan's map, so a manifest feature key that appears in
128
+ // no plan list is a connection only admins can manage.
129
+ klaviyo: {
130
+ key: "organization:connection:klaviyo",
131
+ error: "Plan does not include Klaviyo connection",
132
+ feature: "Klaviyo connection"
133
+ },
119
134
  mailchimp: {
120
135
  key: "organization:connection:mailchimp",
121
136
  error: "Plan does not include Mailchimp connection",
@@ -298,6 +313,8 @@ var unitAmountDecimal = (cents) => {
298
313
  };
299
314
  var all = {
300
315
  features: (array = []) => featuresFor([
316
+ connection.attentive.key,
317
+ connection.klaviyo.key,
301
318
  connection.mailchimp.key,
302
319
  connection.sendgrid.key,
303
320
  connection.shopify.key,
package/dist/pricing.js CHANGED
@@ -66,6 +66,21 @@ var field = {
66
66
  }
67
67
  };
68
68
  var connection = {
69
+ attentive: {
70
+ key: "organization:connection:attentive",
71
+ error: "Plan does not include Attentive connection",
72
+ feature: "Attentive connection"
73
+ },
74
+ // Klaviyo shipped without an entry here, which meant no plan GRANTED its
75
+ // key and the feature gate denied every non-admin request — a latent 403
76
+ // found while adding Attentive. getPlanFeature answers granted:false for a
77
+ // key absent from the plan's map, so a manifest feature key that appears in
78
+ // no plan list is a connection only admins can manage.
79
+ klaviyo: {
80
+ key: "organization:connection:klaviyo",
81
+ error: "Plan does not include Klaviyo connection",
82
+ feature: "Klaviyo connection"
83
+ },
69
84
  mailchimp: {
70
85
  key: "organization:connection:mailchimp",
71
86
  error: "Plan does not include Mailchimp connection",
@@ -248,6 +263,8 @@ var unitAmountDecimal = (cents) => {
248
263
  };
249
264
  var all = {
250
265
  features: (array = []) => featuresFor([
266
+ connection.attentive.key,
267
+ connection.klaviyo.key,
251
268
  connection.mailchimp.key,
252
269
  connection.sendgrid.key,
253
270
  connection.shopify.key,
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "tinycolor2": "1.6.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@drawbridge/drawbridge-agents": "0.1.37",
16
+ "@drawbridge/drawbridge-agents": "0.1.40",
17
17
  "@node-oauth/oauth2-server": "5.3.0",
18
18
  "tsup": "8.5.1",
19
19
  "typescript": "5.9.3",
@@ -210,5 +210,5 @@
210
210
  "test": ". \"$HOME/.nvm/nvm.sh\" && nvm use && node --test"
211
211
  },
212
212
  "types": "dist/index.d.ts",
213
- "version": "0.0.114"
213
+ "version": "0.0.116"
214
214
  }