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

@webgpt/sdk

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webgpt/sdk - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

dist/esm/typings/errors/IdeaNotAccepted.d.ts

8

dist/esm/index.es.js

@@ -63,5 +63,13 @@ /*! *****************************************************************************

};
/**
* Creates a new assignment based on the idea.
*
* @throws {IdeaNotAccepted} If the idea is not good enough
*/
WebgptSdk.prototype.makeAssignment = function (options) {
throw new Error('Not implemented yet');
};
/**
* Connects to the existing task based on id
*/
WebgptSdk.prototype.recoverAssignmentMaking = function (id) {

@@ -68,0 +76,0 @@ throw new Error('Not implemented yet');

8

dist/esm/typings/types/MakeAssignment.d.ts

@@ -1,2 +0,1 @@

import type { TaskProgress } from '@promptbook/types';
import type { Language } from './Language';

@@ -11,5 +10,10 @@ import type { Task, TaskId } from './Task';

export type MakeAssignmentResult = {
status: 'SUCCESS';
message: string;
assignment: string;
};
export type MakeAssignmentProgress = TaskProgress;
export type MakeAssignmentProgress = {
status: 'RUNNING';
message: string;
};
/**

@@ -16,0 +20,0 @@ * TODO: !!! Make real types for assignment making

@@ -7,3 +7,11 @@ import type { MakeAssignmentOptions, MakeAssignmentTask } from './types/MakeAssignment';

checkCompatibility(): Promise<void>;
/**
* Creates a new assignment based on the idea.
*
* @throws {IdeaNotAccepted} If the idea is not good enough
*/
makeAssignment(options: MakeAssignmentOptions): MakeAssignmentTask;
/**
* Connects to the existing task based on id
*/
recoverAssignmentMaking(id: TaskId): MakeAssignmentTask;

@@ -10,0 +18,0 @@ makeWebsite(options: MakeWebsiteOptions): MakeWebsiteTask;

@@ -69,5 +69,13 @@ (function (global, factory) {

};
/**
* Creates a new assignment based on the idea.
*
* @throws {IdeaNotAccepted} If the idea is not good enough
*/
WebgptSdk.prototype.makeAssignment = function (options) {
throw new Error('Not implemented yet');
};
/**
* Connects to the existing task based on id
*/
WebgptSdk.prototype.recoverAssignmentMaking = function (id) {

@@ -74,0 +82,0 @@ throw new Error('Not implemented yet');

@@ -1,2 +0,1 @@

import type { TaskProgress } from '@promptbook/types';
import type { Language } from './Language';

@@ -11,5 +10,10 @@ import type { Task, TaskId } from './Task';

export type MakeAssignmentResult = {
status: 'SUCCESS';
message: string;
assignment: string;
};
export type MakeAssignmentProgress = TaskProgress;
export type MakeAssignmentProgress = {
status: 'RUNNING';
message: string;
};
/**

@@ -16,0 +20,0 @@ * TODO: !!! Make real types for assignment making

@@ -7,3 +7,11 @@ import type { MakeAssignmentOptions, MakeAssignmentTask } from './types/MakeAssignment';

checkCompatibility(): Promise<void>;
/**
* Creates a new assignment based on the idea.
*
* @throws {IdeaNotAccepted} If the idea is not good enough
*/
makeAssignment(options: MakeAssignmentOptions): MakeAssignmentTask;
/**
* Connects to the existing task based on id
*/
recoverAssignmentMaking(id: TaskId): MakeAssignmentTask;

@@ -10,0 +18,0 @@ makeWebsite(options: MakeWebsiteOptions): MakeWebsiteTask;

{
"name": "@webgpt/sdk",
"version": "0.8.0",
"version": "0.9.0",
"description": "Library to supercharge your use of large language models",

@@ -5,0 +5,0 @@ "private": false,

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