@substrate/playground-client
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -1,2 +0,2 @@ | ||
import { Playground, Pool, Session, SessionConfiguration, SessionUpdateConfiguration, User, UserConfiguration, UserUpdateConfiguration } from './types'; | ||
import { Playground, Pool, Session, SessionConfiguration, SessionUpdateConfiguration, Template, User, UserConfiguration, UserUpdateConfiguration } from './types'; | ||
export declare class Client { | ||
@@ -31,3 +31,3 @@ static userResource: string; | ||
deleteSession(id: string, init?: RequestInit): Promise<void>; | ||
listTemplates(init?: RequestInit): Promise<Record<string, Session>>; | ||
listTemplates(init?: RequestInit): Promise<Record<string, Template>>; | ||
getPool(id: string, init?: RequestInit): Promise<Pool | null>; | ||
@@ -34,0 +34,0 @@ listPools(init?: RequestInit): Promise<Record<string, Pool>>; |
export interface Playground { | ||
env: Environment; | ||
configuration: Configuration; | ||
templates: Record<string, Template>; | ||
user?: LoggedUser; | ||
@@ -6,0 +5,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Playground, Pool, Session, SessionConfiguration, SessionUpdateConfiguration, User, UserConfiguration, UserUpdateConfiguration } from './types'; | ||
import { Playground, Pool, Session, SessionConfiguration, SessionUpdateConfiguration, Template, User, UserConfiguration, UserUpdateConfiguration } from './types'; | ||
export declare class Client { | ||
@@ -31,3 +31,3 @@ static userResource: string; | ||
deleteSession(id: string, init?: RequestInit): Promise<void>; | ||
listTemplates(init?: RequestInit): Promise<Record<string, Session>>; | ||
listTemplates(init?: RequestInit): Promise<Record<string, Template>>; | ||
getPool(id: string, init?: RequestInit): Promise<Pool | null>; | ||
@@ -34,0 +34,0 @@ listPools(init?: RequestInit): Promise<Record<string, Pool>>; |
export interface Playground { | ||
env: Environment; | ||
configuration: Configuration; | ||
templates: Record<string, Template>; | ||
user?: LoggedUser; | ||
@@ -6,0 +5,0 @@ } |
{ | ||
"name": "@substrate/playground-client", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "An isomorphic client for Substrate Playground", | ||
@@ -5,0 +5,0 @@ "main": "dist/main/index.js", |
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
53733
1185