@xyo-network/previous-hash-store-model
Advanced tools
Comparing version 2.111.3 to 3.0.0
@@ -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 }; |
@@ -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" | ||
} |
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
10941
16
44