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

@project-sunbird/client-services

Package Overview
Dependencies
Maintainers
7
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@project-sunbird/client-services - npm Package Compare versions

Comparing version 2.10.1 to 3.0.0

core/cs-error.d.ts

41

index.d.ts

@@ -1,9 +0,32 @@

export * from './channel';
export * from './content';
export * from './course';
export * from './faq';
export * from './page';
export * from './user';
export * from './device';
export * from './organisation';
export * from './form';
import { CsHttpService } from './core/http-service/interface';
import { CsClassRoomService } from './services/class-room/interface';
export interface CsConfig {
core: {
httpAdapter: 'HttpClientBrowserAdapter' | 'HttpClientCordovaAdapter';
global: {
channelId?: string;
producerId?: string;
deviceId?: string;
};
api: {
host: string;
authentication: {
userToken?: string;
bearerToken?: string;
};
};
};
}
export declare class CsModule {
private static _instance?;
static readonly instance: CsModule;
private _container;
private _isInitialised;
private _config;
readonly isInitialised: boolean;
readonly httpService: CsHttpService;
readonly classRoomService: CsClassRoomService;
readonly config: CsConfig;
init(config: CsConfig): Promise<void>;
updateConfig(config: CsConfig): void;
}
{
"name": "@project-sunbird/client-services",
"version": "2.10.1",
"version": "3.0.0",
"description": "Type definitions and models for Sunbird platform clients",

@@ -11,5 +11,10 @@ "main": "dist/index.js",

"build": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false",
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist"
"build:prod": "rm -rf dist && NODE_ENV=production webpack --verbose true --progress true --cache false && cp ./package.json ./LICENSE ./README.md ./dist",
"build:analyze": "webpack --verbose true --progress true --cache false --profile --json > stats.json && npx webpack-bundle-analyzer ./stats.json",
"build:dev": "rm -rf tmp && mkdir tmp && cp ./package-dev.json ./tmp/package.json && tsc -w --outDir ./tmp"
},
"dependencies": {},
"dependencies": {
"inversify": "^5.0.1",
"qs": "^6.9.4"
},
"author": "",

@@ -21,3 +26,9 @@ "license": "MIT",

"homepage": "https://github.com/Sunbird-Ed/sunbird-client-services#readme",
"peerDependencies": {
"rxjs": ">=6"
},
"devDependencies": {
"jest": "^25.1.0",
"rxjs": "^6.5.3",
"ts-jest": "^25.2.0",
"tslint": "^5.12.0",

@@ -29,3 +40,42 @@ "ts-loader": "^5.3.2",

"webpack-cli": "^3.3.10"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.spec.json"
}
},
"browser": false,
"rootDir": "./",
"roots": [
"<rootDir>/src/"
],
"moduleDirectories": [
"node_modules"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"coveragePathIgnorePatterns": [],
"testMatch": [
"**/?(*.)(spec).ts"
],
"restoreMocks": true,
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"setupFiles": [],
"transform": {
"^.+\\.(ts)$": "ts-jest"
},
"coverageReporters": [
"text",
"json"
],
"transformIgnorePatterns": []
}
}

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

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