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

hubeau-api

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubeau-api - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

2

dist/cjs/constants/index.d.ts

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

export declare const hostname = "hubeau.eaufrance.fr";
export declare const hostname = "https://hubeau.eaufrance.fr";
export declare const entryPoints: {

@@ -3,0 +3,0 @@ etatPiscicole: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.entryPoints = exports.hostname = void 0;
exports.hostname = 'hubeau.eaufrance.fr';
exports.hostname = 'https://hubeau.eaufrance.fr';
exports.entryPoints = {

@@ -6,0 +6,0 @@ etatPiscicole: '/api/v0/etat_piscicole/',

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

_a.trys.push([0, 2, , 3]);
return [4 /*yield*/, superagent_1.default.get("https://".concat(constants_1.hostname).concat(entryPoint).concat(args))];
return [4 /*yield*/, superagent_1.default.get("".concat(constants_1.hostname).concat(entryPoint).concat(args))];
case 1:

@@ -54,0 +54,0 @@ res = _a.sent();

@@ -1,1 +0,8 @@

export {};
import etatPiscicole from './commandes/etatPiscicole';
import indicateursServices from './commandes/indicateursServices';
import piezometrie from './commandes/piezometrie';
import qualiteNappes from './commandes/qualiteNappes';
import qualiteRivieres from './commandes/qualiteRivieres';
import temperature from './commandes/temperature';
import hydrometrie from './commandes/hydrometrie';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, };

@@ -6,18 +6,16 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.hydrometrie = exports.temperature = exports.qualiteRivieres = exports.qualiteNappes = exports.piezometrie = exports.indicateursServices = exports.etatPiscicole = void 0;
var etatPiscicole_1 = __importDefault(require("./commandes/etatPiscicole"));
exports.etatPiscicole = etatPiscicole_1.default;
var indicateursServices_1 = __importDefault(require("./commandes/indicateursServices"));
exports.indicateursServices = indicateursServices_1.default;
var piezometrie_1 = __importDefault(require("./commandes/piezometrie"));
exports.piezometrie = piezometrie_1.default;
var qualiteNappes_1 = __importDefault(require("./commandes/qualiteNappes"));
exports.qualiteNappes = qualiteNappes_1.default;
var qualiteRivieres_1 = __importDefault(require("./commandes/qualiteRivieres"));
exports.qualiteRivieres = qualiteRivieres_1.default;
var temperature_1 = __importDefault(require("./commandes/temperature"));
exports.temperature = temperature_1.default;
var hydrometrie_1 = __importDefault(require("./commandes/hydrometrie"));
var hubeauApi = {
etatPiscicole: etatPiscicole_1.default,
indicateursServices: indicateursServices_1.default,
piezometrie: piezometrie_1.default,
qualiteNappes: qualiteNappes_1.default,
qualiteRivieres: qualiteRivieres_1.default,
temperature: temperature_1.default,
hydrometrie: hydrometrie_1.default,
};
module.exports = hubeauApi;
exports.hydrometrie = hydrometrie_1.default;

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

export declare const hostname = "hubeau.eaufrance.fr";
export declare const hostname = "https://hubeau.eaufrance.fr";
export declare const entryPoints: {

@@ -3,0 +3,0 @@ etatPiscicole: string;

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

export var hostname = 'hubeau.eaufrance.fr';
export var hostname = 'https://hubeau.eaufrance.fr';
export var entryPoints = {

@@ -3,0 +3,0 @@ etatPiscicole: '/api/v0/etat_piscicole/',

@@ -46,3 +46,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

_a.trys.push([0, 2, , 3]);
return [4 /*yield*/, superagent.get("https://".concat(hostname).concat(entryPoint).concat(args))];
return [4 /*yield*/, superagent.get("".concat(hostname).concat(entryPoint).concat(args))];
case 1:

@@ -49,0 +49,0 @@ res = _a.sent();

@@ -1,1 +0,8 @@

export {};
import etatPiscicole from './commandes/etatPiscicole';
import indicateursServices from './commandes/indicateursServices';
import piezometrie from './commandes/piezometrie';
import qualiteNappes from './commandes/qualiteNappes';
import qualiteRivieres from './commandes/qualiteRivieres';
import temperature from './commandes/temperature';
import hydrometrie from './commandes/hydrometrie';
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, };

@@ -8,11 +8,2 @@ import etatPiscicole from './commandes/etatPiscicole';

import hydrometrie from './commandes/hydrometrie';
var hubeauApi = {
etatPiscicole: etatPiscicole,
indicateursServices: indicateursServices,
piezometrie: piezometrie,
qualiteNappes: qualiteNappes,
qualiteRivieres: qualiteRivieres,
temperature: temperature,
hydrometrie: hydrometrie,
};
module.exports = hubeauApi;
export { etatPiscicole, indicateursServices, piezometrie, qualiteNappes, qualiteRivieres, temperature, hydrometrie, };
{
"name": "hubeau-api",
"version": "0.0.15",
"version": "0.0.16",
"description": "hubeau api wrapper in javascript",

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

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

export const hostname = 'hubeau.eaufrance.fr';
export const hostname = 'https://hubeau.eaufrance.fr';
export const entryPoints = {

@@ -3,0 +3,0 @@ etatPiscicole: '/api/v0/etat_piscicole/',

@@ -9,3 +9,3 @@ import superagent from 'superagent';

try {
const res = await superagent.get(`https://${hostname}${entryPoint}${args}`);
const res = await superagent.get(`${hostname}${entryPoint}${args}`);
return res.text;

@@ -12,0 +12,0 @@ } catch (err: any) {

@@ -9,3 +9,3 @@ import etatPiscicole from './commandes/etatPiscicole';

const hubeauApi = {
export {
etatPiscicole,

@@ -19,2 +19,1 @@ indicateursServices,

};
module.exports = hubeauApi;
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