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

@substrate/playground-client

Package Overview
Dependencies
Maintainers
12
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/playground-client - npm Package Compare versions

Comparing version 1.4.5 to 1.5.0

1

dist/browser/index.d.ts

@@ -13,2 +13,3 @@ import { Playground, Pool, Session, SessionConfiguration, SessionUpdateConfiguration, User, UserConfiguration, UserUpdateConfiguration } from './types';

path(...resources: string[]): string;
loginPath(queryParams?: string): string;
get(init?: RequestInit): Promise<Playground>;

@@ -15,0 +16,0 @@ getCurrentUser(init?: RequestInit): Promise<User>;

@@ -20,2 +20,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
loginPath(queryParams = window.location.search) {
return this.path(`login/github${queryParams}`);
}
get(init = this.defaultInit) {

@@ -22,0 +25,0 @@ return __awaiter(this, void 0, void 0, function* () {

@@ -13,2 +13,3 @@ import { Playground, Pool, Session, SessionConfiguration, SessionUpdateConfiguration, User, UserConfiguration, UserUpdateConfiguration } from './types';

path(...resources: string[]): string;
loginPath(queryParams?: string): string;
get(init?: RequestInit): Promise<Playground>;

@@ -15,0 +16,0 @@ getCurrentUser(init?: RequestInit): Promise<User>;

@@ -81,2 +81,6 @@ "use strict";

};
Client.prototype.loginPath = function (queryParams) {
if (queryParams === void 0) { queryParams = window.location.search; }
return this.path("login/github" + queryParams);
};
Client.prototype.get = function (init) {

@@ -83,0 +87,0 @@ if (init === void 0) { init = this.defaultInit; }

7

package.json
{
"name": "@substrate/playground-client",
"version": "1.4.5",
"version": "1.5.0",
"description": "An isomorphic client for Substrate Playground",

@@ -33,5 +33,8 @@ "main": "dist/main/index.js",

},
"dependencies": {
"uuid": "8.3.2"
},
"devDependencies": {
"typescript": "4.2.3"
"typescript": "4.2.4"
}
}
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