@xyo-network/archivist 2.26.3 → 2.26.4
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/cjs/XyoArchivistConfig.d.ts +1 -3
- package/dist/cjs/XyoArchivistConfig.d.ts.map +1 -1
- package/dist/cjs/XyoArchivistConfig.js.map +1 -1
- package/dist/docs.json +331 -353
- package/dist/esm/XyoArchivistConfig.d.ts +1 -3
- package/dist/esm/XyoArchivistConfig.d.ts.map +1 -1
- package/dist/esm/XyoArchivistConfig.js.map +1 -1
- package/package.json +6 -6
- package/src/XyoArchivistConfig.ts +0 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { XyoAccount } from '@xyo-network/account';
|
|
2
1
|
import { XyoModuleConfig } from '@xyo-network/module';
|
|
3
2
|
import { XyoPayload } from '@xyo-network/payload';
|
|
4
3
|
import { XyoArchivist, XyoArchivistQueryPayload } from './XyoArchivist';
|
|
@@ -10,7 +9,6 @@ export interface XyoArchivistParents {
|
|
|
10
9
|
export declare type XyoArchivistConfig<T extends XyoPayload = XyoPayload, M extends XyoArchivist = XyoArchivist<XyoArchivistQueryPayload<T>>> = XyoModuleConfig<{
|
|
11
10
|
/** @field address of one or more parent archivists to read from */
|
|
12
11
|
parents?: XyoArchivistParents;
|
|
13
|
-
account?: XyoAccount;
|
|
14
12
|
cacheParentReads?: boolean;
|
|
15
13
|
/** @field address of archivist to write through to */
|
|
16
14
|
writeThrough?: string;
|
|
@@ -19,7 +17,7 @@ export declare class XyoArchivistConfigWrapper<C extends XyoArchivistConfig = Xy
|
|
|
19
17
|
protected config?: C;
|
|
20
18
|
constructor(config?: C);
|
|
21
19
|
get parents(): XyoArchivistParents | undefined;
|
|
22
|
-
get account(): XyoAccount | undefined;
|
|
20
|
+
get account(): import("@xyo-network/account").XyoAccount | undefined;
|
|
23
21
|
get writeThrough(): string | undefined;
|
|
24
22
|
get cacheParentReads(): boolean | undefined;
|
|
25
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoArchivistConfig.d.ts","sourceRoot":"","sources":["../../src/XyoArchivistConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"XyoArchivistConfig.d.ts","sourceRoot":"","sources":["../../src/XyoArchivistConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAEvE,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC,CAAA;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC,CAAA;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC,CAAA;CACzD;AAED,oBAAY,kBAAkB,CAC5B,CAAC,SAAS,UAAU,GAAG,UAAU,EACjC,CAAC,SAAS,YAAY,GAAG,YAAY,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,IAChE,eAAe,CACjB;IACE,mEAAmE;IACnE,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,sDAAsD;IACtD,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,GAAG,CAAC,EACL,CAAC,CACF,CAAA;AAED,qBAAa,yBAAyB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB;IACtF,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;gBACR,MAAM,CAAC,EAAE,CAAC;IAItB,IAAW,OAAO,oCAEjB;IAED,IAAW,OAAO,0DAEjB;IAED,IAAW,YAAY,uBAEtB;IAED,IAAW,gBAAgB,wBAE1B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoArchivistConfig.js","sourceRoot":"","sources":["../../src/XyoArchivistConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XyoArchivistConfig.js","sourceRoot":"","sources":["../../src/XyoArchivistConfig.ts"],"names":[],"mappings":"AAyBA,MAAM,OAAO,yBAAyB;IAC1B,MAAM,CAAI;IACpB,YAAY,MAAU;QACpB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,MAAM,EAAE,OAAO,CAAA;IAC7B,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,MAAM,EAAE,OAAO,CAAA;IAC7B,CAAC;IAED,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,MAAM,EAAE,YAAY,CAAA;IAClC,CAAC;IAED,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,MAAM,EAAE,gBAAgB,CAAA;IACtC,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xylabs/sdk-js": "^2.6.6",
|
|
13
|
-
"@xyo-network/account": "^2.26.
|
|
14
|
-
"@xyo-network/boundwitness": "^2.26.
|
|
15
|
-
"@xyo-network/module": "^2.26.
|
|
16
|
-
"@xyo-network/payload": "^2.26.
|
|
17
|
-
"@xyo-network/promisable": "^2.26.
|
|
13
|
+
"@xyo-network/account": "^2.26.4",
|
|
14
|
+
"@xyo-network/boundwitness": "^2.26.4",
|
|
15
|
+
"@xyo-network/module": "^2.26.4",
|
|
16
|
+
"@xyo-network/payload": "^2.26.4",
|
|
17
|
+
"@xyo-network/promisable": "^2.26.4",
|
|
18
18
|
"lodash": "^4.17.21",
|
|
19
19
|
"lru-cache": "^7.14.0",
|
|
20
20
|
"tslib": "^2.4.0"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
},
|
|
57
57
|
"sideEffects": false,
|
|
58
58
|
"types": "dist/esm/index.d.ts",
|
|
59
|
-
"version": "2.26.
|
|
59
|
+
"version": "2.26.4"
|
|
60
60
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { XyoAccount } from '@xyo-network/account'
|
|
2
1
|
import { XyoModuleConfig } from '@xyo-network/module'
|
|
3
2
|
import { XyoPayload } from '@xyo-network/payload'
|
|
4
3
|
|
|
@@ -17,7 +16,6 @@ export type XyoArchivistConfig<
|
|
|
17
16
|
{
|
|
18
17
|
/** @field address of one or more parent archivists to read from */
|
|
19
18
|
parents?: XyoArchivistParents
|
|
20
|
-
account?: XyoAccount
|
|
21
19
|
cacheParentReads?: boolean
|
|
22
20
|
/** @field address of archivist to write through to */
|
|
23
21
|
writeThrough?: string
|