@hot-updater/neon 1.1.5 → 1.2.0-rc.10

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.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { StorageAdapterWith } from "@hot-updater/plugin-core";
2
- import { S3ClientConfig, S3StorageOperations } from "@hot-updater/storage-s3";
2
+ import { S3ClientConfig, S3CredentialsOption, S3StorageOperations } from "@hot-updater/storage-s3";
3
3
  import { PostgresConfig, postgres } from "@hot-updater/postgres";
4
4
  //#region src/neonStorage.d.ts
5
5
  interface NeonStorageConfig extends Omit<S3ClientConfig, "credentials" | "endpoint" | "forcePathStyle"> {
@@ -13,9 +13,10 @@ interface NeonStorageConfig extends Omit<S3ClientConfig, "credentials" | "endpoi
13
13
  bucketName: string;
14
14
  /**
15
15
  * A storage credential of the project: the `AWS_ACCESS_KEY_ID` and
16
- * `AWS_SECRET_ACCESS_KEY` that `neon env pull` writes.
16
+ * `AWS_SECRET_ACCESS_KEY` that `neon env pull` writes. Each field may be
17
+ * lazy, such as `secret("<name>")` in `hot-updater.config.ts`.
17
18
  */
18
- credentials: NonNullable<S3ClientConfig["credentials"]>;
19
+ credentials: NonNullable<S3CredentialsOption>;
19
20
  /** Base path where bundles will be stored in the bucket. */
20
21
  basePath?: string;
21
22
  /**
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { S3ClientConfig, S3StorageOperations } from "@hot-updater/storage-s3";
1
+ import { S3ClientConfig, S3CredentialsOption, S3StorageOperations } from "@hot-updater/storage-s3";
2
2
  import { PostgresConfig, postgres } from "@hot-updater/postgres";
3
3
  import { StorageAdapterWith } from "@hot-updater/plugin-core";
4
4
  //#region src/neonStorage.d.ts
@@ -13,9 +13,10 @@ interface NeonStorageConfig extends Omit<S3ClientConfig, "credentials" | "endpoi
13
13
  bucketName: string;
14
14
  /**
15
15
  * A storage credential of the project: the `AWS_ACCESS_KEY_ID` and
16
- * `AWS_SECRET_ACCESS_KEY` that `neon env pull` writes.
16
+ * `AWS_SECRET_ACCESS_KEY` that `neon env pull` writes. Each field may be
17
+ * lazy, such as `secret("<name>")` in `hot-updater.config.ts`.
17
18
  */
18
- credentials: NonNullable<S3ClientConfig["credentials"]>;
19
+ credentials: NonNullable<S3CredentialsOption>;
19
20
  /** Base path where bundles will be stored in the bucket. */
20
21
  basePath?: string;
21
22
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/neon",
3
3
  "type": "module",
4
- "version": "1.1.5",
4
+ "version": "1.2.0-rc.10",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
@@ -32,16 +32,16 @@
32
32
  "package.json"
33
33
  ],
34
34
  "dependencies": {
35
- "@hot-updater/plugin-core": "1.1.5",
36
- "@hot-updater/postgres": "1.1.5",
37
- "@hot-updater/storage-s3": "1.1.5"
35
+ "@hot-updater/postgres": "1.2.0-rc.10",
36
+ "@hot-updater/storage-s3": "1.2.0-rc.10",
37
+ "@hot-updater/plugin-core": "1.2.0-rc.10"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@aws-sdk/client-s3": "3.1066.0",
41
41
  "@aws-sdk/lib-storage": "3.1066.0",
42
42
  "@types/node": "^20",
43
43
  "vitest": "4.1.4",
44
- "@hot-updater/test-utils": "1.1.5"
44
+ "@hot-updater/test-utils": "1.2.0-rc.10"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsdown",