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

@funkit/api-base

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funkit/api-base - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2-next.0

6

CHANGELOG.md
# @funkit/api-base
## 1.0.2-next.0
### Patch Changes
- 3889115: fix: ensure salt is always hex
## 1.0.1

@@ -4,0 +10,0 @@

2

dist/src/services/checkout/types.d.ts

@@ -49,3 +49,3 @@ /**===============*

sourceOfFund: string;
salt: bigint;
salt: Hex;
clientMetadata: object;

@@ -52,0 +52,0 @@ };

export declare function randomBytes(length: number): `0x${string}`;
export declare function generateRandomCheckoutSalt(): bigint;
export declare function generateRandomCheckoutSalt(): `0x${string}`;
export declare function roundToNearestBottomTenth(n: number): number;

@@ -15,3 +15,3 @@ "use strict";

function generateRandomCheckoutSalt() {
return BigInt(randomBytes(32));
return (0, viem_1.toHex)(BigInt(randomBytes(32)));
}

@@ -18,0 +18,0 @@ function roundToNearestBottomTenth(n) {

{
"name": "@funkit/api-base",
"version": "1.0.1",
"version": "1.0.2-next.0",
"description": "Base API for Funkit",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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