New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@automata-network/pom-js-sdk

Package Overview
Dependencies
Maintainers
6
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automata-network/pom-js-sdk - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "@automata-network/pom-js-sdk",
"version": "0.0.1",
"version": "0.0.2",
"description": "A socket clinet for automata's Proof Of Machinehood",

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

@@ -1,3 +0,3 @@

# POM SOCKET
# POM JS SDK
POM Socket is a low level dependency for automata's Proof Of Machinehood JS SDK
A JS SDK for automata's Proof Of Machinehood

@@ -35,16 +35,16 @@ import {

interface IdentityData {
identity: Uint8Array; // on macOS, display it by 0x, because identity on macOS is a array, not a string
attestation?: Uint8Array;
export interface AttestDeviceData {
platform: POMPlatform;
chainId: string;
attestation: string; // base64 encoded cbor or a base64 encoded key array in json string format
identity: string; // on Android or iOS, it's a identity string, and on macOS, it's a base64 encoded key bytes
identitySignature: string; // on iOS, it's an assertion, on mac and Android, it's a signature string
}
export interface AttestDeviceData extends IdentityData {
export interface SignatureResult {
platform: POMPlatform;
chainId: string;
signature: string; // on iOS, it's an assertion, on mac and Android, it's a signature string
}
export interface SignatureResult extends AttestDeviceData {
signature: string;
}
export interface IdentityStatusResult {

@@ -83,3 +83,3 @@ status: IdentityStatus;

chainId: string;
identity: Uint8Array;
identity: string;
}

@@ -86,0 +86,0 @@

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