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

@immomio/api-library

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@immomio/api-library - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

lib/utils/index.d.ts

4

lib/main.d.ts

@@ -1,1 +0,3 @@

export * from './appointments';
import * as appointments from './appointments';
import * as utils from './utils';
export { appointments, utils };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./appointments"), exports);
const appointments = require("./appointments");
exports.appointments = appointments;
const utils = require("./utils");
exports.utils = utils;
//# sourceMappingURL=main.js.map

@@ -15,10 +15,6 @@ export interface JsonHalLinkList {

ID: string;
links: {
[link: string]: string;
};
links: JsonHalLinkList;
}
export interface JsonHalCollection {
links: {
[link: string]: string;
};
links: JsonHalLinkList;
page: JsonHalPagination;

@@ -25,0 +21,0 @@ }

@@ -11,8 +11,7 @@ "use strict";

});
const convertLinks = (links) => {
return links ? Object.keys(links).reduce((list, link) => {
const convertLinks = (links) => !links ? { self: '' } :
Object.keys(links).reduce((list, link) => {
list[link] = links[link].href;
return list;
}, {}) : { self: '' };
};
}, {});
const extractId = (link) => {

@@ -19,0 +18,0 @@ const idMatch = link.match(/([^\/\{]+)(\{[^\}]+\})?$/);

{
"name": "@immomio/api-library",
"version": "1.0.6",
"version": "1.0.7",
"description": "Immomio library to access the immomio-API",

@@ -20,2 +20,3 @@ "engineStrict": true,

"tsutils": "~2.8.1",
"typedoc": "^0.8.0",
"typescript": "~2.4.2"

@@ -30,9 +31,11 @@ },

"scripts": {
"build": "tsc -p tsconfig.release.json",
"clean": "rimraf coverage coverage-init build tmp lib",
"clean:docs": "rimraf docs",
"cleanup": "rimraf coverage-init",
"build": "tsc -p tsconfig.release.json",
"watch": "tsc -w -p tsconfig.release.json",
"docs": "typedoc ./main.ts",
"lint": "tslint -t stylish --type-check --project 'tsconfig.json'",
"predocs": "npm run clean:docs",
"prepush": "npm run clean && npm run build && npm run test",
"pretest": "npm run lint",
"prepush": "npm run clean && npm run build && npm run test",
"push": "npm publish --access public",

@@ -42,3 +45,4 @@ "push:no-test": "npm publish --access public",

"test-only": "jest --coverage && node remap_coverage.js && npm run cleanup",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"watch": "tsc -w -p tsconfig.release.json"
},

@@ -45,0 +49,0 @@ "author": "Tobias Kopelke <tkopelke@immomio.de>",

export * from './appointments'
import * as appointments from './appointments'
import * as utils from './utils'
export {
appointments,
utils,
}

@@ -18,7 +18,7 @@

ID: string
links: { [link: string]: string }
links: JsonHalLinkList
}
export interface JsonHalCollection {
links: { [link: string]: string }
links: JsonHalLinkList
page: JsonHalPagination

@@ -36,9 +36,7 @@ }

const convertLinks = (links: any): JsonHalLinkList => {
return links ? Object.keys(links).reduce((list: {}, link: string) => {
const convertLinks = (links: any): JsonHalLinkList => !links ? { self: '' } :
Object.keys(links).reduce((list: JsonHalLinkList, link: string) => {
list[link] = links[link].href
return list
}
, {}) as JsonHalLinkList : { self: '' }
}
}, {}) as JsonHalLinkList

@@ -45,0 +43,0 @@ const extractId = (link: string) => {

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