Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@settlemint/sdk-hasura

Package Overview
Dependencies
Maintainers
0
Versions
1358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@settlemint/sdk-hasura - npm Package Compare versions

Comparing version 0.4.34-pr5d09f78 to 0.4.34-pr80b4100

24

dist/hasura.d.ts

@@ -20,2 +20,24 @@ import { AbstractSetupSchema, initGraphQLTada } from 'gql.tada';

type ClientOptions = z.infer<typeof ClientOptionsSchema>;
/**
* Schema for validating server client options for the Hasura client.
* Extends the ClientOptionsSchema with additional server-specific fields.
*/
declare const ServerClientOptionsSchema: z.ZodObject<z.objectUtil.extendShape<{
instance: z.ZodString;
}, {
accessToken: z.ZodString;
adminSecret: z.ZodString;
}>, "strip", z.ZodTypeAny, {
instance: string;
accessToken: string;
adminSecret: string;
}, {
instance: string;
accessToken: string;
adminSecret: string;
}>;
/**
* Type definition for server client options derived from the ServerClientOptionsSchema.
*/
type ServerClientOptions = z.infer<typeof ServerClientOptionsSchema>;

@@ -69,3 +91,3 @@ type RequestConfig = ConstructorParameters<typeof GraphQLClient>[1];

*/
declare function createServerHasuraClient<const Setup extends AbstractSetupSchema>(options: ClientOptions, requestConfig?: RequestConfig): {
declare function createServerHasuraClient<const Setup extends AbstractSetupSchema>(options: ServerClientOptions, requestConfig?: RequestConfig): {
client: GraphQLClient;

@@ -72,0 +94,0 @@ graphql: initGraphQLTada<Setup>;

4

package.json
{
"name": "@settlemint/sdk-hasura",
"description": "SettleMint SDK, integrate SettleMint into your application with ease.",
"version": "0.4.34-pr5d09f78",
"version": "0.4.34-pr80b4100",
"type": "module",

@@ -51,3 +51,3 @@ "private": false,

"dependencies": {
"@settlemint/sdk-utils": "0.4.34-pr5d09f78",
"@settlemint/sdk-utils": "0.4.34-pr80b4100",
"graphql-request": "^7",

@@ -54,0 +54,0 @@ "zod": "^3"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc