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

@renegade-fi/core

Package Overview
Dependencies
Maintainers
0
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@renegade-fi/core - npm Package Compare versions

Comparing version 0.0.0-canary-20240817220755 to 0.0.0-canary-20240820195817

4

dist/esm/constants.js

@@ -14,5 +14,5 @@ import invariant from 'tiny-invariant';

// The system-wide value of MAX_BALANCES; the number of allowable balances a wallet holds
export const MAX_BALANCES = 5;
export const MAX_BALANCES = 10;
/// The system-wide value of MAX_ORDERS; the number of allowable orders a wallet holds
export const MAX_ORDERS = 5;
export const MAX_ORDERS = 4;
////////////////////////////////////////////////////////////////////////////////

@@ -19,0 +19,0 @@ // Wallet

@@ -36,4 +36,4 @@ import { getSkRoot } from '../actions/getSkRoot.js';

promiseSettled = true;
resolve(result);
ws.close();
resolve(result);
}

@@ -43,4 +43,4 @@ }

promiseSettled = true;
reject(error);
ws.close();
reject(error);
}

@@ -64,3 +64,2 @@ };

promiseSettled = true;
ws.close();
reject(new Error('Websocket connection timed out'));

@@ -74,4 +73,4 @@ }

promiseSettled = true;
resolve(result);
ws.close();
resolve(result);
}

@@ -78,0 +77,0 @@ });

@@ -6,4 +6,4 @@ import type { Address } from 'viem';

export declare const ROOT_KEY_MESSAGE_PREFIX = "Unlock your Renegade Wallet on chain ID:";
export declare const MAX_BALANCES = 5;
export declare const MAX_ORDERS = 5;
export declare const MAX_BALANCES = 10;
export declare const MAX_ORDERS = 4;
export declare const CREATE_WALLET_ROUTE = "/wallet";

@@ -10,0 +10,0 @@ export declare const FIND_WALLET_ROUTE = "/wallet/lookup";

@@ -34,3 +34,2 @@ export type Order = {

order: OrderMetadata;
wallet_id: string;
fillable?: bigint;

@@ -37,0 +36,0 @@ price?: number;

{
"name": "@renegade-fi/core",
"description": "VanillaJS library for Renegade",
"version": "0.0.0-canary-20240817220755",
"version": "0.0.0-canary-20240820195817",
"files": [

@@ -6,0 +6,0 @@ "dist/**",

@@ -19,6 +19,6 @@ import invariant from 'tiny-invariant'

// The system-wide value of MAX_BALANCES; the number of allowable balances a wallet holds
export const MAX_BALANCES = 5
export const MAX_BALANCES = 10
/// The system-wide value of MAX_ORDERS; the number of allowable orders a wallet holds
export const MAX_ORDERS = 5
export const MAX_ORDERS = 4

@@ -25,0 +25,0 @@ ////////////////////////////////////////////////////////////////////////////////

@@ -43,5 +43,4 @@ export type Order = {

order: OrderMetadata
wallet_id: string
fillable?: bigint
price?: number
}

@@ -96,7 +96,2 @@ /* tslint:disable */

/**
* @param {string} seed
* @returns {any}
*/
export function derive_signing_key_from_seed(seed: string): any;
/**
* @param {string} sk_root

@@ -122,1 +117,6 @@ * @returns {any}

export function bigint_to_limbs(value: string): any;
/**
* @param {string} seed
* @returns {any}
*/
export function derive_signing_key_from_seed(seed: string): any;

@@ -50,9 +50,9 @@ import { getSkRoot } from '../actions/getSkRoot.js'

promiseSettled = true
resolve(result)
ws.close()
resolve(result)
}
} catch (error) {
promiseSettled = true
reject(error)
ws.close()
reject(error)
}

@@ -79,3 +79,2 @@ }

promiseSettled = true
ws.close()
reject(new Error('Websocket connection timed out'))

@@ -90,4 +89,4 @@ }

promiseSettled = true
resolve(result)
ws.close()
resolve(result)
}

@@ -94,0 +93,0 @@ })

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

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