Skip to content

Commit 1049909

Browse files
chore: fix imports in readme
1 parent c1bc237 commit 1049909

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const secrets = await phase.get(getOptions);
4040
Get a specific key:
4141

4242
```typescript
43+
import { GetSecretOptions } from "@phase.dev/phase-node";
44+
4345
const getOptions: GetSecretOptions = {
4446
appId: "3b7443aa-3a7c-4791-849a-42aafc9cbe66",
4547
envName: "Development",
@@ -54,7 +56,7 @@ const secrets = await phase.get(getOptions);
5456
Create one or more secrets in a specified application and environment:
5557

5658
```typescript
57-
import { CreateSecretOptions } from "phase";
59+
import { CreateSecretOptions } from "@phase.dev/phase-node";
5860

5961
const createOptions: CreateSecretOptions = {
6062
appId: "3b7443aa-3a7c-4791-849a-42aafc9cbe66",
@@ -83,7 +85,7 @@ Update existing secrets in a specified application and environment:
8385

8486

8587
```typescript
86-
import { UpdateSecretOptions } from "phase";
88+
import { UpdateSecretOptions } from "@phase.dev/phase-node";
8789

8890
const updateOptions: UpdateSecretOptions = {
8991
appId: "3b7443aa-3a7c-4791-849a-42aafc9cbe66",
@@ -103,7 +105,7 @@ await phase.update(updateOptions);
103105
Delete one or more secrets from a specified application and environment:
104106

105107
```typescript
106-
import { DeleteSecretOptions } from "phase";
108+
import { DeleteSecretOptions } from "@phase.dev/phase-node";
107109

108110
const secretsToDelete = secrets.map((secret) => secret.id);
109111

0 commit comments

Comments
 (0)