Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@permaweb/aoconnect

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@permaweb/aoconnect - npm Package Compare versions

Comparing version
0.0.90
to
0.0.91
+29
dist/client/ao-core.d.ts
export function requestWith(deps: any): (args: any) => Promise<any>;
export function spawnWith(deps: any): (args: any) => Promise<any>;
export function messageWith(deps: any): (args: any) => Promise<any>;
export function resultWith(deps: any): (args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>;
export function resultsWith(deps: any): (args: any) => Promise<{
edges: {
cursor: any;
node: {
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
};
}[];
}>;
export function dryrunWith(deps: any): (args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>;
+4
-4

@@ -65,4 +65,4 @@ export const tagSchema: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
process?: string;
from?: string;
process?: string;
to?: string;

@@ -72,4 +72,4 @@ sort?: "ASC" | "DESC";

}, {
process?: string;
from?: string;
process?: string;
to?: string;

@@ -274,9 +274,9 @@ sort?: "ASC" | "DESC";

}, "strip", z.ZodTypeAny, {
process?: string;
message?: string;
process?: string;
baseLayer?: boolean;
exclude?: string[];
}, {
process?: string;
message?: string;
process?: string;
baseLayer?: boolean;

@@ -283,0 +283,0 @@ exclude?: string[];

@@ -47,2 +47,3 @@ /**

* @property {string} [CU_URL] - the url of the desried ao Compute Unit. Also used as the relay CU in 'relay' mode
* @property {string} [SCHEDULER] - the url of the desried Scheduler Unit
*

@@ -95,2 +96,6 @@ * @typedef ConnectArgsMainnet

CU_URL?: string;
/**
* - the url of the desried Scheduler Unit
*/
SCHEDULER?: string;
}): ReturnType<({ MODE, GRAPHQL_URL, GRAPHQL_MAX_RETRIES, GRAPHQL_RETRY_BACKOFF, MU_URL, CU_URL, fetch, noLog }: {

@@ -170,2 +175,3 @@ MODE: any;

* @property {string} [CU_URL] - the url of the desried ao Compute Unit. Also used as the relay CU in 'relay' mode
* @property {string} [SCHEDULER] - the url of the desried Scheduler Unit
*

@@ -218,2 +224,6 @@ * @typedef ConnectArgsMainnet

CU_URL?: string;
/**
* - the url of the desried Scheduler Unit
*/
SCHEDULER?: string;
} & {

@@ -232,14 +242,39 @@ /**

device?: string;
}): ReturnType<({ MODE, signer, GRAPHQL_URL, device, URL, MU_URL, CU_URL, fetch }: {
}): ReturnType<({ MODE, signer, URL, SCHEDULER, fetch }: {
MODE: any;
signer: any;
GRAPHQL_URL: any;
device?: string;
URL?: string;
MU_URL?: string;
CU_URL?: string;
SCHEDULER: any;
fetch?: typeof globalThis.fetch;
}) => {
MODE: string;
request: import("./lib/request/index.js").Request;
spawn: (args: any) => Promise<any>;
message: (args: any) => Promise<any>;
result: (args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>;
results: (args: any) => Promise<{
edges: {
cursor: any;
node: {
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
};
}[];
}>;
dryrun: (args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>;
request: (args: any) => Promise<any>;
createSigner: any;

@@ -246,0 +281,0 @@ createDataItemSigner: ((wallet: any) => Types["signer"]) | (() => any);

@@ -1,3 +0,3 @@

export const createDataItemSigner: typeof WalletClient.createSigner;
export const createSigner: typeof WalletClient.createSigner;
export const createDataItemSigner: any;
export const createSigner: any;
export const connect: {

@@ -43,2 +43,3 @@ /**

* @property {string} [CU_URL] - the url of the desried ao Compute Unit. Also used as the relay CU in 'relay' mode
* @property {string} [SCHEDULER] - the url of the desried Scheduler Unit
*

@@ -91,2 +92,6 @@ * @typedef ConnectArgsMainnet

CU_URL?: string;
/**
* - the url of the desried Scheduler Unit
*/
SCHEDULER?: string;
}): ReturnType<({ MODE, GRAPHQL_URL, GRAPHQL_MAX_RETRIES, GRAPHQL_RETRY_BACKOFF, MU_URL, CU_URL, fetch, noLog }: {

@@ -166,2 +171,3 @@ MODE: any;

* @property {string} [CU_URL] - the url of the desried ao Compute Unit. Also used as the relay CU in 'relay' mode
* @property {string} [SCHEDULER] - the url of the desried Scheduler Unit
*

@@ -214,2 +220,6 @@ * @typedef ConnectArgsMainnet

CU_URL?: string;
/**
* - the url of the desried Scheduler Unit
*/
SCHEDULER?: string;
} & {

@@ -228,14 +238,39 @@ /**

device?: string;
}): ReturnType<({ MODE, signer, GRAPHQL_URL, device, URL, MU_URL, CU_URL, fetch }: {
}): ReturnType<({ MODE, signer, URL, SCHEDULER, fetch }: {
MODE: any;
signer: any;
GRAPHQL_URL: any;
device?: string;
URL?: string;
MU_URL?: string;
CU_URL?: string;
SCHEDULER: any;
fetch?: typeof globalThis.fetch;
}) => {
MODE: string;
request: import("./lib/request/index.js").Request;
spawn: (args: any) => Promise<any>;
message: (args: any) => Promise<any>;
result: (args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>;
results: (args: any) => Promise<{
edges: {
cursor: any;
node: {
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
};
}[];
}>;
dryrun: (args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>;
request: (args: any) => Promise<any>;
createSigner: any;

@@ -249,11 +284,33 @@ createDataItemSigner: ((wallet: any) => import("./dal.js").Types["signer"]) | (() => any);

import { serializeCron } from './index.common.js';
export const result: import("./lib/result/index.js").ReadResult;
export const results: import("./lib/results/index.js").ReadResults;
export const message: import("./lib/message/index.js").SendMessage;
export const spawn: import("./lib/spawn/index.js").SpawnProcess;
export const result: import("./lib/result/index.js").ReadResult & ((args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>);
export const results: import("./lib/results/index.js").ReadResults & ((args: any) => Promise<{
edges: {
cursor: any;
node: {
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
};
}[];
}>);
export const message: import("./lib/message/index.js").SendMessage & ((args: any) => Promise<any>);
export const spawn: import("./lib/spawn/index.js").SpawnProcess & ((args: any) => Promise<any>);
export const monitor: import("./lib/monitor/index.js").SendMonitor;
export const unmonitor: import("./lib/unmonitor/index.js").SendMonitor;
export const dryrun: import("./lib/dryrun/index.js").DryRun;
export const dryrun: import("./lib/dryrun/index.js").DryRun & ((args: any) => Promise<{
Output: any;
Messages: any;
Assignments: any;
Spawns: any;
Error: any;
}>);
export const assign: import("./lib/assign/index.js").Assign;
import { WalletClient } from './client/node/index.js';
export { serializeCron };

@@ -22,2 +22,3 @@ /**

}): (...args: any[]) => {
[x: number]: boolean;
fork: any;

@@ -24,0 +25,0 @@ toPromise: () => any;

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

export function debugLog(level: any, ...args: any[]): void;
export function createLogger(name?: string): any;
export function verboseLog(...args: any[]): void;
{
"name": "@permaweb/aoconnect",
"version": "0.0.90",
"version": "0.0.91",
"repository": {

@@ -40,2 +40,3 @@ "type": "git",

"scripts": {
"clean:install": "rm -rf node_modules package-lock.json || true && npm cache clean --force && npm install",
"build": "npm run build:types && npm run build:src",

@@ -51,2 +52,3 @@ "build:src": "node esbuild.js",

"@dha-team/arbundles": "1.0.3",
"@permaweb/ao-core-libs": "0.0.7",
"@permaweb/ao-scheduler-utils": "~0.0.25",

@@ -53,0 +55,0 @@ "@permaweb/protocol-tag-utils": "~0.0.2",

export * as WalletClient from "./wallet.js";
/**
* A function that builds a signer using a wallet jwk interface
* commonly used in node-based dApps
*
* This is provided as a convenience for consumers of the SDK
* to use, but consumers can also implement their own signer
*
* @returns {Types['signer']}
*/
export function createSigner(wallet: any): Types["signer"];
/**
* A function that builds a signer using a wallet jwk interface
* commonly used in node-based dApps
*
* This is provided as a convenience for consumers of the SDK
* to use, but consumers can also implement their own signer
*
* @returns {Types['signer']}
*/
export function createDataItemSigner(wallet: any): Types["signer"];
import { Types } from '../../dal.js';
/**
* @callback Request
* @param {Record<string, any>} fields
* @returns {Promise<Response>} result
*
* @returns {Request}
*/
export function requestWith(env: any): Request;
export type Request = (fields: Record<string, any>) => Promise<Response>;
/**
* Parses multipart/form-data content into a structured map using the name value as the key
* @param {string} content - The multipart/form-data content to parse
* @param {string} contentType - The Content-Type header containing the boundary
* @returns {Map} A map with keys derived from form-data names and their associated values
*/
export function parseMultipartContent(content: string, contentType: string): Map;
/**
* Example usage:
*
* const contentType = 'multipart/form-data; boundary="C15c5J1-T6osyGz6UCj55OvcUPjVmnG3BJ2755HzycE"';
* const content = `--C15c5J1-T6osyGz6UCj55OvcUPjVmnG3BJ2755HzycE
* content-disposition: form-data;name="example"
*
* value
* --C15c5J1-T6osyGz6UCj55OvcUPjVmnG3BJ2755HzycE--`;
*
* const result = parseMultipartContent(content, contentType);
* console.log(result);
*/
export function parseMultipartContentNested(content: any, contentType: any): any;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display