New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@polywrap/concurrent-plugin-js

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polywrap/concurrent-plugin-js - npm Package Compare versions

Comparing version 0.10.0 to 0.12.0-pre.0

2

build/index.d.ts
import { CoreClient } from "@polywrap/core-js";
import { PluginFactory } from "@polywrap/plugin-js";
import { Args_abort, Args_result, Args_schedule, Args_status, Int, TaskResult, TaskStatus, Module } from "./wrap";
declare type NoConfig = Record<string, never>;
type NoConfig = Record<string, never>;
export declare class ConcurrentPromisePlugin extends Module<NoConfig> {

@@ -6,0 +6,0 @@ private _totalTasks;

@@ -43,3 +43,3 @@ "use strict";

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -46,0 +46,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

import * as Types from "./";
export declare type UInt = number;
export declare type UInt8 = number;
export declare type UInt16 = number;
export declare type UInt32 = number;
export declare type Int = number;
export declare type Int8 = number;
export declare type Int16 = number;
export declare type Int32 = number;
export declare type Bytes = Uint8Array;
export declare type BigInt = string;
export declare type BigNumber = string;
export declare type Json = string;
export declare type String = string;
export declare type Boolean = boolean;
export type UInt = number;
export type UInt8 = number;
export type UInt16 = number;
export type UInt32 = number;
export type Int = number;
export type Int8 = number;
export type Int16 = number;
export type Int32 = number;
export type Bytes = Uint8Array;
export type BigInt = string;
export type BigNumber = string;
export type Json = string;
export type String = string;
export type Boolean = boolean;
export interface Task {

@@ -34,4 +34,4 @@ uri: Types.String;

}
export declare type TaskStatusString = "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED";
export declare type TaskStatus = TaskStatusEnum | TaskStatusString;
export type TaskStatusString = "PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED";
export type TaskStatus = TaskStatusEnum | TaskStatusString;
export declare enum ReturnWhenEnum {

@@ -42,3 +42,3 @@ FIRST_COMPLETED = 0,

}
export declare type ReturnWhenString = "FIRST_COMPLETED" | "ANY_COMPLETED" | "ALL_COMPLETED";
export declare type ReturnWhen = ReturnWhenEnum | ReturnWhenString;
export type ReturnWhenString = "FIRST_COMPLETED" | "ANY_COMPLETED" | "ALL_COMPLETED";
export type ReturnWhen = ReturnWhenEnum | ReturnWhenString;
{
"name": "@polywrap/concurrent-plugin-js",
"description": "Run wrap invocations concurrently using promises",
"version": "0.10.0",
"version": "0.12.0-pre.0",
"license": "MIT",

@@ -25,24 +25,24 @@ "repository": {

"dependencies": {
"@polywrap/core-js": "0.10.0",
"@polywrap/plugin-js": "0.10.0",
"@polywrap/msgpack-js": "0.10.0"
"@polywrap/core-js": "~0.12.0-pre.0",
"@polywrap/plugin-js": "~0.12.0-pre.0",
"@polywrap/msgpack-js": "~0.12.0-pre.0"
},
"peerDependencies": {
"@polywrap/core-js": "0.10.x",
"@polywrap/plugin-js": "0.10.x",
"@polywrap/msgpack-js": "0.10.x"
"@polywrap/core-js": "0.12.x",
"@polywrap/plugin-js": "0.12.x",
"@polywrap/msgpack-js": "0.12.x"
},
"devDependencies": {
"@polywrap/client-js": "0.10.0",
"@polywrap/http-plugin-js": "0.10.0",
"@polywrap/cli-js": "0.10.2",
"@types/jest": "26.0.8",
"@polywrap/client-js": "~0.12.0-pre.0",
"@polywrap/http-plugin-js": "~0.12.0-pre.0",
"@polywrap/cli-js": "~0.11.0-pre.0",
"@types/jest": "29.5.0",
"@types/prettier": "2.6.0",
"polywrap": "0.10.2",
"jest": "26.6.3",
"polywrap": "~0.11.0-pre.0",
"jest": "29.5.0",
"rimraf": "3.0.2",
"ts-jest": "26.5.4",
"ts-node": "8.10.2",
"typescript": "4.6.4"
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"typescript": "4.9.5"
}
}

@@ -7,3 +7,3 @@ # @polywrap/concurrent-plugin-js

The Concurrent plugin implements an existing wrap interface at `wrap://ens/wraps.eth:concurrent@1.0.0`.
The Concurrent plugin implements an existing wrap interface at `wrapscan.io/polywrap/concurrent@1.0`.

@@ -19,3 +19,3 @@ ## Usage

.addPackage(
"wrap://ens/wraps.eth:concurrent@1.0.0",
"wrapscan.io/polywrap/concurrent@1.0",
concurrentPromisePlugin({ })

@@ -22,0 +22,0 @@ )

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