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

@cognite/sdk-core

Package Overview
Dependencies
Maintainers
138
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 2.1.0 to 2.1.1

8

CHANGELOG.md

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

## [2.1.1](https://github.com/cognitedata/cognite-sdk-js/compare/@cognite/sdk-core@2.1.0...@cognite/sdk-core@2.1.1) (2021-04-13)
**Note:** Version bump only for package @cognite/sdk-core
# [2.1.0](https://github.com/cognitedata/cognite-sdk-js/compare/@cognite/sdk-core@2.0.0...@cognite/sdk-core@2.1.0) (2021-04-08)

@@ -8,0 +16,0 @@

2

dist/src/adfs.d.ts

@@ -6,3 +6,3 @@ export interface ADFSConfig {

export interface ADFSRequestParams {
cluster: string;
resource: string;
clientId: string;

@@ -9,0 +9,0 @@ }

@@ -9,3 +9,3 @@ {

"types": "dist/src/index.d.js",
"version": "2.1.0",
"version": "2.1.1",
"scripts": {

@@ -37,3 +37,3 @@ "clean": "rm -rf dist/ docs/",

},
"gitHead": "3f270f405ebb2378dffe26833569a42d8e46f4d5"
"gitHead": "f814de19044e57bf9564394945643b9c96b70034"
}

@@ -12,3 +12,3 @@ import nock from 'nock';

const requestParams = {
cluster,
resource: mockBaseUrl,
clientId,

@@ -15,0 +15,0 @@ };

@@ -762,3 +762,3 @@ // Copyright 2020 Cognite AS

const requestParams = {
cluster,
resource: mockClusterUrl,
clientId,

@@ -765,0 +765,0 @@ };

@@ -14,3 +14,3 @@ // Copyright 2020 Cognite AS

export interface ADFSRequestParams {
cluster: string;
resource: string;
clientId: string;

@@ -160,3 +160,3 @@ }

private getADFSQueryParams({
cluster,
resource,
clientId,

@@ -166,3 +166,2 @@ }: ADFSRequestParams): ADFSQueryParams {

const responseType = 'id_token token';
const resource = `https://${cluster}.cognitedata.com`;
const scope = `user_impersonation IDENTITY`;

@@ -169,0 +168,0 @@ const redirectUri = window.location.href;

@@ -605,3 +605,3 @@ // Copyright 2020 Cognite AS

}: OAuthLoginForADFSOptions): Promise<OAuthLoginResult> => {
const { cluster } = requestParams;
const { resource } = requestParams;
const adfsClient = new ADFS({

@@ -612,3 +612,3 @@ authority,

this.httpClient.setCluster(cluster);
this.httpClient.setBaseUrl(resource);

@@ -615,0 +615,0 @@ let token = await this.handleADFSLoginRedirect(adfsClient);

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