Socket
Socket
Sign inDemoInstall

@walletconnect/utils

Package Overview
Dependencies
Maintainers
11
Versions
642
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@walletconnect/utils - npm Package Compare versions

Comparing version 2.15.0-canary.2 to 2.15.0-canary.3

dist/types/verify.d.ts

13

dist/types/crypto.d.ts
import { CryptoTypes } from "@walletconnect/types";
import { ec as EC } from "elliptic";
export declare const BASE10 = "base10";

@@ -9,10 +8,2 @@ export declare const BASE16 = "base16";

export declare const TYPE_1 = 1;
export declare type P256KeyDataType = {
crv: "P-256";
ext: true;
key_ops: ["verify"];
kty: string;
x: string;
y: string;
};
export declare function generateKeyPair(): CryptoTypes.KeyPair;

@@ -32,6 +23,2 @@ export declare function generateRandomBytes32(): string;

export declare function isTypeOneEnvelope(result: CryptoTypes.EncodingValidation): result is CryptoTypes.TypeOneParams;
export declare function getCryptoKeyFromKeyData(keyData: P256KeyDataType): EC.KeyPair;
export declare function verifyP256Jwt<T>(token: string, keyData: P256KeyDataType): T & {
isVerified: true;
};
//# sourceMappingURL=crypto.d.ts.map

1

dist/types/index.d.ts

@@ -13,2 +13,3 @@ export * from "./caip";

export * from "./signatures";
export * from "./verify";
//# sourceMappingURL=index.d.ts.map
{
"name": "@walletconnect/utils",
"description": "Utilities for WalletConnect Protocol",
"version": "2.15.0-canary.2",
"version": "2.15.0-canary.3",
"author": "WalletConnect, Inc. <walletconnect.com>",

@@ -31,3 +31,4 @@ "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",

"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"prettier": "prettier --check '{src,test}/**/*.{js,ts,jsx,tsx}'"
"prettier": "prettier --check '{src,test}/**/*.{js,ts,jsx,tsx}'",
"postinstall": "patch-package"
},

@@ -37,2 +38,3 @@ "dependencies": {

"@stablelib/hkdf": "1.0.1",
"@stablelib/random": "2.0.0",
"@stablelib/sha256": "1.0.1",

@@ -48,2 +50,3 @@ "@stablelib/x25519": "1.0.3",

"elliptic": "^6.5.7",
"patch-package": "^8.0.0",
"query-string": "7.1.3",

@@ -50,0 +53,0 @@ "uint8arrays": "3.1.0"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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