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

@0xraid/sdk

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xraid/sdk - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

45

dist/actionClient.d.ts
export default class actionClient {
gas(address: string, args: string, fn: string): {
action: string;
actionContext: {
address: string;
args: string;
fn: string;
};
gas(
address: string,
args: string,
fn: string
): {
action: string;
actionContext: {
address: string;
args: string;
fn: string;
};
notify(message: string, to: string): {
action: string;
actionContext: {
message: string;
to: string;
};
};
notify(
message: string,
to: string
): {
action: string;
actionContext: {
message: string;
to: string;
};
sendTx(tx: string): {
action: string;
actionContext: {
tx: string;
};
};
sendTx(tx: string): {
action: string;
actionContext: {
tx: string;
};
};
}
//# sourceMappingURL=actionClient.d.ts.map
//# sourceMappingURL=actionClient.d.ts.map
export default class apiClient {
chain: any;
apiKey: string;
constructor(chain: any, apiKey: string);
get(path: string, query?: any, body?: any): Promise<any>;
post(path: string, query?: any, body?: any): Promise<any>;
put(path: string, query?: any, body?: any): Promise<any>;
delete(path: string, query?: any, body?: any): Promise<any>;
chain: any;
apiKey: string;
constructor(chain: any, apiKey: string);
get(path: string, query?: any, body?: any): Promise<any>;
post(path: string, query?: any, body?: any): Promise<any>;
put(path: string, query?: any, body?: any): Promise<any>;
delete(path: string, query?: any, body?: any): Promise<any>;
}
//# sourceMappingURL=apiClient.d.ts.map
//# sourceMappingURL=apiClient.d.ts.map

@@ -7,34 +7,38 @@ /// <reference types="chai" />

export declare enum Chains {
polygon = "polygon"
polygon = "polygon",
}
export declare class raidClient {
chain: Chains;
signer: any;
apiKey: string;
client: apiClient;
triggers: triggersClient;
actions: actionsClient;
constructor(chain: Chains, apiKey: string);
deploy(metadata: Object, trigger: {
trigger: string;
triggerContext: Object;
}, action: {
action: string;
actionContext: Object;
}): Promise<{
appId: any;
constructor: Function;
toString(): string;
toLocaleString(): string;
valueOf(): Object;
hasOwnProperty(v: PropertyKey): boolean;
isPrototypeOf(v: Object): boolean;
propertyIsEnumerable(v: PropertyKey): boolean;
should: Chai.Assertion;
action: string;
actionContext: Object;
filterContext: Object;
filter: string;
}>;
chain: Chains;
signer: any;
apiKey: string;
client: apiClient;
triggers: triggersClient;
actions: actionsClient;
constructor(chain: Chains, apiKey: string);
deploy(
metadata: Object,
trigger: {
trigger: string;
triggerContext: Object;
},
action: {
action: string;
actionContext: Object;
}
): Promise<{
appId: any;
constructor: Function;
toString(): string;
toLocaleString(): string;
valueOf(): Object;
hasOwnProperty(v: PropertyKey): boolean;
isPrototypeOf(v: Object): boolean;
propertyIsEnumerable(v: PropertyKey): boolean;
should: Chai.Assertion;
action: string;
actionContext: Object;
filterContext: Object;
filter: string;
}>;
}
//# sourceMappingURL=index.d.ts.map
//# sourceMappingURL=index.d.ts.map
export default class triggersClient {
cron(interval: string): {
trigger: string;
triggerContext: {
interval: string;
};
cron(interval: string): {
trigger: string;
triggerContext: {
interval: string;
};
gas(limit: string): {
trigger: string;
triggerContext: {
limit: string;
};
};
gas(limit: string): {
trigger: string;
triggerContext: {
limit: string;
};
gm(): {
trigger: string;
triggerContext: {};
};
};
gm(): {
trigger: string;
triggerContext: {};
};
}
//# sourceMappingURL=triggerClient.d.ts.map
//# sourceMappingURL=triggerClient.d.ts.map
{
"name": "@0xraid/sdk",
"version": "0.0.11",
"version": "0.0.12",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts",

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