@xyo-network/previous-hash-store-model 2.111.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.ts +9 -2
- package/dist/neutral/index.d.ts +9 -2
- package/dist/node/index.d.ts +9 -2
- package/package.json +8 -27
- package/dist/browser/PreviousHashStore.d.cts +0 -7
- package/dist/browser/PreviousHashStore.d.cts.map +0 -1
- package/dist/browser/PreviousHashStore.d.mts +0 -7
- package/dist/browser/PreviousHashStore.d.mts.map +0 -1
- package/dist/browser/PreviousHashStore.d.ts +0 -7
- package/dist/browser/PreviousHashStore.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -19
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -2
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -2
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/neutral/PreviousHashStore.d.cts +0 -7
- package/dist/neutral/PreviousHashStore.d.cts.map +0 -1
- package/dist/neutral/PreviousHashStore.d.mts +0 -7
- package/dist/neutral/PreviousHashStore.d.mts.map +0 -1
- package/dist/neutral/PreviousHashStore.d.ts +0 -7
- package/dist/neutral/PreviousHashStore.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -19
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -2
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -2
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/node/PreviousHashStore.d.cts +0 -7
- package/dist/node/PreviousHashStore.d.cts.map +0 -1
- package/dist/node/PreviousHashStore.d.mts +0 -7
- package/dist/node/PreviousHashStore.d.mts.map +0 -1
- package/dist/node/PreviousHashStore.d.ts +0 -7
- package/dist/node/PreviousHashStore.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -19
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -2
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -2
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts.map +0 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
+
|
|
3
|
+
interface PreviousHashStore {
|
|
4
|
+
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
5
|
+
removeItem(address: Address): void | Promise<void>;
|
|
6
|
+
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type { PreviousHashStore };
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
+
|
|
3
|
+
interface PreviousHashStore {
|
|
4
|
+
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
5
|
+
removeItem(address: Address): void | Promise<void>;
|
|
6
|
+
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type { PreviousHashStore };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
+
|
|
3
|
+
interface PreviousHashStore {
|
|
4
|
+
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
5
|
+
removeItem(address: Address): void | Promise<void>;
|
|
6
|
+
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type { PreviousHashStore };
|
package/package.json
CHANGED
|
@@ -11,40 +11,21 @@
|
|
|
11
11
|
},
|
|
12
12
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@xylabs/hex": "^3.6.
|
|
14
|
+
"@xylabs/hex": "^3.6.12"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
18
|
-
"@xylabs/tsconfig": "
|
|
17
|
+
"@xylabs/ts-scripts-yarn3": "next",
|
|
18
|
+
"@xylabs/tsconfig": "next",
|
|
19
19
|
"typescript": "^5.5.4"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"types": "./dist/browser/index.d.cts",
|
|
26
|
-
"default": "./dist/browser/index.cjs"
|
|
27
|
-
},
|
|
28
|
-
"import": {
|
|
29
|
-
"types": "./dist/browser/index.d.mts",
|
|
30
|
-
"default": "./dist/browser/index.mjs"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"node": {
|
|
34
|
-
"require": {
|
|
35
|
-
"types": "./dist/node/index.d.cts",
|
|
36
|
-
"default": "./dist/node/index.cjs"
|
|
37
|
-
},
|
|
38
|
-
"import": {
|
|
39
|
-
"types": "./dist/node/index.d.mts",
|
|
40
|
-
"default": "./dist/node/index.mjs"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
23
|
+
"types": "./dist/neutral/index.d.ts",
|
|
24
|
+
"default": "./dist/neutral/index.mjs"
|
|
43
25
|
},
|
|
44
26
|
"./package.json": "./package.json"
|
|
45
27
|
},
|
|
46
|
-
"
|
|
47
|
-
"module": "dist/node/index.mjs",
|
|
28
|
+
"module": "dist/neutral/index.mjs",
|
|
48
29
|
"homepage": "https://xyo.network",
|
|
49
30
|
"license": "LGPL-3.0-only",
|
|
50
31
|
"publishConfig": {
|
|
@@ -55,7 +36,7 @@
|
|
|
55
36
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
56
37
|
},
|
|
57
38
|
"sideEffects": false,
|
|
58
|
-
"types": "dist/
|
|
59
|
-
"version": "
|
|
39
|
+
"types": "dist/neutral/index.d.ts",
|
|
40
|
+
"version": "3.0.0",
|
|
60
41
|
"type": "module"
|
|
61
42
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
package/dist/browser/index.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/index.ts
|
|
17
|
-
var src_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(src_exports);
|
|
19
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './PreviousHashStore.ts'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/dist/browser/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/browser/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
package/dist/neutral/index.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/index.ts
|
|
17
|
-
var src_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(src_exports);
|
|
19
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './PreviousHashStore.ts'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/dist/neutral/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/neutral/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
export interface PreviousHashStore {
|
|
3
|
-
getItem(address: Address): Hash | null | Promise<Hash | null>;
|
|
4
|
-
removeItem(address: Address): void | Promise<void>;
|
|
5
|
-
setItem(address: Address, previousHash: Hash): void | Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=PreviousHashStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PreviousHashStore.d.ts","sourceRoot":"","sources":["../../src/PreviousHashStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IAC7D,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,OAAO,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpE"}
|
package/dist/node/index.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/index.ts
|
|
17
|
-
var src_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(src_exports);
|
|
19
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './PreviousHashStore.ts'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/dist/node/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/node/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
package/dist/node/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|