Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
0
Versions
537
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.0.7 to 3.0.8

dist/browser/index.d.ts.map

26

dist/browser/index.d.ts

@@ -1,24 +0,2 @@

import { Address, Hash } from '@xylabs/hex';
import { PreviousHashStore } from '@xyo-network/previous-hash-store-model';
type Storage = 'local' | 'session' | 'page';
type StoragePreviousHashOpts = {
namespace?: string;
type?: Storage;
};
declare class StoragePreviousHashStore implements PreviousHashStore {
static readonly DefaultNamespace = "xyo-previous-hash-store";
static readonly DefaultStorageType: Storage;
private _namespace;
private _storage;
private _type;
constructor(opts?: StoragePreviousHashOpts);
get namespace(): string;
get type(): Storage;
private get storage();
getItem(address: Address): Promise<Hash | null>;
removeItem(address: Address): Promise<void>;
setItem(address: Address, previousHash: Hash): Promise<void>;
}
export { type Storage, type StoragePreviousHashOpts, StoragePreviousHashStore };
export * from './StoragePreviousHashStore.ts';
//# sourceMappingURL=index.d.ts.map

@@ -1,24 +0,2 @@

import { Address, Hash } from '@xylabs/hex';
import { PreviousHashStore } from '@xyo-network/previous-hash-store-model';
type Storage = 'local' | 'session' | 'page';
type StoragePreviousHashOpts = {
namespace?: string;
type?: Storage;
};
declare class StoragePreviousHashStore implements PreviousHashStore {
static readonly DefaultNamespace = "xyo-previous-hash-store";
static readonly DefaultStorageType: Storage;
private _namespace;
private _storage;
private _type;
constructor(opts?: StoragePreviousHashOpts);
get namespace(): string;
get type(): Storage;
private get storage();
getItem(address: Address): Promise<Hash | null>;
removeItem(address: Address): Promise<void>;
setItem(address: Address, previousHash: Hash): Promise<void>;
}
export { type Storage, type StoragePreviousHashOpts, StoragePreviousHashStore };
export * from './StoragePreviousHashStore.ts';
//# sourceMappingURL=index.d.ts.map

@@ -1,24 +0,2 @@

import { Address, Hash } from '@xylabs/hex';
import { PreviousHashStore } from '@xyo-network/previous-hash-store-model';
type Storage = 'local' | 'session' | 'page';
type StoragePreviousHashOpts = {
namespace?: string;
type?: Storage;
};
declare class StoragePreviousHashStore implements PreviousHashStore {
static readonly DefaultNamespace = "xyo-previous-hash-store";
static readonly DefaultStorageType: Storage;
private _namespace;
private _storage;
private _type;
constructor(opts?: StoragePreviousHashOpts);
get namespace(): string;
get type(): Storage;
private get storage();
getItem(address: Address): Promise<Hash | null>;
removeItem(address: Address): Promise<void>;
setItem(address: Address, previousHash: Hash): Promise<void>;
}
export { type Storage, type StoragePreviousHashOpts, StoragePreviousHashStore };
export * from './StoragePreviousHashStore.ts';
//# sourceMappingURL=index.d.ts.map
{
"name": "@xyo-network/previous-hash-store-storage",
"version": "3.0.7",
"version": "3.0.8",
"description": "Primary SDK for using XYO Protocol 2.0",

@@ -32,4 +32,4 @@ "homepage": "https://xyo.network",

"dependencies": {
"@xylabs/hex": "^4.0.2",
"@xyo-network/previous-hash-store-model": "^3.0.7",
"@xylabs/hex": "^4.0.3",
"@xyo-network/previous-hash-store-model": "^3.0.8",
"store2": "^2.14.3"

@@ -40,4 +40,4 @@ },

"@types/uuid": "^10.0.0",
"@xylabs/ts-scripts-yarn3": "^4.0.0",
"@xylabs/tsconfig": "^4.0.0",
"@xylabs/ts-scripts-yarn3": "^4.0.7",
"@xylabs/tsconfig": "^4.0.7",
"typescript": "^5.5.4",

@@ -44,0 +44,0 @@ "uuid": "^10.0.0"

import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
const config: XyTsupConfig = {
compile: {
browser: {
src: true,
},
node: {
src: true,
},
browser: { src: true },
node: { src: true },
},

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