Socket
Socket
Sign inDemoInstall

@xyo-network/account-model

Package Overview
Dependencies
Maintainers
0
Versions
632
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/account-model - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

8

dist/browser/index.d.ts

@@ -30,6 +30,6 @@ import { Address, Hash } from '@xylabs/hex';

previousHashBytes: ArrayBuffer | undefined;
readonly private: PrivateKeyInstance;
readonly public: PublicKeyInstance;
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => ArrayBuffer | Promise<ArrayBuffer>;
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => boolean | Promise<boolean>;
readonly private?: PrivateKeyInstance;
readonly public?: PublicKeyInstance;
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => Promise<ArrayBuffer>;
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => Promise<boolean>;
}

@@ -36,0 +36,0 @@ declare const isAccountInstance: (account: any) => account is AccountInstance;

@@ -30,6 +30,6 @@ import { Address, Hash } from '@xylabs/hex';

previousHashBytes: ArrayBuffer | undefined;
readonly private: PrivateKeyInstance;
readonly public: PublicKeyInstance;
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => ArrayBuffer | Promise<ArrayBuffer>;
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => boolean | Promise<boolean>;
readonly private?: PrivateKeyInstance;
readonly public?: PublicKeyInstance;
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => Promise<ArrayBuffer>;
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => Promise<boolean>;
}

@@ -36,0 +36,0 @@ declare const isAccountInstance: (account: any) => account is AccountInstance;

@@ -30,6 +30,6 @@ import { Address, Hash } from '@xylabs/hex';

previousHashBytes: ArrayBuffer | undefined;
readonly private: PrivateKeyInstance;
readonly public: PublicKeyInstance;
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => ArrayBuffer | Promise<ArrayBuffer>;
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => boolean | Promise<boolean>;
readonly private?: PrivateKeyInstance;
readonly public?: PublicKeyInstance;
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => Promise<ArrayBuffer>;
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => Promise<boolean>;
}

@@ -36,0 +36,0 @@ declare const isAccountInstance: (account: any) => account is AccountInstance;

@@ -15,9 +15,9 @@ {

"@xylabs/lodash": "^4.0.2",
"@xyo-network/key-model": "^3.0.5",
"@xyo-network/previous-hash-store-model": "^3.0.5"
"@xyo-network/key-model": "^3.0.6",
"@xyo-network/previous-hash-store-model": "^3.0.6"
},
"description": "Primary SDK for using XYO Protocol 2.0",
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
"@xylabs/tsconfig": "^4.0.0-rc.20",
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.30",
"@xylabs/tsconfig": "^4.0.0-rc.30",
"ethers": "^6.13.2",

@@ -53,4 +53,4 @@ "typescript": "^5.5.4"

"sideEffects": false,
"version": "3.0.5",
"version": "3.0.6",
"type": "module"
}

@@ -58,6 +58,6 @@ import type { Address, Hash } from '@xylabs/hex'

previousHashBytes: ArrayBuffer | undefined
readonly private: PrivateKeyInstance
readonly public: PublicKeyInstance
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => ArrayBuffer | Promise<ArrayBuffer>
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => boolean | Promise<boolean>
readonly private?: PrivateKeyInstance
readonly public?: PublicKeyInstance
sign: (hash: ArrayBuffer, previousHash: ArrayBuffer | undefined) => Promise<ArrayBuffer>
verify: (msg: ArrayBuffer, signature: ArrayBuffer) => Promise<boolean>
}

@@ -64,0 +64,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

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