@sectester/repeater 0.39.0 → 0.40.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/LICENSE +1 -1
- package/README.md +5 -6
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ import { Configuration } from '@sectester/core';
|
|
|
25
25
|
import { RepeaterFactory } from '@sectester/repeater';
|
|
26
26
|
|
|
27
27
|
const configuration = new Configuration({
|
|
28
|
-
hostname: 'app.
|
|
28
|
+
hostname: 'app.brightsec.com'
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
const repeaterFactory = new RepeaterFactory(configuration);
|
|
@@ -99,9 +99,8 @@ The `RepeaterFactory` also provides a method to create a `Repeater` instance usi
|
|
|
99
99
|
|
|
100
100
|
```ts
|
|
101
101
|
const existingRepeaterId = '<your repater ID>';
|
|
102
|
-
const repeater =
|
|
103
|
-
existingRepeaterId
|
|
104
|
-
);
|
|
102
|
+
const repeater =
|
|
103
|
+
await repeaterFactory.createRepeaterFromExisting(existingRepeaterId);
|
|
105
104
|
```
|
|
106
105
|
|
|
107
106
|
This method retrieves the existing repeater's details from the cloud using its ID and returns a `Repeater` instance associated with the specified ID.
|
|
@@ -152,7 +151,7 @@ describe('Scan', () => {
|
|
|
152
151
|
|
|
153
152
|
beforeAll(async () => {
|
|
154
153
|
const configuration = new Configuration({
|
|
155
|
-
hostname: 'app.
|
|
154
|
+
hostname: 'app.brightsec.com'
|
|
156
155
|
});
|
|
157
156
|
|
|
158
157
|
repeater = await new RepeaterFactory(configuration).createRepeater();
|
|
@@ -197,6 +196,6 @@ Custom scripts and self-signed certificates
|
|
|
197
196
|
|
|
198
197
|
## License
|
|
199
198
|
|
|
200
|
-
Copyright ©
|
|
199
|
+
Copyright © 2025 [Bright Security](https://brightsec.com/).
|
|
201
200
|
|
|
202
201
|
This project is licensed under the MIT License - see the [LICENSE file](LICENSE) for details.
|