From 791d5944c483eb81c1d6862399a2b6452b04da3c Mon Sep 17 00:00:00 2001 From: Daniel Chambers Date: Thu, 30 Nov 2023 10:04:25 +1100 Subject: [PATCH] Update SDK --- src/connector.ts | 4 ++-- src/infer.ts | 2 +- src/mod.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/connector.ts b/src/connector.ts index 8004436..cab17cb 100644 --- a/src/connector.ts +++ b/src/connector.ts @@ -7,8 +7,8 @@ import { FunctionPositions, ProgramInfo, programInfo, Struct } from "./infer.ts" import { resolve } from "https://deno.land/std@0.208.0/path/mod.ts"; import { JSONSchemaObject } from "npm:@json-schema-tools/meta-schema"; -import * as sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.4'; -export * as sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.4'; +import * as sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.5'; +export * as sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.5'; export type State = { functions: any diff --git a/src/infer.ts b/src/infer.ts index 23428ed..4a5ea50 100644 --- a/src/infer.ts +++ b/src/infer.ts @@ -11,7 +11,7 @@ import ts, { FunctionDeclaration, StringLiteralLike } from "npm:typescript@5.1.6"; import { resolve, dirname } from "https://deno.land/std@0.208.0/path/mod.ts"; import { existsSync } from "https://deno.land/std@0.208.0/fs/mod.ts"; -import * as sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.4'; +import * as sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.5'; export type Struct = Record; diff --git a/src/mod.ts b/src/mod.ts index 387302b..bd7d129 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -6,7 +6,7 @@ import * as commander from 'npm:commander@11.0.0'; import { programInfo } from './infer.ts' import { connector } from './connector.ts' -import sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.4'; +import sdk from 'npm:@hasura/ndc-sdk-typescript@1.2.5'; const inferCommand = new commander.Command("infer") .argument('', 'TypeScript source entrypoint')