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

@0xsequence/waas

Package Overview
Dependencies
Maintainers
6
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/waas - npm Package Compare versions

Comparing version 0.0.0-20240215172023 to 0.0.0-20240215191225

5

dist/declarations/src/auth.d.ts
import { Observer } from "./base.js";
import { IntentResponseSignedMessage } from "./clients/intent.gen.js";
import { Store } from "./store.js";
import { SendDelayedEncodeArgs, SendERC1155Args, SendERC20Args, SendERC721Args, SignMessageArgs, SendTransactionsArgs } from "./intents/index.js";
import { MaySentTransactionResponse } from "./intents/responses.js";
import { MaySentTransactionResponse, SignedMessageResponse } from "./intents/responses.js";
import { Session, Chain } from "./clients/authenticator.gen.js";

@@ -76,3 +75,3 @@ import { SimpleNetwork, WithSimpleNetwork } from "./networks.js";

private trySendIntent;
signMessage(args: WithSimpleNetwork<SignMessageArgs> & CommonAuthArgs): Promise<IntentResponseSignedMessage>;
signMessage(args: WithSimpleNetwork<SignMessageArgs> & CommonAuthArgs): Promise<SignedMessageResponse>;
sendTransaction(args: WithSimpleNetwork<SendTransactionsArgs> & CommonAuthArgs): Promise<MaySentTransactionResponse>;

@@ -79,0 +78,0 @@ sendERC20(args: WithSimpleNetwork<SendERC20Args> & CommonAuthArgs): Promise<MaySentTransactionResponse>;

18

dist/declarations/src/intents/responses.d.ts

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

import { IntentDataSendTransaction, IntentResponseGetSession, IntentResponseSessionClosed, IntentResponseSignedMessage, IntentResponseValidateSession, IntentResponseValidationFinished, IntentResponseValidationRequired } from "../clients/intent.gen.js";
export type PayloadResponse = {
import { IntentDataSendTransaction } from "../clients/intent.gen.js";
export type PayloadResponse<T> = {
code: string;
data: any;
data: T;
};

@@ -99,8 +99,8 @@ export type ValidationRequiredResponse = {

export declare function isMaySentTransactionResponse(receipt: any): receipt is MaySentTransactionResponse;
export declare function isSignedMessageResponse(receipt: any): receipt is IntentResponseSignedMessage;
export declare function isValidationRequiredResponse(receipt: any): receipt is IntentResponseValidationRequired;
export declare function isValidateSessionResponse(receipt: any): receipt is IntentResponseValidateSession;
export declare function isFinishValidateSessionResponse(receipt: any): receipt is IntentResponseValidationFinished;
export declare function isCloseSessionResponse(receipt: any): receipt is IntentResponseSessionClosed;
export declare function isGetSessionResponse(receipt: any): receipt is IntentResponseGetSession;
export declare function isSignedMessageResponse(receipt: any): receipt is SignedMessageResponse;
export declare function isValidationRequiredResponse(receipt: any): receipt is ValidationRequiredResponse;
export declare function isValidateSessionResponse(receipt: any): receipt is ValidateSessionResponse;
export declare function isFinishValidateSessionResponse(receipt: any): receipt is FinishValidateSessionResponse;
export declare function isCloseSessionResponse(receipt: any): receipt is CloseSessionResponse;
export declare function isGetSessionResponse(receipt: any): receipt is GetSessionResponse;
export {};
{
"name": "@0xsequence/waas",
"version": "0.0.0-20240215172023",
"version": "0.0.0-20240215191225",
"description": "waas session client",

@@ -12,3 +12,3 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/waas",

"dependencies": {
"@0xsequence/network": "0.0.0-20240215172023",
"@0xsequence/network": "0.0.0-20240215191225",
"@aws-sdk/client-cognito-identity-provider": "^3.445.0",

@@ -15,0 +15,0 @@ "idb": "^7.1.1",

@@ -388,3 +388,3 @@ import {Observer, SequenceWaaSBase} from './base'

async signMessage(args: WithSimpleNetwork<SignMessageArgs> & CommonAuthArgs): Promise<IntentResponseSignedMessage> {
async signMessage(args: WithSimpleNetwork<SignMessageArgs> & CommonAuthArgs): Promise<SignedMessageResponse> {
const intent = await this.waas.signMessage(await this.useIdentifier(args))

@@ -391,0 +391,0 @@ return this.trySendIntent(args, intent, isSignedMessageResponse)

@@ -12,5 +12,5 @@ import {

export type PayloadResponse = {
export type PayloadResponse<T> = {
code: string
data: any
data: T
}

@@ -160,3 +160,3 @@

export function isSignedMessageResponse(receipt: any): receipt is IntentResponseSignedMessage {
export function isSignedMessageResponse(receipt: any): receipt is SignedMessageResponse {
return (

@@ -172,3 +172,3 @@ typeof receipt === 'object' &&

export function isValidationRequiredResponse(receipt: any): receipt is IntentResponseValidationRequired {
export function isValidationRequiredResponse(receipt: any): receipt is ValidationRequiredResponse {
return (

@@ -183,3 +183,3 @@ typeof receipt === 'object' &&

export function isValidateSessionResponse(receipt: any): receipt is IntentResponseValidateSession {
export function isValidateSessionResponse(receipt: any): receipt is ValidateSessionResponse {
return (

@@ -193,3 +193,3 @@ typeof receipt === 'object' &&

export function isFinishValidateSessionResponse(receipt: any): receipt is IntentResponseValidationFinished {
export function isFinishValidateSessionResponse(receipt: any): receipt is FinishValidateSessionResponse {
return (

@@ -203,3 +203,3 @@ typeof receipt === 'object' &&

export function isCloseSessionResponse(receipt: any): receipt is IntentResponseSessionClosed {
export function isCloseSessionResponse(receipt: any): receipt is CloseSessionResponse {
return (

@@ -212,3 +212,3 @@ typeof receipt === 'object' &&

export function isGetSessionResponse(receipt: any): receipt is IntentResponseGetSession {
export function isGetSessionResponse(receipt: any): receipt is GetSessionResponse {
return (

@@ -215,0 +215,0 @@ typeof receipt === 'object' &&

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