@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/connections/index.cjs +312 -13
- package/dist/connections/index.d.cts +390 -14
- package/dist/connections/index.d.ts +390 -14
- package/dist/connections/index.js +311 -13
- package/dist/features.cjs +15 -0
- package/dist/features.d.cts +15 -0
- package/dist/features.d.ts +15 -0
- package/dist/features.js +15 -0
- package/dist/fields-validate.js +1 -1
- package/dist/phone.cjs +12 -0
- package/dist/phone.d.cts +30 -2
- package/dist/phone.d.ts +30 -2
- package/dist/phone.js +12 -1
- package/dist/plans.cjs +17 -0
- package/dist/plans.d.cts +2 -0
- package/dist/plans.d.ts +2 -0
- package/dist/plans.js +17 -0
- package/dist/pricing.cjs +17 -0
- package/dist/pricing.js +17 -0
- package/package.json +2 -2
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
package/dist/plans.d.ts
CHANGED
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.
|
|
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.
|
|
213
|
+
"version": "0.0.116"
|
|
214
214
|
}
|