Skip to content

Commit

Permalink
fix: add Pipeline to exports (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda authored Jun 13, 2024
1 parent cac6492 commit 4a141b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion platforms/cloudflare.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Requester, UpstashRequest, UpstashResponse } from "../pkg/http";
import { Pipeline } from "../pkg/pipeline";
import { HttpClient, RequesterConfig } from "../pkg/http";
import * as core from "../pkg/redis";
import { VERSION } from "../version";
Expand All @@ -8,7 +9,7 @@ type Env = {
};

export type * from "../pkg/commands/types";
export type { Requester, UpstashRequest, UpstashResponse };
export type { Requester, UpstashRequest, UpstashResponse, Pipeline };
/**
* Connection credentials for upstash redis.
* Get them from https://console.upstash.com/redis/<uuid>
Expand Down
3 changes: 2 additions & 1 deletion platforms/fastly.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { Requester, RequesterConfig, UpstashRequest, UpstashResponse } from "../pkg/http";
import { Pipeline } from "../pkg/pipeline";
import { HttpClient } from "../pkg/http";
import * as core from "../pkg/redis";
import { VERSION } from "../version";

export type * from "../pkg/commands/types";
export type { Requester, UpstashRequest, UpstashResponse };
export type { Requester, UpstashRequest, UpstashResponse, Pipeline };

/**
* Connection credentials for upstash redis.
Expand Down
3 changes: 2 additions & 1 deletion platforms/nodejs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
UpstashRequest,
UpstashResponse,
} from "../pkg/http";
import { Pipeline } from "../pkg/pipeline";
import * as core from "../pkg/redis";
import { VERSION } from "../version";

Expand All @@ -17,7 +18,7 @@ if (typeof atob === "undefined") {
global.atob = (b64: string) => Buffer.from(b64, "base64").toString("utf-8");
}
export type * from "../pkg/commands/types";
export type { Requester, UpstashRequest, UpstashResponse };
export type { Requester, UpstashRequest, UpstashResponse, Pipeline };

/**
* Connection credentials for upstash redis.
Expand Down

0 comments on commit 4a141b4

Please sign in to comment.