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

ceramic-cacao

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ceramic-cacao - npm Package Compare versions

Comparing version 1.1.1 to 1.2.1

lib/__tests__/cacao-siwe.test.d.ts

9

lib/cacao.d.ts
import * as multiformats from 'multiformats';
import { SiweMessage } from './siwe.js';
import { SiweMessage } from './siwx/siwe.js';
import { SiwsMessage } from './siwx/siws.js';
export declare type Header = {
t: 'eip4361';
t: 'eip4361' | 'caip122';
};

@@ -20,3 +21,3 @@ export declare type Payload = {

export declare type Signature = {
t: 'eip191' | 'eip1271';
t: 'eip191' | 'eip1271' | 'solana:ed25519';
s: string;

@@ -36,5 +37,7 @@ };

function fromSiweMessage(siweMessage: SiweMessage): Cacao;
function fromSiwsMessage(siwsMessage: SiwsMessage): Cacao;
function verify(cacao: Cacao, options?: VerifyOptions): void;
function verifyEIP191Signature(cacao: Cacao, options: VerifyOptions): void;
}
export declare function verifySolanaSignature(cacao: Cacao, options: VerifyOptions): void;
export declare type CacaoBlock = {

@@ -41,0 +44,0 @@ value: Cacao;

@@ -1,2 +0,4 @@

export * from './siwe.js';
export * from './siwx/siwe.js';
export * from './siwx/siws.js';
export * from './siwx/siwx.js';
export * from './cacao.js';
{
"name": "ceramic-cacao",
"version": "1.1.1",
"version": "1.2.1",
"description": "Typescript library for Ceramic OCAP",

@@ -54,6 +54,8 @@ "main": "./lib/index.cjs",

"@ipld/dag-cbor": "^7.0.1",
"@stablelib/ed25519": "^1.0.2",
"apg-js": "^4.1.1",
"caip": "^1.0.0",
"multiformats": "^9.5.1"
"multiformats": "^9.5.1",
"uint8arrays": "^3.0.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

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