statsig-node-vercel 0.1.0 → 0.2.0-beta.0

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.
@@ -13,6 +13,9 @@ export class EdgeConfigDataAdapter implements IDataAdapter {
13
13
 
14
14
  // eslint-disable-next-line @typescript-eslint/require-await
15
15
  public async get(key: string): Promise<AdapterResponse> {
16
+ if (key === "statsig.id_lists") {
17
+ return {result: ""}
18
+ }
16
19
  if (key !== "statsig.cache") {
17
20
  return { error: new Error(`Edge Config Adapter Only Supports Config Specs`) };
18
21
  }
@@ -20,6 +20,9 @@ class EdgeConfigDataAdapter {
20
20
  // eslint-disable-next-line @typescript-eslint/require-await
21
21
  get(key) {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
+ if (key === "statsig.id_lists") {
24
+ return { result: "" };
25
+ }
23
26
  if (key !== "statsig.cache") {
24
27
  return { error: new Error(`Edge Config Adapter Only Supports Config Specs`) };
25
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statsig-node-vercel",
3
- "version": "0.1.0",
3
+ "version": "0.2.0-beta.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {