Skip to content

Commit

Permalink
Reduce endpoints to cloud + local. Name package 'fauna' and rename re…
Browse files Browse the repository at this point in the history
…po 'fauna-js'. Set version to 10.0.0
  • Loading branch information
cleve-fauna committed Oct 11, 2022
1 parent f8f11f0 commit ba50619
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "fql-x-javascript",
"version": "1.0.0",
"name": "fauna",
"version": "10.0.0",
"description": "TODO",
"main": "index.js",
"repository": "TODO",
"repository": "https://github.com/fauna/fauna-js.git",
"author": "Fauna",
"private": true,
"dependencies": {
Expand Down
8 changes: 2 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ export interface ClientConfiguration {
}

export interface Endpoints {
classic: URL;
"eu-std": URL;
"us-std": URL;
cloud: URL;
local: URL;
}

export const endpoints: Endpoints = {
classic: new URL("https://db.fauna.com"),
"eu-std": new URL("https://db.eu.fauna.com"),
"us-std": new URL("https://db.us.fauna.com"),
cloud: new URL("https://db.fauna.com"),
local: new URL("http://localhost:8443"),
};

Expand Down

0 comments on commit ba50619

Please sign in to comment.