Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@renegade-fi/core

Package Overview
Dependencies
Maintainers
3
Versions
227
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.17 to 0.0.18

2

dist/constants.js

@@ -333,2 +333,4 @@ /// Header name for the HTTP auth signature

process.env.VERCEL_ENV === 'preview' ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'development' ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' ||
process.env.NODE_ENV === 'development';

@@ -335,0 +337,0 @@ export const tokenMapping = isDevelopment

2

dist/types/types/task.d.ts

@@ -5,3 +5,3 @@ import type { Address } from 'viem';

state: TaskState;
created_at: number;
created_at: bigint;
task_info: TaskInfo;

@@ -8,0 +8,0 @@ };

@@ -5,22 +5,8 @@ import type { Address, Hex } from 'viem';

id: string;
public_share_nullifier: number[];
public_share_nullifier: bigint[];
local: boolean;
cluster: string;
state: string;
validity_proofs: (ValidityProof | number[])[];
timestamp: number;
timestamp: bigint;
};
type ValidityProof = {
statement: {
original_shares_nullifier?: number[];
reblinded_private_share_commitment?: number[];
merkle_root?: number[];
indices?: {
balance_send: number;
balance_receive: number;
order: number;
};
};
proof: string;
};
export type Order = {

@@ -31,3 +17,3 @@ id: string;

side: 'Buy' | 'Sell';
type: 'Midpoint';
type: string;
worst_case_price: string;

@@ -80,6 +66,5 @@ amount: bigint;

filled: bigint;
created: number;
created: bigint;
data: Order;
};
export {};
//# sourceMappingURL=wallet.d.ts.map

@@ -43,3 +43,6 @@ import axios from 'axios';

try {
return JSONBigint({ useNativeBigInt: true }).parse(data);
return JSONBigint({
useNativeBigInt: true,
alwaysParseAsBig: true,
}).parse(data);
}

@@ -46,0 +49,0 @@ catch (_error) {

{
"name": "@renegade-fi/core",
"version": "0.0.17",
"version": "0.0.18",
"description": "VanillaJS library for Renegade",

@@ -21,3 +21,3 @@ "files": [

"@types/json-bigint": "^1.0.4",
"@renegade-fi/test": "0.0.17"
"@renegade-fi/test": "0.0.18"
},

@@ -24,0 +24,0 @@ "dependencies": {

@@ -385,2 +385,4 @@ import type { Address } from 'viem'

process.env.VERCEL_ENV === 'preview' ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'development' ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' ||
process.env.NODE_ENV === 'development'

@@ -387,0 +389,0 @@

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

state: TaskState
created_at: number
created_at: bigint
task_info: TaskInfo

@@ -9,0 +9,0 @@ }

@@ -7,24 +7,9 @@ import type { Address, Hex } from 'viem'

id: string
public_share_nullifier: number[]
public_share_nullifier: bigint[]
local: boolean
cluster: string
state: string
validity_proofs: (ValidityProof | number[])[]
timestamp: number
timestamp: bigint
}
type ValidityProof = {
statement: {
original_shares_nullifier?: number[]
reblinded_private_share_commitment?: number[]
merkle_root?: number[]
indices?: {
balance_send: number
balance_receive: number
order: number
}
}
proof: string
}
export type Order = {

@@ -35,3 +20,3 @@ id: string

side: 'Buy' | 'Sell'
type: 'Midpoint'
type: string
worst_case_price: string

@@ -91,4 +76,4 @@ amount: bigint

filled: bigint
created: number
created: bigint
data: Order
}

@@ -48,3 +48,6 @@ import axios from 'axios'

try {
return JSONBigint({ useNativeBigInt: true }).parse(data)
return JSONBigint({
useNativeBigInt: true,
alwaysParseAsBig: true,
}).parse(data)
} catch (_error) {

@@ -51,0 +54,0 @@ return data

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