@hot-updater/cloudflare 0.12.7 → 0.13.1

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.
@@ -0,0 +1,8 @@
1
+ -- Migration number: 0002 2025-03-07T16:25:12.486Z
2
+ -- HotUpdater.bundles
3
+
4
+ ALTER TABLE bundles
5
+ ADD COLUMN channel TEXT NOT NULL DEFAULT 'production';
6
+
7
+ ALTER TABLE bundles
8
+ DROP COLUMN file_url;
@@ -12,5 +12,14 @@
12
12
  "binding": "DB",
13
13
  "database_id": "00000000-0000-0000-0000-000000000000"
14
14
  }
15
- ]
15
+ ],
16
+ "r2_buckets": [
17
+ {
18
+ "binding": "BUCKET",
19
+ "bucket_name": "USER_BUCKET"
20
+ }
21
+ ],
22
+ "vars": {
23
+ "JWT_SECRET": "USER_JWT_SECRET"
24
+ }
16
25
  }
@@ -1,27 +0,0 @@
1
- import * as execa from 'execa';
2
- export { Cloudflare } from 'cloudflare';
3
-
4
- declare const getWranglerLoginAuthToken: () => {
5
- oauth_token: string;
6
- expiration_time: string;
7
- refresh_token: string;
8
- scopes: string[];
9
- } | null;
10
-
11
- declare const createWrangler: ({ stdio, accountId, cloudflareApiToken, cwd, }: {
12
- stdio?: "inherit" | "pipe" | "ignore" | "overlapped";
13
- accountId: string;
14
- cloudflareApiToken: string;
15
- cwd: string;
16
- }) => (...command: string[]) => execa.ResultPromise<{
17
- stdio: "inherit" | "pipe" | "ignore" | "overlapped" | undefined;
18
- extendsEnv: boolean;
19
- shell: boolean;
20
- cwd: string;
21
- env: {
22
- CLOUDFLARE_ACCOUNT_ID: string;
23
- CLOUDFLARE_API_TOKEN: string;
24
- };
25
- }>;
26
-
27
- export { createWrangler, getWranglerLoginAuthToken };
@@ -1,27 +0,0 @@
1
- import * as execa from 'execa';
2
- export { Cloudflare } from 'cloudflare';
3
-
4
- declare const getWranglerLoginAuthToken: () => {
5
- oauth_token: string;
6
- expiration_time: string;
7
- refresh_token: string;
8
- scopes: string[];
9
- } | null;
10
-
11
- declare const createWrangler: ({ stdio, accountId, cloudflareApiToken, cwd, }: {
12
- stdio?: "inherit" | "pipe" | "ignore" | "overlapped";
13
- accountId: string;
14
- cloudflareApiToken: string;
15
- cwd: string;
16
- }) => (...command: string[]) => execa.ResultPromise<{
17
- stdio: "inherit" | "pipe" | "ignore" | "overlapped" | undefined;
18
- extendsEnv: boolean;
19
- shell: boolean;
20
- cwd: string;
21
- env: {
22
- CLOUDFLARE_ACCOUNT_ID: string;
23
- CLOUDFLARE_API_TOKEN: string;
24
- };
25
- }>;
26
-
27
- export { createWrangler, getWranglerLoginAuthToken };