Sign In

@runapi.ai/hailuo

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runapi.ai/hailuo - npm Package Compare versions

Comparing version
0.2.7
to
0.2.8
+3
-3
dist/index.d.mts

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

import { AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
import { TaskResponse, AsyncTaskStatus, TaskBillingResponse, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';

@@ -73,3 +73,3 @@

/** Response from task creation containing the task identifier for polling. */
interface TaskCreateResponse {
interface TaskCreateResponse extends TaskBillingResponse {
id: string;

@@ -82,3 +82,3 @@ }

/** Video generation task status and results. Poll until `status` reaches a terminal state. */
interface HailuoVideoResponse {
interface HailuoVideoResponse extends TaskResponse {
id: string;

@@ -85,0 +85,0 @@ status: AsyncTaskStatus;

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

import { AsyncTaskStatus, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
import { TaskResponse, AsyncTaskStatus, TaskBillingResponse, HttpClient, RequestOptions, PollingOptions, BaseClient, ClientOptions } from '@runapi.ai/core';
export { AuthenticationError, InsufficientCreditsError, NetworkError, NotFoundError, RateLimitError, RunApiError, ServiceUnavailableError, TaskFailedError, TaskTimeoutError, TimeoutError, ValidationError } from '@runapi.ai/core';

@@ -73,3 +73,3 @@

/** Response from task creation containing the task identifier for polling. */
interface TaskCreateResponse {
interface TaskCreateResponse extends TaskBillingResponse {
id: string;

@@ -82,3 +82,3 @@ }

/** Video generation task status and results. Poll until `status` reaches a terminal state. */
interface HailuoVideoResponse {
interface HailuoVideoResponse extends TaskResponse {
id: string;

@@ -85,0 +85,0 @@ status: AsyncTaskStatus;

@@ -6,4 +6,4 @@ {

},
"version": "0.2.7",
"description": "RunAPI Hailuo SDK for text-to-video and image-to-video workflows in JavaScript, Python, Ruby, Go, and Java",
"version": "0.2.8",
"description": "RunAPI Hailuo SDK for text-to-video and image-to-video workflows in JavaScript, Python, Ruby, Go, Java, and PHP",
"main": "./dist/index.js",

@@ -35,3 +35,3 @@ "module": "./dist/index.mjs",

"dependencies": {
"@runapi.ai/core": "^0.2.7"
"@runapi.ai/core": "^0.3.0"
},

@@ -38,0 +38,0 @@ "devDependencies": {