Skip to content

Commit b4a8159

Browse files
authored
Merge pull request #4 from manyuanrong/exports
Exports
2 parents 913ae41 + c5490f1 commit b4a8159

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
## Examples
1717

1818
```ts
19-
import { init, MongoClient } from "https://deno.land/x/mongo@v0.3.0/mod.ts";
19+
import { init, MongoClient } from "https://deno.land/x/mongo@v0.3.1/mod.ts";
2020

2121
// Initialize the plugin
2222
await init();

mod.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
export { ClientOptions, MongoClient } from "./ts/client.ts";
2-
export { Database } from "./ts/database.ts";
3-
export { init } from "./ts/util.ts";
4-
export const VERSION = "v0.3.0";
1+
export * from "./ts/client.ts";
2+
export * from "./ts/collection.ts";
3+
export * from "./ts/database.ts";
4+
export * from "./ts/result.ts";
5+
export * from "./ts/util.ts";
6+
export const VERSION = "v0.3.1";

0 commit comments

Comments
 (0)