@renegade-fi/core
Advanced tools
Comparing version 0.0.6 to 0.0.7
import { type Config } from "../createConfig.js"; | ||
import type { Task } from "../types/wallet.js"; | ||
import type { OldTask as Task } from "../types/wallet.js"; | ||
export type GetTaskQueueParameters = {}; | ||
@@ -4,0 +4,0 @@ export type GetTaskQueueReturnType = Promise<Task[]>; |
import { type Config } from "../createConfig.js"; | ||
import type { Task } from "../types/wallet.js"; | ||
import type { OldTask as Task } from "../types/wallet.js"; | ||
export type GetTaskStatusParameters = { | ||
@@ -4,0 +4,0 @@ id: string; |
import { type Config } from "../createConfig.js"; | ||
import type { Task } from "../types/wallet.js"; | ||
import type { OldTask as Task } from "../types/wallet.js"; | ||
export type WaitForTaskCompletionParameters = { | ||
@@ -4,0 +4,0 @@ id: string; |
@@ -32,3 +32,3 @@ export { type Config, type CreateConfigParameters, type State, createConfig, } from "./createConfig.js"; | ||
export * from "./types/wallet.js"; | ||
export type { Task as TaskHistoryItem, TaskInfo, TaskState } from "./types/task.js"; | ||
export type { Task, TaskInfo, TaskState } from "./types/task.js"; | ||
export { UpdateType, TaskType } from "./types/task.js"; | ||
@@ -35,0 +35,0 @@ export { formatAmount, parseAmount } from "./utils/format.js"; |
@@ -8,3 +8,3 @@ import type { Address } from "viem"; | ||
}; | ||
export type TaskState = "Queued" | "Running" | "Proving" | "Submitting Tx" | "Finding Opening" | "Updating Validity Proofs" | "Completed" | "Failed"; | ||
export type TaskState = "Queued" | "Running" | "Proving" | "Proving Payment" | "Submitting Tx" | "Submitting Payment" | "Finding Opening" | "Updating Validity Proofs" | "Completed" | "Failed"; | ||
export declare enum UpdateType { | ||
@@ -11,0 +11,0 @@ Deposit = "Deposit", |
@@ -61,3 +61,3 @@ import type { Address, Hex } from "viem"; | ||
}; | ||
export type Task = { | ||
export type OldTask = { | ||
id: string; | ||
@@ -64,0 +64,0 @@ description: string; |
{ | ||
"name": "@renegade-fi/core", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "VanillaJS library for Renegade", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -7,3 +7,3 @@ import { getWalletId } from "./getWalletId.js" | ||
import { type Config } from "../createConfig.js" | ||
import type { Task } from "../types/wallet.js" | ||
import type { OldTask as Task } from "../types/wallet.js" | ||
@@ -10,0 +10,0 @@ export type GetTaskQueueParameters = {} |
@@ -5,3 +5,3 @@ import { getRelayerWithAuth } from "../utils/http.js" | ||
import { type Config } from "../createConfig.js" | ||
import type { Task } from "../types/wallet.js" | ||
import type { OldTask as Task } from "../types/wallet.js" | ||
@@ -8,0 +8,0 @@ export type GetTaskStatusParameters = { id: string } |
@@ -5,3 +5,3 @@ import { getTaskStatus } from "./getTaskStatus.js" | ||
import { type Config } from "../createConfig.js" | ||
import type { Task } from "../types/wallet.js" | ||
import type { OldTask as Task } from "../types/wallet.js" | ||
@@ -8,0 +8,0 @@ export type WaitForTaskCompletionParameters = { id: string } |
@@ -172,3 +172,3 @@ //////////////////////////////////////////////////////////////////////////////// | ||
export type { Task as TaskHistoryItem, TaskInfo, TaskState } from "./types/task.js" | ||
export type { Task, TaskInfo, TaskState } from "./types/task.js" | ||
export { UpdateType, TaskType } from "./types/task.js" | ||
@@ -175,0 +175,0 @@ |
@@ -14,3 +14,5 @@ import type { Address } from "viem" | ||
| "Proving" | ||
| "Proving Payment" | ||
| "Submitting Tx" | ||
| "Submitting Payment" | ||
| "Finding Opening" | ||
@@ -17,0 +19,0 @@ | "Updating Validity Proofs" |
@@ -69,3 +69,3 @@ import type { Address, Hex } from "viem" | ||
export type Task = { | ||
export type OldTask = { | ||
id: string | ||
@@ -72,0 +72,0 @@ description: string |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282453
4993