@xyo-network/account-model
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -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
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
34022