Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RELEASE_NOTES_LATEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ pip install typedb-driver==3.5.5

[//]: # (TODO: Update docs link)

NPM package: https://www.npmjs.com/package/typedb-driver-http
NPM package: https://www.npmjs.com/package/@typedb/driver-http
Documentation: https://typedb.com/docs/drivers/

```
npm install typedb-driver-http@3.5.5
npm install @typedb/driver-http@3.5.5
```


Expand Down
4 changes: 2 additions & 2 deletions RELEASE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ pip install typedb-driver=={version}

[//]: # (TODO: Update docs link)

NPM package: https://www.npmjs.com/package/typedb-driver-http
NPM package: https://www.npmjs.com/package/@typedb/driver-http
Documentation: https://typedb.com/docs/drivers/

```
npm install typedb-driver-http@{version}
npm install @typedb/driver-http@{version}
```

### C driver
Expand Down
6 changes: 3 additions & 3 deletions http-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ the [API Reference](https://typedb.com/docs/reference/http-drivers/typescript).

## Install TypeDB HTTP Typescript Driver through NPM

1. Install `typedb-driver-http` through npm:
1. Install `@typedb/driver-http` through npm:

```bash
npm install typedb-driver-http
npm install @typedb/driver-http
```

2. Make sure a [TypeDB Server](https://typedb.com/docs/home/install/) is
running.
3. Use TypeDB Driver in your program:

```ts
import { TypeDBHttpDriver, isApiErrorResponse } from "typedb-driver-http";
import { TypeDBHttpDriver, isApiErrorResponse } from "@typedb/driver-http";

const driver = new TypeDBHttpDriver({
username: "admin",
Expand Down
23 changes: 13 additions & 10 deletions http-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
{
"name": "typedb-driver-http",
"name": "@typedb/driver-http",
"version": "0.0.0",
"description": "TypeDB HTTP Driver",
"author": "TypeDB",
"author": "TypeDB Community <community@typedb.com>",
"license": "Apache-2.0",
"homepage": "https://typedb.com",
"repository": {
"type": "git",
"url": "https://github.com/typedb/typedb-driver"
},
"bugs": {
"url": "https://github.com/typedb/typedb-driver/issues"
},
"keywords": [
"database",
"typedb"
],
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand All @@ -16,14 +27,6 @@
"require": "./dist/index.cjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/typedb/typedb-driver"
},
"keywords": [
"database",
"typedb"
],
"scripts": {
"build:dev": "tsc",
"build": "tsup",
Expand Down