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

@cognite/sdk-core

Package Overview
Dependencies
Maintainers
99
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cognite/sdk-core - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

typedoc.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.0.1](https://github.com/cognitedata/cognite-sdk-js/compare/@cognite/sdk-core@1.0.0...@cognite/sdk-core@1.0.1) (2020-09-10)
### Bug Fixes
* exports from packages, add guide for making derived SDKs ([#421](https://github.com/cognitedata/cognite-sdk-js/issues/421)) ([a3a2eb0](https://github.com/cognitedata/cognite-sdk-js/commit/a3a2eb03645733c289591b187f19e55b5294fbc7))
# 1.0.0 (2020-08-03)

@@ -8,0 +19,0 @@

1

dist/src/baseCogniteClient.d.ts

@@ -37,3 +37,2 @@ import { LoginAPI } from './api/login/loginApi';

export declare function throwReLogginError(): void;
/** @hidden */
export default class BaseCogniteClient {

@@ -40,0 +39,0 @@ get login(): LoginAPI;

@@ -13,2 +13,14 @@ export declare class BasicHttpClient {

private defaultHeaders;
/**
* A basic http client with the option of adding default headers,
* and the option of using a baseUrl.
* Note: If the path given starts with `https://`, the baseUrl is ignored.
*
* It handles query parameters, and request body data which gets encoded as json if
* needed.
*
* See HttpRequest.
*
* @param baseUrl
*/
constructor(baseUrl: string);

@@ -15,0 +27,0 @@ setDefaultHeader(name: string, value: string): this;

@@ -10,2 +10,4 @@ import * as Constants from './constants';

export * from './baseCogniteClient';
export { BasicHttpClient } from './httpClient/basicHttpClient';
export { RetryableHttpClient } from './httpClient/retryableHttpClient';
export { CDFHttpClient } from './httpClient/cdfHttpClient';

@@ -12,0 +14,0 @@ export { CogniteError } from './error';

@@ -9,5 +9,5 @@ {

"types": "dist/src/index.d.js",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {
"clean": "rm -rf dist",
"clean": "rm -rf dist/ docs/",
"test": "jest --config=../../jest.config.js --testPathPattern=/core/",

@@ -19,3 +19,5 @@ "lint": "eslint 'src/**/*.{js,ts}'",

"watch": "rollup -cw",
"esCheck": "es-check es5 './dist/index.js'"
"esCheck": "es-check es5 './dist/index.js'",
"docs": "typedoc --options typedoc.js --tsconfig tsconfig.json src/index.ts",
"docs:bundle": "yarn docs && mkdir -p ../../docs/core && cp -r docs/* ../../docs/core/"
},

@@ -31,3 +33,3 @@ "dependencies": {

},
"gitHead": "e04804beedf85025df40d0e57519bbb103b66717"
"gitHead": "c141e83378de59346e4c3288d9cba8a0d848186f"
}

@@ -79,3 +79,2 @@ // Copyright 2020 Cognite AS

/** @hidden */
export default class BaseCogniteClient {

@@ -82,0 +81,0 @@ public get login() {

@@ -75,2 +75,14 @@ // Copyright 2020 Cognite AS

/**
* A basic http client with the option of adding default headers,
* and the option of using a baseUrl.
* Note: If the path given starts with `https://`, the baseUrl is ignored.
*
* It handles query parameters, and request body data which gets encoded as json if
* needed.
*
* See HttpRequest.
*
* @param baseUrl
*/
constructor(protected baseUrl: string) {}

@@ -77,0 +89,0 @@

@@ -13,2 +13,4 @@ // Copyright 2020 Cognite AS

export { BasicHttpClient } from './httpClient/basicHttpClient';
export { RetryableHttpClient } from './httpClient/retryableHttpClient';
export { CDFHttpClient } from './httpClient/cdfHttpClient';

@@ -15,0 +17,0 @@ export { CogniteError } from './error';

Sorry, the diff of this file is too big to display

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