@hot-updater/cloudflare 0.12.6 → 0.13.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.
- package/dist/{utils → iac}/index.cjs +3817 -3183
- package/dist/iac/index.d.cts +3 -0
- package/dist/iac/index.d.ts +3 -0
- package/dist/{chunk-5WASCEUU.js → iac/index.js} +5098 -177
- package/dist/index.cjs +142 -147
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +7580 -266
- package/package.json +21 -11
- package/sql/bundles.sql +2 -2
- package/sql/prepareSql.ts +2 -1
- package/worker/dist/README.md +1 -1
- package/worker/dist/index.js +3013 -124
- package/worker/dist/index.js.map +4 -4
- package/worker/migrations/0002_hot-updater_0.13.0.sql +8 -0
- package/worker/wrangler.json +10 -1
- package/dist/utils/index.d.cts +0 -26
- package/dist/utils/index.d.ts +0 -26
- package/dist/utils/index.js +0 -4296
package/worker/wrangler.json
CHANGED
package/dist/utils/index.d.cts
DELETED
|
@@ -1,26 +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
|
-
cwd: string;
|
|
20
|
-
env: {
|
|
21
|
-
CLOUDFLARE_ACCOUNT_ID: string;
|
|
22
|
-
CLOUDFLARE_API_TOKEN: string;
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
|
|
26
|
-
export { createWrangler, getWranglerLoginAuthToken };
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,26 +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
|
-
cwd: string;
|
|
20
|
-
env: {
|
|
21
|
-
CLOUDFLARE_ACCOUNT_ID: string;
|
|
22
|
-
CLOUDFLARE_API_TOKEN: string;
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
|
|
26
|
-
export { createWrangler, getWranglerLoginAuthToken };
|