Skip to content

Commit 77eb226

Browse files
committed
release(genql): v0.1.0
1 parent 7dab415 commit 77eb226

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

.vscode/settings.json

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
{
2-
"biome.rename": true,
3-
"editor.defaultFormatter": "biomejs.biome",
4-
"editor.formatOnSave": true,
5-
"editor.codeActionsOnSave": {
6-
"quickfix.biome": "explicit",
7-
"source.organizeImports.biome": "explicit"
8-
},
9-
"tailwindCSS.experimental.classRegex": [
10-
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
11-
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
12-
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
13-
],
14-
"typescript.tsdk": "node_modules/typescript/lib",
15-
"[dockercompose]": {
16-
"editor.defaultFormatter": "bluebrown.yamlfmt"
17-
}
2+
"editor.defaultFormatter": "biomejs.biome",
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"quickfix.biome": "explicit",
6+
"source.organizeImports.biome": "explicit"
7+
},
8+
"tailwindCSS.experimental.classRegex": [
9+
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
10+
["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
11+
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
12+
],
13+
"[dockercompose]": {
14+
"editor.defaultFormatter": "bluebrown.yamlfmt"
15+
}
1816
}

packages/genql/.env-sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
CHAINGRAPH_API=http://api.chaingrpah/v1/graphql
1+
CHAINGRAPH_API=https://graph.bitcash.org/v1/graphql
22
CHAINGRAPH_API_ADMIN_SECRET=lgf

packages/genql/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"name": "@chaingraph/genql",
2+
"name": "@l1network/chaingraph-genql",
33
"version": "0.1.0",
44
"type": "module",
55
"description": "chaingraph genql",
6+
"publishConfig": {
7+
"access": "public"
8+
},
69
"main": "./dist/index.js",
710
"module": "./dist/index.mjs",
811
"types": "./dist/index.d.ts",

packages/genql/src/client/client.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type GraphQLSdkProps = {
66
config?: RequestInit;
77
jwt?: string;
88
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
9-
options?: any; // TODO: improve type
9+
options?: any;
1010
url?: string;
1111
apiKey: string;
1212
};

packages/genql/src/client/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export * from "../../generated";
99
export function createChaingraphClient({
1010
apiKey = "",
1111
options = {},
12-
url = "https://chaingraph-hasura-37160526315.us-central1.run.app",
12+
url = "https://graph.bitcash.org",
1313
config = {},
1414
}: GraphQLSdkProps) {
1515
const headers = {
@@ -18,7 +18,6 @@ export function createChaingraphClient({
1818

1919
let subscribe;
2020

21-
// * Guarding if webSocketImpl is in options
2221
if ("webSocketImpl" in options) {
2322
const { subscribe: subscriptions } = createWsClient({
2423
url: url.replace("http", "ws"),

0 commit comments

Comments
 (0)