Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
tot-kristian committed Jul 30, 2024
2 parents 77f4ec5 + 5f9c0b7 commit 2046911
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .changeset/early-islands-appear.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# nodb-js

## 0.1.1

### Patch Changes

- 39888a9: Update readme

## 0.1.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ If you're using import you should add "type": "module" to package.json.
You need to create an instance of Nodb now:
```typescript
const nodb = new Nodb({
baseUrl: "localhost:3000",
baseUrl: "http://localhost:3000",
});
```
## Key Concepts
Expand All @@ -59,7 +59,7 @@ One application can contain multiple environments, and each environment can cont
To create your first application with an environment:

```typescript
const application = await nodb.createAppWithEnvironmentAndGetTokens({
const application = await nodb.createApplication({
appName: "your-application-name",
envName: "your-environment-name",
});
Expand Down Expand Up @@ -192,7 +192,7 @@ For testing we have a .env.test file where the only env variable that is specifi
NODB_BASE_URL=
```

## Api Reference
## API Reference
The `Nodb` class provides methods for interacting with a NoDB (NoSQL Database) backend via HTTP and WebSocket connections. It extends the `NodbWebSocket` class to support WebSocket functionality.

### Constructor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodb-js-sdk",
"version": "0.1.0",
"version": "0.1.1",
"changeset": "changeset",
"description": "Nodb API",
"homepage": "https://github.com/nearup-io/nodb-js",
Expand Down

0 comments on commit 2046911

Please sign in to comment.