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

@studyportals/sp-lord-business-interface

Package Overview
Dependencies
Maintainers
19
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/sp-lord-business-interface - npm Package Compare versions

Comparing version 0.0.1-7 to 0.0.1-8

src/PresentationEnrolment.d.ts

2

package.json
{
"name": "@studyportals/sp-lord-business-interface",
"version": "0.0.1-7",
"version": "0.0.1-8",
"description": "Typescript library containing resources that facilitate integration with Lord Business.",

@@ -5,0 +5,0 @@ "main": "bin/index.js",

import { IRequestSender, ISuperAgentRequestFactory } from "@studyportals/mb-platform-http-requests";
import { Transition } from "../";
import { PresentationEnrolment } from "./PresentationEnrolment";
export declare class LordBusinessClient {

@@ -10,4 +11,5 @@ private superAgentRequestFactory;

describeFulfillmentProcessForUser(email: string): Promise<Transition[]>;
retrieveAllEnrolments(): Promise<PresentationEnrolment[]>;
private createGetRequest;
private buildUrl;
}

@@ -28,2 +28,9 @@ "use strict";

}
retrieveAllEnrolments() {
return __awaiter(this, void 0, void 0, function* () {
const request = this.createGetRequest("/enrolments");
const result = yield this.requestSender.sendAndExtractBody(request);
return result.enrolments;
});
}
createGetRequest(relative = "") {

@@ -30,0 +37,0 @@ return this.superAgentRequestFactory.get(this.buildUrl(relative));

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