@zero-transfer/ftps 0.1.0-alpha.0 → 0.1.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.
package/README.md CHANGED
@@ -1,14 +1,6 @@
1
1
  # @zero-transfer/ftps
2
2
 
3
- FTPS (explicit + implicit TLS) provider for ZeroTransfer.
4
-
5
- > **Alpha umbrella package.** This package currently re-exports the entire
6
- > [`@zero-transfer/sdk`](https://www.npmjs.com/package/@zero-transfer/sdk)
7
- > public surface. Future releases will narrow this package to only its
8
- > dedicated subset (see the
9
- > [ZeroTransfer remake plan](https://github.com/tonywied17/zero-transfer/blob/main/zero-transfer-remake.md#future-monorepo-shape)).
10
- > If you want every provider in one install today, depend on
11
- > `@zero-transfer/sdk` directly.
3
+ > Explicit and implicit FTPS with full TLS profile support.
12
4
 
13
5
  ## Install
14
6
 
@@ -16,17 +8,41 @@ FTPS (explicit + implicit TLS) provider for ZeroTransfer.
16
8
  npm install @zero-transfer/ftps
17
9
  ```
18
10
 
11
+ ## Overview
12
+
13
+ FTPS over explicit `AUTH TLS` or implicit TLS, with PEM/PFX/P12 certificate sources, encrypted passive data channels, certificate fingerprint pinning, SNI/servername controls, and TLS min/max version configuration.
14
+
19
15
  ## Usage
20
16
 
21
17
  ```ts
22
- import { createTransferClient } from "@zero-transfer/ftps";
23
-
24
- const client = createTransferClient();
18
+ import { createFtpsProviderFactory } from "@zero-transfer/ftps";
25
19
  ```
26
20
 
27
- See the [main README](https://github.com/tonywied17/zero-transfer#readme) for
28
- full documentation.
21
+ ## Public surface
22
+
23
+ This package narrows [`@zero-transfer/sdk`](https://www.npmjs.com/package/@zero-transfer/sdk) to **4** exports. Every symbol is re-exported from the SDK; the table below links into the full API reference:
24
+
25
+ | Symbol | Kind | Notes |
26
+ | --------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------ |
27
+ | [`createFtpsProviderFactory`](https://github.com/tonywied17/zero-transfer/blob/main/docs/api-md/functions/createFtpsProviderFactory.md) | Function | See API reference. |
28
+ | [`FtpsProviderOptions`](https://github.com/tonywied17/zero-transfer/blob/main/docs/api-md/interfaces/FtpsProviderOptions.md) | Interface | See API reference. |
29
+ | [`FtpsMode`](https://github.com/tonywied17/zero-transfer/blob/main/docs/api-md/type-aliases/FtpsMode.md) | Type | See API reference. |
30
+ | [`FtpsDataProtection`](https://github.com/tonywied17/zero-transfer/blob/main/docs/api-md/type-aliases/FtpsDataProtection.md) | Type | See API reference. |
31
+
32
+ ## Examples
33
+
34
+ | Example | What it shows |
35
+ | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
36
+ | [`examples/ftps-client-certificate.ts`](https://github.com/tonywied17/zero-transfer/blob/main/examples/ftps-client-certificate.ts) | FTPS client-certificate (mutual TLS) example with certificate pinning. |
37
+
38
+ ## Documentation
39
+
40
+ - [Scope page](https://github.com/tonywied17/zero-transfer/blob/main/docs/scopes/ftps.md)
41
+ - [Top-level README](https://github.com/tonywied17/zero-transfer/blob/main/README.md)
42
+ - [Full API reference](https://github.com/tonywied17/zero-transfer/blob/main/docs/api-md/README.md)
43
+ - [Capability matrix](https://github.com/tonywied17/zero-transfer/blob/main/README.md#capability-matrix)
44
+ - [Examples](https://github.com/tonywied17/zero-transfer/tree/main/examples)
29
45
 
30
46
  ## License
31
47
 
32
- MIT © Tony Wiedman
48
+ MIT © [Tony Wiedman](https://github.com/tonywied17)
package/dist/index.cjs CHANGED
@@ -1,3 +1,5 @@
1
- // AUTO-GENERATED stub. See packages/README.md.
1
+ // AUTO-GENERATED. Edit scripts/scope-manifest.mjs and re-run packages:generate.
2
2
  "use strict";
3
- module.exports = require("@zero-transfer/sdk");
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const sdk = require("@zero-transfer/sdk");
5
+ Object.defineProperty(exports, "createFtpsProviderFactory", { enumerable: true, get: () => sdk["createFtpsProviderFactory"] });
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- // AUTO-GENERATED stub. See packages/README.md.
2
- export * from "@zero-transfer/sdk";
1
+ // AUTO-GENERATED. Edit scripts/scope-manifest.mjs and re-run packages:generate.
2
+ export { createFtpsProviderFactory } from "@zero-transfer/sdk";
3
+ export type { FtpsProviderOptions, FtpsMode, FtpsDataProtection } from "@zero-transfer/sdk";
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- // AUTO-GENERATED stub. See packages/README.md.
2
- export * from "@zero-transfer/sdk";
1
+ // AUTO-GENERATED. Edit scripts/scope-manifest.mjs and re-run packages:generate.
2
+ export { createFtpsProviderFactory } from "@zero-transfer/sdk";
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@zero-transfer/ftps",
3
- "version": "0.1.0-alpha.0",
4
- "description": "FTPS (explicit + implicit TLS) provider for ZeroTransfer.",
3
+ "version": "0.1.1",
4
+ "description": "Explicit and implicit FTPS with full TLS profile support.",
5
5
  "keywords": [
6
6
  "zero-transfer",
7
7
  "ftps",
8
- "ftp",
8
+ "ftps",
9
9
  "tls"
10
10
  ],
11
11
  "author": "Tony Wiedman",
@@ -34,7 +34,7 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/tonywied17/zero-transfer/issues"
36
36
  },
37
- "homepage": "https://github.com/tonywied17/zero-transfer#readme",
37
+ "homepage": "https://github.com/tonywied17/zero-transfer/tree/main/packages/ftps#readme",
38
38
  "engines": {
39
39
  "node": ">=20.0.0"
40
40
  },
@@ -44,7 +44,7 @@
44
44
  "access": "public"
45
45
  },
46
46
  "sideEffects": false,
47
- "dependencies": {
48
- "@zero-transfer/sdk": "0.1.0-alpha.0"
47
+ "peerDependencies": {
48
+ "@zero-transfer/sdk": "0.1.1"
49
49
  }
50
50
  }