Socket
Socket
Sign inDemoInstall

@xyo-network/previous-hash-store-model

Package Overview
Dependencies
Maintainers
0
Versions
531
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/previous-hash-store-model - npm Package Compare versions

Comparing version 2.111.3 to 3.0.0

11

dist/browser/index.d.ts

@@ -1,2 +0,9 @@

export * from './PreviousHashStore.ts';
//# sourceMappingURL=index.d.ts.map
import { Address, Hash } from '@xylabs/hex';
interface PreviousHashStore {
getItem(address: Address): Hash | null | Promise<Hash | null>;
removeItem(address: Address): void | Promise<void>;
setItem(address: Address, previousHash: Hash): void | Promise<void>;
}
export type { PreviousHashStore };

@@ -1,2 +0,9 @@

export * from './PreviousHashStore.ts';
//# sourceMappingURL=index.d.ts.map
import { Address, Hash } from '@xylabs/hex';
interface PreviousHashStore {
getItem(address: Address): Hash | null | Promise<Hash | null>;
removeItem(address: Address): void | Promise<void>;
setItem(address: Address, previousHash: Hash): void | Promise<void>;
}
export type { PreviousHashStore };

@@ -1,2 +0,9 @@

export * from './PreviousHashStore.ts';
//# sourceMappingURL=index.d.ts.map
import { Address, Hash } from '@xylabs/hex';
interface PreviousHashStore {
getItem(address: Address): Hash | null | Promise<Hash | null>;
removeItem(address: Address): void | Promise<void>;
setItem(address: Address, previousHash: Hash): void | Promise<void>;
}
export type { PreviousHashStore };

33

package.json

@@ -17,4 +17,4 @@ {

"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.15.14",
"@xylabs/tsconfig": "^3.15.14",
"@xylabs/ts-scripts-yarn3": "next",
"@xylabs/tsconfig": "next",
"typescript": "^5.5.4"

@@ -24,27 +24,8 @@ },

".": {
"browser": {
"require": {
"types": "./dist/browser/index.d.cts",
"default": "./dist/browser/index.cjs"
},
"import": {
"types": "./dist/browser/index.d.mts",
"default": "./dist/browser/index.mjs"
}
},
"node": {
"require": {
"types": "./dist/node/index.d.cts",
"default": "./dist/node/index.cjs"
},
"import": {
"types": "./dist/node/index.d.mts",
"default": "./dist/node/index.mjs"
}
}
"types": "./dist/neutral/index.d.ts",
"default": "./dist/neutral/index.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/node/index.cjs",
"module": "dist/node/index.mjs",
"module": "dist/neutral/index.mjs",
"homepage": "https://xyo.network",

@@ -60,5 +41,5 @@ "license": "LGPL-3.0-only",

"sideEffects": false,
"types": "dist/node/index.d.ts",
"version": "2.111.3",
"types": "dist/neutral/index.d.ts",
"version": "3.0.0",
"type": "module"
}
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