@getstrata/core 0.5.48 → 0.5.49

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.
@@ -96,9 +96,6 @@ function runWithTenant(tenant, callback) {
96
96
  function currentTenant() {
97
97
  return tenantContext.getStore() ?? null;
98
98
  }
99
- function currentTenantId() {
100
- return currentTenant()?.id ?? 1;
101
- }
102
99
  function rateLimitMultiplierForPlan(plan) {
103
100
  switch (plan) {
104
101
  case "enterprise":
@@ -107,9 +107,6 @@ function runWithTenant(tenant, callback) {
107
107
  function currentTenant() {
108
108
  return tenantContext.getStore() ?? null;
109
109
  }
110
- function currentTenantId() {
111
- return currentTenant()?.id ?? 1;
112
- }
113
110
  function rateLimitMultiplierForPlan(plan) {
114
111
  switch (plan) {
115
112
  case "enterprise":
@@ -96,9 +96,6 @@ function runWithTenant(tenant, callback) {
96
96
  function currentTenant() {
97
97
  return tenantContext.getStore() ?? null;
98
98
  }
99
- function currentTenantId() {
100
- return currentTenant()?.id ?? 1;
101
- }
102
99
  function rateLimitMultiplierForPlan(plan) {
103
100
  switch (plan) {
104
101
  case "enterprise":
@@ -285,9 +285,6 @@ function runWithTenant(tenant, callback) {
285
285
  function currentTenant() {
286
286
  return tenantContext.getStore() ?? null;
287
287
  }
288
- function currentTenantId() {
289
- return currentTenant()?.id ?? 1;
290
- }
291
288
  function rateLimitMultiplierForPlan(plan) {
292
289
  switch (plan) {
293
290
  case "enterprise":
@@ -33,9 +33,6 @@ function runWithTenant(tenant, callback) {
33
33
  function currentTenant() {
34
34
  return tenantContext.getStore() ?? null;
35
35
  }
36
- function currentTenantId() {
37
- return currentTenant()?.id ?? 1;
38
- }
39
36
  function rateLimitMultiplierForPlan(plan) {
40
37
  switch (plan) {
41
38
  case "enterprise":