New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nhost/nhost-js

Package Overview
Dependencies
Maintainers
2
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nhost/nhost-js - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

2

dist/cjs/clients/functions.js

@@ -107,3 +107,3 @@ "use strict";

return {
Authorization: "Bearer " + this.accessToken,
Authorization: "Bearer ".concat(this.accessToken),
};

@@ -110,0 +110,0 @@ };

@@ -127,3 +127,3 @@ "use strict";

return {
Authorization: "Bearer " + this.accessToken,
Authorization: "Bearer ".concat(this.accessToken),
};

@@ -130,0 +130,0 @@ };

@@ -23,3 +23,3 @@ "use strict";

this.auth = new hasura_auth_js_1.HasuraAuthClient({
url: backendUrl + "/v1/auth",
url: "".concat(backendUrl, "/v1/auth"),
refreshIntervalTime: refreshIntervalTime,

@@ -32,9 +32,9 @@ clientStorage: clientStorage,

this.storage = new hasura_storage_js_1.HasuraStorageClient({
url: backendUrl + "/v1/storage",
url: "".concat(backendUrl, "/v1/storage"),
});
this.functions = new functions_1.NhostFunctionsClient({
url: backendUrl + "/v1/functions",
url: "".concat(backendUrl, "/v1/functions"),
});
this.graphql = new graphql_1.NhostGraphqlClient({
url: backendUrl + "/v1/graphql",
url: "".concat(backendUrl, "/v1/graphql"),
});

@@ -41,0 +41,0 @@ // set current token if token is already accessable

@@ -0,1 +1,5 @@

import { NhostClient } from '.';
import { NhostClientConstructorParams } from '.';
declare const createClient: (config: NhostClientConstructorParams) => NhostClient;
export * from './core';
export { createClient };

@@ -13,3 +13,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createClient = void 0;
var _1 = require(".");
var createClient = function (config) {
return new _1.NhostClient(config);
};
exports.createClient = createClient;
__exportStar(require("./core"), exports);
//# sourceMappingURL=index.js.map

@@ -101,3 +101,3 @@ var __assign = (this && this.__assign) || function () {

return {
Authorization: "Bearer " + this.accessToken,
Authorization: "Bearer ".concat(this.accessToken),
};

@@ -104,0 +104,0 @@ };

@@ -121,3 +121,3 @@ var __assign = (this && this.__assign) || function () {

return {
Authorization: "Bearer " + this.accessToken,
Authorization: "Bearer ".concat(this.accessToken),
};

@@ -124,0 +124,0 @@ };

@@ -20,3 +20,3 @@ import { HasuraAuthClient } from '@nhost/hasura-auth-js';

this.auth = new HasuraAuthClient({
url: backendUrl + "/v1/auth",
url: "".concat(backendUrl, "/v1/auth"),
refreshIntervalTime: refreshIntervalTime,

@@ -29,9 +29,9 @@ clientStorage: clientStorage,

this.storage = new HasuraStorageClient({
url: backendUrl + "/v1/storage",
url: "".concat(backendUrl, "/v1/storage"),
});
this.functions = new NhostFunctionsClient({
url: backendUrl + "/v1/functions",
url: "".concat(backendUrl, "/v1/functions"),
});
this.graphql = new NhostGraphqlClient({
url: backendUrl + "/v1/graphql",
url: "".concat(backendUrl, "/v1/graphql"),
});

@@ -38,0 +38,0 @@ // set current token if token is already accessable

@@ -0,1 +1,5 @@

import { NhostClient } from '.';
import { NhostClientConstructorParams } from '.';
declare const createClient: (config: NhostClientConstructorParams) => NhostClient;
export * from './core';
export { createClient };

@@ -0,2 +1,7 @@

import { NhostClient } from '.';
var createClient = function (config) {
return new NhostClient(config);
};
export * from './core';
export { createClient };
//# sourceMappingURL=index.js.map
{
"name": "@nhost/nhost-js",
"version": "0.3.4",
"version": "0.3.5",
"description": "Nhost JavaScript SDK",

@@ -5,0 +5,0 @@ "keywords": [

@@ -56,1 +56,2 @@ <h1 align="center">@nhost/nhost-js</h1>

[Coming soon](https://docs.nhost.io)

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

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