@symbo.ls/sdk 2.33.2 → 2.33.3

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.
@@ -126,6 +126,22 @@ const CONFIG = {
126
126
  typesensePort: "443",
127
127
  typesenseProtocol: "https"
128
128
  },
129
+ preview: {
130
+ socketUrl: "https://api.symbols.app",
131
+ apiUrl: "https://api.symbols.app",
132
+ basedEnv: "production",
133
+ basedProject: "platform-v2-sm",
134
+ basedOrg: "symbols",
135
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
136
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
137
+ // For grafana tracing
138
+ grafanaAppName: "Symbols Preview",
139
+ typesenseCollectionName: "docs",
140
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
141
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
142
+ typesensePort: "443",
143
+ typesenseProtocol: "https"
144
+ },
129
145
  production: {
130
146
  socketUrl: "https://api.symbols.app",
131
147
  apiUrl: "https://api.symbols.app",
@@ -177,6 +193,7 @@ const getConfig = () => {
177
193
  isDevelopment: (0, import_utils.isDevelopment)(env),
178
194
  isTesting: env === "testing",
179
195
  isStaging: env === "staging",
196
+ isPreview: env === "preview",
180
197
  isProduction: env === "production"
181
198
  // Store all environment variables for potential future use
182
199
  };
package/dist/cjs/index.js CHANGED
@@ -64,6 +64,7 @@ class SDK {
64
64
  this._services = /* @__PURE__ */ new Map();
65
65
  this._context = {};
66
66
  this._options = this._validateOptions(options);
67
+ this.environment = import_environment.default;
67
68
  this.rootBus = import_rootEventBus.rootBus;
68
69
  this._createServiceProxies();
69
70
  }
@@ -104,6 +104,22 @@ var CONFIG = {
104
104
  typesensePort: "443",
105
105
  typesenseProtocol: "https"
106
106
  },
107
+ preview: {
108
+ socketUrl: "https://api.symbols.app",
109
+ apiUrl: "https://api.symbols.app",
110
+ basedEnv: "production",
111
+ basedProject: "platform-v2-sm",
112
+ basedOrg: "symbols",
113
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
114
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
115
+ // For grafana tracing
116
+ grafanaAppName: "Symbols Preview",
117
+ typesenseCollectionName: "docs",
118
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
119
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
120
+ typesensePort: "443",
121
+ typesenseProtocol: "https"
122
+ },
107
123
  production: {
108
124
  socketUrl: "https://api.symbols.app",
109
125
  apiUrl: "https://api.symbols.app",
@@ -154,6 +170,7 @@ var getConfig = () => {
154
170
  isDevelopment: isDevelopment(env),
155
171
  isTesting: env === "testing",
156
172
  isStaging: env === "staging",
173
+ isPreview: env === "preview",
157
174
  isProduction: env === "production"
158
175
  // Store all environment variables for potential future use
159
176
  };
package/dist/esm/index.js CHANGED
@@ -31066,6 +31066,22 @@ var CONFIG = {
31066
31066
  typesensePort: "443",
31067
31067
  typesenseProtocol: "https"
31068
31068
  },
31069
+ preview: {
31070
+ socketUrl: "https://api.symbols.app",
31071
+ apiUrl: "https://api.symbols.app",
31072
+ basedEnv: "production",
31073
+ basedProject: "platform-v2-sm",
31074
+ basedOrg: "symbols",
31075
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
31076
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
31077
+ // For grafana tracing
31078
+ grafanaAppName: "Symbols Preview",
31079
+ typesenseCollectionName: "docs",
31080
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
31081
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
31082
+ typesensePort: "443",
31083
+ typesenseProtocol: "https"
31084
+ },
31069
31085
  production: {
31070
31086
  socketUrl: "https://api.symbols.app",
31071
31087
  apiUrl: "https://api.symbols.app",
@@ -31116,6 +31132,7 @@ var getConfig = () => {
31116
31132
  isDevelopment: isDevelopment(env),
31117
31133
  isTesting: env === "testing",
31118
31134
  isStaging: env === "staging",
31135
+ isPreview: env === "preview",
31119
31136
  isProduction: env === "production"
31120
31137
  // Store all environment variables for potential future use
31121
31138
  };
@@ -48561,6 +48578,7 @@ var SDK = class {
48561
48578
  this._services = /* @__PURE__ */ new Map();
48562
48579
  this._context = {};
48563
48580
  this._options = this._validateOptions(options);
48581
+ this.environment = environment_default;
48564
48582
  this.rootBus = rootBus;
48565
48583
  this._createServiceProxies();
48566
48584
  }
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -14191,6 +14191,22 @@ var CONFIG = {
14191
14191
  typesensePort: "443",
14192
14192
  typesenseProtocol: "https"
14193
14193
  },
14194
+ preview: {
14195
+ socketUrl: "https://api.symbols.app",
14196
+ apiUrl: "https://api.symbols.app",
14197
+ basedEnv: "production",
14198
+ basedProject: "platform-v2-sm",
14199
+ basedOrg: "symbols",
14200
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
14201
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
14202
+ // For grafana tracing
14203
+ grafanaAppName: "Symbols Preview",
14204
+ typesenseCollectionName: "docs",
14205
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
14206
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
14207
+ typesensePort: "443",
14208
+ typesenseProtocol: "https"
14209
+ },
14194
14210
  production: {
14195
14211
  socketUrl: "https://api.symbols.app",
14196
14212
  apiUrl: "https://api.symbols.app",
@@ -14241,6 +14257,7 @@ var getConfig = () => {
14241
14257
  isDevelopment: isDevelopment(env),
14242
14258
  isTesting: env === "testing",
14243
14259
  isStaging: env === "staging",
14260
+ isPreview: env === "preview",
14244
14261
  isProduction: env === "production"
14245
14262
  // Store all environment variables for potential future use
14246
14263
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -108,6 +108,22 @@ var CONFIG = {
108
108
  typesensePort: "443",
109
109
  typesenseProtocol: "https"
110
110
  },
111
+ preview: {
112
+ socketUrl: "https://api.symbols.app",
113
+ apiUrl: "https://api.symbols.app",
114
+ basedEnv: "production",
115
+ basedProject: "platform-v2-sm",
116
+ basedOrg: "symbols",
117
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
118
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
119
+ // For grafana tracing
120
+ grafanaAppName: "Symbols Preview",
121
+ typesenseCollectionName: "docs",
122
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
123
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
124
+ typesensePort: "443",
125
+ typesenseProtocol: "https"
126
+ },
111
127
  production: {
112
128
  socketUrl: "https://api.symbols.app",
113
129
  apiUrl: "https://api.symbols.app",
@@ -158,6 +174,7 @@ var getConfig = () => {
158
174
  isDevelopment: isDevelopment(env),
159
175
  isTesting: env === "testing",
160
176
  isStaging: env === "staging",
177
+ isPreview: env === "preview",
161
178
  isProduction: env === "production"
162
179
  // Store all environment variables for potential future use
163
180
  };
@@ -17014,6 +17014,22 @@ var CONFIG = {
17014
17014
  typesensePort: "443",
17015
17015
  typesenseProtocol: "https"
17016
17016
  },
17017
+ preview: {
17018
+ socketUrl: "https://api.symbols.app",
17019
+ apiUrl: "https://api.symbols.app",
17020
+ basedEnv: "production",
17021
+ basedProject: "platform-v2-sm",
17022
+ basedOrg: "symbols",
17023
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
17024
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
17025
+ // For grafana tracing
17026
+ grafanaAppName: "Symbols Preview",
17027
+ typesenseCollectionName: "docs",
17028
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
17029
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
17030
+ typesensePort: "443",
17031
+ typesenseProtocol: "https"
17032
+ },
17017
17033
  production: {
17018
17034
  socketUrl: "https://api.symbols.app",
17019
17035
  apiUrl: "https://api.symbols.app",
@@ -17064,6 +17080,7 @@ var getConfig = () => {
17064
17080
  isDevelopment: isDevelopment(env),
17065
17081
  isTesting: env === "testing",
17066
17082
  isStaging: env === "staging",
17083
+ isPreview: env === "preview",
17067
17084
  isProduction: env === "production"
17068
17085
  // Store all environment variables for potential future use
17069
17086
  };
@@ -31066,6 +31066,22 @@ var CONFIG = {
31066
31066
  typesensePort: "443",
31067
31067
  typesenseProtocol: "https"
31068
31068
  },
31069
+ preview: {
31070
+ socketUrl: "https://api.symbols.app",
31071
+ apiUrl: "https://api.symbols.app",
31072
+ basedEnv: "production",
31073
+ basedProject: "platform-v2-sm",
31074
+ basedOrg: "symbols",
31075
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
31076
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
31077
+ // For grafana tracing
31078
+ grafanaAppName: "Symbols Preview",
31079
+ typesenseCollectionName: "docs",
31080
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
31081
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
31082
+ typesensePort: "443",
31083
+ typesenseProtocol: "https"
31084
+ },
31069
31085
  production: {
31070
31086
  socketUrl: "https://api.symbols.app",
31071
31087
  apiUrl: "https://api.symbols.app",
@@ -31116,6 +31132,7 @@ var getConfig = () => {
31116
31132
  isDevelopment: isDevelopment(env),
31117
31133
  isTesting: env === "testing",
31118
31134
  isStaging: env === "staging",
31135
+ isPreview: env === "preview",
31119
31136
  isProduction: env === "production"
31120
31137
  // Store all environment variables for potential future use
31121
31138
  };
@@ -17568,6 +17568,22 @@ var CONFIG = {
17568
17568
  typesensePort: "443",
17569
17569
  typesenseProtocol: "https"
17570
17570
  },
17571
+ preview: {
17572
+ socketUrl: "https://api.symbols.app",
17573
+ apiUrl: "https://api.symbols.app",
17574
+ basedEnv: "production",
17575
+ basedProject: "platform-v2-sm",
17576
+ basedOrg: "symbols",
17577
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
17578
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
17579
+ // For grafana tracing
17580
+ grafanaAppName: "Symbols Preview",
17581
+ typesenseCollectionName: "docs",
17582
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
17583
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
17584
+ typesensePort: "443",
17585
+ typesenseProtocol: "https"
17586
+ },
17571
17587
  production: {
17572
17588
  socketUrl: "https://api.symbols.app",
17573
17589
  apiUrl: "https://api.symbols.app",
@@ -17618,6 +17634,7 @@ var getConfig = () => {
17618
17634
  isDevelopment: isDevelopment(env),
17619
17635
  isTesting: env === "testing",
17620
17636
  isStaging: env === "staging",
17637
+ isPreview: env === "preview",
17621
17638
  isProduction: env === "production"
17622
17639
  // Store all environment variables for potential future use
17623
17640
  };
@@ -103,6 +103,22 @@ const CONFIG = {
103
103
  typesensePort: "443",
104
104
  typesenseProtocol: "https"
105
105
  },
106
+ preview: {
107
+ socketUrl: "https://api.symbols.app",
108
+ apiUrl: "https://api.symbols.app",
109
+ basedEnv: "production",
110
+ basedProject: "platform-v2-sm",
111
+ basedOrg: "symbols",
112
+ githubClientId: "Ov23liFAlOEIXtX3dBtR",
113
+ grafanaUrl: "https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae",
114
+ // For grafana tracing
115
+ grafanaAppName: "Symbols Preview",
116
+ typesenseCollectionName: "docs",
117
+ typesenseApiKey: "awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA",
118
+ typesenseHost: "tl2qpnwxev4cjm36p-1.a1.typesense.net",
119
+ typesensePort: "443",
120
+ typesenseProtocol: "https"
121
+ },
106
122
  production: {
107
123
  socketUrl: "https://api.symbols.app",
108
124
  apiUrl: "https://api.symbols.app",
@@ -154,6 +170,7 @@ const getConfig = () => {
154
170
  isDevelopment: isDevelopment(env),
155
171
  isTesting: env === "testing",
156
172
  isStaging: env === "staging",
173
+ isPreview: env === "preview",
157
174
  isProduction: env === "production"
158
175
  // Store all environment variables for potential future use
159
176
  };
@@ -29,6 +29,7 @@ class SDK {
29
29
  this._services = /* @__PURE__ */ new Map();
30
30
  this._context = {};
31
31
  this._options = this._validateOptions(options);
32
+ this.environment = environment;
32
33
  this.rootBus = rootBus;
33
34
  this._createServiceProxies();
34
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/sdk",
3
- "version": "2.33.2",
3
+ "version": "2.33.3",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -46,12 +46,12 @@
46
46
  "test:user": "cross-env NODE_ENV=$NODE_ENV npx tape integration-tests/index.js integration-tests/user/*.test.js | tap-spec"
47
47
  },
48
48
  "dependencies": {
49
- "@domql/element": "^2.33.2",
50
- "@domql/utils": "^2.33.2",
49
+ "@domql/element": "^2.33.3",
50
+ "@domql/utils": "^2.33.3",
51
51
  "@grafana/faro-web-sdk": "^1.19.0",
52
52
  "@grafana/faro-web-tracing": "^1.19.0",
53
- "@symbo.ls/router": "^2.33.2",
54
- "@symbo.ls/socket": "^2.33.2",
53
+ "@symbo.ls/router": "^2.33.3",
54
+ "@symbo.ls/socket": "^2.33.3",
55
55
  "acorn": "^8.14.0",
56
56
  "acorn-walk": "^8.3.4",
57
57
  "dexie": "^4.0.11",
@@ -73,5 +73,5 @@
73
73
  "tap-spec": "^5.0.0",
74
74
  "tape": "^5.9.0"
75
75
  },
76
- "gitHead": "57240a2eaa9945f0e889bd40005e331b602c467b"
76
+ "gitHead": "e3e8c02724fc4c94e3c6b268adcdbfeafee92890"
77
77
  }
@@ -98,6 +98,22 @@ const CONFIG = {
98
98
  typesensePort: '443',
99
99
  typesenseProtocol: 'https'
100
100
  },
101
+ preview: {
102
+ socketUrl: 'https://api.symbols.app',
103
+ apiUrl: 'https://api.symbols.app',
104
+ basedEnv: 'production',
105
+ basedProject: 'platform-v2-sm',
106
+ basedOrg: 'symbols',
107
+ githubClientId: 'Ov23liFAlOEIXtX3dBtR',
108
+ grafanaUrl:
109
+ 'https://faro-collector-prod-us-east-0.grafana.net/collect/5c1089f3c3eea4ec5658e05c3f53baae', // For grafana tracing
110
+ grafanaAppName: 'Symbols Preview',
111
+ typesenseCollectionName: 'docs',
112
+ typesenseApiKey: 'awmcVpbWqZi9IUgmvslp1C5LKDU8tMjA',
113
+ typesenseHost: 'tl2qpnwxev4cjm36p-1.a1.typesense.net',
114
+ typesensePort: '443',
115
+ typesenseProtocol: 'https'
116
+ },
101
117
  production: {
102
118
  socketUrl: 'https://api.symbols.app',
103
119
  apiUrl: 'https://api.symbols.app',
@@ -164,6 +180,7 @@ export const getConfig = () => {
164
180
  isDevelopment: isDevelopment(env),
165
181
  isTesting: env === 'testing',
166
182
  isStaging: env === 'staging',
183
+ isPreview: env === 'preview',
167
184
  isProduction: env === 'production'
168
185
  // Store all environment variables for potential future use
169
186
  }
package/src/index.js CHANGED
@@ -34,6 +34,9 @@ export class SDK {
34
34
  this._context = {}
35
35
  this._options = this._validateOptions(options)
36
36
 
37
+ // Expose resolved environment config on SDK instance
38
+ this.environment = environment
39
+
37
40
  // Expose root event bus on SDK instance
38
41
  this.rootBus = rootBus
39
42