@trigger.dev/sdk 2.2.10 → 2.2.11

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/index.d.ts CHANGED
@@ -16,7 +16,7 @@ declare class KeyValueStoreClient implements AsyncMap {
16
16
  private namespace;
17
17
  constructor(queryStore: QueryKeyValueStoreFunction, type?: string | null, namespace?: string);
18
18
  delete(key: string): Promise<boolean>;
19
- get<T extends Json<T>>(key: string): Promise<T>;
19
+ get<T extends Json<T>>(key: string): Promise<T | undefined>;
20
20
  has(key: string): Promise<boolean>;
21
21
  set<T extends Json<T>>(key: string, value: T): Promise<T>;
22
22
  }
@@ -1569,8 +1569,8 @@ declare class KeyValueStore {
1569
1569
  constructor(apiClient: ApiClient, type?: string | null, namespace?: string);
1570
1570
  delete(cacheKey: string | any[], key: string): Promise<boolean>;
1571
1571
  delete(key: string): Promise<boolean>;
1572
- get<T extends Json<T> = any>(cacheKey: string | any[], key: string): Promise<T>;
1573
- get<T extends Json<T> = any>(key: string): Promise<T>;
1572
+ get<T extends Json<T> = any>(cacheKey: string | any[], key: string): Promise<T | undefined>;
1573
+ get<T extends Json<T> = any>(key: string): Promise<T | undefined>;
1574
1574
  has(cacheKey: string | any[], key: string): Promise<boolean>;
1575
1575
  has(key: string): Promise<boolean>;
1576
1576
  set<T extends Json<T>>(cacheKey: string | any[], key: string, value: T): Promise<T>;
package/dist/index.js CHANGED
@@ -2761,7 +2761,7 @@ __name(DynamicSchedule, "DynamicSchedule");
2761
2761
  var import_node_events = __toESM(require("events"));
2762
2762
 
2763
2763
  // package.json
2764
- var version = "2.2.10";
2764
+ var version = "2.2.11";
2765
2765
 
2766
2766
  // src/concurrencyLimit.ts
2767
2767
  var ConcurrencyLimit = class {