ceramic-cacao
Advanced tools
Comparing version 1.1.1 to 1.2.1
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143178
16
1235
7
+ Added@stablelib/ed25519@^1.0.2
+ Addeduint8arrays@^3.0.0
+ Added@stablelib/binary@1.0.1(transitive)
+ Added@stablelib/ed25519@1.0.3(transitive)
+ Added@stablelib/hash@1.0.1(transitive)
+ Added@stablelib/int@1.0.1(transitive)
+ Added@stablelib/random@1.0.2(transitive)
+ Added@stablelib/sha512@1.0.1(transitive)
+ Added@stablelib/wipe@1.0.1(transitive)
+ Addeduint8arrays@3.1.1(transitive)