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

@workerbase/sdk

Package Overview
Dependencies
Maintainers
3
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workerbase/sdk - npm Package Compare versions

Comparing version 0.1.16-beta.3 to 0.1.16-beta.4

5

dist/resources.d.ts

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

import WorkerbaseFunction, { FunctionsSDK } from './resources/WorkerbaseFunction';
export interface Resources {
functions: FunctionsSDK;
}
import WorkerbaseFunction from './resources/WorkerbaseFunction';
declare const _default: {

@@ -6,0 +3,0 @@ functions: typeof WorkerbaseFunction;

@@ -1,16 +0,4 @@

import { WorkerbaseFunction, WorkerbaseFunctionPOST, WorkerbaseFunctionPUT } from '../types/Function';
import { ListOptions } from '../types/pagination';
import { ArrayPromiseWithMethods } from '../utils/addArrayMethods';
import { BasicMethodTypes } from '../utils/basicMethods/BasicMethodTypes';
import { API } from '../Workerbase';
export interface FunctionsSDK extends BasicMethodTypes<{
GET: WorkerbaseFunction;
POST: WorkerbaseFunctionPOST;
PUT: WorkerbaseFunctionPUT;
}> {
deploy: (functionId: string) => Promise<{
success: boolean;
}>;
invoke: (functionId: string, payload: any) => Promise<any>;
}
export default class {

@@ -17,0 +5,0 @@ _api: API;

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

import { Resources } from './resources';
import WorkerbaseFunction from './resources/WorkerbaseFunction';
export interface AuthOptions {

@@ -11,3 +11,3 @@ token: string | undefined;

}
export interface WorkerbaseSDK extends Resources {
export interface WorkerbaseSDK {
_api: API;

@@ -19,2 +19,3 @@ PACKAGE_VERSION: string;

_api: API;
functions: WorkerbaseFunction;
constructor();

@@ -21,0 +22,0 @@ auth(config?: AuthOptions): void;

2

package.json
{
"name": "@workerbase/sdk",
"version": "0.1.16-beta.3",
"version": "0.1.16-beta.4",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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

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